:root {
  --login-lime: #e9ff47;
  --login-ink: #080909;
  --login-muted: rgba(255,255,255,.56);
}

.is-hidden { display: none !important; }

html, body.login-page { min-height: 100%; }

body.login-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--login-ink);
  color: #f7f8f3;
  font-family: "DM Sans", sans-serif;
}

.login-backdrop { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.login-feature-bg { position: absolute; inset: -30px; background-position: center; background-size: cover; filter: saturate(.65) brightness(.3); opacity: .72; transform: scale(1.05); animation: loginFeatureDrift 24s ease-in-out infinite alternate; }
.login-feature-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,9,.9) 0%, rgba(8,9,9,.56) 48%, rgba(8,9,9,.72) 100%); }
@keyframes loginFeatureDrift { to { transform: scale(1.12) translate3d(-1.5%, 1%, 0); } }
.login-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 48%, rgba(233,255,71,.1), transparent 23%), linear-gradient(120deg, #090a09 0%, #111510 48%, #080909 100%);
}
.login-noise { position: absolute; inset: 0; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); }
.login-orbit { position: absolute; border: 1px solid rgba(233,255,71,.14); border-radius: 50%; transform: rotate(-16deg); animation: loginOrbit 18s ease-in-out infinite alternate; }
.login-orbit-one { width: 78vw; height: 78vw; right: -30vw; top: -16vw; }
.login-orbit-two { width: 52vw; height: 52vw; left: -32vw; bottom: -22vw; animation-delay: -6s; }
@keyframes loginOrbit { to { transform: rotate(14deg) scale(1.06); opacity: .55; } }

.login-shell { position: relative; z-index: 2; width: min(1260px, 100%); min-height: 100vh; margin: 0 auto; padding: 26px clamp(22px, 5vw, 72px) 42px; }
.login-nav { display: flex; align-items: center; justify-content: space-between; }
.login-back-link { flex: 0 0 auto; text-decoration: none; }
.login-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 450px); align-items: center; gap: clamp(42px, 9vw, 150px); min-height: calc(100vh - 123px); }
.login-copy { position: relative; padding-bottom: 10px; }
.login-eyebrow, .login-card-kicker { color: var(--login-lime); font-family: Orbitron, sans-serif; font-size: 10px; letter-spacing: .17em; text-transform: uppercase; }
.login-live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--login-lime); box-shadow: 0 0 14px var(--login-lime); animation: loginPulse 2s ease-in-out infinite; }
@keyframes loginPulse { 50% { opacity: .35; transform: scale(.75); } }
.login-copy h1 { max-width: 580px; margin: 22px 0 22px; font-family: Georgia, serif; font-size: clamp(42px, 5.2vw, 70px); font-weight: 400; letter-spacing: -.04em; line-height: .95; }
.login-copy h1 em { color: var(--login-lime); font-style: italic; }
.login-copy p { max-width: 390px; margin: 0; color: var(--login-muted); font-size: 16px; line-height: 1.65; }
.login-top-note { display: flex; gap: 14px; margin-top: 58px; color: rgba(255,255,255,.34); font-family: Orbitron, sans-serif; font-size: 9px; letter-spacing: .14em; }
.login-top-note span:first-child { color: var(--login-lime); }

.login-top-tracks { position: absolute; inset: 0; }
.login-float-track { position: absolute; width: clamp(112px, 13vw, 176px); aspect-ratio: 1; border-radius: 50%; opacity: .18; background-size: cover; background-position: center; box-shadow: 0 0 0 8px rgba(0,0,0,.35), 0 24px 70px rgba(0,0,0,.7); animation: loginFloat 12s ease-in-out infinite alternate; }
.login-float-track::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: radial-gradient(circle, transparent 0 5%, rgba(0,0,0,.65) 5.5% 7%, transparent 7.5%); }
.login-float-track:nth-child(1) { right: 5%; top: 17%; animation-duration: 13s; }
.login-float-track:nth-child(2) { right: 27%; bottom: 14%; animation-delay: -4s; animation-duration: 16s; }
.login-float-track:nth-child(3) { right: -2%; bottom: 5%; animation-delay: -8s; animation-duration: 11s; }
@keyframes loginFloat { to { transform: translate3d(-18px, 22px, 0) rotate(14deg); } }

.login-card { position: relative; padding: clamp(28px, 4vw, 42px); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; background: rgba(12,14,13,.78); box-shadow: 0 30px 100px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); animation: loginCardIn .7s cubic-bezier(.16,1,.3,1) both; }
@keyframes loginCardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.login-card-heading h2 { margin: 12px 0 28px; font-family: Georgia, serif; font-size: 32px; font-weight: 400; }
.login-google, .login-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; border-radius: 11px; font: inherit; font-size: 13px; font-weight: 700; }
.login-google { position: relative; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: rgba(255,255,255,.45); cursor: not-allowed; }
.login-google small { position: absolute; right: 13px; color: rgba(233,255,71,.7); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.google-mark { color: #9da69c; font-size: 18px; font-weight: 700; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: rgba(255,255,255,.3); font-size: 10px; white-space: nowrap; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; flex: 1; background: rgba(255,255,255,.1); }
.login-form { display: grid; gap: 9px; }
.login-form label, .login-password-label { color: rgba(255,255,255,.62); font-size: 11px; font-weight: 600; }
.login-form input { width: 100%; box-sizing: border-box; margin-bottom: 9px; padding: 14px 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; outline: none; background: rgba(255,255,255,.055); color: #fff; font: inherit; font-size: 13px; transition: border-color .2s, background .2s; }
.login-form input:focus { border-color: rgba(233,255,71,.7); background: rgba(233,255,71,.06); }
.login-form input::placeholder { color: rgba(255,255,255,.25); }
.login-password-label { display: flex; justify-content: space-between; }
.login-password-label a { color: var(--login-lime); font-size: 10px; opacity: .7; pointer-events: none; text-decoration: none; }
.login-forgot-link { color: var(--login-lime); font-size: 10px; opacity: .7; }
.login-submit { margin-top: 7px; border: 0; background: var(--login-lime); color: #11140d; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.login-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(233,255,71,.2); }
.login-submit span { font-size: 18px; }
.login-form-status { min-height: 16px; margin: 3px 0 0; color: rgba(233,255,71,.8); font-size: 11px; text-align: center; }
.login-signup { margin: 25px 0 0; color: rgba(255,255,255,.38); font-size: 11px; text-align: center; }
.login-signup a { color: rgba(255,255,255,.82); text-decoration: none; }
.login-signup a span { color: var(--login-lime); }
.login-link-button { padding: 0; border: 0; background: none; color: rgba(255,255,255,.82); font: inherit; cursor: pointer; }
.login-link-button span { color: var(--login-lime); }
.register-view { animation: loginCardIn .35s ease both; }
.register-heading h2 { margin: 12px 0 20px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; line-height: 1.05; }
.register-avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.035); }
.register-avatar-copy { display: grid; gap: 4px; }
.register-avatar-copy strong { font-size: 12px; }
.register-avatar-copy > span { color: rgba(255,255,255,.4); font-size: 10px; }
.vinyl-avatar { position: relative; flex: 0 0 auto; width: 72px; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, #090909 0 3px, #232323 4px 5px, #0c0c0c 7px); box-shadow: 0 0 0 4px rgba(0,0,0,.5), 0 10px 24px rgba(0,0,0,.45); animation: vinylAvatarSpin 7s linear infinite; }
.vinyl-avatar::before { content: ""; position: absolute; inset: 25%; border-radius: 50%; background: var(--avatar-color, #26303a); box-shadow: 0 0 0 3px rgba(0,0,0,.65); }
.vinyl-avatar-hole { position: absolute; inset: 46%; z-index: 1; border-radius: 50%; background: #111; }
.vinyl-avatar.is-selected { outline: 2px solid var(--login-lime); outline-offset: 4px; }
.vinyl-avatar[data-avatar="gold"] { --avatar-color: #a67d1e; }
.vinyl-avatar[data-avatar="rust"] { --avatar-color: #9c4f1e; }
@keyframes vinylAvatarSpin { to { transform: rotate(360deg); } }
.register-avatar-options { display: flex; gap: 7px; margin-top: 7px; }
.avatar-option { width: 16px; height: 16px; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: #26303a; cursor: pointer; }
.avatar-option-gold { background: #a67d1e; }
.avatar-option-rust { background: #9c4f1e; }
.avatar-option.is-selected { outline: 2px solid var(--login-lime); outline-offset: 2px; }
.register-form { display: grid; gap: 8px; }
.register-form label { color: rgba(255,255,255,.62); font-size: 11px; font-weight: 600; }
.register-form input { width: 100%; box-sizing: border-box; margin-bottom: 5px; padding: 12px 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; outline: none; background: rgba(255,255,255,.055); color: #fff; font: inherit; font-size: 12px; }
.register-form input:focus { border-color: rgba(233,255,71,.7); background: rgba(233,255,71,.06); }
.register-form input::placeholder { color: rgba(255,255,255,.25); }
.register-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.register-field-grid > div { display: grid; gap: 8px; }
.password-meter { display: flex; align-items: center; gap: 9px; margin: -1px 0 5px; }
.password-meter-track { display: flex; height: 5px; flex: 1; overflow: hidden; border-radius: 5px; background: rgba(255,255,255,.1); }
.password-meter-track span { width: 0; border-radius: inherit; background: var(--login-lime); transition: width .25s, background .25s; }
.password-meter > span { min-width: 72px; color: rgba(255,255,255,.42); font-size: 9px; text-align: right; }
.register-switch { margin: 20px 0 0; color: rgba(255,255,255,.38); font-size: 11px; text-align: center; }
.forgot-view { animation: loginCardIn .35s ease both; }
.forgot-copy { margin: 0 0 20px; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.55; }
.forgot-vinyl { position: relative; width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; background: repeating-radial-gradient(circle, #090909 0 3px, #242424 4px 5px, #0d0d0d 7px); box-shadow: 0 0 0 5px rgba(0,0,0,.4), 0 14px 30px rgba(0,0,0,.45); animation: vinylAvatarSpin 8s linear infinite; }
.forgot-vinyl::before { content: ""; position: absolute; inset: 25%; border-radius: 50%; background: var(--login-lime); box-shadow: 0 0 0 3px rgba(0,0,0,.7); }
.forgot-vinyl span { position: absolute; inset: 46%; z-index: 1; border-radius: 50%; background: #111; }

@media (max-width: 760px) {
  .login-shell { padding-top: 18px; }
  .login-back-link { width: 38px; height: 38px; }
  .login-stage { display: flex; flex-direction: column; justify-content: center; gap: 25px; min-height: calc(100vh - 90px); }
  .login-copy { width: 100%; }
  .login-copy h1 { margin: 17px 0 12px; font-size: clamp(38px, 11vw, 56px); }
  .login-copy p { font-size: 14px; }
  .login-top-note { margin-top: 20px; }
  .login-card { width: 100%; box-sizing: border-box; padding: 26px 22px 22px; }
  .register-field-grid { grid-template-columns: 1fr; gap: 8px; }
  .login-float-track { opacity: .1; }
  .login-float-track:nth-child(1) { right: -12%; top: 10%; }
  .login-float-track:nth-child(2) { right: -8%; bottom: 29%; }
  .login-float-track:nth-child(3) { right: -16%; bottom: 0; }
}