:root {
  color-scheme: dark;
  --ink: #071027;
  --panel: #0f1933;
  --cyan: #42e8ef;
  --orange: #ff7838;
  --violet: #8970ff;
  --text: #f6f9ff;
  --soft: rgba(230, 238, 255, .68);
  --line: rgba(255, 255, 255, .11);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 12%, rgba(72, 58, 174, .18), transparent 28rem),
    linear-gradient(145deg, #050b1b 0%, var(--ink) 45%, #050b1b 100%);
  color: var(--text);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "SF Pro Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.site-header, main, footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border: 2px solid var(--cyan); border-radius: 50%; position: relative; box-shadow: 0 0 22px rgba(66, 232, 239, .25); }
.brand-mark::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px rgba(255, 120, 56, .7); }
.brand-mark i { position: absolute; width: 7px; height: 7px; right: -4px; top: 11px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
nav { display: flex; gap: 26px; color: var(--soft); font-size: .9rem; font-weight: 700; }
nav a:hover, footer a:hover { color: var(--cyan); }

.hero { min-height: 680px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(30px, 6vw, 90px); padding: 54px 0 82px; }
.eyebrow { margin: 0 0 16px; color: var(--cyan); font-size: .75rem; font-weight: 900; letter-spacing: .19em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; max-width: 650px; font-size: clamp(3.4rem, 7.2vw, 6.7rem); line-height: .93; letter-spacing: -.07em; }
h2 { margin-bottom: 18px; font-size: clamp(2.25rem, 4.2vw, 4.2rem); line-height: 1.01; letter-spacing: -.055em; }
h3 { font-size: 1.14rem; }
.lede { max-width: 590px; color: var(--soft); font-size: clamp(1.06rem, 1.7vw, 1.3rem); line-height: 1.65; }
.hero-actions { margin: 34px 0 38px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-actions a { color: var(--cyan); font-weight: 800; }
.store-note { display: inline-flex; min-height: 56px; align-items: center; gap: 11px; padding: 0 18px 0 9px; border-radius: 17px; background: var(--text); color: var(--ink); font-weight: 900; }
.store-note img { border-radius: 11px; }
.quick-facts { display: flex; gap: 34px; padding: 0; margin: 0; list-style: none; }
.quick-facts li { display: grid; gap: 2px; }
.quick-facts strong { font-size: 1.05rem; }
.quick-facts span { color: var(--soft); font-size: .76rem; }

.game-orbit { width: min(100%, 520px); aspect-ratio: 1; justify-self: center; position: relative; isolation: isolate; }
.ambient { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(137, 112, 255, .22), transparent 67%); filter: blur(12px); }
.ring { position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(255,255,255,.2); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-one { width: 36%; height: 36%; border-color: rgba(255, 120, 56, .5); }
.ring-two { width: 59%; height: 59%; border-color: rgba(137, 112, 255, .55); }
.ring-three { width: 82%; height: 82%; border: 2px solid rgba(66, 232, 239, .34); box-shadow: 0 0 28px rgba(66, 232, 239, .08); }
.core { position: absolute; left: 50%; top: 50%; width: 14%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle at 38% 34%, #fff6c4, var(--orange) 35%, rgba(255, 120, 56, .04) 72%); box-shadow: 0 0 38px rgba(255, 120, 56, .72); }
.spark { position: absolute; left: 89%; top: 47%; width: 5%; aspect-ratio: 1; border-radius: 50%; background: white; border: 5px solid var(--cyan); box-shadow: 0 0 24px var(--cyan); }
.shard { position: absolute; width: 4%; aspect-ratio: .74; background: var(--orange); transform: rotate(45deg); box-shadow: 0 0 15px rgba(255, 120, 56, .75); }
.shard-one { left: 30%; top: 22%; }
.shard-two { left: 58%; top: 70%; }
.blocker { position: absolute; width: 5.5%; aspect-ratio: 1; border-radius: 6px; background: var(--violet); box-shadow: 0 0 18px rgba(137, 112, 255, .6); }
.blocker-one { left: 19%; top: 47%; transform: rotate(18deg); }
.blocker-two { right: 23%; top: 26%; transform: rotate(38deg); }
.hud-score { position: absolute; left: 0; top: 8%; display: grid; }
.hud-score small { color: var(--soft); font-weight: 850; letter-spacing: .13em; }
.hud-score strong { font-size: 1.6rem; }
.hud-time { position: absolute; right: 2%; bottom: 7%; min-width: 58px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; text-align: center; font-weight: 850; }

.play { padding: 120px 0; border-top: 1px solid var(--line); }
.play > div:first-child { max-width: 700px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.steps article, .signal-card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(17, 28, 57, .9), rgba(8, 16, 38, .86)); }
.steps article > span { display: inline-grid; width: 42px; height: 42px; place-items: center; margin-bottom: 42px; border-radius: 12px; background: rgba(66, 232, 239, .1); color: var(--cyan); font-size: .75rem; font-weight: 900; }
.steps p, .principles p { color: var(--soft); }

.principles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 7vw, 100px); align-items: center; padding: 120px 0; border-top: 1px solid var(--line); }
.signal-card { padding: 8px 28px; }
.signal-card div { display: grid; gap: 4px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.signal-card div:last-child { border: 0; }
.signal-card b { font-size: 1rem; }
.signal-card span { color: var(--soft); font-size: .9rem; }

footer { min-height: 104px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--soft); font-size: .88rem; }
.footer-links { display: flex; gap: 22px; }

.legal { max-width: 780px; padding: 72px 0 120px; }
.legal h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
.legal h2 { margin-top: 52px; font-size: 1.65rem; letter-spacing: -.025em; }
.legal p, .legal li { color: var(--soft); }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.updated { color: var(--cyan) !important; font-size: .82rem; font-weight: 800; letter-spacing: .08em; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.support-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.support-grid h2 { margin: 0 0 10px; font-size: 1.15rem; }
.support-grid p { margin-bottom: 0; }
.contact-note { margin-top: 48px; padding: 24px; border-left: 3px solid var(--orange); background: rgba(255, 120, 56, .08); }

@media (max-width: 800px) {
  .site-header { min-height: 74px; }
  nav a:first-child { display: none; }
  nav { gap: 16px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 54px; }
  .game-orbit { width: min(100%, 480px); order: -1; }
  .hero-copy { text-align: center; }
  .lede { margin-inline: auto; }
  .hero-actions, .quick-facts { justify-content: center; }
  .steps, .principles { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .steps article > span { margin-bottom: 24px; }
}

@media (max-width: 520px) {
  .site-header, main, footer { width: min(calc(100% - 28px), var(--max)); }
  nav { font-size: .82rem; }
  .brand > span:last-child { display: none; }
  .hero { padding-bottom: 58px; }
  .quick-facts { gap: 19px; }
  .steps, .play, .principles { margin-top: 0; }
  .play, .principles { padding: 80px 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .spark { animation: pulse 2s ease-in-out infinite; }
  .ring-three { animation: breathe 4s ease-in-out infinite; }
  @keyframes pulse { 50% { transform: scale(.78); box-shadow: 0 0 34px var(--cyan); } }
  @keyframes breathe { 50% { opacity: .72; } }
}
