* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #1c52d8 0%, #2948d3 40%, #592abf 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.logo-vtb {
    font-size: 24px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.logo-desc {
    font-size: 10px;
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase;
    opacity: 0.9;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 20px;
    margin-left: 20px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.nav-menu a:hover {
    opacity: 1;
    color: #fff;
}

.search-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    opacity: 0.9;
}

.dropdown-select {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #1a42b8;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background-color: #ffffff;
    color: #1a42b8;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 32px;
    border-radius: 12px;
}

.btn-primary:hover {
    background-color: #f0f0f0;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    margin-top: 40px;
    position: relative;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 400px;
}

.slider-controls {
    display: flex;
    gap: 8px;
    margin-top: 64px;
}

.slider-dot {
    width: 32px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #ffffff;
}

/* Hero Image Section */
.hero-image {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: hard-light;
    border-radius: 40px;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 48px;
    }
    .hero-image {
        width: 500px;
        height: 500px;
        right: 0;
    }
    .nav-menu {
        display: none;
    }
}

@media (max-width: 992px) {
    .header-right .btn:not(.btn-login) {
        display: none;
    }
    .dropdown-select {
        display: none;
    }
    .hero-content h1 {
        font-size: 40px;
    }
    .hero-image {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .wrapper {
        padding: 16px 20px;
    }
    .logo-vtb {
        font-size: 20px;
    }
    .logo-desc {
        font-size: 8px;
    }
    .header-right .btn-login {
        padding: 8px;
        font-size: 0;
        gap: 0;
    }
    .header-right .btn-login svg {
        margin: 0;
    }
    .hero {
        flex-direction: column;
        margin-top: 24px;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }
    .hero-content p {
        font-size: 15px;
    }
    .btn-primary {
        width: 100%;
        margin-top: 24px;
        padding: 14px 20px;
    }
    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 320px;
        height: 320px;
        margin-top: 32px;
    }
    .slider-controls {
        margin-top: 32px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* --- Login Modal, Terminal & Warnings Layout --- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    color: #1a1a1a;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1f2937;
}

.card-header {
    margin-bottom: 24px;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: #0d2c80;
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.label-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    color: #94a3b8;
    pointer-events: none;
}

.input-field {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    color: #0f172a;
    outline: none;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.input-field:focus {
    border-color: #1c52d8;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(28, 82, 216, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: #1c52d8;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(28, 82, 216, 0.2);
}

.btn-submit:hover {
    background: #1541b0;
    box-shadow: 0 6px 20px rgba(28, 82, 216, 0.3);
}

.btn-submit:active {
    background: #0d2c80;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
    margin-top: 18px;
}

.secure-icon {
    width: 16px;
    height: 16px;
    color: #64748b;
}

/* Fullscreen Console Terminal */
.terminal-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #020711;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.hack-wrapper {
    width: 100%;
    max-width: 900px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    background: #050b14;
    border: 1px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', Courier, monospace;
}

#hack-header {
    background: #0f172a;
    padding: 12px 20px;
    color: #94a3b8;
    font-size: 14px;
    border-bottom: 1px solid #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

#code-area {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #c9d1d9;
    text-align: left;
}

.log-system { color: #7ef5c7; }
.log-process { color: #a5b4fc; }
.log-success { color: #4ade80; }
.log-detail { color: #10b981; padding-left: 15px; }
.log-done { color: #34d399; font-weight: bold; }

/* Fullscreen Warnings Screen */
.warning-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0b0f19;
    z-index: 10001;
    overflow-y: auto;
    padding: 24px 16px;
    box-sizing: border-box;
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-card {
    background: #111827;
    border: 2px solid #ef4444;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 650px;
    width: 100%;
    box-shadow: 0 0 50px rgba(239, 68, 68, 0.15);
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .warning-card {
        padding: 32px 18px;
        border-radius: 16px;
        margin: 16px auto;
    }
}

.warning-icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.warning-icon-wrap svg {
    width: 44px;
    height: 44px;
    color: #ef4444;
    animation: pulseAlert 2s infinite;
}

@keyframes pulseAlert {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.warning-title {
    font-size: 26px;
    font-weight: 800;
    color: #f3f4f6;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.warning-message {
    font-size: 15px;
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 24px;
    text-align: left;
}

.warning-phone-container {
    background: #1f2937;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.warning-phone-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.warning-phone-label {
    font-size: 14px;
    color: #9ca3af;
}

.warning-phone-number {
    font-size: 20px;
    font-weight: 800;
    color: #ef4444;
    text-decoration: none;
    transition: color 0.15s;
}

.warning-phone-number:hover {
    color: #f87171;
}

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.4s forwards ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

