:root {
  color-scheme: dark;
  --bg: #0d0c14;
  --paper: #f6f4ee;
  --muted: #aaa7b4;
  --acid: #e0fa8c;
  --hairline: #ffffff23;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.cover {
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-inline: clamp(20px, 5vw, 82px);
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 52%, #211a32, transparent 48%), var(--bg);
}
.masthead, .hero, .cover-footer { width: 100%; max-width: 1440px; margin-inline: auto; }
.masthead { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--hairline); z-index: 1; }
.brand { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand > span { font-weight: 500; font-size: 27px; line-height: .9; letter-spacing: -1.4px; }
.brand b { color: var(--acid); }
.brand small { display: block; color: var(--muted); margin-top: 6px; font-size: 8px; letter-spacing: 2.3px; }
.masthead-note, .edition, .stage-marker, .stage-code, .footer-steps b {
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  letter-spacing: .11em;
}
.masthead-note { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.masthead-note i { width: 6px; height: 6px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 10px #e0fa8c88; }
.outline-button { border: 1px solid #ffffff45; background: #ffffff06; color: var(--paper); min-height: 42px; padding-inline: 16px; border-radius: 999px; }
.outline-button span { color: var(--acid); margin-left: 10px; }
.outline-button:hover { border-color: var(--acid); }
.hero {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  min-height: min(670px, 72svh);
}
.hero-copy { position: relative; z-index: 1; padding-block: 50px; }
.edition { display: flex; gap: 10px; align-items: center; color: #c4bfcd; line-height: 1.5; }
.edition > span:first-child { border: 1px solid #d6f38265; color: var(--acid); padding: 3px 5px; }
.edition-line { width: 18px; height: 1px; background: #d6f38270; flex-shrink: 0; }
.hero h1 {
  margin: 19px 0 21px;
  font-size: clamp(80px, 10.9vw, 180px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.072em;
}
.hero h1 > span, .hero h1 em { display: block; animation: arrive .86s cubic-bezier(.16,1,.3,1) both; }
.hero h1 em { font-style: normal; color: var(--acid); animation-delay: .11s; }
.hero h1 em span { color: #f4fdcf; }
.hero-intro { margin: 32px 0 24px; font-size: clamp(17px, 1.85vw, 24px); line-height: 1.38; color: #c6c3ce; letter-spacing: -.03em; animation: arrive .9s .17s both; }
.start-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 55px; border: 0; border-radius: 10px; padding: 7px 8px 7px 19px; color: #191c0f; background: var(--acid); font-weight: 750; font-size: 15px; box-shadow: 0 8px 38px #adcf4930; transition: background .2s, transform .2s; }
.start-button:hover { background: #efffc0; transform: translateY(-2px); }
.start-button:active { transform: translateY(0); }
.hero-copy .start-button { animation: arrive .85s .24s both; }
.button-arrow { width: 37px; height: 37px; border-radius: 7px; display: grid; place-items: center; background: #1e2212; color: var(--acid); font-size: 21px; font-weight: 400; }
.hero-stage {
  align-self: stretch;
  position: relative;
  min-width: 0;
  min-height: 450px;
  isolation: isolate;
  display: grid;
  place-items: center;
  --mx: 0px;
  --my: 0px;
}
.hero-stage > div { pointer-events: none; }
.stage-grid {
  position: absolute; inset: 6% -5% 6% -13%;
  opacity: .44;
  background-image: linear-gradient(#c8b9ee22 1px,transparent 1px), linear-gradient(90deg,#c8b9ee22 1px,transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 12%, transparent 71%);
}
.stage-brackets {
  position: absolute; inset: 10% 0 10% 3%;
  background:
    linear-gradient(#b6adcd70 1px,transparent 0) top left / 18px 100%,
    linear-gradient(90deg,#b6adcd70 1px,transparent 0) top left / 100% 18px,
    linear-gradient(#b6adcd70 1px,transparent 0) bottom right / 18px 1px,
    linear-gradient(90deg,#b6adcd70 1px,transparent 0) bottom right / 1px 18px;
  background-repeat: no-repeat;
}
.stage-orbit {
  position: absolute;
  width: 84%;
  max-width: 530px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #d9ffa239;
  background: radial-gradient(ellipse at 53% 62%, #99af4e3a, #4f397744 42%, transparent 74%);
  box-shadow: inset 0 0 26px #aa91e51f, 0 0 80px #9a79dd18;
  animation: orbit 24s linear infinite;
}
.stage-orbit::before, .stage-orbit::after { position: absolute; content: ""; border-radius: inherit; inset: 5%; border: 1px dashed #d9ffa32d; }
.stage-orbit::after { inset: -7%; border-style: solid; border-color: #a498c020; }
.stage-orbit i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px #e0fa8c; top: 14.4%; left: 14.4%; }
.stage-orbit i + i { top: auto; left: auto; bottom: 14.4%; right: 14.4%; background: #9a78d2; }
.stage-axis { position: absolute; width: 92%; height: 38%; border: 1px solid #d9ffa241; border-radius: 50%; transform: rotate(-27deg); }
.athlete { position: absolute; inset: 1% 1% 0; display: grid; place-items: center; animation: float 6s ease-in-out infinite; }
.athlete img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  mask-image: linear-gradient(90deg, transparent, #000 9% 91%, transparent), linear-gradient(transparent, #000 8% 92%, transparent);
  mask-composite: intersect;
  transform: translate(var(--mx), var(--my));
  transition: transform .2s ease-out;
}
.stage-scan {
  position: absolute; inset: 12% 3% auto;
  height: 60px;
  background: linear-gradient(0deg,#e3ff9b70 0 1px,#defe9322 2px,transparent 90%);
  opacity: 0;
  mask-image: linear-gradient(90deg,transparent,#000 24% 76%,transparent);
  animation: scan 8s 1s ease-in-out infinite;
}
.stage-marker { position: absolute; display: flex; align-items: center; gap: 7px; color: #dfd8f0; background: #15131cbd; border: 1px solid #bdb0db48; padding: 7px 8px; font-size: 9px; }
.stage-marker i { width: 4px; height: 4px; background: var(--acid); box-shadow: 0 0 6px #e0fa8c9c; }
.stage-marker-top { top: 19%; right: 3%; }
.stage-marker-bottom { bottom: 19%; left: 1%; }
.stage-code { position: absolute; bottom: 10%; right: 4%; color: #9d91ad; font-size: 9px; }
.cover-footer { z-index: 1; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 12px; }
.footer-steps, .footer-actions { display: flex; align-items: center; gap: clamp(12px, 3vw, 42px); }
.footer-steps b { color: var(--acid); margin-right: 5px; }
.local { display: inline-flex; align-items: center; gap: 7px; }
.motion-button { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; border: 0; color: var(--muted); background: transparent; padding: 0; font-size: 11px; }
.motion-button:hover { color: var(--paper); }
.motion-button i { font-style: normal; color: var(--acid); }
.motion-paused .hero-stage * { animation-play-state: paused; }
@keyframes arrive { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbit { to { transform: rotate(1turn); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes scan { 0%, 18% { top: 12%; opacity: 0; } 24% { opacity: .65; } 72% { opacity: .65; } 80%, 100% { top: 78%; opacity: 0; } }
.login-panel {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 24px);
  border: 1px solid #f1e6ff3d;
  border-radius: 23px;
  color: var(--paper);
  background: radial-gradient(ellipse at 90% 0, #302442, transparent 66%), #17141f;
  padding: clamp(23px, 5vw, 34px);
  box-shadow: 0 30px 100px #0009;
}
.login-panel[open] { animation: arrive .38s cubic-bezier(.16,1,.3,1) both; }
.login-panel::backdrop { background: #090711ba; backdrop-filter: blur(12px); }
.login-head { display: flex; justify-content: space-between; align-items: start; margin-bottom: 27px; }
.close-login { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 10px; background: #ffffff08; color: var(--paper); font-size: 25px; line-height: 1; }
.login-panel h2 { margin: 12px 0 5px; font-size: clamp(30px, 7vw, 42px); letter-spacing: -.065em; line-height: 1.03; }
.login-intro { margin: 0 0 23px; color: #bcb6c7; font-size: 14px; line-height: 1.55; }
.login-form { display: grid; }
.login-form label { font-size: 12px; color: #d3ccdd; margin-bottom: 6px; }
.login-form input { width: 100%; border: 1px solid #ffffff2b; border-radius: 9px; height: 49px; background: #100e17; color: var(--paper); padding-inline: 13px; font-size: 16px; }
.login-form > input { margin-bottom: 14px; }
.login-form input::placeholder { color: #9b94a6; }
.password-field { position: relative; }
.password-field input { padding-right: 89px; }
.password-field button { position: absolute; top: 1px; right: 1px; height: 47px; padding: 0 12px; color: #d0eb93; background: none; border: 0; font-size: 12px; }
.login-form .start-button { margin-top: 20px; }
.login-error { color: #ffc6b9; font-size: 13px; margin: 12px 0 0; }
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(78px, 12vw, 116px); }
  .stage-marker { font-size: 8px; }
}
@media (max-width: 680px) {
  .masthead { min-height: 66px; }
  .masthead-note { display: none; }
  .brand img { width: 35px; height: 35px; }
  .brand > span { font-size: 23px; }
  .hero { grid-template-columns: 1fr; align-content: center; min-height: 0; }
  .hero-copy { padding: 29px 0 20px; }
  .hero h1 { font-size: clamp(61px, 15vw, 100px); margin: 17px 0 12px; }
  .hero h1 > span, .hero h1 em { display: inline-block; }
  .hero h1 > span { margin-right: .19em; }
  .hero-intro { margin: 16px 0 16px; font-size: 17px; }
  .edition { font-size: 9px; gap: 7px; }
  .hero-stage { min-height: clamp(250px, 38svh, 420px); margin-top: -14px; }
  .stage-orbit { width: min(74%, 285px); }
  .stage-brackets { inset: 6% 0; }
  .stage-axis { width: 73%; }
  .stage-marker-top { top: 13%; right: 0; }
  .stage-marker-bottom { bottom: 16%; left: 0; }
  .cover-footer { min-height: 60px; padding-bottom: env(safe-area-inset-bottom); }
  .footer-steps { flex-wrap: wrap; gap: 5px 10px; font-size: 11px; }
  .footer-steps b { font-size: 9px; margin-right: 2px; }
  .footer-actions .local { display: none; }
  .motion-button span { display: none; }
  .motion-button { min-width: 44px; justify-content: center; }
}
@media (max-width: 345px) {
  .hero h1 { font-size: 55px; }
  .hero-stage { min-height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-button { display: none; }
}
