:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #f7f7f8; background: #080809; font-synthesis: none; }
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.login-page { position: relative; min-height: 100svh; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse 30% 32% at 50% 56%, rgba(87, 17, 22, .12), transparent 80%), #080809; }
.login-page::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(230, 47, 57, .42) 0 1px, transparent 1.35px), radial-gradient(circle, rgba(230, 47, 57, .2) 0 1px, transparent 1.3px); background-size: 162px 148px, 251px 223px; background-position: 8px 11px, 73px 99px; opacity: .5; }
.login-header { display: flex; align-items: center; justify-content: space-between; width: min(920px, calc(100% - 40px)); height: 74px; margin: 0 auto; }
.header-brand { display: inline-flex; align-items: center; gap: 5px; color: #f5f4f5; text-decoration: none; font-size: .8rem; font-weight: 750; }
.header-brand img { display: block; width: 29px; height: 29px; border-radius: 6px; object-fit: cover; }
.login-header nav { display: flex; align-items: center; gap: 16px; }
.header-signin { color: #aaa5a8; text-decoration: none; font-size: .75rem; }
.header-signin:hover { color: #fff; }
.header-start { display: inline-flex; align-items: center; justify-content: center; min-height: 27px; padding: 0 12px; border-radius: 6px; background: #e42a30; color: #fff; text-decoration: none; font-size: .75rem; font-weight: 750; box-shadow: 0 5px 15px rgba(224, 36, 45, .15); }
.header-start:hover { background: #fb3b43; }
.login-main { display: flex; align-items: center; justify-content: center; min-height: calc(100svh - 74px); padding: 98px 20px 20px; }
.login-card { width: min(100%, 288px); padding: 40px 24px 24px; border: 1px solid #242124; border-radius: 12px; background: rgba(13, 11, 12, .83); box-shadow: 0 22px 60px rgba(0, 0, 0, .16); text-align: center; }
.card-logo { display: block; width: 36px; height: 36px; margin: 0 auto 47px; border-radius: 7px; object-fit: cover; }
.login-card h1 { margin: 0; color: #fff; font-size: 1.125rem; line-height: 1.25; font-weight: 800; letter-spacing: -.03em; }
.welcome { margin: 4px 0 27px; color: #777277; font-size: .71rem; }
form { text-align: left; }
form label { display: block; margin-bottom: 6px; color: #d6d2d5; font-size: .69rem; font-weight: 650; }
.input-wrap { position: relative; display: flex; align-items: center; height: 33px; border: 1px solid #332e31; border-radius: 7px; background: #1c191b; }
.input-wrap:focus-within { border-color: #a83b45; box-shadow: 0 0 0 2px rgba(232, 52, 68, .12); }
.input-wrap > svg { flex: none; width: 12px; height: 12px; margin-left: 9px; fill: none; stroke: #797479; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.input-wrap input { min-width: 0; flex: 1; height: 100%; padding: 0 9px; border: 0; outline: 0; background: transparent; color: #f6f3f5; font-size: .72rem; }
.input-wrap input::placeholder { color: #6f6b6e; opacity: 1; }
.password-label { margin-top: 14px; }
.password-toggle { display: grid; place-items: center; flex: none; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; color: #817a7e; }
.password-toggle:hover { color: #fff; }
.password-toggle svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.forgot-link { display: block; margin: 12px 0 9px auto; padding: 0; border: 0; background: transparent; color: #ff6a72; font-size: .64rem; }
.forgot-link:hover, .inline-link:hover { color: #ff9399; }
.verification { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 6px 9px; border: 1px solid #666165; border-radius: 2px; background: #2e2c2e; color: #f0eef0; font-size: .66rem; font-weight: 650; white-space: nowrap; }
.verification-spinner { flex: none; width: 19px; height: 19px; border: 2px dotted #43bc70; border-radius: 50%; }
.verification > svg { flex: none; width: 20px; height: 20px; margin-left: auto; fill: none; stroke: #e6575b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.submit-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 33px; margin-top: 15px; padding: 0 10px; border: 0; border-radius: 7px; background: #e52930; color: #fff; font-size: .72rem; font-weight: 750; }
.submit-button:hover { background: #fb3b43; }
.submit-button span { font-size: 1rem; font-weight: 400; }
.register-prompt { margin: 19px 0 0; color: #888287; font-size: .7rem; text-align: center; }
.inline-link { padding: 0; border: 0; background: transparent; color: #ff6a72; font-size: inherit; text-decoration: none; }
.divider { position: relative; margin-top: 23px; border-top: 1px solid #302b2e; text-align: center; }
.divider span { position: relative; top: -8px; padding: 0 7px; background: #0d0b0c; color: #777177; font-size: .61rem; }
.discord-button { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 33px; margin-top: 3px; padding: 0 10px; border: 1px solid #433c74; border-radius: 8px; background: #15131c; color: #f6f3f7; font-size: .71rem; font-weight: 720; }
.discord-button:hover { border-color: #746bb3; background: #201b30; }
.discord-button svg { width: 14px; height: 14px; fill: #7c83e8; }
.form-status { margin: 12px 0 0; color: #f3afb3; font-size: .7rem; line-height: 1.35; text-align: center; }
.register-main { padding-top: 42px; }
.register-card .card-logo { margin-bottom: 43px; }
.register-card .welcome { margin-bottom: 27px; }
.register-card .extra-label { margin-top: 10px; }
.register-card .verification { margin-top: 9px; }
.terms-note { margin: 12px 0 0; color: #787277; font-size: .62rem; line-height: 1.35; text-align: center; }
.register-card .register-prompt { margin-top: 8px; }
.register-card .divider { margin-top: 19px; }
:is(a, button, input):focus-visible { outline: 2px solid #ff8891; outline-offset: 3px; }
@media (max-width: 520px) { .login-header { width: calc(100% - 32px); height: 64px; } .login-header nav { gap: 9px; } .login-main { min-height: calc(100svh - 64px); padding: 48px 16px 28px; } .login-card { width: min(100%, 340px); } .register-main { padding-top: 34px; } }
@media (prefers-reduced-motion: no-preference) { .login-card { animation: appear .55s ease-out both; } @keyframes appear { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } } }
