.auth-page {
    margin: 0;
    color: var(--surface);
    background: var(--brand-black);
    font-family: 'MontserratWeb', 'Century Gothic', sans-serif;
}

.auth-page :focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 4px; }
.auth-page button, .auth-page input { font: inherit; -webkit-tap-highlight-color: transparent; }
.auth-scene { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow: hidden; background: radial-gradient(ellipse at 50% 27%, #f0751826, transparent 48%), radial-gradient(ellipse at 90% 70%, #ffffff08, transparent 40%); }
.auth-scene::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(#ffffff0c 1px, transparent 1px); background-size: 100% 7px; opacity: .4; }
.auth-main { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding-block: clamp(36px, 6vh, 70px) 43px; }
.auth-identity { position: relative; z-index: 2; width: 100%; margin-bottom: clamp(32px, 5vh, 56px); padding-inline: 15px; text-align: center; }
.auth-title { margin: 0; color: var(--surface); font-size: clamp(76px, 8vw, 115px); font-weight: 700; line-height: 1.1; letter-spacing: -.077em; white-space: nowrap; text-shadow: 0 0 42px #f075182b; }
.auth-title span { color: var(--brand-orange); }
.auth-tagline { margin: 12px 0 27px; color: #bfbfbf; font-size: 11px; line-height: 1.8; }
.auth-art { position: absolute; z-index: 0; inset: -12px 0 -18px; pointer-events: none; }
.auth-art canvas { display: block; width: 100%; height: 100%; }

.auth-card { position: relative; z-index: 3; width: 374px; max-width: calc(100% - 40px); padding: 25px 28px; border: 1px solid var(--line); border-top: 2px solid var(--brand-orange); border-radius: 12px; color: var(--text); background: var(--surface); box-shadow: 0 25px 80px #00000099, 0 0 90px -55px #f0751888; animation: auth-appear .8s .1s ease both; }
.auth-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; color: var(--text-muted); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.auth-kicker::before { content: ''; width: 16px; height: 2px; background: var(--brand-orange); }
.auth-card h2 { margin: 0 0 10px; font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -.055em; }
.auth-intro { margin: 0 0 22px; color: var(--text-muted); font-size: 11px; line-height: 1.8; }
.auth-error { margin: 0 0 18px; padding: 12px; border: 1px solid var(--danger-line); border-radius: 6px; color: var(--danger-text); background: var(--danger-bg); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.auth-field { margin-top: 18px; }
.auth-field label { display: block; margin-bottom: 10px; font-size: 10px; font-weight: 700; }
.auth-page .auth-input { width: 100%; min-width: 0; height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background: var(--surface); font-size: 11px; transition: border-color .2s, box-shadow .2s; }
.auth-input::placeholder { color: #767676; }
.auth-page .auth-input:focus { outline: none; border-color: var(--brand-orange); box-shadow: 0 0 0 3px #f0751817; }
.auth-password { position: relative; }
.auth-page .auth-password input { padding-right: 75px; }
.auth-page .auth-reveal { position: absolute; top: 5px; bottom: 5px; right: 5px; width: 63px; padding: 0; border: 0; border-radius: 4px; color: var(--text-muted); background: var(--surface-soft); font-size: 9px; cursor: pointer; }
.auth-page .auth-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 49px; margin-top: 23px; padding: 0 17px; border: 0; border-radius: 6px; color: var(--brand-black); background: var(--brand-orange); font-size: 11px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.auth-submit:hover { background: #f07518de; transform: translateY(-1px); }
.auth-submit svg { width: 18px; height: 18px; }
.auth-internal { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 17px 0 0; color: var(--text-muted); font-size: 9px; }
.auth-internal svg { flex-shrink: 0; width: 12px; height: 12px; }

.auth-data-label { position: absolute; z-index: 2; color: #cfcfcf; font-size: 9px; line-height: 1.8; letter-spacing: .08em; }
.auth-data-label span { display: block; margin-bottom: 9px; color: var(--brand-gray); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.auth-data-label b { color: var(--surface); font-weight: 400; }
.auth-label-left { top: 44%; left: max(60px, calc(50% - 475px)); }
.auth-label-right { top: 59%; right: max(60px, calc(50% - 475px)); }
.auth-label-right b { color: var(--brand-orange); }
.auth-data-label::before { content: ''; position: absolute; top: 7px; left: -30px; width: 18px; height: 1px; background: currentColor; }
.auth-footer { position: relative; z-index: 4; display: flex; align-items: center; width: calc(100% - 96px); margin-inline: auto; padding-block: 19px 23px; border-top: 1px solid #ffffff20; color: var(--brand-gray); font-size: 8px; line-height: 1.7; letter-spacing: .04em; }
.auth-footer strong { color: #dbdbdb; font-weight: 400; }

@keyframes auth-appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1700px) { .auth-main { padding-top: 32px; padding-bottom: 55px; } .auth-title { font-size: 128px; } .auth-tagline { margin-bottom: 35px; } }
@media (max-width: 1000px) { .auth-data-label { display: none; } }
@media (max-width: 800px) {
    .auth-main { padding-block: 33px 35px; }
    .auth-title { font-size: clamp(61px, 15.5vw, 100px); }
    .auth-tagline { max-width: 260px; margin: 12px auto 32px; font-size: 10px; }
    .auth-art { inset: -30px -100px 0; opacity: .78; }
    .auth-card { padding: 27px 24px 25px; }
    .auth-footer { width: calc(100% - 40px); }
}
@media (prefers-reduced-motion: reduce) {
    .auth-card { animation: none; }
    .auth-page button, .auth-page input { transition: none; }
    .auth-title { text-shadow: none; }
}
