/* =====================================================================
   Galaxy Eggbert: presentation website
   A single dark "space" theme: deep night blues with Blupi yellow.
   ===================================================================== */

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-italic-latin.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg: #070a1f;
  --bg-2: #0b1030;
  --panel: #111742;
  --panel-2: #172056;
  --panel-3: #1d2766;
  --line: rgba(160, 175, 255, 0.14);
  --line-strong: rgba(160, 175, 255, 0.28);

  --text: #eef0ff;
  --muted: #b4bbe2;
  --dim: #8189b8;

  --yellow: #ffd43b;
  --yellow-hi: #ffe680;
  --yellow-deep: #f5a400;
  --yellow-ink: #2a1e00;
  --cyan: #63e2ff;
  --green: #8fe388;
  --orange: #ffa94d;
  --pink: #ff86c0;
  --violet: #9d8cff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.35);
  --glow-yellow: 0 10px 34px rgba(255, 196, 0, 0.32);

  --font-display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 66px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}
/* Starfield + nebula, fixed behind everything. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 23px 41px, rgba(255,255,255,.9), transparent 60%),
    radial-gradient(1px 1px at 141px 97px, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1.5px 1.5px at 207px 173px, rgba(255,240,190,.85), transparent 60%),
    radial-gradient(1px 1px at 77px 211px, rgba(200,220,255,.7), transparent 60%),
    radial-gradient(1px 1px at 263px 29px, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 171px 251px, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1px 1px at 53px 131px, rgba(255,255,255,.45), transparent 60%);
  background-size: 290px 290px;
  opacity: .55;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% 8%, rgba(110, 80, 255, 0.16), transparent 70%),
    radial-gradient(800px 600px at 5% 45%, rgba(0, 170, 255, 0.10), transparent 70%),
    radial-gradient(900px 700px at 70% 95%, rgba(255, 170, 0, 0.07), transparent 70%),
    linear-gradient(180deg, #070a1f 0%, #080c26 50%, #060818 100%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--yellow); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--yellow-hi); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--font-mono); font-size: .86em; }
code { background: rgba(255,255,255,.07); border: 1px solid var(--line); padding: .08em .4em; border-radius: 6px; color: var(--yellow-hi); }
kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: .1em .5em;
  text-align: center;
  color: var(--text);
  background: linear-gradient(180deg, #27306f, #1a2153);
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: 7px;
  line-height: 1.5;
  white-space: nowrap;
}
em { font-style: italic; }
strong { font-weight: 800; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(860px + 2 * var(--gutter)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--yellow-ink); padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  --b-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .72em 1.25em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: var(--yellow-ink);
  background: linear-gradient(180deg, var(--yellow-hi) 0%, var(--yellow) 45%, var(--yellow-deep) 100%);
  border-color: #ffe9a3;
  box-shadow: var(--glow-yellow), inset 0 -3px 0 rgba(150, 90, 0, .35);
}
.btn-primary:hover { color: var(--yellow-ink); box-shadow: 0 14px 40px rgba(255, 196, 0, .45), inset 0 -3px 0 rgba(150, 90, 0, .35); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.06); border-color: var(--line-strong); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--text); border-color: var(--yellow); background: rgba(255, 212, 59, .1); }
.btn-link { color: var(--muted); padding-left: .4em; padding-right: .4em; border: 0; }
.btn-link:hover { color: var(--yellow); transform: none; text-decoration: underline; }
.btn-lg { font-size: 1.15rem; padding: .85em 1.5em; }
.btn-sm { font-size: .95rem; padding: .5em 1em; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(7, 10, 31, .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 10px; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; letter-spacing: .01em; }
.brand-name b { color: var(--yellow); font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: .97rem;
  padding: 8px 11px;
  border-radius: 10px;
  transition: color .15s, background-color .15s;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="true"] { color: var(--text); background: rgba(255,255,255,.07); }
.nav-gh { display: inline-flex; align-items: center; gap: 6px; }
.nav-gh-label { display: none; }
.nav-play { margin-left: 8px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 12px;
  padding: 6px 8px;
  cursor: pointer;
}

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 20px;
    background: rgba(9, 13, 38, .97);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: 12px 14px; font-size: 1.05rem; }
  .nav-gh-label { display: inline; }
  .nav-play { margin: 10px 0 0; }
}

/* ---------- shared section pieces ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(17, 23, 66, .55), rgba(17, 23, 66, .25)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .86rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 .8em;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 720px; }
.fine { font-size: .93rem; color: var(--dim); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 40px;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.03); animation: heroDrift 26s ease-in-out infinite alternate; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,10,31,.94) 0%, rgba(7,10,31,.78) 38%, rgba(7,10,31,.25) 70%, rgba(7,10,31,.35) 100%),
    linear-gradient(180deg, rgba(7,10,31,.35) 0%, rgba(7,10,31,0) 30%, rgba(7,10,31,.15) 70%, var(--bg) 100%);
}
@keyframes heroDrift { from { transform: scale(1.03) translate3d(0,0,0); } to { transform: scale(1.09) translate3d(-1.5%, -1%, 0); } }
.hero-inner { position: relative; max-width: calc(var(--wrap) + 2 * var(--gutter)); }
.hero-eyebrow { color: var(--yellow-hi); }
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .92;
  margin: 0 0 .32em;
  font-size: clamp(3.4rem, 10.5vw, 7.6rem);
  letter-spacing: .02em;
  color: var(--yellow);
  /* chunky extruded look, a nod to the blocky in-game title */
  text-shadow:
    0 1px 0 #f3b900, 0 2px 0 #e8a800, 0 3px 0 #dc9a00, 0 4px 0 #cf8c00,
    0 5px 0 #c27f00, 0 6px 0 #b47200, 0 7px 0 #9f6300,
    0 12px 22px rgba(0,0,0,.55), 0 0 60px rgba(255, 200, 40, .28);
}
.logo-line { display: block; }
.logo-line + .logo-line { padding-left: .5em; }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: #dfe3ff; max-width: 600px; margin-bottom: 1.6em; }
.hero-lead strong { color: var(--text); display: block; font-size: 1.12em; margin-bottom: .2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-platforms { margin-top: 1.1em; color: var(--muted); font-size: .95rem; font-weight: 700; letter-spacing: .02em; }
.hero-news { margin: -.2em 0 1.1em; font-weight: 700; }
.hero-news a { color: var(--text); text-decoration: none; display: inline-flex; gap: .55em; align-items: center; }
.hero-news a:hover, .hero-news a:focus-visible { color: var(--yellow-hi); }
.hero-news .pill { align-self: center; }
.hero-stats {
  list-style: none;
  margin: clamp(36px, 6vw, 64px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 1000px;
}
.hero-stats li {
  background: rgba(13, 18, 52, .62);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-stats b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--yellow); line-height: 1.1; }
.hero-stats span { color: var(--muted); font-size: .9rem; font-weight: 700; }
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: 48px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(7,10,31,.55) 0%, rgba(7,10,31,.82) 55%, var(--bg) 100%); }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats li:nth-child(n+4) { display: none; }
}

/* ---------- fans: pillars + timeline ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pillar {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 22px;
  box-shadow: var(--shadow-sm);
}
.pillar-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  color: var(--yellow-ink);
  background: linear-gradient(160deg, var(--yellow-hi), var(--yellow-deep));
  box-shadow: var(--glow-yellow);
  margin-bottom: 18px;
}
.pillar-icon svg { width: 32px; height: 32px; }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.timeline {
  list-style: none;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 23px;
  height: 3px;
  background: linear-gradient(90deg, var(--line-strong), var(--yellow) 92%);
  border-radius: 3px;
}
.timeline li { position: relative; padding: 52px 14px 0 0; }
.timeline li::before {
  content: "";
  position: absolute;
  top: 15px; left: 0;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--line-strong);
}
.timeline li.tl-now::before { background: var(--yellow); border-color: var(--yellow-hi); box-shadow: 0 0 0 6px rgba(255,212,59,.18), 0 0 22px rgba(255,212,59,.6); }
.tl-year { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--yellow); line-height: 1.1; }
.tl-title { display: block; font-weight: 800; margin: 2px 0 6px; }
.tl-text { display: block; color: var(--muted); font-size: .94rem; line-height: 1.5; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 22px; padding-left: 34px; }
  .timeline::before { left: 9px; right: auto; top: 6px; bottom: 6px; width: 3px; height: auto; background: linear-gradient(180deg, var(--line-strong), var(--yellow)); }
  .timeline li { padding: 0; }
  .timeline li::before { left: -34px; top: 4px; }
}

/* ---------- features ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.feature-flip .feature-media { order: 2; }
.feature-media { margin: 0; position: relative; }
.feature-media::before {
  content: "";
  position: absolute;
  inset: 8% -4% -6% 6%;
  background: radial-gradient(closest-side, rgba(99, 226, 255, .22), transparent);
  filter: blur(30px);
  z-index: -1;
}
.feature-flip .feature-media::before { background: radial-gradient(closest-side, rgba(255, 212, 59, .2), transparent); }
.feature-media a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.feature-media img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform .5s ease; }
.feature-media a:hover img { transform: scale(1.035); }
.feature-kicker { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--yellow); margin-bottom: .6em; }
.feature-text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.feature-text > p { color: var(--muted); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-flip .feature-media { order: 0; }
}

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin: 0 0 .55em; color: var(--text); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: .42em;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.5L12 5.4' fill='none' stroke='%232a1e00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.chips { list-style: none; padding: 0; margin: 1.1em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: .88rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(99, 226, 255, .09);
  border: 1px solid rgba(99, 226, 255, .28);
  color: #c9f4ff;
}

/* ---------- effects compare ---------- */
.fx {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  margin: 0 0 clamp(56px, 8vw, 96px);
  padding: clamp(22px, 3.5vw, 40px);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(140deg, rgba(157,140,255,.12), rgba(99,226,255,.06) 50%, rgba(255,212,59,.08));
  border: 1px solid var(--line-strong);
}
.fx-text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.fx-text > p { color: var(--muted); }
.fx-levels { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fx-levels li { display: flex; gap: 10px; align-items: baseline; font-size: .93rem; color: var(--muted); }
.fx-levels b { flex: 0 0 64px; font-family: var(--font-display); font-weight: 600; color: var(--text); }
.fx-levels li:last-child b { color: var(--yellow); }
.compare {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 3;
  user-select: none;
  --pos: 50%;
  touch-action: pan-y;
}
.compare-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: var(--yellow);
  box-shadow: 0 0 14px rgba(255,212,59,.8);
  pointer-events: none;
}
.compare-handle span {
  position: absolute;
  top: 50%; left: 50%;
  width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6 3 12l6 6M15 6l6 6-6 6' fill='none' stroke='%232a1e00' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: var(--shadow-sm);
}
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare-range:focus-visible + .compare-handle, .compare:focus-within .compare-handle span { outline: 3px solid var(--cyan); outline-offset: 3px; }
.compare-label {
  position: absolute;
  top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  background: rgba(7,10,31,.72);
  border: 1px solid var(--line-strong);
  pointer-events: none;
}
.compare-label-left { left: 12px; color: var(--yellow); }
.compare-label-right { right: 12px; color: var(--text); }
@media (max-width: 860px) { .fx { grid-template-columns: 1fr; } .fx .compare { order: -1; } }

/* ---------- mini feature grid ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mini {
  background: rgba(17, 23, 66, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  transition: border-color .2s, transform .2s;
}
.mini:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.mini h3 { font-size: 1.18rem; display: flex; align-items: center; gap: 10px; }
.mini-icon { font-size: 1.35rem; line-height: 1; }
.mini p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 960px) { .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mini-grid { grid-template-columns: 1fr; } }

/* ---------- worlds ---------- */
.worlds { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.world {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.world:hover { transform: translateY(-4px); border-color: rgba(255,212,59,.5); box-shadow: var(--shadow-sm); }
.world img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.world-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.world-num { font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.world h3 { font-size: 1.18rem; margin: 3px 0 6px; }
.world p { font-size: .92rem; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }
.world-meta { margin-top: auto; font-size: .82rem; font-weight: 800; color: var(--yellow); }
@media (max-width: 1060px) { .worlds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .worlds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .worlds { grid-template-columns: 1fr; } }

.bonus {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(120deg, rgba(255,212,59,.14), rgba(255,134,192,.08) 60%, rgba(157,140,255,.1));
  border: 1px solid rgba(255,212,59,.35);
}
.bonus img { border-radius: var(--radius-sm); aspect-ratio: 5/3; object-fit: cover; width: 100%; }
.bonus h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.bonus p:last-child { color: var(--muted); margin: 0; }
.bonus .eyebrow { color: var(--yellow); }
@media (max-width: 760px) { .bonus { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; }
.gallery a {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.gallery a::after {
  content: attr(data-caption);
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 9px;
  font-size: .86rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(5,7,22,.88));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
}
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; transform: none; }
.gallery img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; transition: transform .45s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a.wide { grid-column: span 2; grid-row: span 2; }
.gallery-more { text-align: center; margin-top: 26px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .gallery a.wide { grid-column: auto; grid-row: auto; } }

/* ---------- lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
  margin: 0; padding: 0;
  border: 0;
  background: rgba(3, 5, 16, .94);
  color: var(--text);
}
.lightbox::backdrop { background: rgba(3, 5, 16, .8); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 72px 40px; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: min(1600px, calc(100vw - 144px)); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox figcaption { color: var(--muted); font-weight: 700; text-align: center; }
.lb-btn {
  position: fixed;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(17, 23, 66, .85);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.lb-btn:hover { border-color: var(--yellow); color: var(--yellow); }
.lb-close { top: 14px; right: 14px; font-size: 22px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: fixed; top: 24px; left: 22px; color: var(--dim); font-weight: 800; font-size: .9rem; }
@media (max-width: 640px) {
  .lightbox figure { padding: 60px 8px 80px; }
  .lightbox img { max-width: calc(100vw - 16px); }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}

/* ---------- play ---------- */
.play-section { overflow: hidden; }
.play-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 75% 50%, rgba(255, 212, 59, .14), transparent 70%);
  pointer-events: none;
}
.play-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
.play-grid h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.play-grid .ticks { margin-bottom: 1.6em; }
.play-card {
  position: relative;
  display: block;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 2px solid rgba(255, 212, 59, .55);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 8px rgba(255, 212, 59, .07);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .35s ease;
}
.play-card:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.play-card img { width: 100%; aspect-ratio: 5/3; object-fit: cover; }
.play-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(7,10,31,.05), rgba(7,10,31,.45)); }
.play-card-btn {
  position: absolute;
  z-index: 1;
  top: 50%; left: 50%;
  width: 92px; height: 92px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  padding-left: 6px;
  border-radius: 50%;
  color: var(--yellow-ink);
  background: linear-gradient(180deg, var(--yellow-hi), var(--yellow-deep));
  box-shadow: 0 0 0 10px rgba(255, 212, 59, .22), 0 14px 40px rgba(0,0,0,.5);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(255,212,59,.22), 0 14px 40px rgba(0,0,0,.5); } 50% { box-shadow: 0 0 0 20px rgba(255,212,59,.08), 0 14px 40px rgba(0,0,0,.5); } }
@media (max-width: 860px) { .play-grid { grid-template-columns: 1fr; } .play-card { transform: none; } }

/* ---------- downloads ---------- */
.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dl {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 20px;
  transition: border-color .2s, transform .2s;
}
.dl:hover { border-color: var(--line-strong); }
.dl.is-you { border-color: rgba(255, 212, 59, .7); box-shadow: 0 0 0 4px rgba(255, 212, 59, .12), var(--shadow-sm); }
.dl.is-you::before {
  content: "Your device";
  position: absolute;
  top: -11px; right: 18px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  color: var(--yellow-ink);
  background: var(--yellow);
}
.dl-icon { width: 50px; height: 50px; color: var(--text); margin-bottom: 12px; }
.dl-icon svg { width: 100%; height: 100%; }
.dl[data-status="available"] .dl-icon { color: var(--green); }
.dl h3 { font-size: 1.32rem; margin-bottom: 8px; }
.dl p { color: var(--muted); font-size: .95rem; margin: 12px 0 18px; }
.dl-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dl-actions .btn { font-size: .95rem; padding: .6em 1.05em; }
.pill { display: inline-block; align-self: flex-start; padding: 3px 11px; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .03em; border: 1px solid; }
.pill-ok { color: #c8ffbf; background: rgba(143, 227, 136, .14); border-color: rgba(143, 227, 136, .5); }
.pill-info { color: #c9f4ff; background: rgba(99, 226, 255, .12); border-color: rgba(99, 226, 255, .45); }
.pill-soon { color: var(--yellow-hi); background: rgba(255, 212, 59, .12); border-color: rgba(255, 212, 59, .5); }
.pill-plan { color: var(--muted); background: rgba(255, 255, 255, .06); border-color: var(--line-strong); }
@media (max-width: 960px) { .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .downloads { grid-template-columns: 1fr; } }

.build-notes { margin-top: 28px; display: grid; gap: 12px; }
.build-notes details, .faq details {
  background: rgba(17, 23, 66, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 20px;
}
.build-notes details[open], .faq details[open] { border-color: var(--line-strong); padding-bottom: 16px; }
.build-notes summary, .faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  padding: 16px 32px 16px 0;
  position: relative;
}
.build-notes summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.build-notes summary::after, .faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--yellow);
  transition: transform .2s;
}
details[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.build-notes p, .faq p { color: var(--muted); }
pre {
  margin: 0 0 1em;
  padding: 14px 16px;
  overflow-x: auto;
  background: #050817;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .86rem;
  line-height: 1.55;
}
pre code { background: none; border: 0; padding: 0; color: #d7defc; font-size: inherit; }
.reqs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.reqs dt { font-weight: 800; }
.reqs dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .reqs { grid-template-columns: 1fr; } .reqs dd { margin-bottom: 8px; } }

/* ---------- controls ---------- */
.tabs { max-width: 920px; margin: 0 auto; }
.tab-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab-list button {
  font: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--muted);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
}
.tab-list button[aria-selected="true"] { color: var(--yellow-ink); background: var(--yellow); border-color: var(--yellow); }
.tab-panel {
  background: rgba(17, 23, 66, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 28px);
}
.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; margin: 0; }
.keys > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.keys dt { font-weight: 800; flex: 0 0 auto; }
.keys dd { margin: 0; color: var(--muted); text-align: right; }
@media (max-width: 720px) { .keys { grid-template-columns: 1fr; } }

/* ---------- tech ---------- */
.stats { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stats li {
  text-align: center;
  padding: 22px 12px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,212,59,.1), rgba(255,212,59,.02));
  border: 1px solid rgba(255,212,59,.25);
}
.stats b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--yellow); line-height: 1.1; }
.stats span { color: var(--muted); font-weight: 700; font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tech { padding: 22px; border-radius: var(--radius); background: rgba(17,23,66,.7); border: 1px solid var(--line); }
.tech h3 { font-size: 1.15rem; color: var(--cyan); }
.tech p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 960px) { .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tech-grid { grid-template-columns: 1fr; } }

/* ---------- roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.road-col { padding: 24px 22px; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.road-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.road-col ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.road-col li { margin-bottom: .5em; }
.road-col li::marker { color: var(--dim); }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot-ok { background: var(--green); box-shadow: 0 0 12px var(--green); }
.dot-now { background: var(--yellow); box-shadow: 0 0 12px var(--yellow); animation: blink 1.6s ease-in-out infinite; }
.dot-plan { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
@keyframes blink { 50% { opacity: .35; } }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }

/* ---------- community ---------- */
.links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(17,23,66,.7);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: border-color .2s, transform .2s, background-color .2s;
}
.link-card b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.link-card b::after { content: "→"; color: var(--yellow); transition: transform .2s; }
.link-card span { color: var(--muted); font-size: .95rem; }
.link-card:hover { color: var(--text); border-color: rgba(255,212,59,.5); transform: translateY(-3px); background: rgba(23, 32, 86, .8); }
.link-card:hover b::after { transform: translateX(4px); }
@media (max-width: 960px) { .links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .links-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: rgba(5, 7, 22, .8); padding: 44px 0 36px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px 40px; align-items: start; }
.footer-brand p { color: var(--dim); margin: 10px 0 0; font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; }
.footer-nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .95rem; }
.footer-nav a:hover { color: var(--yellow); }
.legal { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: .85rem; line-height: 1.6; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } .footer-nav { justify-content: flex-start; } }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- official logo in the hero ---------- */
.hero-logo { margin: 0 0 .55em; line-height: 0; }
.hero-logo img {
  width: clamp(300px, 52vw, 660px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .6)) drop-shadow(0 0 40px rgba(255, 200, 40, .22));
}

/* ---------- final call to action ---------- */
.cta-band { padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 360px at 30% 60%, rgba(255, 212, 59, .18), transparent 70%);
  pointer-events: none;
}
.cta-inner { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 5vw, 56px); align-items: center; position: relative; }
.cta-blupi { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); animation: hop 3.2s ease-in-out infinite; }
@keyframes hop { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--yellow); }
.cta-band p { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin-bottom: 1.4em; }
@media (max-width: 700px) {
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-blupi { width: 200px; margin: 0 auto; }
  .cta-band p { margin-left: auto; margin-right: auto; }
  .cta-band .hero-cta { justify-content: center; }
}

/* ---------- a small second picture over a feature's main one ---------- */
.feature-media { isolation: isolate; }
.feature-media a.feature-inset {
  position: absolute;
  right: -14px;
  bottom: -26px;
  width: 42%;
  border: 2px solid rgba(255, 212, 59, .7);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
  z-index: 1;
}
.feature-flip .feature-media a.feature-inset { right: auto; left: -14px; }
@media (max-width: 860px) {
  .feature-media a.feature-inset { right: 10px; bottom: -18px; width: 40%; }
  .feature-media { margin-bottom: 18px; }
}

/* ---------- world cards open their full screenshot ---------- */
.world-shot { display: block; overflow: hidden; }
.world-shot img { transition: transform .4s ease; }
.world:hover .world-shot img { transform: scale(1.05); }
.bonus .world-shot { border-radius: var(--radius-sm); }
