:root{
    --black:#030303;
    --panel:#0c0c0e;
    --white:#f7f7f5;
    --muted:#9e9ea4;
    --gold:#c9a46a;
    --gold-light:#f3d7a2;
    --line:rgba(255,255,255,.12);
    --danger:#ff8a8a;
}

*{
    box-sizing:border-box;
}

html{
    color-scheme:dark;
}

body{
    margin:0;
    min-height:100vh;
    color:var(--white);
    background:#030303;
    font-family:Arial,Helvetica,sans-serif;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
input{
    font:inherit;
}

.auth-page{
    min-height:100vh;
    display:grid;
    grid-template-columns:minmax(430px,1.05fr) minmax(430px,.95fr);
}

.auth-visual{
    position:relative;
    min-height:100vh;
    padding:45px clamp(32px,6vw,85px);
    overflow:hidden;
    background:
        linear-gradient(to top,rgba(0,0,0,.92),rgba(0,0,0,.18),rgba(0,0,0,.58)),
        url("../img/img_4.jpg") center/cover no-repeat;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.auth-visual::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 20% 20%,rgba(201,164,106,.18),transparent 32%),
        linear-gradient(90deg,rgba(0,0,0,.25),transparent);
    pointer-events:none;
}

.register-visual{
    background:
        linear-gradient(to top,rgba(0,0,0,.94),rgba(0,0,0,.2),rgba(0,0,0,.58)),
        url("../img/img_5.jpg") center/cover no-repeat;
}

.auth-logo,
.auth-message,
.auth-visual-footer{
    position:relative;
    z-index:1;
}

.auth-logo{
    width:max-content;
    display:flex;
    align-items:center;
    gap:13px;
}

.auth-logo img{
    width:50px;
    height:50px;
    object-fit:contain;
}

.auth-logo span{
    font-family:Georgia,"Times New Roman",serif;
    font-size:15px;
    font-weight:900;
    letter-spacing:2px;
}

.auth-message{
    max-width:720px;
}

.auth-kicker{
    color:var(--gold-light);
    font-size:10px;
    font-weight:900;
    letter-spacing:3px;
}

.auth-message h1{
    margin:14px 0 20px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(54px,6.4vw,94px);
    line-height:.92;
    letter-spacing:-4px;
}

.auth-message p{
    max-width:590px;
    margin:0;
    color:#d0d0d4;
    font-size:18px;
    line-height:1.65;
}

.auth-visual-footer{
    display:flex;
    flex-wrap:wrap;
    gap:25px;
    color:#b4b4b8;
    font-size:9px;
    font-weight:800;
    letter-spacing:2.4px;
}

.auth-form-area{
    min-height:100vh;
    padding:40px clamp(24px,5vw,70px);
    background:
        radial-gradient(circle at 90% 5%,rgba(201,164,106,.11),transparent 28%),
        #070708;
    display:grid;
    place-items:center;
}

.auth-card{
    width:min(500px,100%);
    padding:42px;
    border:1px solid var(--line);
    border-radius:30px;
    background:rgba(13,13,15,.86);
    backdrop-filter:blur(18px);
    box-shadow:0 35px 120px rgba(0,0,0,.5);
}

.register-card{
    padding-top:34px;
    padding-bottom:34px;
}

.back-home{
    display:inline-flex;
    margin-bottom:32px;
    color:#aaaab0;
    font-size:12px;
    font-weight:700;
}

.back-home::before{
    content:"←";
    margin-right:8px;
    color:var(--gold-light);
}

.back-home:hover{
    color:#fff;
}

.auth-card h2{
    margin:10px 0 12px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:43px;
    letter-spacing:-1.5px;
}

.auth-description{
    margin:0 0 27px;
    color:var(--muted);
    font-size:15px;
    line-height:1.6;
}

.auth-alert{
    margin-bottom:21px;
    padding:14px 16px;
    border:1px solid rgba(255,138,138,.3);
    border-radius:14px;
    color:#ffd1d1;
    background:rgba(255,138,138,.08);
    font-size:14px;
    line-height:1.5;
}

form{
    display:grid;
    gap:17px;
}

.field{
    display:grid;
    gap:8px;
}

.field label{
    font-size:12px;
    font-weight:800;
    letter-spacing:.3px;
}

.field input{
    width:100%;
    height:53px;
    padding:0 15px;
    border:1px solid var(--line);
    border-radius:13px;
    color:#fff;
    background:#070708;
    outline:none;
    font-size:15px;
    transition:.2s ease;
}

.field input:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 4px rgba(201,164,106,.10);
}

.field small{
    color:#77777e;
    font-size:11px;
    line-height:1.45;
}

.auth-submit{
    width:100%;
    min-height:54px;
    margin-top:3px;
    border:0;
    border-radius:14px;
    color:#111;
    background:linear-gradient(135deg,#f7e3bd,#c9a46a);
    cursor:pointer;
    font-size:14px;
    font-weight:900;
    transition:.25s ease;
}

.auth-submit:hover{
    filter:brightness(1.06);
    transform:translateY(-2px);
}

.auth-divider{
    position:relative;
    margin:28px 0 17px;
    text-align:center;
}

.auth-divider::before{
    content:"";
    position:absolute;
    top:50%;
    left:0;
    right:0;
    height:1px;
    background:var(--line);
}

.auth-divider span{
    position:relative;
    padding:0 12px;
    color:#85858b;
    background:var(--panel);
    font-size:11px;
}

.create-account-link{
    width:100%;
    min-height:51px;
    border:1px solid var(--line);
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#e7e7e7;
    background:rgba(255,255,255,.025);
    font-size:13px;
    font-weight:800;
    transition:.25s ease;
}

.create-account-link:hover{
    border-color:rgba(201,164,106,.35);
    background:rgba(255,255,255,.06);
}

.security-note{
    margin:20px 0 0;
    color:#707077;
    text-align:center;
    font-size:10px;
    line-height:1.5;
}

.honeypot{
    position:absolute;
    left:-9999px;
    width:1px;
    height:1px;
    overflow:hidden;
}

@media(max-width:950px){

    .auth-page{
        grid-template-columns:1fr;
    }

    .auth-visual{
        min-height:520px;
    }

    .auth-form-area{
        min-height:auto;
        padding-top:65px;
        padding-bottom:65px;
    }

}

@media(max-width:560px){

    .auth-visual{
        min-height:440px;
        padding:28px 22px;
    }

    .auth-logo img{
        width:43px;
        height:43px;
    }

    .auth-message h1{
        font-size:47px;
        letter-spacing:-2px;
    }

    .auth-message p{
        font-size:16px;
    }

    .auth-form-area{
        padding:24px 12px 45px;
    }

    .auth-card{
        padding:30px 21px;
        border-radius:23px;
    }

    .auth-card h2{
        font-size:38px;
    }

}
