:root { --bg:#03080c; --panel:#081116; --line:#26353c; --gold:#f6b600; --text:#f5f5f5; --muted:#a6b4bb; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--text); background:radial-gradient(circle at 50% 0,#172226 0,var(--bg) 48%,#010304 100%); font:14px/1.5 Inter,Arial,sans-serif; }
a { color:inherit; }
button,input { font:inherit; }
a:focus-visible,button:focus-visible,input:focus-visible { outline:3px solid var(--gold); outline-offset:3px; }
.page-glow { position:fixed; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(circle at 25% 20%,rgba(246,182,0,.1),transparent 33%); }
.page-shell { width:min(1160px,calc(100% - 48px)); min-height:100vh; margin:auto; display:flex; flex-direction:column; }
.page-header { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:100px; }
.logo { display:inline-flex; align-items:center; gap:12px; text-decoration:none; }
.logo-symbol { display:grid; place-items:center; width:44px; height:44px; border:2px solid var(--gold); border-radius:9px; color:var(--gold); font-size:27px; font-weight:900; line-height:1; }
.logo-text strong { display:block; font-size:25px; font-style:italic; font-weight:900; letter-spacing:2px; line-height:1.1; }
.logo-text small { display:block; color:#d8dee3; font-size:10px; font-weight:800; letter-spacing:.7px; text-transform:uppercase; }
.back-link { color:#c0ccd0; font-size:12px; font-weight:900; text-decoration:none; text-transform:uppercase; }
.back-link:hover { color:var(--gold); }
.login-card { display:grid; grid-template-columns:1.07fr .93fr; flex:1; min-height:590px; max-height:720px; overflow:hidden; margin:auto 0; border:1px solid #334148; border-radius:20px; background:linear-gradient(150deg,#101e24,#071014 74%); box-shadow:0 35px 100px #0008; }
.image-panel { position:relative; display:flex; flex-direction:column; justify-content:space-between; min-height:590px; overflow:hidden; padding:clamp(30px,5vw,54px); background:linear-gradient(0deg,rgba(3,8,12,.96) 0%,rgba(3,8,12,.4) 50%,rgba(3,8,12,.37) 100%),url('../img/hero-invictus.png') 63% center/cover no-repeat; }
.image-panel::before { position:absolute; inset:0 auto 0 0; width:5px; background:var(--gold); content:''; }
.image-copy { position:relative; z-index:1; margin-top:auto; max-width:480px; }
.eyebrow { margin:0 0 11px; color:var(--gold); font-size:11px; font-weight:900; letter-spacing:.18em; text-transform:uppercase; }
.image-copy h2 { margin:0 0 18px; font-size:clamp(34px,4vw,53px); font-weight:900; line-height:1.05; letter-spacing:-.045em; text-transform:uppercase; }
.image-copy h2 span { color:var(--gold); }
.image-copy > p:last-child { max-width:390px; margin:0; color:#d9e0e3; font-size:15px; }
.image-caption { position:relative; z-index:1; margin-top:42px; color:#d5dbdd; font-size:10px; font-weight:900; letter-spacing:.14em; }
.form-panel { display:flex; flex-direction:column; justify-content:center; padding:clamp(32px,5vw,70px); }
.form-panel h1 { margin:0 0 10px; font-size:clamp(31px,4vw,46px); font-weight:900; line-height:1.1; letter-spacing:-.035em; text-transform:uppercase; }
.form-panel h1 span { color:var(--gold); }
.form-intro { margin:0 0 32px; color:var(--muted); font-size:14px; }
form { display:grid; gap:9px; }
label { margin-top:7px; color:#d5dfe3; font-size:11px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
input { width:100%; min-height:53px; padding:13px 15px; border:1px solid #405159; border-radius:9px; background:#0a151a; color:white; }
input:hover { border-color:#718087; }
input:focus { border-color:var(--gold); outline:none; box-shadow:0 0 0 3px rgba(246,182,0,.16); }
button { display:flex; align-items:center; justify-content:space-between; min-height:55px; margin-top:20px; padding:13px 20px; border:1px solid var(--gold); border-radius:9px; background:var(--gold); color:#090c0d; font-size:13px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; cursor:pointer; transition:background .2s,transform .2s; }
button:hover { background:#ffca2e; transform:translateY(-1px); }
button span { font-size:22px; line-height:1; }
.klaida { padding:12px 14px; border:1px solid rgba(255,73,58,.5); border-radius:9px; background:rgba(255,73,58,.12); color:#ffd2cc; }
.form-foot { margin:28px 0 0; color:#819199; font-size:11px; }
.form-foot a { color:var(--gold); font-weight:800; text-decoration:none; }
.form-foot a:hover { text-decoration:underline; }
footer { padding:22px 0 28px; color:#7f8e95; font-size:11px; text-align:center; }
@media(max-width:800px) {
    .page-shell { width:min(100% - 28px,600px); }
    .page-header { min-height:82px; }
    .login-card { display:flex; flex-direction:column; max-height:none; margin:0 0 auto; }
    .image-panel { min-height:230px; padding:28px; background-position:65% 48%; }
    .image-copy h2 { max-width:430px; font-size:clamp(27px,6vw,38px); }
    .image-copy > p:last-child,.image-caption { display:none; }
    .form-panel { padding:34px; }
    .form-intro { margin-bottom:23px; }
}
@media(max-width:480px) {
    .page-header { gap:12px; }
    .logo-symbol { width:38px; height:38px; font-size:23px; }
    .logo-text strong { font-size:20px; }
    .logo-text small { font-size:8px; }
    .back-link { font-size:10px; }
    .image-panel { min-height:205px; padding:24px; }
    .image-copy h2 { font-size:29px; }
    .form-panel { padding:28px 22px 32px; }
    .form-panel h1 { font-size:31px; }
    footer { padding:20px 0; }
}
