:root {
  --bg: #06110c;
  --primary: #39ff88;
  --accent: #4dd9ff;
  --soft: #f5ff72;
  --panel: #10261b;
  --text: #f8fbff;
  --muted: rgba(248, 251, 255, .72);
  --line: rgba(255, 255, 255, .14);
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; text-decoration: none; letter-spacing: 0; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 0 28px color-mix(in srgb, var(--primary) 60%, transparent); }
.main-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.main-nav a { text-decoration: none; color: var(--muted); padding: 8px 11px; border: 1px solid transparent; border-radius: calc(var(--radius) + 4px); }
.main-nav a:hover { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.06); }
.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  padding: clamp(56px, 8vw, 112px) clamp(18px, 5vw, 78px);
  background: linear-gradient(273deg, #06110c, #10261b), repeating-linear-gradient(0deg, transparent 0 22px, #39ff8818 22px 23px);
  overflow: hidden;
}
.hero-copy { max-width: 780px; }
.eyebrow, .section-kicker { color: var(--primary); font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 6.8rem); line-height: .93; letter-spacing: 0; margin-bottom: 24px; }
h2 { font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.05; letter-spacing: 0; margin-bottom: 18px; }
h3 { font-size: 1.05rem; line-height: 1.25; }
.hero p { font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: calc(var(--radius) + 10px);
  text-decoration: none;
  font-weight: 900;
  overflow: hidden;
  border: 0;
  cursor: pointer;
  font: inherit;
}
.cta.primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #08080b; box-shadow: 0 14px 42px color-mix(in srgb, var(--primary) 35%, transparent); animation: pulse 2.8s infinite; }
.cta.secondary { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.06); }
.hero-visual { min-height: 420px; display: grid; place-items: center; }
.orbital-ui { position: relative; width: min(70vw, 470px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 22%; background: rgba(255,255,255,.05); box-shadow: inset 0 0 80px rgba(255,255,255,.05), 0 0 80px color-mix(in srgb, var(--primary) 20%, transparent); animation: float 7s ease-in-out infinite; }
.orbital-ui:before, .orbital-ui:after { content: ""; position: absolute; inset: 12%; border: 1px dashed color-mix(in srgb, var(--primary) 46%, transparent); border-radius: inherit; animation: spin 18s linear infinite; }
.orbital-ui:after { inset: 26%; animation-duration: 11s; animation-direction: reverse; }
.core { position: absolute; inset: 38%; display: grid; place-items: center; border-radius: inherit; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #07070a; font-size: 4rem; font-weight: 1000; }
.node { position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); box-shadow: 0 0 34px var(--soft); }
.n1 { left: 18%; top: 22%; } .n2 { right: 13%; top: 42%; } .n3 { left: 44%; bottom: 12%; }
.stats-band, .section, .site-footer { padding-inline: clamp(18px, 5vw, 78px); }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stats-band article { background: color-mix(in srgb, var(--panel) 78%, #000); padding: 24px; }
.stats-band strong { display: block; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; color: var(--primary); }
.stats-band span { color: var(--muted); text-transform: uppercase; font-size: .75rem; font-weight: 800; }
.section { padding-top: clamp(60px, 9vw, 120px); padding-bottom: clamp(60px, 9vw, 120px); }
.section > p, .legal-content p { color: var(--muted); max-width: 980px; }
.mini-game-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(310px, 1.1fr); gap: clamp(24px, 5vw, 70px); align-items: center; background: color-mix(in srgb, var(--panel) 46%, #000); }
.mini-game-copy p { color: var(--muted); max-width: 720px; }
.mini-game { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.mini-hud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mini-hud span { display: grid; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); color: var(--muted); font-size: .78rem; text-transform: uppercase; font-weight: 800; background: rgba(0,0,0,.18); }
.mini-hud strong { color: var(--primary); font-size: 1.35rem; line-height: 1; }
.mini-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; aspect-ratio: 1; max-width: 520px; margin-inline: auto; }
.mini-cell { border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: rgba(255,255,255,.07); color: var(--text); font-weight: 1000; font-size: clamp(1rem, 3vw, 1.45rem); cursor: pointer; transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.mini-cell:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--primary) 72%, white); }
.mini-cell.is-target { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #07070a; box-shadow: 0 0 26px color-mix(in srgb, var(--primary) 44%, transparent); animation: miniGlow 1s ease-in-out infinite; }
.mini-cell.is-hit { background: var(--soft); color: #07070a; transform: scale(.96); }
.mini-cell.is-miss { background: #ff4b5f; color: white; }
.mini-controls { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 16px; }
.mini-controls button { min-height: 44px; border: 0; border-radius: calc(var(--radius) + 5px); padding: 10px 16px; background: var(--primary); color: #08080b; font-weight: 1000; cursor: pointer; }
.mini-controls p { margin: 0; color: var(--muted); font-size: .94rem; }
.screenshots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.screenshot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.05); }
.screen-grid { min-height: 230px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; padding: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 22%, transparent), color-mix(in srgb, var(--accent) 16%, transparent)); }
.screen-grid span { border-radius: calc(var(--radius) + 2px); background: rgba(255,255,255,.18); border: 1px solid var(--line); }
figcaption { padding: 14px; color: var(--muted); font-size: .92rem; }
.feature-grid, .steps, .testimonials, .tip-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.steps, .testimonials { grid-template-columns: repeat(2, 1fr); }
.tip-list { grid-template-columns: repeat(5, 1fr); }
.feature-card, .steps article, .testimonials article, .tip-list article, .legal-content article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}
.icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 50%; background: var(--primary); color: #08080b; font-weight: 1000; }
.lore, .article { background: color-mix(in srgb, var(--panel) 62%, #000); }
.faq-list { max-width: 960px; display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: rgba(255,255,255,.05); }
summary { cursor: pointer; font-weight: 900; }
details p { color: var(--muted); margin: 12px 0 0; }
.site-footer { padding-top: 52px; padding-bottom: 34px; background: #030407; border-top: 1px solid var(--line); }
.site-footer p { color: var(--muted); max-width: 1000px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.footer-links a, .site-footer a { color: var(--soft); }
.disclaimer { border-top: 1px solid var(--line); padding-top: 18px; }
.legal-page { background: linear-gradient(273deg, #06110c, #10261b), repeating-linear-gradient(0deg, transparent 0 22px, #39ff8818 22px 23px); }
.legal-hero { padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 78px) 32px; }
.legal-content { padding: 20px clamp(18px, 5vw, 78px) 90px; display: grid; gap: 16px; max-width: 1100px; }
.cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 880px; margin: auto; padding: 14px 16px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); background: color-mix(in srgb, var(--bg) 88%, #000); box-shadow: 0 18px 60px rgba(0,0,0,.36); }
.cookie-banner p { margin: 0; color: var(--muted); font-size: .92rem; }
.cookie-banner button { border: 0; border-radius: calc(var(--radius) + 4px); padding: 10px 16px; font-weight: 900; cursor: pointer; color: #08080b; background: var(--primary); }
.cookie-banner.is-hidden { display: none; }
@keyframes pulse { 0%, 100% { transform: translateY(0); filter: brightness(1); } 50% { transform: translateY(-2px); filter: brightness(1.15); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes miniGlow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.22); } }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { min-height: 320px; }
  .mini-game-section { grid-template-columns: 1fr; }
  .stats-band, .feature-grid, .screenshots, .steps, .testimonials, .tip-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  .main-nav { justify-content: flex-start; }
  .hero { padding-top: 42px; }
  .stats-band, .feature-grid, .screenshots, .steps, .testimonials, .tip-list { grid-template-columns: 1fr; }
  .mini-hud, .mini-controls { grid-template-columns: 1fr; }
  .mini-board { gap: 8px; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner button { width: 100%; }
}