:root {
    color-scheme: dark;
    --bg: #060a0e;
    --text: #f6f8fa;
    --muted: #9ca8b3;
    --accent: #e50914;
}

* { box-sizing: border-box; }

body {
    display: grid;
    min-width: 320px;
    min-height: 100dvh;
    margin: 0;
    padding: 24px;
    place-items: center;
    color: var(--text);
    background: radial-gradient(circle at 85% -10%, rgba(229, 9, 20, .16), transparent 28rem), linear-gradient(180deg, #080d12, var(--bg));
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input { font: inherit; }
.page { width: min(450px, 100%); }
.brand { display: flex; justify-content: center; margin-bottom: 25px; color: #fff; font-size: clamp(2rem, 8vw, 3rem); font-weight: 900; letter-spacing: -.055em; text-decoration: none; }
.brand strong { color: var(--accent); }
.card { padding: clamp(27px, 7vw, 42px); border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; background: #0d1319; box-shadow: 0 18px 55px rgba(0, 0, 0, .42); }
.eyebrow { margin: 0 0 11px; color: #f1b5b8; font-size: .79rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(1.9rem, 7vw, 2.55rem); letter-spacing: -.045em; }
.intro { margin: 13px 0 26px; color: var(--muted); line-height: 1.58; }
.alert, .notice { margin: 20px 0; padding: 13px 14px; border-radius: 12px; font-size: .91rem; line-height: 1.45; }
.alert { border: 1px solid rgba(255, 115, 123, .26); color: #ffb0b5; background: rgba(229, 9, 20, .09); }
.notice { border: 1px solid rgba(94, 211, 151, .3); color: #b7efd1; background: rgba(35, 136, 82, .12); }
label { display: block; margin: 18px 0 8px; color: #dfe5e9; font-size: .89rem; font-weight: 750; }
input { width: 100%; min-height: 53px; padding: 0 15px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; outline: none; color: #fff; background: rgba(255, 255, 255, .055); }
input:focus { border-color: rgba(229, 9, 20, .68); box-shadow: 0 0 0 4px rgba(229, 9, 20, .12); }
.submit { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: center; margin-top: 25px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #ff3340, #bf0610); cursor: pointer; font-weight: 800; text-decoration: none; }
.submit:hover { filter: brightness(1.08); }
.back-link { display: block; margin-top: 21px; color: #f1b5b8; text-align: center; text-underline-offset: 3px; }
.back-link:hover { color: #fff; }
@media (max-width: 520px) { body { padding: 16px; } .card { border-radius: 19px; } }
