.auth-page {
    min-height: calc(100vh - 64px);
    background:
        linear-gradient(180deg, rgba(0,0,0,0.16), rgba(0,0,0,0.96)),
        radial-gradient(circle at 25% 20%, rgba(109,44,255,0.24), transparent 30%),
        radial-gradient(circle at 85% 25%, rgba(179,136,255,0.16), transparent 28%),
        linear-gradient(135deg, #1A1A1A, #000000 76%);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: "VNS DIGITAL";
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%);
    font-family: var(--font-orbitron);
    font-size: 126px;
    font-weight: 900;
    letter-spacing: -4px;
    color: rgba(255,255,255,0.035);
    white-space: nowrap;
    pointer-events: none;
}

.auth-page::after {
    content: "";
    position: absolute;
    right: -160px;
    bottom: -180px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(109,44,255,0.22), transparent 65%);
    pointer-events: none;
}

.auth-shell {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    padding: 72px 22px;
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 46px;
    align-items: center;
}

.auth-copy {
    max-width: 660px;
}

.auth-kicker {
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 16px;
}

.auth-copy h1 {
    margin: 0;
    font-family: var(--font-body);
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -1.2px;
    text-transform: uppercase;
    color: var(--white);
    font-weight: 900;
}

.auth-copy h1 span {
    color: var(--purple-light);
}

.auth-copy p {
    margin: 20px 0 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    font-weight: 500;
}

.auth-highlights {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-highlight {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.09);
    padding: 15px;
}

.auth-highlight strong {
    display: block;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 7px;
    font-weight: 800;
}

.auth-highlight span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
}

.auth-card {
    background: rgba(26, 26, 26, 0.88);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 30px 70px rgba(0,0,0,0.34);
    padding: 28px;
    backdrop-filter: blur(12px);
}

.auth-card-header {
    margin-bottom: 22px;
}

.auth-card-header small {
    display: block;
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
}

.auth-card-header h2 {
    margin: 0;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 26px;
    line-height: 1.12;
    text-transform: uppercase;
    letter-spacing: -0.6px;
    font-weight: 900;
}

.auth-card-header p {
    margin: 10px 0 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 7px;
}

.form-group input {
    width: 100%;
    height: 43px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.11);
    color: var(--white);
    padding: 0 13px;
    outline: none;
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.form-group input::placeholder {
    color: rgba(255,255,255,0.38);
}

.form-group input:focus {
    border-color: rgba(179,136,255,0.80);
    background: rgba(255,255,255,0.065);
    box-shadow: 0 0 0 3px rgba(109,44,255,0.16);
}

.btn-auth {
    width: 100%;
    height: 44px;
    border: 1px solid var(--purple);
    background: var(--purple);
    color: var(--white);
    cursor: pointer;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--font-body);
    letter-spacing: 0.45px;
}

.btn-auth:hover {
    background: var(--purple-light);
    border-color: var(--purple-light);
    color: var(--black);
}

.btn-auth:active {
    transform: translateY(1px);
}

.auth-links {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
}

.auth-links a {
    color: var(--purple-light);
    text-decoration: none;
    font-weight: 800;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-links.right {
    text-align: right;
    margin-top: -4px;
    margin-bottom: 8px;
}

.error-box,
.success-box {
    padding: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.45;
    border: 1px solid;
}

.error-box {
    background: rgba(255, 70, 100, 0.10);
    border-color: rgba(255, 70, 100, 0.34);
    color: #ffb7c4;
}

.success-box {
    background: rgba(109, 44, 255, 0.13);
    border-color: rgba(179, 136, 255, 0.34);
    color: #d8c7ff;
}

.terms-line {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.45;
}

.terms-line input {
    margin-top: 3px;
    accent-color: var(--purple);
}

.terms-line a {
    color: var(--purple-light);
    cursor: pointer;
    text-decoration: none;
    font-weight: 800;
}

.terms-line a:hover {
    text-decoration: underline;
}

.modal-bg {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.86);
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 999;
}

.modal {
    max-width: 640px;
    background: #1A1A1A;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.50);
}

.modal h2 {
    color: var(--white);
    margin: 0 0 14px 0;
    font-family: var(--font-body);
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 900;
}

.modal p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
    font-weight: 500;
}

.modal button {
    margin-top: 16px;
    height: 38px;
    padding: 0 20px;
    border: 1px solid var(--purple);
    background: var(--purple);
    color: var(--white);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-body);
    text-transform: uppercase;
}

.modal button:hover {
    background: var(--purple-light);
    border-color: var(--purple-light);
    color: var(--black);
}

@media (max-width: 960px) {
    .auth-shell {
        grid-template-columns: 1fr;
        padding-top: 56px;
    }

    .auth-copy {
        max-width: none;
    }

    .auth-copy h1 {
        font-size: 36px;
    }

    .auth-page::before {
        font-size: 76px;
    }
}

@media (max-width: 620px) {
    .auth-shell {
        padding: 42px 18px;
    }

    .auth-copy h1 {
        font-size: 28px;
    }

    .auth-highlights {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 22px;
    }

    .auth-page::before {
        font-size: 42px;
        letter-spacing: -2px;
    }
}