/* Spheroid: Neon Marble Arcade
   Lokale Schriften, keine externen Ressourcen, keine Inline-Styles (CSP). */

@font-face {
  font-family: "Press Start 2P";
  src: url("../fonts/PressStart2P-Regular.woff2") format("woff2"),
    url("../fonts/PressStart2P-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-ext-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0b0221;
  --bg-2: #12062e;
  --panel: #170a3a;
  --panel-2: #1f0e4b;
  --line: rgba(160, 120, 255, 0.22);
  --text: #f1ecff;
  --muted: #bfb3e6;
  --cyan: #00e5ff;
  --magenta: #ff2bd6;
  --yellow: #ffd60a;
  --orange: #ff6b00;
  --red: #ff0d14;
  --green: #38ff14;
  --sun-top: #ffe45c;
  --sun-bottom: #ff4fa0;
  --pixel: "Press Start 2P", ui-monospace, monospace;
  --sans: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --radius: 14px;
  --header-h: 64px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #7ff3ff;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
}

p {
  margin: 0 0 1em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--yellow);
  color: #000;
  font-weight: 800;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.pixel {
  font-family: var(--pixel);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-solid,
.menu-open .site-header {
  background: rgba(11, 2, 33, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--pixel);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  margin-right: auto;
}

.brand:hover {
  color: var(--cyan);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 16px rgba(255, 43, 214, 0.45);
}

.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 8px 10px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 8px;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--pixel);
  font-size: 0.62rem;
}

.lang-switch a,
.lang-switch span {
  display: block;
  padding: 7px 9px 6px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
}

.lang-switch [aria-current="true"] {
  background: var(--cyan);
  color: #04121a;
}

.lang-switch a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-open .menu-toggle span {
  background: transparent;
}

.menu-open .menu-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(11, 2, 33, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }

  .menu-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    padding: 12px 8px;
    font-size: 1.05rem;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 40% at 50% 62%, rgba(255, 43, 214, 0.55), transparent 70%),
    linear-gradient(180deg, #07011a 0%, #1a0540 38%, #5a0d77 56%, #a3168f 62%, #0b0221 62.2%);
}

.stars,
.stars::after {
  position: absolute;
  inset: 0 0 38% 0;
  z-index: -3;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 210px 150px, #d9ccff, transparent),
    radial-gradient(1px 1px at 330px 40px, #fff, transparent),
    radial-gradient(1px 1px at 60px 190px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 280px 230px, #fff, transparent);
  background-size: 360px 260px;
  opacity: 0.8;
}

.stars::after {
  content: "";
  inset: 0;
  background-size: 520px 340px;
  background-position: 140px 90px;
  opacity: 0.55;
  animation: twinkle 4.5s ease-in-out infinite alternate;
}

@keyframes twinkle {
  to {
    opacity: 0.1;
  }
}

.sun {
  position: absolute;
  left: 50%;
  top: 62%;
  z-index: -2;
  width: min(62vw, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -66%);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sun-top) 8%, #ffb347 42%, var(--sun-bottom) 78%);
  box-shadow: 0 0 120px 30px rgba(255, 79, 160, 0.35);
  -webkit-mask-image: linear-gradient(180deg,
      #000 0 50%, transparent 50% 53%,
      #000 53% 60%, transparent 60% 64%,
      #000 64% 70%, transparent 70% 75.5%,
      #000 75.5% 80%, transparent 80% 86%,
      #000 86% 89%, transparent 89%);
  mask-image: linear-gradient(180deg,
      #000 0 50%, transparent 50% 53%,
      #000 53% 60%, transparent 60% 64%,
      #000 64% 70%, transparent 70% 75.5%,
      #000 75.5% 80%, transparent 80% 86%,
      #000 86% 89%, transparent 89%);
}

.floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  z-index: -1;
  perspective: 260px;
  perspective-origin: 50% 0;
  overflow: hidden;
  background: linear-gradient(180deg, #220741 0%, #12052c 45%, var(--bg) 100%);
  border-top: 2px solid var(--cyan);
  box-shadow: 0 -2px 24px rgba(0, 229, 255, 0.7);
}

.floor::before {
  content: "";
  position: absolute;
  left: -100%;
  right: -100%;
  top: 0;
  height: 300%;
  transform-origin: 50% 0;
  transform: rotateX(72deg);
  background-image:
    linear-gradient(90deg, rgba(0, 229, 255, 0.75) 2px, transparent 2px),
    linear-gradient(0deg, rgba(0, 229, 255, 0.75) 2px, transparent 2px);
  background-size: 64px 64px;
  animation: grid-run 1.1s linear infinite;
}

.floor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 2, 33, 0.9) 0%, transparent 35%, transparent 70%, var(--bg) 100%);
}

@keyframes grid-run {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 64px;
  }
}

.marble {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 9%;
  width: clamp(64px, 11vw, 120px);
  aspect-ratio: 1;
  margin-left: clamp(-260px, -24vw, -120px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95) 0 6%, rgba(255, 255, 255, 0) 16%),
    radial-gradient(circle at 40% 38%, #ffb04a 0%, #ff7a00 40%, #b54100 78%, #5c1d00 100%);
  box-shadow:
    0 0 0 3px rgba(0, 229, 255, 0.55),
    0 0 26px rgba(0, 229, 255, 0.6),
    0 26px 30px -14px rgba(0, 0, 0, 0.8);
  animation: marble-bob 2.4s ease-in-out infinite;
}

.marble::before {
  content: "";
  position: absolute;
  right: 72%;
  top: 30%;
  width: 180%;
  height: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.45));
  filter: blur(6px);
  z-index: -1;
}

.marble::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, transparent 47%, rgba(30, 6, 0, 0.75) 47% 53%, transparent 53%);
  animation: marble-spin 1.1s linear infinite;
}

@keyframes marble-bob {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(14px, -8px);
  }
}

@keyframes marble-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: clamp(140px, 24vh, 240px);
  text-align: center;
}

.presents {
  margin: 0 0 18px;
  font-family: var(--pixel);
  font-size: clamp(0.55rem, 1.6vw, 0.8rem);
  color: #fff;
  text-shadow: 0 2px 0 #000;
}

.logo {
  display: block;
  font-family: var(--pixel);
  font-weight: 400;
  font-size: clamp(1.9rem, 9.4vw, 6.6rem);
  line-height: 1.1;
  color: var(--cyan);
  letter-spacing: 0.02em;
  text-shadow:
    0.055em 0 0 var(--magenta),
    -0.055em 0 0 var(--magenta),
    0 0.055em 0 var(--magenta),
    0 -0.055em 0 var(--magenta),
    0.055em 0.055em 0 var(--magenta),
    -0.055em -0.055em 0 var(--magenta),
    0.055em -0.055em 0 var(--magenta),
    -0.055em 0.055em 0 var(--magenta),
    0 0.12em 0 #2a0638,
    0 0 0.5em rgba(255, 43, 214, 0.65);
}

.h1-sub {
  display: block;
  margin-top: 22px;
  font-family: var(--pixel);
  font-size: clamp(0.62rem, 1.8vw, 0.95rem);
  line-height: 1.6;
  color: var(--yellow);
  text-shadow:
    2px 0 0 #2a0638, -2px 0 0 #2a0638, 0 2px 0 #2a0638, 0 -2px 0 #2a0638,
    2px 2px 0 #2a0638, -2px -2px 0 #2a0638, 2px -2px 0 #2a0638, -2px 2px 0 #2a0638,
    0 0 14px rgba(255, 214, 10, 0.45);
}

.hero-lead {
  max-width: 620px;
  margin: 26px auto 30px;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px #1a0430, 0 0 10px rgba(26, 4, 48, 0.95), 0 0 24px rgba(26, 4, 48, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 20px 12px;
  border-radius: 12px;
  font-family: var(--pixel);
  font-size: 0.72rem;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cyan);
  color: #04121a;
  box-shadow: 0 4px 0 #007f8f, 0 0 28px rgba(0, 229, 255, 0.45);
}

.btn-primary:hover {
  color: #04121a;
  box-shadow: 0 6px 0 #007f8f, 0 0 40px rgba(0, 229, 255, 0.6);
}

.btn-ghost {
  border-color: var(--magenta);
  color: #fff;
  background: rgba(11, 2, 33, 0.55);
  box-shadow: 0 0 18px rgba(255, 43, 214, 0.35), inset 0 0 18px rgba(255, 43, 214, 0.15);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 43, 214, 0.15);
}

.store-badge {
  display: inline-flex;
  border-radius: 8px;
}

.store-badge img {
  display: block;
  width: 144px;
  height: 48px;
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  overflow: hidden;
  background: var(--magenta);
  color: #19021a;
  border-block: 3px solid #fff;
  transform: rotate(-1.2deg);
  margin: -14px -10px 0;
  z-index: 3;
  box-shadow: 0 0 40px rgba(255, 43, 214, 0.5);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.ticker ul {
  display: flex;
  margin: 0;
  padding: 14px 0 12px;
  list-style: none;
  font-family: var(--pixel);
  font-size: 0.78rem;
  white-space: nowrap;
}

.ticker li::after {
  content: "\25C6";
  margin: 0 22px;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-alt {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--pixel);
  font-size: 0.68rem;
  color: var(--magenta);
  letter-spacing: 0.06em;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.section-title {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: clamp(1.15rem, 3.6vw, 2.1rem);
  line-height: 1.45;
  margin-bottom: 22px;
  text-wrap: balance;
}

.section-title .hl {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.55);
}

.section-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head.center {
  text-align: center;
}

.section-head.center .section-intro {
  margin-inline: auto;
}

.section-head.center .kicker {
  justify-content: center;
}

/* ---------- Gameplay ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 920px) {
  .split {
    grid-template-columns: 1fr 1.15fr;
  }

  .split.reverse > :first-child {
    order: 2;
  }
}

.steps {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 16px 18px 16px 74px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-family: var(--pixel);
  font-size: 0.9rem;
  background: var(--panel-2);
  color: var(--cyan);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
}

.steps strong {
  display: block;
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 0.78rem;
  margin: 4px 0 8px;
  color: #fff;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.device {
  position: relative;
  padding: clamp(8px, 1.2vw, 14px);
  border-radius: clamp(22px, 3vw, 38px);
  background: linear-gradient(145deg, #2c2148, #0c0618);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 30px 80px -20px rgba(255, 43, 214, 0.45),
    0 0 60px rgba(0, 229, 255, 0.15);
}

.device img {
  border-radius: clamp(14px, 2.2vw, 28px);
  width: 100%;
}

.device-tilt {
  transform: perspective(1400px) rotateY(-10deg) rotateX(4deg);
  transition: transform 0.6s ease;
}

.device-tilt:hover {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}

.hud {
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(22px, 4vw, 40px);
  background:
    linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px) 0 0 / 100% 4px,
    var(--panel);
  border: 2px solid var(--cyan);
  border-radius: var(--radius);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.18), inset 0 0 40px rgba(0, 229, 255, 0.06);
  display: grid;
  gap: 28px;
}

@media (min-width: 860px) {
  .hud {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
}

.hud-timer {
  text-align: center;
  font-family: var(--pixel);
}

.hud-timer .digits {
  display: block;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0.06em 0.06em 0 #00566a, 0 0 24px rgba(0, 229, 255, 0.6);
}

.hud-timer .digits.is-warn {
  color: var(--red);
  text-shadow: 0.06em 0.06em 0 #5a0006, 0 0 24px rgba(255, 13, 20, 0.7);
}

.hud-timer .label {
  display: block;
  margin-top: 14px;
  font-size: 0.6rem;
  color: var(--muted);
}

.hud h3 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.hud p {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 6px;
  border-radius: 8px;
  font-family: var(--pixel);
  font-size: 0.58rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.chip b {
  font-weight: 400;
}

.chip.plus b {
  color: var(--green);
}

.chip.minus b {
  color: #ff5a6a;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.feature {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature h3 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--yellow);
  margin-bottom: 10px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Worlds ---------- */

.worlds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 22px;
}

.world {
  --edge: var(--cyan);
  --accent: var(--magenta);
  --hazard: var(--red);
  --sky: #2a0a6e;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--panel) 0%, color-mix(in srgb, var(--sky) 40%, var(--bg)) 100%);
  border: 2px solid color-mix(in srgb, var(--edge) 45%, transparent);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.world:hover {
  transform: translateY(-4px);
  border-color: var(--edge);
  box-shadow: 0 0 0 1px var(--edge), 0 0 36px color-mix(in srgb, var(--edge) 45%, transparent);
}

.world-1 { --edge: #00e5ff; --accent: #ff2bd6; --hazard: #ff0d14; --sky: #3a0ca3; }
.world-2 { --edge: #80faff; --accent: #ff5da2; --hazard: #ff591a; --sky: #0f4c8a; }
.world-3 { --edge: #ff6b00; --accent: #ffd60a; --hazard: #38ff14; --sky: #7a1d12; }
.world-4 { --edge: #a6ff00; --accent: #8a2be3; --hazard: #ff4c26; --sky: #2b3a10; }
.world-5 { --edge: #ff2bd6; --accent: #00e6ff; --hazard: #ffd60a; --sky: #4a0a63; }
.world-6 { --edge: #ffcc33; --accent: #33ffe0; --hazard: #ff3366; --sky: #5a4510; }

.world-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 2px solid var(--edge);
}

.world-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.world:hover .world-media img {
  transform: scale(1.05);
}

.world-no {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 10px 6px;
  border-radius: 8px;
  font-family: var(--pixel);
  font-size: 0.6rem;
  background: rgba(11, 2, 33, 0.82);
  color: var(--edge);
  border: 1px solid var(--edge);
}

.world-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}

.world h3 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--edge);
  text-shadow: 0 0 16px color-mix(in srgb, var(--edge) 55%, transparent);
  margin-bottom: 6px;
}

.world-theme {
  margin: 0 0 14px;
  font-weight: 800;
  color: #fff;
}

.world-new {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.98rem;
}

.world-new b {
  color: color-mix(in srgb, var(--accent) 75%, #fff);
}

.world-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  font-family: var(--pixel);
  font-size: 0.58rem;
  color: var(--muted);
}

.swatches {
  display: flex;
  gap: 5px;
}

.swatches i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--edge);
  box-shadow: 0 0 8px var(--edge);
}

.swatches i:nth-child(2) {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.swatches i:nth-child(3) {
  background: var(--hazard);
  box-shadow: 0 0 8px var(--hazard);
}

.world details {
  margin-top: 14px;
}

.world summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--edge);
  list-style: none;
}

.world summary::-webkit-details-marker {
  display: none;
}

.world summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  font-family: var(--pixel);
  font-size: 0.7em;
}

.world details[open] summary::before {
  content: "\2212";
}

.levels {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--muted);
}

.levels li {
  display: flex;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.levels span {
  flex: none;
  width: 3.4em;
  font-family: var(--pixel);
  font-size: 0.62rem;
  line-height: 2.4;
  color: var(--edge);
}

.levels .boss {
  color: #fff;
  font-weight: 800;
}

.levels .boss span {
  color: var(--hazard);
}

/* ---------- Bosses ---------- */

.section-boss {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 13, 20, 0.22), transparent 70%),
    var(--bg);
}

.alert {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 16px 8px;
  font-family: var(--pixel);
  font-size: 0.7rem;
  color: #fff;
  background: repeating-linear-gradient(-45deg, #b0000a 0 14px, #ff0d14 14px 28px);
  border: 2px solid #fff;
  box-shadow: 0 0 26px rgba(255, 13, 20, 0.6);
  animation: alert-pulse 1.2s ease-in-out infinite;
}

@keyframes alert-pulse {
  50% {
    box-shadow: 0 0 6px rgba(255, 13, 20, 0.3);
  }
}

.boss-hero {
  position: relative;
  margin: 0 0 clamp(32px, 5vw, 56px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(255, 13, 20, 0.6);
  box-shadow: 0 0 60px rgba(255, 13, 20, 0.25);
}

.boss-hero img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.boss-hero figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(11, 2, 33, 0.92));
  font-family: var(--pixel);
  font-size: clamp(0.55rem, 1.4vw, 0.72rem);
  line-height: 1.6;
}

.bosses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: boss;
}

.boss-card {
  position: relative;
  padding: 22px 22px 22px;
  background: linear-gradient(160deg, #23072f, var(--panel));
  border: 1px solid rgba(255, 90, 106, 0.3);
  border-left: 4px solid var(--hazard, #ff0d14);
  border-radius: var(--radius);
}

.boss-card h3 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 4px;
}

.boss-card .where {
  margin: 0 0 12px;
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--edge, var(--cyan));
}

.boss-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.boss-card.world-1,
.boss-card.world-2,
.boss-card.world-3,
.boss-card.world-4,
.boss-card.world-5,
.boss-card.world-6 {
  border-left-color: var(--edge);
}

/* ---------- Power-Ups ---------- */

.powerups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.powerup {
  --c: var(--cyan);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.powerup:hover {
  border-color: var(--c);
  box-shadow: 0 0 24px color-mix(in srgb, var(--c) 30%, transparent);
}

.pu-iron { --c: #c9d3e6; }
.pu-ghost { --c: #b9a6ff; }
.pu-sticky { --c: #ff5da2; }
.pu-nitro { --c: #ff6b00; }
.pu-magnet { --c: #ff2bd6; }
.pu-shield { --c: #00e5ff; }
.pu-time { --c: #38ff14; }

.pu-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-family: var(--pixel);
  font-size: 0.82rem;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, var(--bg));
  border: 2px solid var(--c);
  box-shadow: 0 0 16px color-mix(in srgb, var(--c) 45%, transparent), inset 0 0 12px color-mix(in srgb, var(--c) 25%, transparent);
  text-shadow: 0 0 8px var(--c);
}

.powerup h3 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #fff;
  margin: 2px 0 4px;
}

.pu-type {
  display: block;
  margin-bottom: 8px;
  font-family: var(--pixel);
  font-size: 0.52rem;
  color: var(--c);
}

.powerup p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Difficulty ---------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  background: var(--panel);
}

.diff-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 1rem;
}

.table-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.diff-table thead td,
.diff-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--panel);
}

.diff-table thead td {
  background: var(--panel-2);
}

.diff-table th,
.diff-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.diff-table thead th {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 0.66rem;
  line-height: 1.6;
  vertical-align: bottom;
  background: var(--panel-2);
}

.diff-table tbody th {
  font-weight: 800;
  color: var(--muted);
}

.meter {
  display: flex;
  gap: 3px;
  margin-top: 8px;
}

.meter i {
  width: 14px;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
}

.lvl-1 { color: var(--green); }
.lvl-2 { color: var(--yellow); }
.lvl-3 { color: var(--orange); }
.lvl-4 { color: #ff3b47; }

.lvl-1 .meter i:nth-child(-n+1),
.lvl-2 .meter i:nth-child(-n+2),
.lvl-3 .meter i:nth-child(-n+3),
.lvl-4 .meter i:nth-child(-n+4) {
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

.lvl-4 {
  animation: rage 0.9s steps(2, start) infinite;
}

@keyframes rage {
  50% {
    color: #ffffff;
  }
}

/* ---------- Garage ---------- */

.garage {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1100px) {
  .garage {
    grid-template-columns: repeat(7, 1fr);
  }
}

.skin {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 14px 18px;
  background: var(--panel);
  border: 2px solid rgba(0, 229, 255, 0.4);
  border-radius: 12px;
}

.skin:hover .sphere {
  transform: translateY(-6px) rotate(-12deg);
}

.sphere {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
  border-radius: 50%;
  transition: transform 0.35s ease;
  box-shadow: 0 16px 18px -10px rgba(0, 0, 0, 0.9);
}

.sphere::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.9) 0 5%, transparent 16%),
    linear-gradient(170deg, transparent 46%, rgba(0, 0, 0, 0.55) 46% 53%, transparent 53%);
}

.s-classic { background: radial-gradient(circle at 40% 38%, #ffb04a, #ff7a00 45%, #8a3200); }
.s-chrome { background: radial-gradient(circle at 40% 35%, #ffffff, #b8c2d6 35%, #5b6478 70%, #20242f); }
.s-bubblegum {
  background:
    radial-gradient(circle at 30% 60%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 62% 30%, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 70% 66%, #fff 0 4px, transparent 5px),
    radial-gradient(circle at 46% 44%, #fff 0 3px, transparent 4px),
    radial-gradient(circle at 40% 38%, #ffb3dd, #ff5da2 50%, #9b1d5b);
}
.s-glacier {
  background:
    repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 12px),
    radial-gradient(circle at 40% 38%, #e6fdff, #80faff 45%, #2a7fa6);
}
.s-toxic {
  background:
    radial-gradient(ellipse 30% 8% at 40% 55%, #164d00 0 60%, transparent 70%),
    radial-gradient(ellipse 10% 25% at 66% 42%, #164d00 0 60%, transparent 70%),
    radial-gradient(circle at 40% 38%, #d8ff7a, #6bd600 50%, #245200);
}
.s-midnight {
  background:
    radial-gradient(circle at 30% 40%, #fff 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 60% 28%, #ffc2f2 0 2px, transparent 3px),
    radial-gradient(circle at 66% 62%, #fff 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 42% 70%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 40% 38%, #4a2a7a, #1b0c3a 55%, #07020f);
  box-shadow: 0 0 0 3px #ff2bd6, 0 0 20px rgba(255, 43, 214, 0.6), 0 16px 18px -10px rgba(0, 0, 0, 0.9);
}
.s-gold {
  background:
    repeating-linear-gradient(45deg, rgba(120, 70, 0, 0.35) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(120, 70, 0, 0.35) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 40% 38%, #fff1a8, #ffcc33 45%, #8a5a00);
  box-shadow: 0 0 22px rgba(255, 204, 51, 0.55), 0 16px 18px -10px rgba(0, 0, 0, 0.9);
}

.skin h3 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 0.66rem;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 6px;
}

.skin .unlock {
  margin: 0 0 8px;
  font-family: var(--pixel);
  font-size: 0.5rem;
  color: var(--green);
}

.skin q {
  font-size: 0.92rem;
  color: var(--muted);
  quotes: "\201E" "\201C";
}

:lang(en) .skin q {
  quotes: "\201C" "\201D";
}

/* ---------- Screenshots ---------- */

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(86%, 760px);
  gap: 18px;
  overflow-x: auto;
  padding: 6px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) 22px;
  margin: 0;
  list-style: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  scrollbar-color: var(--magenta) transparent;
}

.gallery li {
  scroll-snap-align: start;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  width: 100%;
  aspect-ratio: 2868 / 1320;
}

.gallery figcaption {
  margin-top: 12px;
  font-family: var(--pixel);
  font-size: 0.58rem;
  line-height: 1.6;
  color: var(--muted);
}

.gallery-hint {
  margin-top: 4px;
  text-align: center;
  font-family: var(--pixel);
  font-size: 0.55rem;
  color: var(--muted);
}

/* ---------- Look & Sound ---------- */

.retro-panel {
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel);
  border: 2px solid var(--magenta);
  border-radius: var(--radius);
  box-shadow: 0 0 34px rgba(255, 43, 214, 0.22);
}

.retro-panel + .retro-panel {
  margin-top: 18px;
}

.retro-panel h3 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.retro-panel p {
  color: var(--muted);
}

.player {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.play-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  background: rgba(255, 214, 10, 0.1);
  color: var(--yellow);
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 214, 10, 0.35);
}

.play-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.play-btn .i-pause,
.play-btn.is-playing .i-play {
  display: none;
}

.play-btn.is-playing .i-pause {
  display: block;
}

.track {
  flex: 1;
  min-width: 0;
}

.track-title {
  display: block;
  font-family: var(--pixel);
  font-size: 0.62rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 26px;
}

.bars i {
  flex: 1;
  height: 20%;
  background: var(--magenta);
  box-shadow: 0 0 6px var(--magenta);
  transition: height 0.2s ease;
}

.is-playing-audio .bars i {
  animation: eq 0.8s ease-in-out infinite alternate;
}

.bars i:nth-child(2n) { animation-delay: -0.3s; }
.bars i:nth-child(3n) { animation-delay: -0.55s; }
.bars i:nth-child(5n) { animation-delay: -0.15s; }

@keyframes eq {
  from {
    height: 15%;
  }
  to {
    height: 100%;
  }
}

.progress {
  margin-top: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--yellow);
}

.player-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.crt-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 10px 14px 9px;
  border: 2px solid var(--cyan);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-family: var(--pixel);
  font-size: 0.62rem;
  cursor: pointer;
}

.crt-toggle .switch {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
}

.crt-toggle .switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #fff;
  transition: transform 0.2s ease;
}

.crt-toggle[aria-pressed="true"] .switch {
  background: var(--cyan);
}

.crt-toggle[aria-pressed="true"] .switch::after {
  transform: translateX(16px);
}

.crt body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
  mix-blend-mode: multiply;
}

.crt body {
  text-shadow: 0.6px 0 rgba(255, 0, 80, 0.35), -0.6px 0 rgba(0, 229, 255, 0.35);
}

/* ---------- Fair play + facts ---------- */

.fair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 14px;
  margin: 0 0 clamp(40px, 6vw, 64px);
  padding: 0;
  list-style: none;
}

.fair li {
  padding: 22px 18px;
  text-align: center;
  background: var(--panel);
  border: 2px solid rgba(56, 255, 20, 0.35);
  border-radius: var(--radius);
}

.fair .big {
  display: block;
  margin-bottom: 12px;
  font-family: var(--pixel);
  font-size: 1.4rem;
  color: var(--green);
  text-shadow: 0 0 14px rgba(56, 255, 20, 0.55);
}

.fair strong {
  display: block;
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 0.66rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.fair span:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}

.facts {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 24px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.facts > div:last-child {
  border-bottom: 0;
}

@media (min-width: 720px) {
  .facts > div {
    grid-template-columns: 240px 1fr;
  }
}

.facts dt {
  font-family: var(--pixel);
  font-size: 0.6rem;
  line-height: 2.2;
  color: var(--cyan);
}

.facts dd {
  margin: 0;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  margin-bottom: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--cyan);
}

.faq summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.08rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--pixel);
  font-size: 0.9rem;
  color: var(--cyan);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq .answer {
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Support ---------- */

.support-card {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 5vw, 48px);
  background:
    radial-gradient(ellipse at top right, rgba(0, 229, 255, 0.16), transparent 60%),
    var(--panel);
  border: 2px solid var(--cyan);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.18);
}

@media (min-width: 860px) {
  .support-card {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}

.support-card ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  color: var(--muted);
}

.support-card .mail {
  display: inline-block;
  margin: 8px 0 14px;
  font-family: var(--pixel);
  font-size: clamp(0.66rem, 1.8vw, 0.9rem);
  line-height: 1.6;
  word-break: break-all;
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: 120px 0 36px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #1c0544 60%, #2b0757 100%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -40px;
  height: 260px;
  transform-origin: 50% 100%;
  transform: perspective(240px) rotateX(60deg);
  background-image:
    linear-gradient(90deg, rgba(255, 43, 214, 0.35) 2px, transparent 2px),
    linear-gradient(0deg, rgba(255, 43, 214, 0.35) 2px, transparent 2px);
  background-size: 54px 54px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
  mask-image: linear-gradient(180deg, transparent, #000 60%);
}

.footer-inner {
  position: relative;
  display: grid;
  gap: 28px;
  text-align: center;
}

.footer-logo {
  font-family: var(--pixel);
  font-size: clamp(1.2rem, 5vw, 2.4rem);
  color: var(--cyan);
  text-shadow: 0.06em 0.06em 0 var(--magenta), 0 0 22px rgba(255, 43, 214, 0.5);
}

.footer-claim {
  margin: 10px 0 0;
  font-family: var(--pixel);
  font-size: 0.6rem;
  color: var(--yellow);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.footer-nav a {
  color: var(--text);
}

.footer-small {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- Legal pages ---------- */

.legal-main {
  padding: calc(var(--header-h) + 48px) 0 80px;
}

.legal {
  max-width: 820px;
  margin: 0 auto;
}

.legal h1 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: clamp(1.1rem, 4vw, 1.8rem);
  line-height: 1.5;
  color: var(--cyan);
  text-shadow: 0.06em 0.06em 0 var(--magenta);
  margin-bottom: 14px;
}

.legal .lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.legal h2 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--yellow);
  margin: 44px 0 14px;
}

.legal h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 26px 0 8px;
}

.legal ul {
  padding-left: 1.2em;
}

.legal li {
  margin-bottom: 6px;
}

.legal address {
  font-style: normal;
}

.legal-card {
  padding: 22px 24px;
  margin: 18px 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 20px;
  margin: 0;
}

@media (min-width: 640px) {
  .legal-dl {
    grid-template-columns: 200px 1fr;
  }
}

.legal-dl dt {
  font-weight: 800;
  color: var(--muted);
}

.legal-dl dd {
  margin: 0 0 10px;
}

.highlight-box {
  padding: 18px 22px;
  margin: 20px 0;
  border-left: 4px solid var(--green);
  background: rgba(56, 255, 20, 0.07);
  border-radius: 0 12px 12px 0;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

.back-link {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--pixel);
  font-size: 0.6rem;
  text-decoration: none;
}

.legal .meta {
  margin-top: 48px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Press kit ---------- */

.press-list {
  columns: 2 260px;
  column-gap: 32px;
}

.press-list li {
  break-inside: avoid;
}

.legal .press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin: 18px 0 8px;
  padding: 0;
  list-style: none;
}

.legal .press-grid li {
  margin: 0;
}

.press-grid figure {
  margin: 0;
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.press-grid a {
  display: block;
  text-decoration: none;
  color: var(--text);
}

.press-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--bg);
}

.press-grid--ipad img {
  aspect-ratio: 4 / 3;
}

.press-grid .press-icon img {
  padding: 16px;
}

.press-grid figcaption {
  padding: 10px 14px 12px;
  font-size: 0.92rem;
}

.press-grid figcaption small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.press-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

/* ---------- Reveal ---------- */

.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-pending {
  opacity: 0;
  transform: translateY(26px);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }

  .ticker ul[aria-hidden="true"] {
    display: none;
  }

  .reveal.is-pending {
    opacity: 1;
    transform: none;
  }

  .device-tilt {
    transform: none;
  }
}

@media print {
  .site-header,
  .ticker,
  .floor,
  .marble,
  .stars,
  .sun {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
