/* ModsThunder — storm-night palette with a single electric-yellow bolt accent.
   Layout: hero over endlessly scrolling rows of game art with live lightning, an interactive manager
   demo, a bento grid of animated features, then communities, steps, FAQ and a big-wordmark footer. */
:root {
  --bg: #07090F;
  --bg-2: #0B0F1C;
  --surface: #10152A;
  --surface-2: #171E38;
  --line: rgba(150, 170, 255, .12);
  --line-strong: rgba(150, 170, 255, .22);
  --fg: #EEF1FA;
  --muted: #959FBD;
  --bolt: #FFD43B;
  --bolt-ink: #1A1400;
  --volt: #5CC8FF;
  --violet: #8B7BFF;
  --good: #3DDC97;

  --f-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --r: 12px;
  --container: 1200px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
/* The crosshair is the site's cursor everywhere, on links and buttons too. Text fields keep the typing cursor. */
html, body, *, *::before, *::after { cursor: crosshair !important; }
input:not([type="checkbox"]):not([type="radio"]):not([type="button"]), textarea, [contenteditable="true"] { cursor: text !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bolt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--bolt); color: var(--bolt-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container {
  max-width: var(--container); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font: 600 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--bolt); border-radius: 2px; }
kbd { font: 600 11px/1 var(--f-mono); padding: 3px 6px; border-radius: 5px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: rgba(16, 21, 42, .7); color: var(--fg); text-decoration: none; font-weight: 700; font-size: 15px;
  cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s, transform .15s, box-shadow .2s;
}
.btn:hover { border-color: var(--volt); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-bolt { background: var(--bolt); color: var(--bolt-ink); border-color: var(--bolt); }
.btn-bolt:hover { background: #FFE070; border-color: #FFE070; box-shadow: 0 10px 34px -8px rgba(255, 212, 59, .65); transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* Spotlight hover for cards */
.spot { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 2; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(92, 200, 255, .14), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.spot:hover::before { opacity: 1; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(7, 9, 15, .82);
  border-bottom: 1px solid transparent; transition: background .25s, border-color .25s;
}
.site-header.scrolled { background: rgba(7, 9, 15, .96); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo svg { width: 34px; height: 34px; }
.logo-img { height: 38px; width: auto; display: block; }
.logo-word { font: 700 20px/1 var(--f-display); letter-spacing: -.02em; }
.logo-word b { font-weight: 700; background: linear-gradient(90deg, var(--volt), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 8px; transition: color .15s, background .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.search-trigger {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 8px 0 12px; border-radius: 9px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); cursor: pointer; font-size: 14px;
}
.search-trigger:hover { color: var(--fg); border-color: var(--volt); }
.search-trigger svg { width: 16px; height: 16px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); text-decoration: none; border: 0; background: none; cursor: pointer; }
.icon-btn:hover { color: var(--fg); background: var(--surface); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-btn, .search-icon { display: none; }
.mobile-nav { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-wall {
  position: absolute; inset: -80px -30% auto; z-index: -3;
  display: flex; flex-direction: column; gap: 14px;
  transform: rotate(-7deg) translateY(-20px); opacity: .55;
}
.wall-row { display: flex; gap: 14px; width: max-content; animation: marquee var(--dur, 120s) linear infinite; }
.wall-row.rev { animation-direction: reverse; }
.wall-row .tile { width: 280px; flex: none; border: 0; border-radius: 10px; }
.wall-row .tile-label { display: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(46% 40% at 50% 28%, rgba(7, 9, 15, .86), rgba(7, 9, 15, .45) 100%),
    linear-gradient(180deg, rgba(7, 9, 15, .25) 0%, rgba(7, 9, 15, .6) 42%, var(--bg) 72%);
}
.hero-glow { position: absolute; left: 50%; top: 58%; width: 900px; height: 600px; translate: -50% 0; z-index: -2; background: radial-gradient(closest-side, rgba(92, 200, 255, .18), rgba(139, 123, 255, .08) 55%, transparent); pointer-events: none; }

.storm { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.storm .bolt { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.storm .flash { position: absolute; inset: 0; background: radial-gradient(45% 55% at var(--fx, 50%) var(--fy, 18%), rgba(170, 215, 255, .42), transparent 70%); opacity: 0; }
.rain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
/* Any section can be a storm zone: rain, strikes, click-to-strike */
.storm-zone { position: relative; overflow: hidden; isolation: isolate; }
.shake { animation: shake .38s ease-out; }
@keyframes shake { 15% { transform: translate(-5px, 3px); } 35% { transform: translate(4px, -3px); } 55% { transform: translate(-3px, 2px); } 75% { transform: translate(2px, -1px); } }
.hero-tools { position: absolute; top: 18px; right: max(20px, env(safe-area-inset-right, 0px)); z-index: 3; display: flex; align-items: center; gap: 10px; }
.sky-hint { font: 600 12px/1 var(--f-mono); color: var(--muted); background: rgba(7, 9, 15, .6); border: 1px solid var(--line); padding: 8px 12px; border-radius: 999px; }

/* Crackling headline */
.hl .arcs { position: absolute; left: -4%; top: -22%; width: 108%; height: 144%; overflow: visible; pointer-events: none; opacity: 0; }
.hl .arcs path { fill: none; stroke: #FFF6C2; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px #FFD43B) drop-shadow(0 0 10px rgba(255, 212, 59, .8)); }
.hl .arcs.zap { animation: zap .5s linear both; }
@keyframes zap { 0% { opacity: 0; } 10% { opacity: 1; } 25% { opacity: .2; } 40% { opacity: 1; } 60% { opacity: .4; } 100% { opacity: 0; } }

/* Crossing tape bands */
.tickers { position: relative; height: 170px; overflow: hidden; display: grid; place-items: center; margin-top: -40px; }
.ticker { position: absolute; left: -6%; right: -6%; padding: 16px 0; overflow: hidden; white-space: nowrap; }
.t1 { background: var(--bolt); color: var(--bolt-ink); transform: rotate(-3deg); z-index: 2; box-shadow: 0 10px 40px -10px rgba(255, 212, 59, .5); }
.t2 { background: var(--surface); border-block: 1px solid var(--line-strong); color: transparent; -webkit-text-stroke: 1.2px rgba(255, 212, 59, .75); transform: rotate(2.5deg); }
.ticker-track { display: inline-flex; gap: 30px; align-items: center; width: max-content; animation: marquee 34s linear infinite; font: 800 clamp(22px, 3vw, 36px)/1 var(--f-display); letter-spacing: .01em; }
.t2 .ticker-track { animation-direction: reverse; animation-duration: 44s; }
.ticker svg { width: .85em; height: .85em; flex: none; }
.t2 svg { fill: var(--bolt); -webkit-text-stroke: 0; }
.tickers-sm { height: 120px; margin-top: -18px; }
.tickers-sm .ticker { padding: 11px 0; }
.tickers-sm .ticker-track { font-size: clamp(16px, 2.2vw, 24px); }
.storm.strike .bolt { animation: strike 1.15s cubic-bezier(.2, .6, .3, 1) both; }
.storm.strike .flash { animation: flash 1.15s ease-out both; }
/* Real strokes flicker: a bright hit, a dip, a second and third return stroke, then a slow afterglow */
@keyframes strike { 0% { opacity: 0; } 3% { opacity: 1; } 8% { opacity: .2; } 12% { opacity: 1; } 17% { opacity: .45; } 22% { opacity: .95; } 45% { opacity: .5; } 100% { opacity: 0; } }
@keyframes flash { 0% { opacity: 0; } 3% { opacity: 1; } 8% { opacity: .1; } 12% { opacity: .8; } 17% { opacity: .2; } 22% { opacity: .6; } 60%, 100% { opacity: 0; } }
/* Impact: a ring of light on the ground and sparks thrown outward */
.storm .ring { position: absolute; left: var(--x); top: var(--y); width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  border: 2px solid rgba(220, 240, 255, .9); box-shadow: 0 0 18px rgba(120, 200, 255, .9), inset 0 0 10px rgba(120, 200, 255, .7);
  animation: ring .75s cubic-bezier(.15, .7, .3, 1) forwards; }
@keyframes ring { from { transform: scale(.2); opacity: 1; } to { transform: scale(8); opacity: 0; } }
.storm .spark { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 22px; margin: -11px 0 0 -1.5px; border-radius: 3px;
  background: linear-gradient(#fff, rgba(190, 230, 255, .2)); box-shadow: 0 0 8px 2px rgba(130, 205, 255, .9);
  animation: spark var(--t, .6s) cubic-bezier(.1, .7, .3, 1) forwards; }
.storm .spark.hot { background: linear-gradient(#FFF6C8, rgba(255, 212, 59, .2)); box-shadow: 0 0 8px 2px rgba(255, 212, 59, .85); }
/* Streaks point the way they fly and shrink as they cool */
@keyframes spark { from { transform: translate(0, 0) rotate(var(--rot)) scaleY(1.3); opacity: 1; } 70% { opacity: .95; } to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scaleY(.45); opacity: 0; } }

.hero-in { padding-block: 104px 88px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.partner-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 212, 59, .4); background: rgba(20, 16, 0, .85);
  font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bolt);
}
.partner-pill svg { width: 15px; height: 15px; }
.hero-logo { width: clamp(210px, 30vw, 330px); height: auto; margin-bottom: 22px; filter: drop-shadow(0 6px 30px rgba(92, 200, 255, .25)); }
.hero h1 { font-size: clamp(38px, 6.6vw, 82px); font-weight: 800; margin-top: 24px; max-width: 15ch; text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
.hl { color: var(--bolt); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .1em; background: var(--bolt); border-radius: 4px; opacity: .35; transform: skewX(-12deg); }
.hero-sub { color: #B8C0DA; font-size: clamp(16px, 1.6vw, 19px); max-width: 54ch; margin-top: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--good); }

/* Manager demo */
.app-wrap { width: 100%; max-width: 1020px; margin-top: 64px; position: relative; }
.app-wrap::before { content: ""; position: absolute; inset: 6% 4% -6%; background: radial-gradient(closest-side, rgba(92, 200, 255, .28), transparent); filter: blur(34px); z-index: -1; }
.demo-hint { position: absolute; top: -34px; right: 8px; font: 600 12px/1 var(--f-mono); color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.demo-hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(61, 220, 151, .2); }
.app {
  text-align: left; background: var(--bg-2); border: 1px solid var(--line-strong);
  border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
  font-size: 14px;
}
.app-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.app-bar .dots { display: flex; gap: 6px; }
.app-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); }
.app-bar .app-title { font: 600 12px/1 var(--f-mono); color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.app-bar .app-title svg { width: 14px; height: 14px; color: var(--bolt); }
.app-body { display: grid; grid-template-columns: 76px minmax(0, 1fr); height: 420px; }
.app-side { border-right: 1px solid var(--line); padding: 14px 0; display: flex; flex-direction: column; gap: 12px; align-items: center; overflow: hidden; }
.app-game {
  width: 48px; height: 48px; border-radius: 12px; border: 0; padding: 0; cursor: pointer;
  background-size: cover; background-position: center; opacity: .55; transition: opacity .15s, transform .15s, box-shadow .15s;
}
.app-game:hover { opacity: .9; transform: scale(1.05); }
.app-game[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--bolt); }
.app-main { padding: 18px 22px; min-width: 0; display: flex; flex-direction: column; }
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.app-head small { display: block; color: var(--muted); font-size: 12px; }
.app-head b { font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.app-launch.running { background: var(--good); border-color: var(--good); color: #04140C; }
.app-tabs { display: flex; gap: 20px; margin: 16px 0 4px; border-bottom: 1px solid var(--line); }
.app-tabs button { border: 0; background: none; padding: 9px 0; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.app-tabs button:hover { color: var(--fg); }
.app-tabs button[aria-selected="true"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--bolt); }
.app-tabs em { font-style: normal; background: var(--bolt); color: var(--bolt-ink); border-radius: 999px; padding: 1px 7px; font-size: 11px; font-weight: 800; margin-left: 6px; }
.app-list { list-style: none; padding: 0; margin: 0; overflow-y: auto; flex: 1; scrollbar-width: thin; }
.app-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); animation: rowin .35s ease both; }
@keyframes rowin { from { transform: translateY(6px); } }
.app-list .mi {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .32), transparent 58%), linear-gradient(140deg, hsl(var(--h) 62% 52%), hsl(var(--h2) 58% 26%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 -6px 12px rgba(0, 0, 0, .25), 0 4px 10px -4px hsl(var(--h) 70% 40% / .6);
}
.app-list .mi svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
.app-list .mi svg.fill { fill: currentColor; stroke: none; }
.app-list .mn { min-width: 0; }
.app-list .mn b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-list .mn span { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-list .v { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.app-list .v ins { text-decoration: none; color: var(--bolt); }
.app-empty { color: var(--muted); padding: 28px 0; text-align: center; font-size: 14px; }
.tog { width: 38px; height: 22px; border-radius: 999px; background: var(--surface-2); position: relative; border: 0; cursor: pointer; padding: 0; transition: background .2s; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: left .2s, background .2s; }
.tog[aria-checked="true"] { background: rgba(61, 220, 151, .25); }
.tog[aria-checked="true"]::after { left: 19px; background: var(--good); }
.tog::before { content: ""; position: absolute; inset: -10px -6px; } /* bigger tap area, same look */
.act { border: 0; cursor: pointer; font: 800 11px/1 var(--f-mono); letter-spacing: .04em; color: var(--bolt-ink); background: var(--bolt); padding: 7px 10px; border-radius: 7px; position: relative; overflow: hidden; min-width: 92px; }
.act.ghost { background: var(--surface-2); color: var(--fg); }
.act.busy { color: var(--fg); background: var(--surface-2); pointer-events: none; }
.act.busy::before { content: ""; position: absolute; inset: 0; background: rgba(255, 212, 59, .35); transform-origin: left; animation: fill 1.1s ease-in-out forwards; }
.act.done { background: rgba(61, 220, 151, .2); color: var(--good); pointer-events: none; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.act span { position: relative; }
.app-toast { margin-top: 10px; font: 600 12px/1.4 var(--f-mono); color: var(--good); min-height: 17px; }

/* Sections */
.section { padding-block: 92px; position: relative; }
/* Two plain sections in a row share one gap instead of stacking two */
.section:not(.section-alt) + .section:not(.section-alt) { padding-top: 0; }
.section-alt { background: var(--bg-2); }
/* Lightning-cut edges */
.section-alt::before, .section-alt::after { content: ""; position: absolute; left: 0; right: 0; height: 28px; background: var(--bg-2); pointer-events: none; }
.section-alt::before { top: -27px; clip-path: polygon(0 100%, 0 70%, 4% 40%, 7% 80%, 12% 30%, 16% 75%, 22% 20%, 25% 60%, 31% 35%, 35% 85%, 41% 25%, 46% 70%, 52% 10%, 55% 55%, 61% 30%, 66% 80%, 72% 20%, 76% 65%, 82% 35%, 86% 75%, 91% 15%, 95% 60%, 100% 30%, 100% 100%); }
.section-alt::after { bottom: -27px; clip-path: polygon(0 0, 100% 0, 100% 40%, 95% 80%, 90% 20%, 84% 65%, 79% 30%, 73% 90%, 68% 25%, 62% 70%, 57% 15%, 51% 60%, 46% 35%, 40% 85%, 35% 20%, 29% 70%, 24% 30%, 18% 80%, 13% 25%, 8% 65%, 4% 30%, 0 75%); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; margin-top: 14px; }
.section-head p { color: var(--muted); max-width: 52ch; margin-top: 12px; font-size: 17px; }
.link-arrow { color: var(--muted); text-decoration: none; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { color: var(--bolt); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }
.reveal { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.pre { transform: translateY(24px); }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.b-card { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow: hidden; }
.b-card.wide { grid-column: span 4; }
.b-card h3 { font-size: 20px; font-weight: 600; }
.b-card p { color: var(--muted); font-size: 15px; max-width: 46ch; }
.b-vis { position: relative; height: 210px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; margin-bottom: 10px; display: grid; place-items: center; }
.b-vis::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(150, 170, 255, .1) 1px, transparent 1px); background-size: 18px 18px; pointer-events: none; }

/* install / dependency visual */
.dep { position: relative; z-index: 1; width: min(440px, 92%); display: flex; flex-direction: column; align-items: center; }
.dep-main { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-strong); }
.dep-main .mi { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--volt), #2F45DD); }
.dep-main b { font-size: 14px; }
.dep-main small { display: block; color: var(--muted); font-size: 11px; }
.dep-btn { font: 800 11px/1 var(--f-mono); padding: 8px 10px; border-radius: 7px; background: var(--bolt); color: var(--bolt-ink); margin-left: 8px; position: relative; overflow: hidden; animation: depbtn 6s infinite; }
.dep-lines { width: 70%; height: 46px; }
.dep-lines path { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 4 5; }
.dep-lines path.live { stroke: var(--volt); stroke-dasharray: 120; stroke-dashoffset: 120; animation: dash 6s infinite; }
.dep-lines path.live.b { animation-delay: .35s; }
.dep-row { display: flex; gap: 14px; width: 100%; justify-content: space-between; }
.dep-node { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); font: 600 12px/1.2 var(--f-mono); animation: depnode 6s infinite; }
.dep-node.b { animation-delay: .35s; }
.dep-node i { font-style: normal; color: var(--good); opacity: 0; animation: depok 6s infinite; }
.dep-node.b i { animation-delay: .35s; }
@keyframes depbtn { 0%, 12% { transform: scale(1); } 15% { transform: scale(.92); } 18%, 100% { transform: scale(1); } }
@keyframes dash { 0%, 18% { stroke-dashoffset: 120; } 38%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes depnode { 0%, 34% { border-color: var(--line-strong); box-shadow: none; } 42%, 85% { border-color: var(--good); box-shadow: 0 0 22px -6px rgba(61, 220, 151, .6); } 100% { border-color: var(--line-strong); } }
@keyframes depok { 0%, 38% { opacity: 0; } 44%, 88% { opacity: 1; } 100% { opacity: 0; } }

/* profiles visual */
.prof { position: relative; z-index: 1; width: min(300px, 88%); display: flex; flex-direction: column; gap: 8px; }
.prof-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); font-size: 13px; animation: prof 7.5s infinite; }
.prof-row:nth-child(2) { animation-delay: 2.5s; }
.prof-row:nth-child(3) { animation-delay: 5s; }
.prof-row b { font-weight: 700; }
.prof-row span { font: 500 11px/1 var(--f-mono); color: var(--muted); }
@keyframes prof { 0%, 30% { border-color: var(--bolt); background: rgba(255, 212, 59, .08); } 34%, 100% { border-color: var(--line-strong); background: var(--surface); } }

/* updates visual */
.upd { position: relative; z-index: 1; width: min(300px, 88%); display: flex; flex-direction: column; gap: 8px; }
.upd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); font-size: 13px; }
.upd-row small { display: block; font: 500 11px/1.3 var(--f-mono); color: var(--muted); }
.upd-row small ins { text-decoration: none; color: var(--bolt); }
.upd-pill { position: relative; width: 78px; height: 24px; font: 800 10px/24px var(--f-mono); text-align: center; }
.upd-pill span { position: absolute; inset: 0; border-radius: 6px; }
.upd-pill .a { background: var(--bolt); color: var(--bolt-ink); animation: upd-a 6s infinite; }
.upd-pill .b { background: rgba(61, 220, 151, .2); color: var(--good); opacity: 0; animation: upd-b 6s infinite; }
.upd-row:nth-child(2) .upd-pill span { animation-delay: .6s; }
.upd-row:nth-child(3) .upd-pill span { animation-delay: 1.2s; }
@keyframes upd-a { 0%, 25% { opacity: 1; } 30%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes upd-b { 0%, 25% { opacity: 0; } 30%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* communities visual */
.mosaic { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 94%; transform: rotate(-4deg) scale(1.08); }
.mosaic span { aspect-ratio: 460 / 215; border-radius: 6px; background-size: cover; background-position: center; background-color: var(--surface-2); }
.mosaic-more { position: absolute; right: 14px; bottom: 12px; z-index: 2; font: 700 12px/1 var(--f-mono); background: var(--bolt); color: var(--bolt-ink); padding: 6px 9px; border-radius: 6px; }

/* Game tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--line); text-decoration: none; color: var(--fg); background: var(--surface); min-width: 0;
}
.tile-art { position: relative; display: block; aspect-ratio: 460 / 215; overflow: hidden; isolation: isolate; }
.tile-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.86) saturate(1.08); transition: transform .4s ease, filter .3s ease; }
/* Tones bright covers (white backgrounds) down to the dark theme and fades the art into the card */
.tile-art::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--surface) 70%, transparent)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.tile-word {
  position: absolute; right: -6%; bottom: -18%;
  font: 800 clamp(60px, 8vw, 110px)/.8 var(--f-display); letter-spacing: -.05em; text-transform: uppercase;
  color: rgba(255, 255, 255, .16); white-space: nowrap; transform: rotate(-8deg); pointer-events: none;
}
.tile-label { flex: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 14px 16px 16px; }
.tile-label b { font: 700 16px/1.2 var(--f-display); overflow-wrap: anywhere; min-width: 0; }
.tile-label span { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
a.tile { transition: transform .2s ease, border-color .2s, box-shadow .2s; }
a.tile { transition: transform .15s ease-out, border-color .2s, box-shadow .2s; }
a.tile:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); border-color: transparent; box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .95), 0 0 30px -12px rgba(255, 212, 59, .5); }
a.tile:hover .tile-art img { transform: scale(1.06); filter: none; }
/* Charged border: a spark runs around the tile on hover */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
a.tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: 3; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, rgba(255, 212, 59, .3) 72%, var(--bolt) 84%, #fff 88%, var(--volt) 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .2s;
}
a.tile:hover::after { opacity: 1; animation: spin 1.8s linear infinite; }
@keyframes spin { to { --ang: 360deg; } }

/* Storm picker */
.picker {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(24px, 4.5vw, 56px); border-radius: 22px; border: 1px solid var(--line-strong);
  background: radial-gradient(70% 120% at 100% 0%, rgba(139, 123, 255, .16), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(255, 212, 59, .1), transparent 60%), var(--surface);
}
.picker h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; margin-top: 14px; }
.picker p { color: var(--muted); margin-top: 12px; font-size: 17px; max-width: 42ch; }
.picker-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.reel-wrap { position: relative; }
.reel-wrap::before { content: ""; position: absolute; inset: -8% -6%; background: radial-gradient(closest-side, rgba(255, 212, 59, .22), transparent); filter: blur(20px); z-index: -1; }
.reel { position: relative; aspect-ratio: 460 / 215; border-radius: 14px; overflow: hidden; border: 2px solid var(--line-strong); background: var(--bg-2); transform: rotate(1.5deg); box-shadow: 0 30px 60px -30px #000; }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: filter .15s; }
.reel.spinning img { filter: blur(2px) saturate(1.4) brightness(1.1); }
.reel.spinning { border-color: var(--bolt); }
.reel-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px; background: linear-gradient(transparent, rgba(5, 7, 14, .92)); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.reel-label b { font: 700 clamp(16px, 2vw, 22px)/1.15 var(--f-display); }
.reel-label span { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bolt); }
.reel-flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, #fff, rgba(255, 212, 59, .55) 30%, transparent 70%); opacity: 0; pointer-events: none; }
.reel.hit .reel-flash { animation: flash .8s ease-out both; }
.reel.hit { animation: jolt .4s ease-out; }
@keyframes jolt { 20% { transform: rotate(1.5deg) translate(-5px, 3px); } 40% { transform: rotate(1.5deg) translate(5px, -2px); } 60% { transform: rotate(1.5deg) translate(-2px, 1px); } }
.reel-ticks { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.reel-ticks i { width: 22px; height: 4px; border-radius: 2px; background: var(--surface-2); transition: background .2s; }
.reel-ticks i.on { background: var(--bolt); }

/* Charging wire above the steps */
.steps-wire { width: 100%; height: auto; display: block; margin-bottom: 18px; overflow: visible; }
.steps-wire .base { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 5 7; }
.steps-wire .live { fill: none; stroke: var(--bolt); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 212, 59, .8)); }
.steps-wire circle { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 2; transition: fill .3s, stroke .3s; }
.steps-wire circle.lit { fill: var(--bolt); stroke: #FFF6C2; filter: drop-shadow(0 0 8px rgba(255, 212, 59, .9)); }

/* Storm mode easter egg: a full-window stage over the page */
.storm.storm-overlay { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; }
.storm.storm-overlay.live { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.storm.storm-overlay.ending { opacity: 0; transition: opacity .8s ease; }
/* One flash per strike here (no flicker), so repeated full-window strikes stay under 3 flashes a second */
.storm.storm-overlay.strike .bolt { animation: strike-once .55s cubic-bezier(.2, .6, .3, 1) both; }
.storm.storm-overlay.strike .flash { animation: strike-once .5s ease-out both; }
@keyframes strike-once { 0% { opacity: 0; } 6% { opacity: 1; } 100% { opacity: 0; } }
.storm-overlay .vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 75% 70% at 50% 45%, rgba(3, 4, 10, .15) 30%, rgba(3, 4, 10, .82) 100%); }
.storm-overlay .flash { background: radial-gradient(60% 70% at var(--fx, 50%) var(--fy, 30%), rgba(200, 232, 255, .55), rgba(120, 180, 255, .12) 45%, transparent 75%); }
.storm-overlay.finale .flash { background: radial-gradient(90% 90% at 50% 60%, rgba(235, 247, 255, .85), rgba(150, 200, 255, .3) 50%, transparent 85%); }
.storm-banner { position: absolute; left: 0; right: 0; top: 14%; text-align: center; padding-inline: 16px; }
.storm-banner span {
  position: relative; display: inline-block; max-width: 100%; font: 800 clamp(34px, 9vw, 124px)/1.05 var(--f-display); letter-spacing: -.02em;
  color: var(--bolt); text-shadow: 0 0 24px rgba(255, 212, 59, .65), 0 0 80px rgba(255, 212, 59, .35);
}
.storm-banner span::before, .storm-banner span::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.storm-banner span::before { color: #5CF2FF; mix-blend-mode: screen; opacity: .75; }
.storm-banner span::after { color: #FF4FD8; mix-blend-mode: screen; opacity: .6; }
.live .storm-banner span { animation: banner-in .75s cubic-bezier(.2, 1.4, .4, 1) both, jitter 2.4s steps(1) .75s infinite; }
.live .storm-banner span::before { animation: glitch-a 1.6s steps(1) infinite; }
.live .storm-banner span::after { animation: glitch-b 1.9s steps(1) infinite; }
.finale .storm-banner span { animation: banner-hit .6s ease-out both; }
@keyframes banner-in { from { transform: scale(1.7); opacity: 0; filter: blur(10px); } to { transform: scale(1); opacity: 1; filter: none; } }
@keyframes banner-hit { 0% { transform: scale(1.12); filter: brightness(2); } 100% { transform: scale(1); filter: none; } }
@keyframes jitter { 0% { transform: none; } 7% { transform: translate(-3px, 1px) skewX(-7deg); } 9% { transform: none; } 51% { transform: translate(4px, -1px); } 53% { transform: none; } 80% { transform: skewX(5deg); } 81% { transform: none; } }
@keyframes glitch-a { 0%, 100% { clip-path: inset(0 0 82% 0); transform: translate(-5px, 0); } 20% { clip-path: inset(42% 0 38% 0); transform: translate(5px, 0); } 40% { clip-path: inset(72% 0 8% 0); transform: translate(-3px, 0); } 60% { clip-path: inset(12% 0 70% 0); transform: translate(2px, 0); } 80% { clip-path: inset(55% 0 25% 0); transform: translate(4px, 0); } }
@keyframes glitch-b { 0%, 100% { clip-path: inset(60% 0 20% 0); transform: translate(4px, 0); } 25% { clip-path: inset(5% 0 80% 0); transform: translate(-4px, 0); } 50% { clip-path: inset(30% 0 50% 0); transform: translate(3px, 0); } 75% { clip-path: inset(80% 0 4% 0); transform: translate(-5px, 0); } }
.mt-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 95; background: var(--bolt); color: var(--bolt-ink); font: 800 14px/1 var(--f-display); padding: 12px 18px; border-radius: 999px; box-shadow: 0 10px 40px -8px rgba(255, 212, 59, .6); display: inline-flex; gap: 8px; align-items: center; max-width: calc(100vw - 32px); }
.mt-toast svg { width: 16px; height: 16px; }
.egg { font-size: 12px; color: var(--muted); opacity: .7; }
.touch .egg { display: none; } /* the keyboard easter egg doesn't exist on phones */

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; position: relative; }
.step { padding: 28px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); position: relative; min-width: 0; }
.step-n { display: inline-block; font: 700 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--bolt); background: rgba(255, 212, 59, .1); border: 1px solid rgba(255, 212, 59, .3); padding: 5px 7px; border-radius: 6px; }
.step h3 { font-size: 20px; font-weight: 600; margin-top: 14px; }
/* Little scenes on the three steps; they play as the charging wire reaches each step (.lit, main.js) */
.sv { height: 104px; margin-bottom: 20px; padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.sv-top { display: flex; gap: 5px; align-items: center; font: 600 11px/1 var(--f-mono); color: var(--muted); }
.sv-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--surface-2); }
.sv-top b { margin-left: 6px; font-weight: 600; }
.sv-bar { height: 8px; margin-top: 22px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.sv-bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--bolt), #FFF3A8); box-shadow: 0 0 12px rgba(255, 212, 59, .6); transform-origin: left; transform: scaleX(.08); transition: transform 1.3s cubic-bezier(.2, .7, .2, 1); }
.lit .sv-bar span { transform: none; }
.sv-meta { display: flex; justify-content: space-between; margin-top: 12px; font: 600 11px/1 var(--f-mono); color: var(--muted); }
.sv-pct { color: var(--bolt); opacity: 0; transition: opacity .3s 1.1s; }
.lit .sv-pct { opacity: 1; }
.sv-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: center; padding: 14px 16px; }
.sv-pick span { aspect-ratio: 460 / 215; border-radius: 7px; background-size: cover; background-position: center; opacity: .4; filter: grayscale(.6); transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .4s, filter .4s, box-shadow .4s; }
.lit .sv-pick span.on { opacity: 1; filter: none; transform: scale(1.18); box-shadow: 0 0 0 2px var(--bolt), 0 0 22px rgba(255, 212, 59, .55); }
.sv-play { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.sv-btn { position: relative; background: var(--bolt); color: var(--bolt-ink); font: 800 13px/1 var(--f-display); padding: 10px 14px; border-radius: 9px; }
.sv-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--bolt); opacity: 0; }
.lit .sv-btn::after { animation: sv-ring 1.8s ease-out infinite; }
@keyframes sv-ring { from { opacity: .8; transform: none; } to { opacity: 0; transform: scale(1.18, 1.6); } }
.sv-ok { display: inline-flex; gap: 6px; align-items: center; font: 600 12px/1 var(--f-mono); color: var(--good); opacity: 0; transform: translateY(4px); transition: opacity .4s .5s, transform .4s .5s; }
.sv-ok svg { width: 14px; height: 14px; }
.lit .sv-ok { opacity: 1; transform: none; }
.step p { color: var(--muted); margin-top: 8px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
.faq h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; margin-top: 14px; }
.faq-side p { color: var(--muted); margin-top: 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 17px; }
.faq summary:hover { color: var(--bolt); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--f-mono); color: var(--bolt); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 64ch; }
.faq details a { color: var(--volt); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 56px clamp(24px, 5vw, 64px); border-radius: 20px; border: 1px solid var(--line-strong);
  background: var(--surface);
}
.cta-art { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; transform: rotate(-6deg) scale(1.3); opacity: .35; }
.cta-art span { aspect-ratio: 460 / 215; background-size: cover; background-position: center; border-radius: 6px; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--surface) 30%, rgba(16, 21, 42, .7) 70%, rgba(16, 21, 42, .4)); }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; }
.cta-band p { color: var(--muted); margin-top: 10px; font-size: 17px; }

/* Page hero (inner pages) */
.page-hero { padding-block: 80px 44px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 80% 0%, rgba(92, 200, 255, .1), transparent 60%); }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 62px); font-weight: 800; margin-top: 16px; }
.page-hero p { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 60ch; }

/* Communities page */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.search-box { position: relative; flex: 1 1 280px; max-width: 460px; }
.search-box svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-box input { width: 100%; height: 48px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); padding: 0 52px 0 42px; }
.search-box input:focus { border-color: var(--volt); outline: none; }
.search-box kbd { position: absolute; right: 12px; top: 50%; translate: 0 -50%; }
.sort { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-left: auto; }
.sort select { height: 40px; border-radius: 9px; border: 1px solid var(--line-strong); background: var(--surface); padding: 0 12px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.chip { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 6px 12px 6px 14px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.chip i { font: 600 11px/1 var(--f-mono); font-style: normal; opacity: .7; }
.chip:hover { color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--bolt); color: var(--bolt-ink); border-color: var(--bolt); }
.result-count { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.empty-note { padding: 48px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--muted); }
.empty-note a { color: var(--volt); }

/* Quick view */
.qv { width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--bg-2); color: var(--fg); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); overflow: auto; }
.qv::backdrop { background: rgba(4, 6, 12, .82); }
.qv[open] { animation: pop .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { transform: translateY(12px) scale(.98); } }
.qv-art { position: relative; aspect-ratio: 460 / 215; background: var(--surface); }
.qv-art img { width: 100%; height: 100%; object-fit: cover; }
.qv-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, var(--bg-2)); }
.qv-body { padding: 4px 28px 28px; }
.qv-body h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin-top: 10px; }
.qv-body p { color: var(--muted); margin-top: 10px; }
.qv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.qv-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(7, 9, 15, .7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.qv-close svg { width: 18px; height: 18px; }

/* Search palette */
.palette { width: min(620px, calc(100vw - 24px)); margin-top: 12vh; padding: 0; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg-2); color: var(--fg); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.palette::backdrop { background: rgba(4, 6, 12, .82); }
.palette[open] { animation: pop .2s ease; }
.pal-input { position: relative; border-bottom: 1px solid var(--line); }
.pal-input svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); }
.pal-input input { width: 100%; height: 60px; border: 0; background: none; padding: 0 70px 0 50px; font-size: 17px; outline: none; }
.pal-input kbd { position: absolute; right: 16px; top: 50%; translate: 0 -50%; }
.pal-list { list-style: none; margin: 0; padding: 8px; max-height: min(420px, 60vh); overflow-y: auto; }
.pal-group { font: 600 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 10px 6px; }
.pal-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.pal-item[aria-selected="true"] { background: var(--surface-2); }
.pal-item .pt { width: 64px; height: 30px; border-radius: 6px; background-size: cover; background-position: center; flex: none; background-color: var(--surface); display: grid; place-items: center; color: var(--muted); }
.pal-item .pt svg { width: 16px; height: 16px; }
.pal-item b { font-weight: 700; }
.pal-item > span:last-child { color: var(--muted); font-size: 13px; margin-left: auto; }
.pal-empty { padding: 28px; text-align: center; color: var(--muted); }
.pal-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.pal-foot span { display: inline-flex; gap: 6px; align-items: center; }

/* Download page */
.dl-card {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: 20px; border: 1px solid var(--line-strong);
  background: radial-gradient(90% 120% at 0% 0%, rgba(255, 212, 59, .1), transparent 55%), var(--surface);
}
.dl-card h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; margin-top: 14px; }
.dl-card .lead { color: var(--muted); margin-top: 12px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.dl-meta { font: 500 13px/1.6 var(--f-mono); color: var(--muted); margin-top: 16px; }
.dl-os { margin-top: 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(92, 200, 255, .3); background: rgba(92, 200, 255, .07); font-size: 14px; }
.dl-art { border-radius: 12px; overflow: hidden; margin-bottom: 16px; aspect-ratio: 460 / 215; background: var(--bg-2); }
.dl-art img { width: 100%; height: 100%; object-fit: cover; }
.specs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs li:last-child { border-bottom: 0; }
.specs li span:first-child { color: var(--muted); }
.specs li span:last-child { text-align: right; font-weight: 600; }

/* Prose (about, legal) */
.prose { max-width: 720px; }
.prose h2 { font-size: 24px; font-weight: 700; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #C6CCE0; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; }
.prose a { color: var(--volt); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.value { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.value h3 { font-size: 18px; font-weight: 600; }
.value p { color: var(--muted); margin-top: 8px; font-size: 15px; }
/* About page */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.about-stats > div { padding: 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.about-stats dt { font: 800 28px/1.1 var(--f-display); color: var(--bolt); }
.about-stats dd { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.value-ic { width: 40px; height: 40px; margin-bottom: 16px; border-radius: 11px; display: grid; place-items: center; color: var(--bolt); background: rgba(255, 212, 59, .1); border: 1px solid rgba(255, 212, 59, .28); }
.value-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.partner-band { margin-top: 48px; justify-content: flex-start; gap: 28px; border-color: rgba(255, 212, 59, .35); box-shadow: 0 0 70px -24px rgba(255, 212, 59, .45); }
.partner-band h2 { margin-top: 12px; }
.partner-badge { width: 84px; height: 84px; flex: none; border-radius: 22px; display: grid; place-items: center; color: var(--bolt-ink); background: radial-gradient(circle at 30% 20%, #FFF3A8, var(--bolt) 55%, #E0A800); box-shadow: 0 0 0 6px rgba(255, 212, 59, .12), 0 0 44px rgba(255, 212, 59, .55); }
.partner-badge svg { width: 44px; height: 44px; }
.contact-card { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding: 32px clamp(24px, 4vw, 48px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.contact-card h2 { font-size: 24px; font-weight: 700; }
.contact-card p { color: var(--muted); margin-top: 8px; max-width: 52ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 72px 28px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-blurb { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 36ch; }
.foot-col h4 { font: 700 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg); margin: 6px 0 16px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--fg); }
.foot-mark { margin-top: 64px; width: 100%; height: auto; display: block; }
.foot-mark text { font: 800 100px/1 var(--f-display); letter-spacing: -.02em; }
.foot-mark .hot { fill: var(--bolt); opacity: 0; filter: drop-shadow(0 0 10px rgba(255, 212, 59, .9)); }
.foot-mark.struck .hot { animation: struck 1.4s ease-out both; }
@keyframes struck { 0% { opacity: 0; } 6% { opacity: 1; } 12% { opacity: .2; } 20% { opacity: .95; } 100% { opacity: 0; } }
.site-footer .container { position: relative; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.partner-text { display: inline-flex; align-items: center; gap: 8px; color: var(--bolt); font-weight: 700; }
.partner-text svg { width: 16px; height: 16px; }

/* 404 */
.lost { min-height: 78vh; display: grid; place-items: center; text-align: center; padding-block: 80px; background: radial-gradient(60% 70% at 50% 0%, rgba(92, 200, 255, .12), transparent 70%); }
.lost h1 { font-size: clamp(80px, 18vw, 220px); font-weight: 800; letter-spacing: -.04em; }
.lost h1 .hl::after { display: none; }
.lost .eyebrow { justify-content: center; }
.lost p { color: var(--muted); margin: 14px auto 30px; max-width: 46ch; font-size: 18px; }
.lost-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lost .sky-hint { position: static; display: inline-block; margin-top: 28px; }

/* Language switch */
.lang-btn { width: auto; padding: 0 10px; font: 700 12px/1 var(--f-mono); letter-spacing: .08em; border: 1px solid var(--line-strong); height: 34px; }
.lang-btn:hover { border-color: var(--volt); }

/* Header toggles */
.icon-btn.tgl[aria-pressed="true"] { color: var(--bolt); }
.icon-btn.tgl .ic { display: grid; place-items: center; }
.icon-btn.tgl svg, .icon-btn.tgl .ic svg { width: 19px; height: 19px; }
.mnav-toggles { display: none; }
.mnav-toggles .btn svg { width: 16px; height: 16px; }
.mnav-toggles .ic { display: inline-grid; }
.mnav-toggles .btn[aria-pressed="true"] { border-color: var(--bolt); color: var(--bolt); }

/* Reduced motion: keep every animated visual on its finished frame.
   Applies when the system asks for it (unless the visitor switched storm effects on: .fx-on)
   or when the visitor switched effects off on the site (.fx-off). */
@media (prefers-reduced-motion: reduce) {
  :root:not(.fx-on) { scroll-behavior: auto; }
  :root:not(.fx-on) *, :root:not(.fx-on) *::before, :root:not(.fx-on) *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  :root:not(.fx-on) .wall-row { animation: none !important; }
  :root:not(.fx-on) .reveal.pre { transform: none; }
}
:root.fx-off { scroll-behavior: auto; }
/* Computers: the content keeps its own GPU layer so the scroll/shake motion blur (main.js) costs no repaint */
.smooth:not(.lite) main { will-change: transform, filter; }
:root.fx-off *, :root.fx-off *::before, :root.fx-off *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001s !important; }
:root.fx-off .wall-row { animation: none !important; }
:root.fx-off .reveal.pre { transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-card, .b-card.wide { grid-column: span 1; }
  .b-card.wide { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .search-trigger .st-label, .search-trigger kbd { display: none; }
  .search-trigger { padding: 0 11px; }
}
@media (max-width: 820px) {
  .nav-links, .nav-actions .btn, .search-trigger, .nav-actions .tgl, .nav-actions .lang-btn { display: none; }
  .mobile-nav .mnav-toggles { display: flex; gap: 8px; margin-top: 16px; }
  .mobile-nav .mnav-toggles .btn { flex: 1; margin-top: 0; }
  .menu-btn, .search-icon { display: grid; }
  .nav { justify-content: space-between; }
  .mobile-nav { border-top: 1px solid var(--line); padding-block: 12px 20px; }
  .mobile-nav.open { display: block; }
  .mobile-nav a:not(.btn) { display: block; padding: 12px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-nav > .btn { margin-top: 12px; width: 100%; }
  .steps, .values, .about-intro { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .dl-card { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 68px; }
  .hero-in { padding-top: 72px; }
  .app-list li { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .app-list .v { display: none; }
  .demo-hint { display: none; }
  .sort { margin-left: 0; }
  .picker { grid-template-columns: minmax(0, 1fr); }
  .steps-wire { display: none; }
  .sky-hint { display: none; }
  .tickers { height: 130px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile-label { padding: 10px 12px 12px; flex-direction: column; align-items: flex-start; }
  .tile-label b { font-size: 13px; }
  .tile-label span { font-size: 10px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-ctas .btn { width: 100%; }
  .wall-row .tile { width: 200px; }
  .app-body { grid-template-columns: 60px minmax(0, 1fr); height: 440px; }
  .app-game { width: 40px; height: 40px; border-radius: 10px; }
  .app-main { padding: 14px; }
  .act { min-width: 80px; }
  .qv-body { padding: 0 20px 22px; }
  .qv-actions .btn { width: 100%; }
  .cta-band { padding: 36px 22px; }
  .pal-foot { display: none; }
  .reel-label { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 28px; }
  /* Comfortable tap sizes on phones */
  .tog { width: 46px; height: 28px; }
  .tog::after { top: 4px; left: 4px; width: 20px; height: 20px; }
  .tog[aria-checked="true"]::after { left: 22px; }
  .act { min-height: 34px; padding: 9px 12px; }
  .app-tabs button { padding: 12px 0; }
  .link-arrow { padding-block: 10px; }
  .picker-actions .btn { width: 100%; }
}

/* ---------- Stats counter ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center; }
.stat { padding: 40px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.stat-n { font: 800 clamp(36px, 5vw, 56px)/1 var(--f-display); color: var(--bolt); display: block; }
.stat-label { font: 600 14px/1.3 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; display: block; margin-top: 12px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.review-stars { color: var(--bolt); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { color: var(--muted); font-size: 15px; line-height: 1.6; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font: 700 16px/1 var(--f-display); color: var(--volt); flex: none; }
.review-name { font-weight: 700; font-size: 14px; }
.review-game { color: var(--muted); font-size: 12px; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--surface); font: 700 15px/1.3 var(--f-body); color: var(--fg); }
.compare thead th:first-child { color: var(--muted); font-weight: 600; }
.compare thead th:nth-child(2) { color: var(--bolt); }
.compare tbody td { background: var(--bg-2); font-size: 15px; color: var(--muted); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody td:first-child { font-weight: 600; color: var(--fg); }
.compare .yes { color: var(--good); font-weight: 700; }
.compare .no { color: #f87171; }
.compare .partial { color: var(--bolt); }

/* ---------- Changelog ---------- */
.changelog { display: grid; gap: 0; position: relative; padding-left: 32px; }
.changelog::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); border-radius: 2px; }
.cl-entry { position: relative; padding: 0 0 32px; }
.cl-entry:last-child { padding-bottom: 0; }
.cl-dot { position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--bolt); }
.cl-entry:first-child .cl-dot { background: var(--bolt); }
.cl-date { font: 600 12px/1 var(--f-mono); color: var(--bolt); text-transform: uppercase; letter-spacing: .1em; }
.cl-title { font: 700 18px/1.3 var(--f-body); margin-top: 6px; }
.cl-desc { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.5; }
.cl-tag { display: inline-block; font: 600 11px/1 var(--f-mono); padding: 4px 8px; border-radius: 6px; background: var(--surface-2); color: var(--volt); margin-right: 6px; text-transform: uppercase; letter-spacing: .05em; }
.cl-tag.feat { color: var(--good); }
.cl-tag.fix { color: #f87171; }

/* ---------- Partner logos ---------- */
.partners { display: flex; align-items: center; justify-content: center; gap: clamp(32px, 6vw, 72px); flex-wrap: wrap; padding: 20px 0; }
.partner { display: flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; font: 700 18px/1 var(--f-body); opacity: .5; transition: opacity .2s; }
.partner:hover { opacity: .8; }
.partner svg { width: 28px; height: 28px; flex: none; }

/* ---------- New sections responsive ---------- */
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .compare th, .compare td { padding: 14px 16px; font-size: 14px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 28px 14px; }
}

/* ---------- Performance ---------- */
/* Animations stop while their section is off screen (main.js adds .is-off) */
.is-off, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }
/* The moving layers get their own GPU layer and don't make the rest of the page repaint */
.wall-row, .ticker-track { will-change: transform; }
.hero-wall, .tickers, .b-vis, .reel { contain: layout paint; }
.storm, .rain { contain: strict; }
/* Lite mode: picked automatically on devices that can't keep up, or with ?lite in the address */
.lite .wall-row, .lite .ticker-track { animation: none !important; }
.lite .rain { display: none; }
.lite .b-vis *, .lite .b-vis *::before { animation: none !important; }
