/* Spliton Games: one stylesheet for every page. No external fonts, scripts or trackers. */

@font-face {
  font-family: "Inter Display";
  src: url("/assets/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --fg: #fafafa;
  --muted: #a1a1a1;
  --card: #0d0d0e;
  --card-2: #161617;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --paper: #fbfaf7;
  --ink: #090d16;
  --ink-muted: #565d6b;
  --paper-line: #e6e3dc;
  --glow: #ff4a32;
  --todo-bg: #fff3a3;
  --todo-fg: #3b3100;
  --radius: 20px;
  --wrap: 1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --display: "Inter Display", var(--sans);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible { outline: 2px solid #6aa8ff; outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: #fff; color: #000; padding: 8px 14px; border-radius: 999px; z-index: 10;
}
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Placeholders the owner must fill in before the site goes online. */
mark.todo {
  background: var(--todo-bg);
  color: var(--todo-fg);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
  white-space: nowrap;
}

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

.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(0, 0, 0, .86);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.brand b { font: 600 17px/1 var(--display); letter-spacing: -.02em; }
.brand span {
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 8px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 14px; color: var(--muted);
  padding: 8px 10px; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); background: var(--card-2); }
@media (max-width: 560px) { .nav a.wide { display: none; } }

/* Language switch: a round flag and a short code; the menu lists every language. No script. */
.langs { position: relative; margin-left: 4px; }
.langs summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 5px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--fg); user-select: none;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after {
  content: ""; width: 5px; height: 5px; margin-left: 1px; opacity: .55;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg);
}
.langs[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.langs img, .foot .langrow img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2); }
.langs img { width: 18px; height: 18px; }
.langs .menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; padding: 6px; display: grid; gap: 2px;
  background: rgba(20, 17, 26, .97); border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .85); animation: drop .16s ease-out;
}
.nav .langs .menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--fg); font-size: 14px; background: none; }
.nav .langs .menu a:hover { background: rgba(255, 255, 255, .08); }
.nav .langs .menu a[aria-current="true"] { background: rgba(255, 255, 255, .06); }
.langs .menu small { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }

.foot .langrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.foot .langrow a {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em;
}
.foot .langrow a[aria-current="true"] { color: var(--fg); border-color: var(--line-2); }
.foot .langrow img { width: 14px; height: 14px; }

/* ---------- Buttons ---------- */

.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btns { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 6px 0 22px;
  border-radius: 999px; background: #fff; color: #000;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn i {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 999px; background: #000; color: #fff; font-style: normal; font-size: 18px;
}
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-2); padding: 0 22px; }

.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 168px; min-height: 52px; padding: 6px 18px;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--card-2);
  color: var(--fg); text-decoration: none; line-height: 1.2;
}
.store small { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.store b { font-size: 17px; font-weight: 600; }
.store[aria-disabled="true"] { opacity: .75; cursor: default; }

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

.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero.center { text-align: center; }
.hero::before {
  content: ""; position: absolute; left: -40px; top: 40px; width: 260px; height: 420px; pointer-events: none;
  background: repeating-linear-gradient(-28deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 15px);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
}
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 18px;
}
.hero h1 {
  font: 600 clamp(52px, 13vw, 124px)/.95 var(--display);
  letter-spacing: -.055em; margin: 0 0 22px;
}
.hero .lead { font-size: clamp(18px, 2.6vw, 24px); line-height: 1.45; color: rgba(255, 255, 255, .86); max-width: 700px; margin: 0 0 32px; }
.hero.center .lead { margin-left: auto; margin-right: auto; }
.hero .sub { color: var(--muted); font-size: 14px; margin: 26px 0 0; }

.game-hero { padding: 64px 0 56px; }
.game-hero .grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .game-hero .grid { grid-template-columns: 1fr 1.05fr; } }
.game-hero h1 { font-size: clamp(48px, 10vw, 96px); }
.cover {
  border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 40px 120px -40px rgba(255, 74, 50, .45);
}

/* ---------- Sections and cards ---------- */

.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section h2 { font: 600 clamp(32px, 5.5vw, 52px)/1.05 var(--display); letter-spacing: -.04em; margin: 0 0 12px; }
.section .intro { color: var(--muted); max-width: 640px; margin: 0 0 32px; font-size: 17px; }

.cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .cards.c2 { grid-template-columns: repeat(2, 1fr); } .cards.c3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cards.c4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) and (max-width: 999px) { .cards.c4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 8px;
}
.card h3 { font: 600 20px/1.2 var(--display); letter-spacing: -.02em; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .num { font: 600 13px/1 var(--sans); color: var(--muted); letter-spacing: .08em; }
a.card { text-decoration: none; transition: border-color .15s ease, background .15s ease; }
a.card:hover { border-color: var(--line-2); background: var(--card-2); }
a.card .more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--fg); }

.game-card { display: grid; gap: 0; padding: 0; overflow: hidden; }
@media (min-width: 860px) { .game-card { grid-template-columns: 1.2fr 1fr; } }
.game-card .body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.game-card h3 { font-size: 30px; letter-spacing: -.03em; }

.badge {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .02em;
  color: #c7f9d4; background: rgba(46, 204, 113, .14); border: 1px solid rgba(46, 204, 113, .35);
  border-radius: 999px; padding: 4px 10px;
}


.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .86); }
.facts li::before { content: "✓"; color: #6ee7a0; font-weight: 700; }

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

.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 14px; background: var(--bg); }
.foot .cols { display: grid; gap: 28px; }
@media (min-width: 720px) { .foot .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h4 { color: var(--fg); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }
.foot .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.foot.slim { padding: 24px 0; }
.foot.slim .legal { margin-top: 0; padding-top: 0; border-top: 0; }
.foot p { margin: 0 0 6px; }
.foot .brand { margin: 0 0 16px; color: var(--fg); }

/* ---------- Documents (privacy, terms, support, deletion) ---------- */

body.paper main { background: var(--paper); color: var(--ink); }
.doc { max-width: 780px; margin: 0 auto; padding: 56px 16px 72px; }
@media (min-width: 720px) { .doc { padding: 72px 32px 96px; } }
.doc .kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 14px; }
.doc h1 { font: 600 clamp(36px, 7vw, 56px)/1.02 var(--display); letter-spacing: -.045em; margin: 0 0 16px; }
.doc .meta { color: var(--ink-muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font: 600 clamp(22px, 3.6vw, 28px)/1.2 var(--display); letter-spacing: -.025em; margin: 48px 0 12px; scroll-margin-top: 80px; }
.doc h3 { font-size: 17px; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.65; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc a { color: #1447e6; text-underline-offset: 2px; }
.doc strong { font-weight: 650; }

.toc { background: #fff; border: 1px solid var(--paper-line); border-radius: 16px; padding: 18px 22px; margin: 0 0 8px; }
.toc b { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.toc ol { margin: 0; columns: 2 240px; column-gap: 28px; }
.toc li { font-size: 15px; margin: 2px 0; break-inside: avoid; }

.note { background: #fff; border: 1px solid var(--paper-line); border-left: 4px solid var(--ink); border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.note p { margin: 0; }
.note.warn { border-left-color: #e40014; }

.doc .steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--paper-line); border-radius: 14px; padding: 14px 16px 14px 56px; margin: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 14px; top: 13px; width: 28px; height: 28px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center;
}

.table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--paper-line); border-radius: 14px; background: #fff; }
.table table { border-collapse: collapse; width: 100%; min-width: 520px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--paper-line); font-size: 15px; line-height: 1.5; }
.table th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); background: #f6f4ef; }
.table tr:last-child td { border-bottom: 0; }

.doc details { background: #fff; border: 1px solid var(--paper-line); border-radius: 14px; padding: 0 18px; margin: 10px 0; }
.doc summary { cursor: pointer; font-weight: 600; padding: 14px 30px 14px 0; list-style: none; position: relative; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 22px; font-weight: 400; color: var(--ink-muted); }
.doc details[open] summary::after { content: "−"; }
.doc details[open] summary { border-bottom: 1px solid var(--paper-line); margin-bottom: 4px; }
.doc details > p, .doc details > ul, .doc details > ol { margin: 10px 0 14px; }

.contact-box {
  background: var(--ink); color: #fff; border-radius: 20px; padding: 24px; margin: 24px 0;
  display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between;
}
.contact-box p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .78); }
.contact-box strong { display: block; font-size: 20px; color: #fff; }
.contact-box a.btn { color: #000; }
.contact-box mark.todo { white-space: normal; }

/* ---------- 404 ---------- */

.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 16px; }
.lost h1 { font: 600 clamp(64px, 18vw, 140px)/1 var(--display); letter-spacing: -.06em; margin: 0 0 12px; }
.lost p { color: var(--muted); margin: 0 0 28px; }
.lost .btns { justify-content: center; }

/* ---------- Home: night and pixels ---------- */
/* Everything moves with CSS only: transform and opacity animations, SMIL inside the SVG art, scroll reveal where the
   browser supports scroll-driven animations. prefers-reduced-motion turns it all off. */

body.home { background: #05030a; overflow-x: clip; }
.home .top { background: rgba(5, 3, 10, .72); border-bottom-color: rgba(255, 255, 255, .07); }
.home .section { border-top: 0; padding: 72px 0; }
.home .eyebrow { color: #ff8a6e; }
.home h2 { font: 600 clamp(34px, 6vw, 60px)/1.02 var(--display); letter-spacing: -.045em; margin: 0 0 14px; }
.home .intro { color: rgba(255, 255, 255, .62); max-width: 620px; margin: 0 0 36px; font-size: 17px; }

/* Hero */
.hx { position: relative; overflow: hidden; isolation: isolate; padding: 40px 0 56px; }
.hx::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(55% 45% at 75% 35%, rgba(124, 58, 237, .32), transparent 70%),
    radial-gradient(45% 40% at 15% 85%, rgba(255, 74, 50, .2), transparent 70%),
    radial-gradient(40% 30% at 50% 0%, rgba(59, 232, 255, .08), transparent 70%);
}
.hx::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(65% 60% at 50% 35%, #000, transparent);
  mask-image: radial-gradient(65% 60% at 50% 35%, #000, transparent);
}
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stars::before, .stars::after { content: ""; position: absolute; inset: 0; animation: twinkle 3.6s ease-in-out infinite alternate; }
.stars::before {
  background-image:
    radial-gradient(2px 2px at 45.3% 39.6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 45.3% 60.0%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 19.1% 36.3%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 10.2% 21.9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 53.8% 62.4%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 59.4% 28.3%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 65.1% 43.5%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 62.1% 58.4%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6.8% 14.1%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 59.8% 54.7%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 44.2% 59.1%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63.7% 35.5%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 45.8% 20.2%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 70.4% 22.8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 51.3% 3.1%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 40.2% 59.4%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 7.5% 2.2%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 21.9% 65.0%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 47.1% 68.6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 42.1% 40.1%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 77.3% 19.6%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 31.5% 2.0%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 75.3% 9.1%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 70.3% 1.8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 79.1% 13.3%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 44.8% 14.2%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 42.1% 27.5%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 42.2% 15.7%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 85.7% 68.3%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 98.8% 2.4%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 39.6% 60.0%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 5.1% 11.1%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 26.3% 54.3%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 82.4% 27.6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 9.8% 41.2%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 2.5% 26.4%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 13.5% 41.5%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 85.9% 13.6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 31.5% 16.8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72.1% 11.9%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 68.3% 27.8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 60.1% 30.1%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 11.7% 36.4%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 24.4% 49.6%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 42.2% 63.4%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 29.8% 13.1%, #fff 50%, transparent 51%);
}
.stars::after {
  animation-duration: 5.2s; animation-delay: -2s;
  background-image:
    radial-gradient(1px 1px at 13.4% 34.1%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28.5% 64.3%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 74.4% 5.8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 44.7% 5.2%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28.6% 37.6%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 10.0% 10.6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 97.1% 46.3%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 58.8% 64.7%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 90.2% 49.4%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 3.1% 44.9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 7.6% 22.5%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 98.9% 6.2%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 73.2% 63.1%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78.7% 64.1%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 9.3% 33.7%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 86.4% 29.8%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 85.6% 40.5%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 38.2% 1.9%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 8.9% 45.1%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 87.2% 51.2%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 92.6% 48.9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 44.2% 58.8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 51.8% 36.5%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 59.9% 34.2%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 94.8% 8.8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 26.1% 1.8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 15.0% 43.2%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 74.9% 24.6%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 49.8% 17.7%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 66.3% 14.7%, #fff 50%, transparent 51%);
}
@keyframes twinkle { from { opacity: .2; } to { opacity: .95; } }

.hx .head { text-align: center; max-width: 880px; margin: 0 auto; }
.hx .head .btns { justify-content: center; }
@media (min-width: 960px) { .hx { padding: 72px 0 72px; } }

.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 14px 6px 10px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
  font-size: 13px; color: rgba(255, 255, 255, .86);
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: #ff4a32; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { box-shadow: 0 0 0 0 rgba(255, 74, 50, .7); } to { box-shadow: 0 0 0 10px rgba(255, 74, 50, 0); } }

.glitch {
  position: relative; display: inline-block; margin: 0 0 22px;
  font: 600 clamp(52px, 14.5vw, 148px)/.95 var(--display); letter-spacing: -.055em; color: #fff;
  text-shadow: 0 0 34px rgba(255, 90, 60, .35);
}
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none; text-shadow: none;
  clip-path: inset(0 0 100% 0);
}
.glitch::before { color: #ff3b5c; animation: glitch-a 4.2s steps(1) infinite; }
.glitch::after { color: #3be8ff; animation: glitch-b 4.2s steps(1) infinite; mix-blend-mode: screen; }
@keyframes glitch-a {
  0%, 84%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  85% { clip-path: inset(18% 0 58% 0); transform: translate(-5px, 0); }
  87% { clip-path: inset(62% 0 12% 0); transform: translate(4px, 0); }
  89% { clip-path: inset(40% 0 38% 0); transform: translate(-3px, 0); }
  91% { clip-path: inset(0 0 100% 0); }
}
@keyframes glitch-b {
  0%, 85%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  86% { clip-path: inset(52% 0 26% 0); transform: translate(5px, 0); }
  88% { clip-path: inset(8% 0 72% 0); transform: translate(-4px, 0); }
  90% { clip-path: inset(70% 0 4% 0); transform: translate(3px, 0); }
  92% { clip-path: inset(0 0 100% 0); }
}
.hx .lead { font-size: clamp(18px, 2.4vw, 23px); line-height: 1.5; color: rgba(255, 255, 255, .8); max-width: 640px; margin: 0 auto 30px; }
.hx .fine { color: rgba(255, 255, 255, .5); font-size: 13.5px; margin: 22px 0 0; }
.hx .fine a { color: rgba(255, 255, 255, .78); text-decoration: none; white-space: nowrap; }
.hx .fine a:hover { color: #fff; }

.home .store {
  flex-direction: row; align-items: center; gap: 12px; min-width: 0; padding: 8px 18px 8px 12px;
  border-radius: 16px; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.home .store:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.home .store span { display: flex; flex-direction: column; line-height: 1.15; }
.home .store img { flex: none; width: 26px; height: 26px; }
.home .store[aria-disabled="true"] { opacity: 1; }

/* The scene: an animated SVG plus invaders that walk out of the gate */
.scene {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; container-type: inline-size; max-width: 1040px; margin: 44px auto 0;
  border-radius: 28px; border: 1px solid rgba(255, 255, 255, .1); background: #0a0612;
  box-shadow: 0 50px 140px -40px rgba(255, 74, 50, .6), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.scene .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The Monster Arena building from the game's Lobby (unity/Arcade/Assets/Game/Art/Lobby/arena.png, our own pixel art) */
.scene .gate { position: absolute; left: 31%; top: 12.6%; width: 38%; height: auto; image-rendering: pixelated; filter: drop-shadow(0 0 2.4cqw rgba(255, 74, 50, .45)); }
.scene .fire {
  position: absolute; left: 50%; top: 55%; width: 22cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 140, 60, .75), rgba(255, 60, 40, .25) 60%, transparent);
  mix-blend-mode: screen; animation: fire 1.7s ease-in-out infinite;
}
@keyframes fire { 30% { opacity: .6; scale: .94; } 60% { opacity: 1; scale: 1.06; } }
.scene .inv {
  position: absolute; left: 50%; top: 66%; width: 7cqw; opacity: 0;
  animation: emerge var(--d, 7s) cubic-bezier(.25, .6, .35, 1) infinite; animation-delay: var(--t, 0s);
}
@keyframes emerge {
  0% { transform: translate(-50%, -50%) scale(.15); opacity: 0; }
  10% { opacity: 1; }
  78% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(var(--s, 1)); opacity: 0; }
}
@keyframes hop { 50% { transform: translateY(-8%); } }
/* Game monsters: the sheets from the game (unity/Arcade/Assets/Game/Pixel/Sheets, drawn by tools/pixelart).
   A sheet is 12 square frames wide and 3 rows tall; row 1 is the 8-frame move cycle. */
.mon {
  display: block; width: 100%; aspect-ratio: 1; image-rendering: pixelated;
  background: var(--sheet) 0 0 / 1200% 300% no-repeat;
  animation: mon-move var(--spd, .8s) steps(8) infinite;
}
@keyframes mon-move { to { background-position: 72.7273% 0; } }
.m-bat { --sheet: url(/assets/monsters/bat.png); --spd: .5s; }
.m-bomber { --sheet: url(/assets/monsters/bomber.png); }
.m-devil { --sheet: url(/assets/monsters/devil.png); }
.m-dino { --sheet: url(/assets/monsters/dino.png); --spd: 1s; }
.m-ghoul { --sheet: url(/assets/monsters/ghoul.png); --spd: 1s; }
.m-golem { --sheet: url(/assets/monsters/golem.png); --spd: 1.2s; }
.m-imp { --sheet: url(/assets/monsters/imp.png); --spd: .7s; }
.m-mushroom { --sheet: url(/assets/monsters/mushroom.png); --spd: 1s; }
.m-phantom { --sheet: url(/assets/monsters/phantom.png); --spd: 1s; }
.m-shaman { --sheet: url(/assets/monsters/shaman.png); }
.m-skeleton { --sheet: url(/assets/monsters/skeleton.png); }
.m-slime { --sheet: url(/assets/monsters/slime.png); }
.m-slime_king { --sheet: url(/assets/monsters/slime_king.png); --spd: 1s; }
.m-spider { --sheet: url(/assets/monsters/spider.png); --spd: .6s; }
.m-spitter { --sheet: url(/assets/monsters/spitter.png); }
.m-zombie { --sheet: url(/assets/monsters/zombie.png); --spd: 1s; }
.scene .inv { width: 9cqw; }
.scene .i1 { --x: -38cqw; --y: 9cqw; --d: 7.2s; --t: -1s; }
.scene .i2 { --x: 36cqw; --y: 11cqw; --d: 6.4s; --t: -3.4s; width: 8.5cqw; }
.scene .i3 { --x: -22cqw; --y: 17cqw; --d: 8.1s; --t: -5.6s; width: 8.5cqw; }
.scene .i4 { --x: 24cqw; --y: 4cqw; --d: 7.6s; --t: -6.4s; width: 9cqw; }
.scene .i5 { --x: 3cqw; --y: 15cqw; --d: 11s; --t: -2.2s; --s: 1.15; width: 15cqw; }
.scene .i1 .mon, .scene .i3 .mon { scale: -1 1; } /* they walk off to the left */
.scene .tag {
  position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78);
  padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12);
}
.scene .tag i { width: 6px; height: 6px; background: #ff4a32; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Ribbon of modes */
.ribbon { position: relative; height: 150px; overflow: hidden; margin: -10px 0 0; }
.band {
  position: absolute; left: -6%; right: -6%; top: 50%; display: flex; overflow: hidden; padding: 15px 0;
  font: 600 clamp(17px, 2.6vw, 24px)/1 var(--display); letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap;
}
.band.one { z-index: 1; background: #ff4a32; color: #16060a; transform: translateY(-50%) rotate(-2.6deg); box-shadow: 0 24px 60px -24px rgba(255, 74, 50, .7); }
.band.two { background: #160d22; color: rgba(255, 255, 255, .5); transform: translateY(-50%) rotate(2.2deg); border-block: 1px solid rgba(255, 255, 255, .08); }
.band .track { display: flex; flex: none; animation: marquee 34s linear infinite; }
.band.two .track { animation-duration: 44s; animation-direction: reverse; }
.band span { padding: 0 16px; display: inline-flex; align-items: center; gap: 32px; }
.band span::after { content: "✦"; font-size: .8em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Two worlds */
.worlds { position: relative; display: grid; gap: 18px; }
@media (min-width: 820px) { .worlds { grid-template-columns: 1fr 1fr; } }
.world {
  position: relative; overflow: hidden; border-radius: 28px; display: flex; flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .08); transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.world:hover { transform: translateY(-4px) rotate(-.4deg); }
.world.pixel:hover { transform: translateY(-4px) rotate(.4deg); }
.world .art { position: relative; aspect-ratio: 15 / 8; overflow: hidden; container-type: inline-size; }
.world .art > img { width: 100%; height: 100%; object-fit: cover; }
.world .body { padding: 24px 26px 28px; }
.world h3 { font: 600 clamp(26px, 3.2vw, 34px)/1.05 var(--display); letter-spacing: -.035em; margin: 0 0 8px; }
.world p { margin: 0; font-size: 16px; }
.world.toon { background: linear-gradient(180deg, #fff6df, #ffe7b3); color: #13233a; }
.world.toon p { color: rgba(19, 35, 58, .72); }
.world.toon h3 { color: #13233a; }
.world.pixel { background: #10081b; color: #fff; }
.world.pixel p { color: rgba(255, 255, 255, .65); }
.world.pixel h3 { font-family: var(--display); letter-spacing: .02em; text-transform: uppercase; text-shadow: 3px 0 0 #ff3b5c, -3px 0 0 rgba(59, 232, 255, .7); }
/* The Archer from the game stands on the cartoon meadow and shoots towards the pixel world (owner, 2026-11-22) */
.world.toon .archer { position: absolute; left: 41%; top: 58%; width: 20cqw; translate: -50% -50%; animation: archer-bob 1.4s ease-in-out infinite; }
.world.toon .archer::before { content: ""; position: absolute; z-index: -1; left: 18%; right: 18%; bottom: -3%; height: 11%; border-radius: 50%; background: rgba(0, 0, 0, .25); }
.world.toon .archer img { width: 100%; height: auto; }
@keyframes archer-bob { 50% { translate: -50% calc(-50% - 2.5%); } }
.world.toon .arrowfly { position: absolute; left: 47%; top: 61%; width: 11cqw; translate: 0 -50%; opacity: 0; animation: fly 2.2s cubic-bezier(.3, .1, .6, 1) infinite; }
@keyframes fly { 0% { opacity: 0; transform: translateX(0); } 6% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(58cqw); } }
.world .walker { position: absolute; bottom: 19%; width: 12cqw; animation: walk 9s linear infinite; }
.world .w1 { animation-delay: -1s; }
.world .w2 { animation-delay: -4s; width: 10cqw; animation-duration: 7s; }
.world .w3 { animation-delay: -6.5s; width: 13cqw; animation-duration: 11s; }
@keyframes walk { from { left: -12%; } to { left: 104%; } }
.vs {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: #05030a; border: 1px solid rgba(255, 255, 255, .22); color: #fff;
  font: 600 22px/1 var(--display); letter-spacing: -.02em;
  box-shadow: 0 0 0 8px rgba(5, 3, 10, .7), 0 0 48px rgba(255, 74, 50, .65);
  animation: vs 2.4s ease-in-out infinite;
}
@keyframes vs { 50% { box-shadow: 0 0 0 8px rgba(5, 3, 10, .7), 0 0 70px rgba(124, 58, 237, .8); } }

/* Modes: bento grid */
.bento { display: grid; gap: 16px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile.big { grid-column: span 2; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile.big { grid-column: span 2; grid-row: span 2; }
  .tile.wide { grid-column: span 2; }
}
.tile {
  --tint: 255, 74, 50;
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 10px;
  min-height: 230px; padding: 24px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s ease;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 60% at 100% 0%, rgba(var(--tint), .22), transparent 70%);
  transition: opacity .35s ease; opacity: .7;
}
.tile:hover { transform: translateY(-5px); border-color: rgba(var(--tint), .55); }
.tile:hover::before { opacity: 1; }
.tile h3 { font: 600 24px/1.1 var(--display); letter-spacing: -.03em; margin: 0; }
.tile.big h3 { font-size: clamp(28px, 3.4vw, 38px); }
.tile p { margin: 0; color: rgba(255, 255, 255, .62); font-size: 15px; max-width: 460px; }
.tile .k { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(var(--tint), 1); }
.tile .viz { margin-top: auto; padding-top: 14px; }
.t-duel { --tint: 59, 232, 255; }
.t-coop { --tint: 110, 231, 160; }
.t-hunt { --tint: 255, 204, 61; }
.t-show { --tint: 167, 139, 250; }
.t-gear { --tint: 168, 85, 247; }
.t-league { --tint: 255, 138, 110; }

.waves { display: flex; align-items: flex-end; gap: 10px; height: 170px; }
.waves b {
  flex: 1; height: var(--h); border-radius: 10px 10px 4px 4px; transform-origin: bottom;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .12));
  animation: wave 5s cubic-bezier(.3, .7, .3, 1) infinite; animation-delay: var(--t);
}
.waves b:last-child { background: linear-gradient(180deg, #ff4a32, #7a0f2b); position: relative; }
.waves b span { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font: 600 11px/1 var(--sans); letter-spacing: .14em; color: #ff8a6e; }
@keyframes wave { 0% { transform: scaleY(.08); opacity: .4; } 18% { transform: scaleY(1); opacity: 1; } 85% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(.08); opacity: .4; } }
.picks { display: flex; gap: 10px; margin-top: 16px; }
.picks span {
  flex: 1; display: grid; place-items: center; gap: 2px; padding: 12px 6px; border-radius: 14px; text-align: center;
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); font-size: 12px; color: rgba(255, 255, 255, .7);
}
.picks span b { font-size: 20px; line-height: 1; color: #fff; }
.picks span:nth-child(2) { border-color: rgba(255, 74, 50, .7); background: rgba(255, 74, 50, .12); animation: pick 2.4s ease-in-out infinite; }
@keyframes pick { 50% { transform: translateY(-4px); box-shadow: 0 12px 30px -10px rgba(255, 74, 50, .8); } }

.duel { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.duel .hp { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.duel .hp i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3be8ff, #6ee7a0); animation: hp-a 4s ease-in-out infinite; }
.duel .hp.r i { background: linear-gradient(90deg, #ff3b5c, #ff8a6e); animation-name: hp-b; margin-left: auto; }
.duel strong { font: 600 26px/1 var(--display); letter-spacing: -.02em; }
@keyframes hp-a { 0%, 10% { width: 100%; } 40% { width: 70%; } 70% { width: 55%; } 100% { width: 100%; } }
@keyframes hp-b { 0%, 10% { width: 100%; } 30% { width: 60%; } 60% { width: 25%; } 90% { width: 8%; } 100% { width: 100%; } }

.duo { display: flex; align-items: center; }
.duo i { width: 54px; height: 54px; border-radius: 50%; border: 3px solid #0d0916; }
.duo i:first-child { background: radial-gradient(circle at 35% 30%, #c7f9d4, #3fb06f); }
.duo i:nth-child(2) { margin-left: -14px; background: radial-gradient(circle at 35% 30%, #cfe7ff, #3b82f6); }
.duo i:nth-child(3) { margin-left: -14px; background: radial-gradient(circle at 35% 30%, #ffe1c2, #f59e0b); }
.duo b { margin-left: 14px; color: #6ee7a0; font-size: 22px; animation: beat 1.2s ease-in-out infinite; }
@keyframes beat { 30% { transform: scale(1.3); } }

.daynight { position: relative; height: 64px; }
.daynight i {
  position: absolute; left: 0; top: 4px; width: 46px; height: 46px; border-radius: 50%;
  background: #ffcc3d; box-shadow: 0 0 30px rgba(255, 204, 61, .8);
  animation: sky 8s ease-in-out infinite;
}
.daynight::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent); }
@keyframes sky {
  0%, 100% { transform: translateX(0); background: #ffcc3d; box-shadow: 0 0 30px rgba(255, 204, 61, .8); }
  45% { background: #ffcc3d; box-shadow: 0 0 30px rgba(255, 204, 61, .8); }
  50% { transform: translateX(calc(100cqw - 46px)); background: #e9e0ff; box-shadow: 0 0 22px rgba(200, 180, 255, .7), inset -12px -6px 0 #1a0f27; }
  95% { background: #e9e0ff; box-shadow: 0 0 22px rgba(200, 180, 255, .7), inset -12px -6px 0 #1a0f27; }
}
.t-hunt .viz { container-type: inline-size; }

/* Modes that are closed in the game for now (owner, 2026-11-22): a «Soon» badge, the picture dimmed */
.soon {
  font-size: 11px; font-weight: 600; line-height: 1; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: #ffd166; background: rgba(255, 209, 102, .1); border: 1px solid rgba(255, 209, 102, .45); border-radius: 999px; padding: 5px 9px;
}
.tile .soon { position: absolute; top: 20px; right: 20px; }
.tile.later .viz { opacity: .5; }
.shot .soon { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 10px; padding: 3px 7px; }
.six { display: flex; align-items: center; gap: 10px; height: 64px; }
.six i { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.six b {
  width: 28px; height: 28px; border-radius: 50%; margin-left: 4px;
  background: radial-gradient(circle at 35% 30%, #f1ecff, rgb(var(--tint))); animation: beat 1.6s ease-in-out infinite;
  box-shadow: 0 0 22px rgba(var(--tint), .8);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 9px; border-radius: 999px;
  font-size: 13px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04);
}
.chips span::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.chips .legend {
  background: linear-gradient(110deg, rgba(255, 204, 61, .12) 30%, rgba(255, 240, 180, .4) 50%, rgba(255, 204, 61, .12) 70%);
  background-size: 250% 100%; border-color: rgba(255, 204, 61, .5); animation: shine 3s linear infinite;
}
@keyframes shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }

.waves .w1 { --h: 34%; --t: 0s; }
.waves .w2 { --h: 48%; --t: .25s; }
.waves .w3 { --h: 62%; --t: .5s; }
.waves .w4 { --h: 78%; --t: .75s; }
.waves .w5 { --h: 100%; --t: 1s; }
.chips .r0 { --c: #9aa3b2; } .chips .r1 { --c: #3b82f6; } .chips .r2 { --c: #a855f7; } .chips .r3 { --c: #ffcc3d; }
.chips .l0 { --c: #cd7f32; } .chips .l1 { --c: #c0c7d2; } .chips .l2 { --c: #ffcc3d; } .chips .l3 { --c: #7ee0d6; }
.chips .l4 { --c: #5ab8ff; } .chips .l5 { --c: #a855f7; } .chips .l6 { --c: #ff4a32; }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 22px 4px; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.stat b {
  display: block; font: 600 clamp(64px, 10vw, 104px)/.9 var(--display); letter-spacing: 0; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 20%, #ff8a6e 120%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: 10px; color: rgba(255, 255, 255, .62); font-size: 15px; }

/* Phones: a grid of game shots (not a strip), a pixel hero hopping on top of each phone.
   The shots live in /shots/ (git-ignored: they show the UI pack); without them the screens stay dark. */
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 46px 16px; padding: 40px 0 10px; }
.shot { margin: 0; width: calc(50% - 8px); max-width: 220px; text-align: center; }
@media (min-width: 640px) { .shot { width: calc(33.333% - 11px); } }
@media (min-width: 1000px) {
  .phones { gap: 60px 24px; }
  .shot { width: calc(20% - 19.2px); }
  .shot:nth-child(odd) { transform: translateY(22px); }
}
.phone {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: 30px; padding: 7px;
  background: linear-gradient(160deg, #3a3346, #15111c);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) and (min-width: 1000px) { .shot:hover .phone { transform: translateY(-8px) scale(1.03); } }
.phone .screen {
  position: relative; height: 100%; border-radius: 24px; overflow: hidden;
  background: radial-gradient(80% 50% at 50% 70%, rgba(255, 74, 50, .35), transparent 70%), linear-gradient(180deg, #1d1230, #07050b);
}
.phone .screen::before { content: ""; position: absolute; z-index: 2; top: 7px; left: 50%; width: 32%; height: 15px; transform: translateX(-50%); border-radius: 999px; background: #000; }
.phone .screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.phone .pix {
  position: absolute; z-index: 3; top: -40px; right: 10%; width: 36%;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .6));
}
.shot:nth-child(even) .pix { right: auto; left: 10%; }
.shot:nth-child(even) .pix .mon { scale: -1 1; animation-delay: -.45s; }
.shot figcaption { margin-top: 16px; padding: 0 2px; }
.shot figcaption b { display: block; font: 600 16px/1.2 var(--display); color: #fff; }
.shot figcaption span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .6); }

/* Fair play */
.fair { display: grid; gap: 14px; }
@media (min-width: 720px) { .fair { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fair { grid-template-columns: repeat(4, 1fr); } }
.fair div {
  padding: 22px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
}
.fair i {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px;
  font-style: normal; font-weight: 700; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, #ff4a32, #7c3aed); box-shadow: 0 10px 30px -10px rgba(255, 74, 50, .8);
}
.fair h3 { font: 600 19px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 6px; }
.fair p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .6); }

/* Final call */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; border-radius: 32px;
  padding: 64px 20px 56px; border: 1px solid rgba(255, 255, 255, .1);
  background: radial-gradient(60% 70% at 50% 110%, rgba(255, 74, 50, .55), transparent 70%), linear-gradient(180deg, #120a1e, #07050b);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000);
}
.cta h2 { font-size: clamp(38px, 7vw, 72px); }
.cta p { color: rgba(255, 255, 255, .7); margin: 0 auto 28px; max-width: 520px; font-size: 17px; }
.cta .btns { justify-content: center; }
.cta .peek { position: absolute; bottom: -10px; width: 110px; animation: peek 4s ease-in-out infinite; }
.cta .peek.l { left: 8%; }
.cta .peek.r { right: 8%; width: 100px; animation-delay: -2s; }
.cta .peek.r .mon { scale: -1 1; }
@keyframes peek { 0%, 100% { transform: translateY(70%); } 40%, 60% { transform: translateY(0); } }
.helps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.helps a {
  text-decoration: none; font-size: 14px; color: rgba(255, 255, 255, .78); padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(0, 0, 0, .25);
}
.helps a:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }

/* Georgian has no everyday capitals: keep its labels in normal letters */
:lang(ka) .eyebrow, :lang(ka) .tile .k, :lang(ka) .band, :lang(ka) .world.pixel h3, :lang(ka) .scene .tag,
:lang(ka) .foot h4, :lang(ka) .doc .kicker, :lang(ka) .toc b, :lang(ka) .table th { text-transform: none; letter-spacing: .01em; }

/* Scroll reveal, where the browser can do it without a script */
@supports (animation-timeline: view()) {
  .scene { animation: tilt linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  @keyframes tilt { from { transform: perspective(1400px) rotateX(22deg) scale(.92); } to { transform: none; } }
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes rise { from { opacity: 0; translate: 0 48px; scale: .97; } to { opacity: 1; translate: 0 0; scale: 1; } }
}

@media (prefers-reduced-motion: reduce) {
  .home *, .home *::before, .home *::after { animation: none !important; }
  .scene .inv { opacity: 1; transform: translate(calc(-50% + var(--x) * .55), calc(-50% + var(--y) * .55)); }
  .world .w2 { left: 30%; } .world .w1 { left: 10%; } .world .w3 { left: 60%; }
  .scene { transform: none; }
}

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