.auth-body {
    background: #050505;
}

.auth-body .site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(18px);
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns:
        minmax(420px, 0.9fr)
        minmax(560px, 1.1fr);
    padding-top: var(--header-height);
    background: #050505;
}

.auth-visual {
    position: relative;
    min-height: 900px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    overflow: hidden;
    border-right: 1px solid var(--border);
}

.auth-visual-background {
    position: absolute;
    z-index: -3;
    inset: 0;
    background:
        url("../images/gallery-city-rain.png")
        center / cover no-repeat;
    filter: grayscale(100%) contrast(1.1);
    transform: scale(1.02);
}

.auth-visual-overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.35) 68%,
            rgba(0, 0, 0, 0.55) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.36),
            transparent
        );
}

.auth-visual::after {
    content: "MEMBER";
    position: absolute;
    right: -25px;
    bottom: 70px;
    color: rgba(255, 255, 255, 0.035);
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(170px, 17vw, 320px);
    line-height: 0.7;
    pointer-events: none;
}

.auth-visual-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: clamp(45px, 7vw, 120px);
}

.auth-eyebrow {
    color: #b0b0b0;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.auth-visual h1 {
    margin-top: 25px;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(80px, 8vw, 145px);
    font-weight: 400;
    line-height: 0.8;
    text-transform: uppercase;
}

.auth-visual-content > p:not(.auth-eyebrow) {
    max-width: 580px;
    margin-top: 38px;
    color: #aaaaaa;
    font-size: 13px;
    line-height: 2;
}

.auth-creed {
    display: flex;
    gap: 24px;
    margin-top: 35px;
}

.auth-creed span {
    color: #d0d0d0;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.auth-form-section {
    display: flex;
    justify-content: center;
    padding:
        clamp(65px, 7vw, 110px)
        clamp(35px, 7vw, 110px);
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 255, 255, 0.05),
            transparent 28%
        ),
        #080808;
}

.auth-form-container {
    width: min(100%, 760px);
}

.auth-form-header > p,
.auth-success > span {
    color: #777777;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.auth-form-header h2,
.auth-success h2 {
    margin-top: 18px;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(58px, 5vw, 90px);
    font-weight: 400;
    line-height: 0.9;
    text-transform: uppercase;
}

.auth-form-header > span {
    max-width: 620px;
    display: block;
    margin-top: 25px;
    color: #888888;
    font-size: 11px;
    line-height: 1.9;
}

.auth-errors {
    margin-top: 30px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 105, 105, 0.42);
    background: rgba(120, 20, 20, 0.14);
    color: #ffb5b5;
    font-size: 11px;
    line-height: 1.7;
}

.auth-errors strong {
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.auth-errors ul {
    margin-top: 10px;
    padding-left: 18px;
}

.auth-form {
    margin-top: 45px;
}

.auth-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
}

.auth-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.auth-field-full {
    grid-column: 1 / -1;
}

.auth-field > span {
    color: #aaaaaa;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.auth-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 0;
    outline: 0;
    background: #050505;
    color: #ffffff;
    font: inherit;
    font-size: 12px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.auth-field input:hover {
    border-color: rgba(255, 255, 255, 0.36);
}

.auth-field input:focus {
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: inset 3px 0 0 #ffffff;
    background: #090909;
}

.auth-field small {
    color: #626262;
    font-size: 8px;
    line-height: 1.5;
}

.auth-agreement {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.auth-agreement input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
    accent-color: #ffffff;
}

.auth-agreement span {
    color: #8d8d8d;
    font-size: 9px;
    line-height: 1.7;
}

.auth-submit {
    width: 100%;
    min-height: 55px;
    margin-top: 22px;
    border: 1px solid #ffffff;
    background: #ffffff;
    color: #050505;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.auth-submit:hover {
    background: transparent;
    color: #ffffff;
}

.auth-login-note {
    margin-top: 18px;
    color: #606060;
    font-size: 9px;
    line-height: 1.7;
    text-align: center;
}

.auth-success {
    max-width: 650px;
    padding-top: 120px;
}

.auth-success p {
    margin-top: 28px;
    color: #9a9a9a;
    font-size: 12px;
    line-height: 2;
}

.auth-success a {
    min-width: 220px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding: 0 24px;
    border: 1px solid #ffffff;
    background: #ffffff;
    color: #050505;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 680px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .auth-form-section {
        padding-top: 80px;
        padding-bottom: 100px;
    }
}

@media (max-width: 640px) {
    .auth-visual {
        min-height: 620px;
    }

    .auth-visual-content {
        padding: 40px 20px 70px;
    }

    .auth-visual h1 {
        font-size: clamp(78px, 24vw, 110px);
    }

    .auth-form-section {
        padding: 65px 14px 80px;
    }

    .auth-field-grid {
        grid-template-columns: 1fr;
    }

    .auth-field-full {
        grid-column: auto;
    }

    .auth-form-header h2,
    .auth-success h2 {
        font-size: 62px;
    }

    .auth-success {
        padding-top: 30px;
    }
}

.login-visual .auth-visual-background {
    background-image:
        url("../images/gallery-gas-station.png");
    background-position: center;
}

.auth-form-compact {
    max-width: 580px;
    margin: auto;
}

.auth-notice {
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px solid rgba(150, 225, 165, 0.35);
    background: rgba(30, 110, 50, 0.12);
    color: #b7dfbf;
    font-size: 10px;
    line-height: 1.7;
}

.auth-register-note {
    margin-top: 22px;
    color: #686868;
    font-size: 9px;
    line-height: 1.7;
    text-align: center;
}

.auth-register-note a {
    margin-left: 5px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: #d4d4d4;
}