:root {
  --bg: #0b0d19;
  --ink: #eef0ff;
  --soft: #b7bbd6;
  --muted: #9ea3c4;
  --panel: rgba(255, 255, 255, 0.055);
  --rim: rgba(255, 255, 255, 0.13);
  --violet: #7c6cf6;
  --teal: #2dd4bf;
  --amber: #f59e42;
  --pink: #ec6ea0;
  --gutter: 80px;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.js:not(.ready) body { opacity: 0; }
body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  transition: opacity 200ms ease;
}
a { color: #c9c0ff; text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ambient light, as behind every game */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.blob { position: absolute; width: 900px; height: 900px; border-radius: 50%; }
.blob.violet { background: radial-gradient(circle, rgba(124, 108, 246, 0.40), transparent 65%); }
.blob.teal { background: radial-gradient(circle, rgba(32, 178, 170, 0.26), transparent 65%); }
.blob.pink { background: radial-gradient(circle, rgba(236, 110, 160, 0.16), transparent 65%); }
.blob.amber { background: radial-gradient(circle, rgba(245, 158, 66, 0.14), transparent 65%); }

.grad { -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad, .grad.violet { background-image: linear-gradient(120deg, #c4b8ff, #7c6cf6 60%, #2dd4bf); }
.grad.teal { background-image: linear-gradient(120deg, #7ff0e0, #2dd4bf); }
.grad.amber { background-image: linear-gradient(120deg, #ffc98a, #f59e42); }
.grad.pink { background-image: linear-gradient(120deg, #ffb3d0, #ec6ea0); }

.panel {
  background: var(--panel);
  border: 1px solid var(--rim);
  border-radius: 28px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow.teal { color: var(--teal); }
.eyebrow.violet { color: #c4b8ff; }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }

/* ------------------------------------------------------------ header */

.top { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.brand img { border-radius: 22.4%; flex: none; }
.brand.small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.links { display: flex; gap: 32px; margin-left: auto; font-weight: 600; }
.lang-pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px 0 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}
.lang-pick select {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding-right: 4px;
}
.lang-pick select option { color: #111; }
.lang-pick:focus-within { border-color: #c4b8ff; }

/* -------------------------------------------------------------- hero */

.hero { display: flex; align-items: center; gap: 40px; min-height: 740px; }
.hero-copy { flex: 0 1 600px; display: flex; flex-direction: column; gap: 28px; }
.badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-weight: 600;
  color: #c9c0ff;
}
.badge .dot { width: 8px; height: 8px; border-radius: 4px; background: var(--teal); flex-shrink: 0; }
h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.03; font-weight: 800; letter-spacing: -0.035em; }
.lead { font-size: 20px; line-height: 1.55; color: var(--soft); max-width: 540px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn {
  height: 60px;
  padding: 0 28px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
}
.btn.primary { background: linear-gradient(135deg, #9d8fff, #6a58f0); color: #fff; box-shadow: 0 12px 40px rgba(124, 108, 246, 0.45); }
.btn.ghost { border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); color: var(--ink); font-weight: 600; }

/* the deck: three phones trading places */
.deck { position: relative; flex: 1 1 640px; height: 700px; }
.stage { position: absolute; left: 50%; top: 0; width: 640px; height: 700px; margin-left: -320px; }
.phone {
  position: absolute;
  left: 0;
  top: 0;
  width: 292px;
  height: 632px;
  padding: 8px;
  border-radius: 48px;
  background: #1a1d2e;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform-origin: 50% 50%;
  transition: transform 1100ms cubic-bezier(0.65, 0, 0.25, 1), filter 1100ms ease;
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: var(--bg); }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen img:not([src]) { visibility: hidden; }
.screen .fade { animation: deck-fade 700ms ease 600ms both; }
@keyframes deck-fade { from { opacity: 0; } to { opacity: 1; } }
.slot-0 { transform: translate(174px, 34px); z-index: 3; }
.slot-1 { transform: translate(334px, 70px) rotate(9deg) scale(0.86); z-index: 2; filter: brightness(0.72); }
.slot-2 { transform: translate(14px, 70px) rotate(-9deg) scale(0.86); z-index: 1; filter: brightness(0.72); }

/* ------------------------------------------------------------- stats */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 16px; }
.stat {
  min-height: 128px;
  padding: 24px 28px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.stat b { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.stat span { font-size: 15px; color: var(--soft); }

/* ------------------------------------------------------------- pitch */
/* Never name a class "ads"/"ads-*": ad blockers hide it (uBlock blanked these panels). */

.pitch { margin-top: 72px; }
.pitch-panel { border-radius: 36px; padding: 56px 64px; display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.pitch-copy { flex: 0 1 520px; display: flex; flex-direction: column; gap: 16px; }
.pitch-copy p { font-size: 18px; line-height: 1.55; color: var(--soft); }
.checks { flex: 0 1 520px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 22px; }
.checks li { display: flex; align-items: center; gap: 18px; font-size: 19px; font-weight: 600; }
.tick {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 22px;
  background: rgba(45, 212, 191, 0.18);
  color: #7ff0e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------ game shelves */

.shelf { margin-top: 112px; }
.shelf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.shelf-head > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.shelf-side { display: flex; align-items: flex-end; gap: 40px; }
.shelf-side p { max-width: 420px; font-size: 17px; line-height: 1.55; color: var(--soft); }
.arrows { display: flex; gap: 12px; }
.arrow {
  width: 52px;
  height: 52px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 200ms, background 200ms;
}
.arrow:hover:not(:disabled) { background: rgba(255, 255, 255, 0.14); }
.arrow:disabled { opacity: 0.35; cursor: default; }

/* one row that runs off the right edge, whatever the number of games */
.rail {
  --lead: max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--lead);
  padding: 4px var(--gutter) 24px var(--lead);
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 120px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 120px), transparent);
}
.rail::-webkit-scrollbar { display: none; }
.card { flex: 0 0 216px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; }
.shot {
  height: 468px;
  margin-bottom: 8px;
  padding: 5px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--rim);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 25px; }
.card h3 { font-size: 18px; font-weight: 700; padding: 0 4px; }
.card p { font-size: 14px; line-height: 1.4; color: var(--muted); padding: 0 4px; }
.dots { display: none; }

/* ---------------------------------------------------------- features */

.features { margin-top: 112px; }
.features h2 { margin-bottom: 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.feature > div:last-child { display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 20px; font-weight: 700; }
.feature p { font-size: 15px; line-height: 1.5; color: var(--soft); }
.icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.icon.violet { background: rgba(124, 108, 246, 0.22); color: #c4b8ff; }
.icon.teal { background: rgba(45, 212, 191, 0.18); color: #7ff0e0; }
.icon.amber { background: rgba(245, 158, 66, 0.18); color: #ffc98a; }
.icon.pink { background: rgba(236, 110, 160, 0.18); color: #ffb3d0; }

/* ---------------------------------------------------------- download */

.get { margin-top: 112px; }
.get-panel {
  border-radius: 36px;
  padding: 56px 64px;
  background: linear-gradient(135deg, rgba(157, 143, 255, 0.28), rgba(45, 212, 191, 0.14));
  border-color: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.get-copy { flex: 0 1 560px; display: flex; flex-direction: column; gap: 16px; }
.get-copy p { font-size: 18px; line-height: 1.55; color: #cfd2ea; }
.stores { flex: 0 0 300px; display: flex; flex-direction: column; gap: 12px; }
.store {
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  font-size: 17px;
  font-weight: 700;
}
.store.main { height: 64px; background: #fff; border-color: #fff; color: #141625; }
.store.main:hover { color: #141625; }
.store-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #0077ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.store-name { display: flex; flex-direction: column; line-height: 1.15; font-size: 19px; }
.store-name small { font-size: 12px; font-weight: 600; color: #5a5f7a; }

/* ------------------------------------------------------------ footer */

.bottom {
  margin-top: 96px;
  min-height: 120px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  font-size: 15px;
  color: var(--muted);
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px; }
.foot-langs button {
  border: 0;
  background: none;
  color: #c9c0ff;
  font: inherit;
  font-size: 14px;
  padding: 8px 8px;
  cursor: pointer;
}
.foot-langs button[aria-pressed="true"] { color: #fff; font-weight: 700; }

/* ----------------------------------------------------- privacy page */

.doc-wrap { max-width: 860px; margin: 24px auto 0; }
.doc { padding: 56px 64px; border-radius: 36px; }
.doc h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.doc-date {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 16px;
  background: rgba(45, 212, 191, 0.14);
  color: #7ff0e0;
  font-size: 14px;
  font-weight: 600;
}
.doc h2 {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.doc h1 + .doc-date + h2 { border-top: 0; padding-top: 0; }
.doc p, .doc li { font-size: 17px; line-height: 1.7; color: var(--soft); }
.doc p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li::marker { color: var(--violet); }
.doc a { color: #c4b8ff; text-decoration: underline; text-decoration-color: rgba(196, 184, 255, 0.4); text-underline-offset: 3px; }
.doc a:hover { color: #fff; }

/* ------------------------------------------------------------ tablet */

@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .links { display: none; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-top: 24px; }
  .hero-copy { flex: none; }
  .deck { flex: none; height: 700px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pitch-panel, .get-panel { flex-direction: column; align-items: stretch; }
  .stores { flex: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelf-head { flex-direction: column; align-items: stretch; }
  .shelf-side { justify-content: space-between; }
}

/* ------------------------------------------------------------- phone */

@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .top { height: 72px; }
  .brand { font-size: 20px; }
  .brand img { width: 36px; height: 36px; }
  .lang-pick { padding: 0 12px; }
  .lang-pick select { font-size: 14px; }
  .hero { gap: 20px; padding-top: 12px; }
  .hero-copy { gap: 20px; }
  .badge { font-size: 13px; }
  .lead { font-size: 17px; }
  .cta { flex-direction: column; gap: 10px; }
  .btn { width: 100%; height: 56px; font-size: 17px; }

  .deck { height: 470px; }
  .stage { width: 358px; height: 470px; margin-left: -179px; }
  .phone { width: 192px; height: 418px; padding: 6px; border-radius: 34px; }
  .screen { border-radius: 28px; }
  .slot-0 { transform: translate(83px, 10px); }
  .slot-1 { transform: translate(168px, 48px) rotate(9deg) scale(0.86); }
  .slot-2 { transform: translate(-2px, 48px) rotate(-9deg) scale(0.86); }

  .stats { gap: 12px; margin-top: 8px; }
  .stat { min-height: 112px; padding: 18px; border-radius: 20px; }
  .stat b { font-size: 34px; }
  .stat span { font-size: 13px; line-height: 1.35; }

  .pitch { margin-top: 32px; }
  .pitch-panel { padding: 26px 22px; border-radius: 26px; gap: 22px; }
  .pitch-copy { gap: 12px; }
  .pitch-copy p { font-size: 15px; }
  .checks { gap: 14px; }
  .checks li { font-size: 15px; gap: 14px; }
  .tick { width: 34px; height: 34px; }

  /* one game per screen, dots underneath */
  .shelf { margin-top: 64px; }
  .shelf-head { margin-bottom: 24px; gap: 10px; }
  .shelf-side p { font-size: 15px; }
  .arrows { display: none; }
  .rail {
    --lead: var(--gutter);
    gap: 32px;
    padding-right: var(--gutter);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .card { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; align-items: center; text-align: center; }
  .shot { width: 256px; height: 556px; border-radius: 30px; }
  .card h3 { font-size: 19px; }
  .card p { max-width: 300px; }
  .dots { display: flex; justify-content: center; gap: 6px; height: 12px; align-items: center; margin-top: 4px; }
  .dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.28); transition: width 250ms ease, background 250ms ease; }
  .dots span.on { width: 20px; background: #f472b6; }

  .features { margin-top: 64px; }
  .features h2 { margin-bottom: 20px; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature { flex-direction: row; gap: 16px; padding: 20px; border-radius: 22px; }
  .feature h3 { font-size: 17px; }
  .feature p { font-size: 14px; }
  .icon { width: 44px; height: 44px; border-radius: 14px; }
  .icon svg { width: 22px; height: 22px; }

  .get { margin-top: 56px; }
  .get-panel { padding: 28px 22px; border-radius: 28px; gap: 20px; }
  .get-copy p { font-size: 15px; }

  .doc { padding: 28px 22px; border-radius: 26px; }
  .doc h2 { margin-top: 28px; padding-top: 24px; font-size: 19px; }
  .doc p, .doc li { font-size: 16px; line-height: 1.65; }

  .bottom { margin-top: 56px; flex-direction: column; align-items: flex-start; }
  .foot-links { flex-direction: column; gap: 0; }
  .foot-links a { padding: 10px 0; }
  .foot-langs { margin-left: -8px; }
}

@media (max-width: 374px) {
  .stage { transform: scale(0.86); transform-origin: top center; }
  .deck { height: 410px; }
}

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