:root {
  --bg: #0d0a1c;
  --bg-2: #15102b;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(187, 153, 255, 0.18);
  --text: #ece8f8;
  --muted: #a39cbd;
  --accent: #b59cff;
  --accent-2: #7c5cff;
  --accent-3: #9b80ff; /* gradient end: keeps dark text above 4.5:1 contrast */
  --gold: #ffd166;
  --discord: #5865f2;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 700px at 70% -10%, #2a1f4d 0%, transparent 60%), var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
h1, h2, h3 { font-family: Sora, Inter, sans-serif; line-height: 1.15; margin: 0 0 0.5em; }
code { font-family: ui-monospace, "JetBrains Mono", monospace; font-size: 0.9em; background: rgba(255, 255, 255, 0.06); padding: 0.1em 0.4em; border-radius: 6px; }

/* Faint star field */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff, transparent),
    radial-gradient(1px 1px at 30% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 55% 35%, #ffe9a8, transparent),
    radial-gradient(1px 1px at 75% 80%, #fff, transparent),
    radial-gradient(1px 1px at 90% 15%, #fff, transparent),
    radial-gradient(1px 1px at 45% 90%, #bb99ff, transparent),
    radial-gradient(1px 1px at 20% 55%, #bb99ff, transparent);
  background-size: 600px 600px;
}

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 5vw, 56px);
  background: rgba(13, 10, 28, 0.75); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 20px Sora, sans-serif; }
.nav nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #120c26; box-shadow: 0 8px 30px rgba(124, 92, 255, 0.35); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(124, 92, 255, 0.55); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--card); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-small { padding: 7px 16px; font-size: 14px; }
.btn-big { padding: 16px 32px; font-size: 18px; }

/* Hero */
main { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 32px); }
.hero { position: relative; text-align: center; padding: clamp(60px, 12vw, 130px) 0 70px; }
.hero-star { width: 120px; margin: 0 auto 24px; filter: drop-shadow(0 0 40px rgba(255, 209, 102, 0.45)); animation: float 6s ease-in-out infinite; }
.hero-star img { width: 100%; display: block; }
@keyframes float { 50% { transform: translateY(-10px); } }
.badge { display: inline-block; margin: 0 0 18px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--accent); font-size: 14px; }
h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 800; letter-spacing: -0.02em; }
.glow { background: linear-gradient(90deg, var(--accent), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 640px; margin: 0 auto 32px; color: var(--muted); font-size: clamp(17px, 2vw, 19px); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; list-style: none; padding: 0; margin: 44px 0 0; color: var(--muted); }
.facts strong { color: var(--text); }

/* Sections */
.section { padding: 70px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(30px, 4vw, 42px); text-align: center; }
.section-lead { max-width: 620px; margin: 0 auto 40px; text-align: center; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card-icon { font-size: 28px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* Download */
.download { text-align: center; margin-bottom: 44px; }
.small { color: var(--muted); font-size: 14px; margin-top: 12px; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; max-width: 760px; margin: 0 auto; }
.steps li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 74px; }
.steps li::before {
  content: counter(step); position: absolute; left: 22px; top: 22px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #120c26; font: 700 16px Sora, sans-serif;
}
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); margin: 0 0 10px; }
.code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-top: 8px; }
.code span { color: var(--accent); font-size: 13px; font-weight: 600; min-width: 64px; }
.code code { background: none; padding: 0; flex: 1; overflow-wrap: anywhere; }
.copy { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 4px 10px; cursor: pointer; font: 500 13px Inter, sans-serif; }
.copy:hover { border-color: var(--accent); }
.help { max-width: 760px; margin: 28px auto 0; padding: 22px; border-radius: var(--radius); border: 1px dashed var(--line); }
.help h3 { font-size: 18px; }
.help ul { margin: 0; padding-left: 20px; color: var(--muted); }
.help li { margin: 6px 0; }

.discord-cta { text-align: center; }

.footer { text-align: center; padding: 40px 16px 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer p { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.muted { font-size: 13px; }
.legal { display: flex; justify-content: center; gap: 18px; margin: 10px 0; }
.legal a { color: var(--muted); }
.legal a:hover { color: var(--text); }

/* Keyboard navigation */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #120c26; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

@media (max-width: 600px) {
  .nav nav a:not(.btn) { display: none; }
  .steps li { padding: 70px 18px 18px; }
  .steps li::before { left: 18px; top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Legal pages */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 40px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 22px; margin-top: 36px; text-align: left; }
.doc p { color: var(--muted); }
.doc p strong { color: var(--text); }

/* Open source */
.open-source { text-align: center; }
.source-list { display: grid; gap: 14px; margin: 28px 0; }
.source { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--text); text-decoration: none; transition: border-color 0.2s; }
.source:hover { border-color: var(--accent); }
.source span { grid-column: 1; color: var(--muted); font-size: 15px; }
.source em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; color: var(--accent); font-weight: 600; }

/* Interactive module explorer */
button.card { font: inherit; color: inherit; text-align: left; cursor: pointer; position: relative; overflow: hidden; }
button.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.2s;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(187, 153, 255, 0.18), transparent 70%);
}
button.card:hover::after { opacity: 1; }
button.card[aria-selected="true"] { border-color: var(--accent); background: linear-gradient(160deg, rgba(181, 156, 255, 0.14), var(--card)); box-shadow: 0 10px 40px rgba(124, 92, 255, 0.25); }
.modules-panel { margin-top: 22px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: 500 15px Inter, sans-serif; color: var(--text); background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; cursor: pointer; animation: chip-in 0.35s both;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--accent); }
.chip[aria-pressed="true"] { background: linear-gradient(135deg, var(--accent), var(--accent-3)); color: #120c26; border-color: transparent; }
@keyframes chip-in { from { opacity: 0; transform: translateY(8px); } }
.module-detail { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-height: 150px; }
.module-detail h3 { font-size: 20px; }
.module-detail p { color: var(--muted); margin: 0 0 12px; }
.module-detail.pop { animation: pop 0.25s ease-out; }
@keyframes pop { from { opacity: 0.4; transform: scale(0.98); } }
.settings-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent) !important; margin-bottom: 8px !important; }
.settings { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.settings li { font-size: 13px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--text); }
@media (max-width: 760px) { .modules-panel { grid-template-columns: 1fr; } }
button.card { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
@media (max-width: 600px) {
  #cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  #cats .card { padding: 14px; }
  #cats button.card p { display: none; }
  #cats .card h3 { font-size: 16px; margin: 0; }
  #cats .card-icon { font-size: 22px; margin-bottom: 6px; }
}

/* ===================== Effects ===================== */
.sky { display: none; }
.starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 35% at 20% 20%, rgba(124, 92, 255, 0.22), transparent 70%),
    radial-gradient(35% 30% at 85% 30%, rgba(255, 209, 102, 0.10), transparent 70%),
    radial-gradient(45% 40% at 60% 90%, rgba(181, 156, 255, 0.14), transparent 70%);
  animation: aurora 22s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate3d(4%, -3%, 0) rotate(6deg) scale(1.08); } }

.cursor-glow {
  position: fixed; left: -300px; top: -300px; width: 600px; height: 600px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(181, 156, 255, 0.13), transparent 60%);
}
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--gold));
}

/* Hero */
.hero { min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; }
.hero-star { position: relative; width: 130px; height: 130px; }
.hero-star img { position: relative; z-index: 1; border-radius: 30px; }
.ring { position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(187, 153, 255, 0.35); }
.ring-1 { animation: spin 14s linear infinite; border-top-color: var(--gold); }
.ring-2 { inset: -38px; border-color: rgba(187, 153, 255, 0.15); border-left-color: var(--accent); animation: spin 22s linear infinite reverse; }
.ring-3 { inset: -64px; border-style: dashed; border-color: rgba(255, 209, 102, 0.12); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-star::after {
  content: ""; position: absolute; inset: -40px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.35), transparent 65%);
  animation: pulse 3.5s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.18); opacity: 0.6; } }
.badge { display: inline-flex; align-items: center; gap: 8px; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(62, 207, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0); } }

.split .word { display: inline-block; white-space: nowrap; }
.js .split .char { display: inline-block; opacity: 0; transform: translateY(0.6em) rotate(8deg); filter: blur(6px); animation: char-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes char-in { to { opacity: 1; transform: none; filter: none; } }
.glow { background: linear-gradient(90deg, var(--accent), var(--gold), #ff9ecf, var(--accent)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: shimmer 6s linear infinite; }
.glow .char { background: inherit; background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: char-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 300% 0; } }

.scroll-hint { margin: 48px auto 0; width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; position: relative; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

/* Buttons: shine sweep */
.btn { position: relative; overflow: hidden; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s, background 0.2s; }
.btn::before {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg);
}
.btn:hover::before { animation: shine 0.8s ease; }
@keyframes shine { to { left: 125%; } }
.btn-primary { background-size: 200% 200%; animation: grad 6s ease infinite; }
@keyframes grad { 50% { background-position: 100% 50%; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }
.hero .reveal { transition-delay: 0.9s; }
.hero .cta.reveal { transition-delay: 1.05s; }
.hero .facts.reveal { transition-delay: 1.2s; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; margin: 0 calc(50% - 50vw); background: rgba(255, 255, 255, 0.02); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { white-space: nowrap; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Live HUD preview */
.preview-section { border-top: none; }
.game {
  --tx: 0px; --ty: 0px;
  position: relative; aspect-ratio: 16 / 9; max-width: 960px; margin: 0 auto; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(181, 156, 255, 0.1), 0 0 80px rgba(124, 92, 255, 0.2);
  font-family: ui-monospace, "JetBrains Mono", monospace; isolation: isolate;
}
.game > :not(.hud):not(.hotbar):not(.crosshair):not(.zoom-hint) { transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); transform: translate(var(--tx), var(--ty)) scale(1.06); }
.game.zoomed > :not(.hud):not(.hotbar):not(.crosshair):not(.zoom-hint) { transform: translate(var(--tx), var(--ty)) scale(1.7); }
.game-sky { position: absolute; inset: 0; background: linear-gradient(#5a7fd6, #9fbff0 55%, #d9c6ff); }
.game-sun { position: absolute; width: 9%; aspect-ratio: 1; top: 14%; right: 18%; background: #fff3c4; box-shadow: 0 0 60px 20px rgba(255, 233, 168, 0.6); image-rendering: pixelated; }
.game-hills span { position: absolute; bottom: 30%; width: 70%; height: 30%; background: #4d7a3a; clip-path: polygon(0 100%, 8% 60%, 16% 70%, 26% 30%, 36% 55%, 46% 20%, 58% 50%, 68% 35%, 80% 65%, 90% 45%, 100% 100%); }
.game-hills span:nth-child(1) { left: -10%; opacity: 0.55; filter: blur(1px); }
.game-hills span:nth-child(2) { left: 30%; height: 38%; background: #3f6a31; }
.game-hills span:nth-child(3) { left: 60%; height: 24%; opacity: 0.7; }
.game-ground { position: absolute; left: -10%; right: -10%; bottom: -10%; height: 42%; background:
  repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 2px, transparent 2px 48px),
  repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.08) 0 2px, transparent 2px 48px),
  linear-gradient(#6aa84f, #5a9341 20%, #7a5a3a 21%, #6b4e32); }
.crosshair { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; z-index: 3; }
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: #fff; mix-blend-mode: difference; }
.crosshair::before { left: 10px; top: 0; width: 2px; height: 22px; }
.crosshair::after { top: 10px; left: 0; height: 2px; width: 22px; }
.hud { position: absolute; z-index: 4; display: grid; gap: 6px; font-size: clamp(9px, 1.3vw, 13px); color: #fff; }
.hud-box { background: rgba(10, 8, 22, 0.55); backdrop-filter: blur(4px); padding: 4px 10px; border-radius: 6px; border-left: 2px solid var(--accent); }
.hud-k { color: var(--accent); }
.hud-tl { top: 4%; left: 3%; }
.hud-tr { top: 4%; right: 3%; text-align: right; }
.hud-tr .hud-box { border-left: none; border-right: 2px solid var(--gold); }
.hud-tr .hud-k { color: var(--gold); }
.hud-armor { left: 3%; bottom: 6%; }
.armor { display: flex; align-items: center; gap: 6px; background: rgba(10, 8, 22, 0.55); padding: 3px 8px; border-radius: 6px; }
.armor i { width: 14px; height: 14px; background: linear-gradient(135deg, #9fe6ff, #4aa3c7); clip-path: polygon(15% 0, 85% 0, 100% 40%, 85% 100%, 15% 100%, 0 40%); }
.armor .bar { width: clamp(40px, 7vw, 80px); height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.armor .bar span { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, #ff6b6b, #ffd166 40%, #3ecf8e); background-size: 200px 100%; animation: bar-in 1.6s ease both; }
@keyframes bar-in { from { width: 0; } }
.keystrokes { right: 3%; bottom: 6%; gap: 4px; }
.key-row { display: flex; gap: 4px; justify-content: center; }
.key { width: clamp(22px, 3.6vw, 38px); height: clamp(22px, 3.6vw, 38px); display: grid; place-items: center; border-radius: 6px; background: rgba(10, 8, 22, 0.6); border: 1px solid rgba(255, 255, 255, 0.12); font-weight: 700; transition: background 0.08s, color 0.08s, transform 0.08s; }
.key.wide { width: calc(clamp(22px, 3.6vw, 38px) * 1.55); font-size: 0.8em; }
.key.space { width: calc(clamp(22px, 3.6vw, 38px) * 3 + 8px); height: 10px; }
.key.down { background: #fff; color: #120c26; transform: scale(0.94); box-shadow: 0 0 18px rgba(255, 255, 255, 0.6); }
.hotbar { position: absolute; z-index: 4; left: 50%; bottom: 3%; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; background: rgba(0, 0, 0, 0.45); border: 2px solid rgba(255, 255, 255, 0.25); }
.hotbar span { width: clamp(14px, 2.6vw, 28px); aspect-ratio: 1; background: rgba(255, 255, 255, 0.08); }
.hotbar .sel { outline: 2px solid #fff; }
.zoom-hint { position: absolute; z-index: 4; left: 50%; top: 58%; transform: translateX(-50%); padding: 3px 10px; border-radius: 6px; background: var(--accent); color: #120c26; font-weight: 700; font-size: 12px; opacity: 0; transition: opacity 0.3s; }
.game.zoomed .zoom-hint { opacity: 1; }
.game::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.45)); }

/* Cards and steps: glowing border on hover */
.card, .steps li, .module-detail { position: relative; }
.steps li { transition: transform 0.3s, border-color 0.3s; }
.steps li:hover { transform: translateX(6px); border-color: var(--accent); }

@media (max-width: 600px) {
  .hero { min-height: auto; }
  .hud-tr, .hud-armor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .split .char { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

.hero .badge { align-self: center; }
.hero-star { align-self: center; }
.game-hills { position: absolute; inset: 0; }
.game-sun { width: 7%; }
.hero-star { margin-bottom: 52px; }

/* Static module list (fallback without JavaScript) */
.static-card p { font-size: 14px; }
.modules-panel:has(#chips:empty) { display: none; }
