/* Hot Potato Bomb - website. Game palette, Lilita One headings. */
@font-face {
  font-family: 'Lilita One';
  src: url('/static/fonts/LilitaOne-Regular.ttf') format('truetype');
  font-display: swap;
}

:root {
  --ink: #120b22;
  --deep: #1b1230;
  --purple: #2a1a4d;
  --purple-2: #3a2466;
  --panel: #2e1f55;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3eefc;
  --muted: #b9addb;
  --yellow: #ffd23f;
  --orange: #ff8c2a;
  --red: #ff4757;
  --green: #2ed573;
  --blue: #3d8bff;
  --radius: 22px;
  --display: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--deep);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.05;
  margin: 0;
}
.wrap {
  width: min(1180px, 100% - 32px);
  margin: 0 auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 10px;
}
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* Outlined game-style title text */
.stroke {
  color: var(--yellow);
  text-shadow:
    0 5px 0 var(--ink),
    3px 0 0 var(--ink),
    -3px 0 0 var(--ink),
    0 3px 0 var(--ink),
    0 -3px 0 var(--ink),
    3px 3px 0 var(--ink),
    -3px 3px 0 var(--ink),
    3px -3px 0 var(--ink),
    -3px -3px 0 var(--ink),
    0 12px 28px rgba(0, 0, 0, 0.45);
}
.stroke.red {
  color: var(--red);
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.solid {
  background: rgba(27, 18, 48, 0.97);
  box-shadow: 0 1px 0 var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 21px;
}
.brand img {
  width: 40px;
  height: 40px;
}
.nav nav {
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.nav ul a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
}
.nav ul a:hover {
  color: var(--text);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  --b: var(--orange);
  --d: #c45e10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 18px;
  background: var(--b);
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.5px;
  border: 3px solid var(--ink);
  box-shadow: 0 6px 0 var(--d), 0 12px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  transition: transform 0.15s, box-shadow 0.15s;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--d), 0 16px 30px rgba(0, 0, 0, 0.4);
}
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--d), 0 6px 12px rgba(0, 0, 0, 0.3);
}
.btn.green {
  --b: #26c06a;
  --d: #138a47;
}
.btn.ghost {
  --b: rgba(255, 255, 255, 0.08);
  --d: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn.small {
  font-size: 16px;
  padding: 9px 16px;
  border-radius: 14px;
}
.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 45%, rgba(255, 140, 42, 0.32), transparent 45%),
    radial-gradient(circle at 25% 30%, rgba(90, 58, 158, 0.9), transparent 60%),
    linear-gradient(180deg, #2a1a4d 0%, #1b1230 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(from 0deg at 68% 48%, rgba(255, 255, 255, 0.045) 0 9deg, transparent 9deg 18deg);
  pointer-events: none;
}
#stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-poster {
  position: absolute;
  right: 4%;
  top: 50%;
  width: min(46vw, 560px);
  transform: translateY(-50%);
  opacity: 0.95;
  transition: opacity 0.8s;
}
.hero.live .hero-poster {
  opacity: 0;
  transition-duration: 0.2s;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  pointer-events: none;
  padding: 110px 0 80px;
}
.hero-copy {
  max-width: 520px;
  pointer-events: auto;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--yellow);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.hero h1 {
  margin: 18px 0 8px;
  font-size: clamp(54px, 9vw, 112px);
}
.hero h1 span {
  display: block;
}
.hero .lead {
  font-size: clamp(18px, 2.1vw, 22px);
  color: #e8e0fb;
  max-width: 500px;
  margin: 14px 0 28px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.stats {
  display: flex;
  gap: 28px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}
.stats b {
  display: block;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 400;
  color: var(--yellow);
  line-height: 1;
}
.stats span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translate(-50%, 6px);
  }
}

/* ---------------------------------------------------------------- sections */
section {
  position: relative;
  padding: 110px 0;
}
.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 54px;
}
.sec-head h2 {
  font-size: clamp(40px, 6vw, 68px);
}
.sec-head p {
  color: var(--muted);
  font-size: 19px;
  margin: 16px 0 0;
}
.alt {
  background: linear-gradient(180deg, #221641, #1b1230);
}

/* How it plays */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step .n {
  position: absolute;
  top: -20px;
  left: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  border: 3px solid var(--ink);
}
.step h3 {
  font-size: 28px;
  margin: 14px 0 8px;
}
.step p {
  margin: 0;
  color: var(--muted);
}

/* ---------------------------------------------------------------- modes: 3D tilt cards */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -18px 0 38px;
}
.filters button {
  font: 700 15px/1 system-ui, sans-serif;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.filters button[aria-pressed='true'] {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.modes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.mode {
  --rx: 0deg;
  --ry: 0deg;
  --c: var(--orange);
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--c) 28%, transparent), transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, box-shadow 0.2s;
  will-change: transform;
}
.mode:hover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent);
}
.mode .ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--c);
  border: 3px solid var(--ink);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35);
  transform: translateZ(26px);
}
.mode .ico svg {
  width: 30px;
  height: 30px;
  color: #fff;
}
.mode h3 {
  font-size: 25px;
  margin: 16px 0 6px;
  transform: translateZ(18px);
}
.mode p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  transform: translateZ(10px);
}
.mode .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
  transform: translateZ(10px);
}
.tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e6ddff;
}
.mode[hidden] {
  display: none;
}

/* ---------------------------------------------------------------- arenas: 3D ring */
.ring-wrap {
  position: relative;
  overflow: hidden;
  height: 660px;
  perspective: 1400px;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.ring-wrap.dragging {
  cursor: grabbing;
}
.ring {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 300px;
  height: 500px;
  margin-left: -150px;
  transform-style: preserve-3d;
}
.arena {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 3px var(--yellow), 0 30px 60px rgba(0, 0, 0, 0.55);
  background: #000;
  backface-visibility: hidden;
}
.arena img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arena figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 50px 16px 16px;
  background: linear-gradient(transparent, rgba(10, 6, 20, 0.92) 45%);
}
.arena h3 {
  font-size: 26px;
}
.arena p {
  margin: 4px 0 0;
  color: #ddd2fb;
  font-size: 14px;
  line-height: 1.4;
}
.ring-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
}
.round {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 5px 0 #c45e10;
}
.round svg {
  width: 26px;
  height: 26px;
}

/* ---------------------------------------------------------------- characters: 3D coverflow */
.flow {
  position: relative;
  height: 470px;
  perspective: 1200px;
  overflow: hidden;
}
.flow-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.char {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 230px;
  margin-left: -115px;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s, filter 0.6s;
  cursor: pointer;
}
.char .pad {
  height: 300px;
  border-radius: 26px;
  display: grid;
  place-items: end center;
  background: radial-gradient(circle at 50% 75%, color-mix(in srgb, var(--c, #ff8c2a) 45%, transparent), transparent 62%);
}
.char img {
  height: 270px;
  width: auto;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.45));
}
.char h3 {
  margin-top: 14px;
  font-size: 30px;
}
.char p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.flow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.flow-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.flow-dots button[aria-current='true'] {
  width: 28px;
  border-radius: 6px;
  background: var(--yellow);
}

/* ---------------------------------------------------------------- screenshots: tilted phones */
.phones {
  display: flex;
  justify-content: center;
  gap: 26px;
  perspective: 1600px;
  flex-wrap: wrap;
}
.phone {
  width: 230px;
  border-radius: 34px;
  overflow: hidden;
  border: 6px solid #0c0718;
  box-shadow: 0 0 0 3px var(--yellow), 0 40px 70px rgba(0, 0, 0, 0.55);
  transform: rotateY(var(--t, 0deg)) translateZ(0);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.phone img {
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 1612;
}
.phone:nth-child(1) {
  --t: 22deg;
}
.phone:nth-child(2) {
  --t: 8deg;
  margin-top: 40px;
}
.phone:nth-child(3) {
  --t: -8deg;
  margin-top: 40px;
}
.phone:nth-child(4) {
  --t: -22deg;
}
.phone:hover {
  transform: rotateY(0) translateY(-10px) scale(1.04);
}

/* ---------------------------------------------------------------- features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}
.feature svg {
  width: 34px;
  height: 34px;
  color: var(--yellow);
}
.feature h3 {
  font-size: 23px;
  margin: 12px 0 6px;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------------------------------------------------------------- FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 4px 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 30px 16px 0;
  font-weight: 700;
  font-size: 18px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 10px;
  font-family: var(--display);
  font-size: 28px;
  color: var(--yellow);
}
.faq details[open] summary::after {
  content: '\2013';
}
.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- final CTA + footer */
.final {
  text-align: center;
  background:
    radial-gradient(circle at 50% 60%, rgba(255, 140, 42, 0.35), transparent 55%),
    linear-gradient(180deg, #1b1230, #2a1a4d);
}
.final img {
  width: 150px;
  margin: 0 auto 18px;
  animation: wobble 2.4s ease-in-out infinite;
}
@keyframes wobble {
  25% {
    transform: rotate(-6deg) translateY(-6px);
  }
  75% {
    transform: rotate(6deg) translateY(-6px);
  }
}
.final h2 {
  font-size: clamp(44px, 7vw, 80px);
}
.final p {
  color: #e8e0fb;
  font-size: 19px;
  margin: 14px auto 28px;
  max-width: 560px;
}
footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}
footer nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  flex-wrap: wrap;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--text);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------- card-game pages (/games) */
.mode .rules-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--yellow);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transform: translateZ(10px);
}
a.mode {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.mode:hover .rules-link {
  text-decoration: underline;
}
a.mode:focus-visible,
.game-link:focus-visible,
.arena-tile:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
/* Arena ring: the whole card is the link (the ring script opens it on a tap, not a drag). */
.arena-more {
  display: inline-block;
  margin-top: 8px;
  color: var(--yellow);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
}
.arena-more::after {
  content: '';
  position: absolute;
  inset: 0;
}
.page-hero.has-art .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px 48px;
  align-items: center;
}
.page-hero.has-art .facts {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.page-art {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 3px var(--c), 0 30px 60px rgba(0, 0, 0, 0.55);
  aspect-ratio: 540 / 900;
  max-height: 480px;
}
.page-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arena-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}
.arena-tile {
  position: relative;
  display: block;
  aspect-ratio: 540 / 760;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12), 0 16px 34px rgba(0, 0, 0, 0.45);
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.arena-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 3px var(--yellow), 0 22px 40px rgba(0, 0, 0, 0.5);
}
.arena-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arena-tile .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 14px 14px;
  background: linear-gradient(transparent, rgba(10, 6, 20, 0.94) 45%);
  display: grid;
  gap: 4px;
}
.arena-tile b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
}
.arena-tile .cap span {
  font-size: 13.5px;
  line-height: 1.35;
  color: #ddd2fb;
}
.hub-group {
  padding: 56px 0 0;
}
.hub-group:last-of-type {
  padding-bottom: 90px;
}
.hub-group h2 {
  font-size: clamp(30px, 4.5vw, 44px);
  margin-bottom: 22px;
}
.wrap.narrow {
  width: min(820px, 100% - 32px);
}
.page-hero {
  --c: var(--orange);
  padding: 120px 0 64px;
  background:
    radial-gradient(circle at 85% 10%, color-mix(in srgb, var(--c) 30%, transparent), transparent 55%),
    linear-gradient(180deg, #2a1a4d, #1b1230);
}
.page-hero h1 {
  font-size: clamp(46px, 8vw, 92px);
  margin: 16px 0 10px;
}
.page-hero .lead {
  font-size: clamp(18px, 2.1vw, 21px);
  color: #e8e0fb;
  max-width: 720px;
  margin: 0 0 28px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  opacity: 0.6;
}
.crumbs a {
  color: var(--muted);
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 36px 0 0;
}
.facts div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}
.facts dt {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--yellow);
}
.facts dd {
  margin: 4px 0 0;
  font-weight: 600;
}
.doc {
  padding: 72px 0;
}
.doc section {
  padding: 0;
  margin: 0 0 52px;
}
.doc h2 {
  font-size: clamp(30px, 4.5vw, 42px);
  margin: 0 0 16px;
  color: var(--yellow);
}
.doc p {
  color: #e2daf7;
  margin: 0 0 14px;
}
.doc b {
  color: #fff;
}
.doc .faq {
  margin: 0;
}
.rules,
.tips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: rule;
}
.rules li,
.tips li {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px 14px 58px;
  color: #e2daf7;
}
.rules li::before {
  counter-increment: rule;
  content: counter(rule);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--orange);
  border: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 18px;
  color: #fff;
}
.tips li::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 210, 63, 0.2);
}
.game-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.game-links.big {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.game-link {
  --c: var(--orange);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius);
  text-decoration: none;
  background:
    radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--c) 28%, transparent), transparent 60%),
    var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.15s, box-shadow 0.15s;
}
.game-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent);
}
.game-link .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--c);
  border: 3px solid var(--ink);
}
.game-link .ico svg {
  width: 26px;
  height: 26px;
  color: #fff;
}
.game-link b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
}
.game-link span:not(.ico) {
  color: var(--muted);
  font-size: 15.5px;
}
.game-link .more {
  margin-top: auto;
  color: var(--yellow) !important;
  font-weight: 800;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .nav ul {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-poster {
    width: 80vw;
    right: -12vw;
    opacity: 0.35;
  }
  .phone {
    width: 200px;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .game-links,
  .game-links.big {
    grid-template-columns: 1fr;
  }
  .page-hero.has-art .wrap {
    grid-template-columns: minmax(0, 1fr) 200px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  section {
    padding: 80px 0;
  }
  .hero {
    min-height: 0;
    padding-bottom: 330px; /* the 3D table sits in a strip under the text */
  }
  #stage {
    inset: auto 0 0 0;
    height: 340px;
  }
  .hero .wrap {
    padding: 92px 0 0;
    align-self: start;
  }
  .hero-poster {
    top: auto;
    bottom: 20px;
    right: 50%;
    width: 220px;
    transform: translateX(50%);
    opacity: 0.9;
  }
  .scroll-hint {
    display: none;
  }
  .hero h1 {
    margin-top: 12px;
  }
  .stats {
    gap: 20px;
  }
  .stats b {
    font-size: 30px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .ring-wrap {
    height: 560px;
  }
  .ring {
    width: 234px;
    height: 390px;
    margin-left: -117px;
  }
  .phones {
    gap: 14px;
  }
  .phone {
    width: 44%;
    --t: 0deg !important;
    margin-top: 0 !important;
  }
  .brand span {
    display: none;
  }
  .page-hero {
    padding: 96px 0 48px;
  }
  .page-hero.has-art .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-art {
    width: 200px;
    max-height: none;
  }
  .arena-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .doc {
    padding: 52px 0;
  }
  .page-hero .cta .btn,
  .doc .btn {
    font-size: 17px;
    padding: 12px 18px;
    white-space: normal;
  }
}

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