
:root{
    --bg:#06101b;
    --bg2:#0a1421;
    --panel:#0b1625;
    --panel-soft:#0e1b2c;
    --line:rgba(255,255,255,.085);
    --line-strong:rgba(214,179,106,.28);
    --text:#f2f5f8;
    --muted:#7f90a7;
    --muted2:#5f7087;
    --gold:#d6b36a;
    --gold-soft:#ead49f;
    --red:#ff8c8c;
    --shadow:0 32px 90px rgba(0,0,0,.34);
}

*{box-sizing:border-box}

html,body{
    min-height:100%;
}

body{
    margin:0;
    overflow-x:hidden;
    background:
        radial-gradient(circle at 18% 4%, rgba(58,90,137,.16), transparent 33rem),
        radial-gradient(circle at 82% 10%, rgba(214,179,106,.08), transparent 28rem),
        linear-gradient(180deg, #081321 0%, #06101b 100%);
    color:var(--text);
    font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    -webkit-font-smoothing:antialiased;
}

body::before,
body::after{
    content:"";
    position:fixed;
    pointer-events:none;
    z-index:0;
}

body::before{
    width:36rem;
    height:36rem;
    left:-14rem;
    bottom:-18rem;
    border-radius:50%;
    background:rgba(53,87,135,.10);
    filter:blur(120px);
}

body::after{
    width:24rem;
    height:24rem;
    right:-8rem;
    top:-8rem;
    border-radius:50%;
    background:rgba(214,179,106,.06);
    filter:blur(110px);
}

.login-page{
    position:relative;
    z-index:1;
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:28px;
}

.login-card{
    width:min(430px,100%);
    padding:34px 36px 28px;
    border:1px solid var(--line);
    border-radius:10px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,0)),
        rgba(10,21,35,.94);
    box-shadow:var(--shadow);
    backdrop-filter:blur(14px);
}

.login-brand{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:15px;
    text-align:center;
}

.login-mark{
    width:84px;
    height:84px;
    display:grid;
    place-items:center;
    border:1px solid var(--line-strong);
    border-radius:12px;
    background:
        linear-gradient(145deg, rgba(214,179,106,.09), rgba(255,255,255,.018));
    box-shadow:
        inset 0 0 30px rgba(214,179,106,.025),
        0 12px 35px rgba(0,0,0,.18);
}

.login-mark svg{
    width:48px;
    height:48px;
    fill:none;
    stroke:var(--gold);
    stroke-width:2.25;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.login-brand-copy{
    width:100%;
    text-align:center;
}

.login-brand strong{
    display:block;
    font-size:31px;
    line-height:1;
    font-weight:800;
    letter-spacing:.18em;
    transform:translateX(.09em);
}

.login-brand span{
    display:block;
    margin-top:8px;
    color:#9aabc0;
    font-size:12px;
    letter-spacing:.02em;
}

.login-divider{
    height:1px;
    margin:28px 0 26px;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.11) 18%,
        rgba(255,255,255,.11) 82%,
        transparent
    );
}

.login-copy{
    text-align:center;
    padding:0 8px 20px;
}

.login-kicker{
    display:block;
    margin-bottom:8px;
    color:var(--gold);
    font-size:9px;
    font-weight:800;
    letter-spacing:.18em;
}

.login-copy h1{
    margin:0;
    font-size:29px;
    line-height:1.08;
    font-weight:720;
    letter-spacing:-.035em;
}

.login-copy p{
    max-width:320px;
    margin:10px auto 0;
    color:var(--muted);
    font-size:11px;
    line-height:1.55;
}

.login-error{
    margin:0 0 14px;
    padding:10px 11px;
    border:1px solid rgba(255,140,140,.22);
    border-radius:6px;
    background:rgba(255,140,140,.055);
    color:#ffc9c9;
    font-size:10px;
    text-align:center;
}

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

label>span{
    display:block;
    margin:0 0 6px;
    color:#9aa8ba;
    font-size:10px;
    font-weight:600;
}

input{
    width:100%;
    height:44px;
    padding:0 12px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:6px;
    outline:none;
    background:rgba(3,10,18,.42);
    color:var(--text);
    font:inherit;
    font-size:13px;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}

input:hover{
    border-color:rgba(255,255,255,.14);
}

input:focus{
    border-color:rgba(214,179,106,.45);
    background:rgba(4,12,21,.58);
    box-shadow:0 0 0 3px rgba(214,179,106,.045);
}

button{
    height:44px;
    margin-top:4px;
    border:1px solid #d9b970;
    border-radius:6px;
    background:linear-gradient(180deg, #d9b96f, #cda95e);
    color:#151109;
    font:inherit;
    font-size:13px;
    font-weight:800;
    letter-spacing:.01em;
    cursor:pointer;
    box-shadow:0 10px 24px rgba(214,179,106,.10);
    transition:
        transform .12s ease,
        filter .12s ease,
        box-shadow .12s ease;
}

button:hover{
    filter:brightness(1.035);
    box-shadow:0 12px 28px rgba(214,179,106,.14);
}

button:active{
    transform:translateY(1px);
}

footer{
    margin-top:22px;
    padding-top:16px;
    border-top:1px solid rgba(255,255,255,.055);
    color:var(--muted2);
    font-size:9px;
    line-height:1.45;
    text-align:center;
}

@media (max-width:600px){
    .login-page{
        padding:14px;
        align-items:center;
    }

    .login-card{
        width:100%;
        max-width:420px;
        padding:28px 22px 23px;
        border-radius:8px;
    }

    .login-mark{
        width:74px;
        height:74px;
    }

    .login-mark svg{
        width:42px;
        height:42px;
    }

    .login-brand strong{
        font-size:27px;
    }

    .login-brand span{
        font-size:11px;
    }

    .login-divider{
        margin:23px 0 22px;
    }

    .login-copy{
        padding-bottom:18px;
    }

    .login-copy h1{
        font-size:25px;
    }

    .login-copy p{
        font-size:10px;
    }

    input,
    button{
        height:43px;
    }
}

@media (max-height:720px) and (min-width:601px){
    .login-page{
        padding-top:18px;
        padding-bottom:18px;
    }

    .login-card{
        padding-top:26px;
        padding-bottom:22px;
    }

    .login-mark{
        width:70px;
        height:70px;
    }

    .login-mark svg{
        width:40px;
        height:40px;
    }

    .login-divider{
        margin:20px 0;
    }

    .login-copy{
        padding-bottom:15px;
    }
}
