/*
 * The site wears the app's own clothes: the same sugar ground, the same six sweets, the same two
 * faces, and the same rule that a plate is set off from the ground by the solid lip it drops. What is
 * new here is movement — the room filling up in the hero, the games changing hands, numbers counting
 * in — and a single night band, so the games are lit like lanterns against the dark.
 *
 * The fonts are served from this folder rather than from Google, for the same reason the app carries
 * them: a page that works with no network is a page that always works.
 */

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/Rubik-latin.woff2") format("woff2");
  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: "Rubik";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/Rubik-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Baloo Bhaijaan 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/BalooBhaijaan2-latin.woff2") format("woff2");
  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: "Baloo Bhaijaan 2";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/BalooBhaijaan2-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  color-scheme: light;

  --sugar: #fdf4fa;
  --icing: #ffffff;
  --groove: #f0e3ee;
  --plum: #3a2749;
  --plum-2: rgba(58, 39, 73, .76);
  --plum-3: rgba(58, 39, 73, .66);
  --night: #2a1c38;
  --night-2: #34244a;
  --shade: rgba(58, 39, 73, .14);

  --lemon: #ffd166;  --lemon-lip: #d99b12;  --lemon-ink: #8f6000;
  --bubble: #ff9cc0; --bubble-lip: #f56fa1;
  --mint: #8de0c8;   --mint-lip: #4cc9a7;
  --peri: #a8b4ff;   --peri-lip: #7b8cf0;
  --pear: #b8e986;   --pear-lip: #8fcc57;
  --peach: #ffb1a0;  --peach-lip: #f2846d;

  --display: "Baloo Bhaijaan 2", ui-rounded, system-ui, sans-serif;
  --body: "Rubik", ui-sans-serif, system-ui, "Segoe UI", sans-serif;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --wrap: 1120px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}

/* Every coloured thing takes its sweet from data-c, so a card, a chip and a tab speak one language. */
[data-c="lemon"]  { --c: var(--lemon);  --c-lip: var(--lemon-lip); }
[data-c="bubble"] { --c: var(--bubble); --c-lip: var(--bubble-lip); }
[data-c="mint"]   { --c: var(--mint);   --c-lip: var(--mint-lip); }
[data-c="peri"]   { --c: var(--peri);   --c-lip: var(--peri-lip); }
[data-c="pear"]   { --c: var(--pear);   --c-lip: var(--pear-lip); }
[data-c="peach"]  { --c: var(--peach);  --c-lip: var(--peach-lip); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; overflow-x: clip; }
body {
  margin: 0;
  background: var(--sugar);
  color: var(--plum);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.06; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.3rem); }
h3 { font-size: 1.4rem; line-height: 1.15; }
p { margin: 0; }
.center { text-align: center; margin-inline: auto; }

.wrap { max-inline-size: var(--wrap); margin-inline: auto; padding-inline: 20px; }
section { position: relative; padding-block: clamp(4.5rem, 10vw, 7.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--lemon-ink);
}
p.eyebrow.center { display: block; }
.eyebrow .dot { inline-size: .6rem; block-size: .6rem; border-radius: 50%; background: var(--lemon); box-shadow: 0 0 0 4px rgba(255, 209, 102, .3); animation: breathe 2.6s ease-in-out infinite; }
h2 { margin-block-start: .6rem; }
.sub { max-inline-size: 38rem; margin-block-start: 1rem; color: var(--plum-2); font-size: 1.1rem; }

/* ---------- the sky: four sweets drifting behind everything ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky i {
  position: absolute; inline-size: 46vmax; block-size: 46vmax; border-radius: 50%;
  filter: blur(60px); opacity: .55;
  animation: drift 26s ease-in-out infinite alternate;
}
.sky i:nth-child(1) { background: rgba(255, 209, 102, .55); inset-block-start: -18vmax; inset-inline-start: -12vmax; }
.sky i:nth-child(2) { background: rgba(255, 156, 192, .45); inset-block-start: -10vmax; inset-inline-end: -16vmax; animation-duration: 31s; }
.sky i:nth-child(3) { background: rgba(141, 224, 200, .42); inset-block-end: -22vmax; inset-inline-start: 10vmax; animation-duration: 29s; }
.sky i:nth-child(4) { background: rgba(168, 180, 255, .42); inset-block-end: -16vmax; inset-inline-end: -8vmax; animation-duration: 35s; }

/* ---------- the bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 1.2rem;
  padding: .7rem max(20px, calc((100vw - var(--wrap)) / 2 + 20px));
  background: rgba(253, 244, 250, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-block-end: 1px solid rgba(58, 39, 73, .07);
}
.bar .home { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.mark { inline-size: 2.1rem; block-size: 2.1rem; flex: none; }
.bar .home:hover .mark { animation: turn 2.4s var(--ease); }
.name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--plum); }
.desc { color: var(--plum-3); font-size: .9rem; }
.bar nav { display: flex; gap: .3rem; margin-inline-start: auto; }
.bar nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--plum-2);
  padding: .45rem .8rem; border-radius: 999px; transition: background-color .2s, color .2s;
}
.bar nav a:hover { background: rgba(58, 39, 73, .06); color: var(--plum); }
@media (max-width: 820px) { .bar nav:not(.keep) { display: none; } .bar .btn.small { margin-inline-start: auto; } }

/* ---------- buttons: a plate you press ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.5rem; border-radius: var(--r-md);
  font-family: var(--body); font-weight: 700; font-size: 1.05rem; text-decoration: none;
  color: var(--plum); background: var(--lemon);
  box-shadow: 0 4px 0 var(--lemon-lip), 0 14px 24px -14px rgba(217, 155, 18, .8);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--lemon-lip), 0 18px 28px -14px rgba(217, 155, 18, .8); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lemon-lip); }
.btn.quiet { background: var(--icing); box-shadow: 0 4px 0 var(--groove), 0 14px 24px -18px var(--shade); }
.btn.quiet:hover { box-shadow: 0 6px 0 var(--groove), 0 18px 28px -16px var(--shade); }
.btn.small { padding: .6rem 1.05rem; font-size: .95rem; border-radius: 14px; box-shadow: 0 3px 0 var(--lemon-lip); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--mint-lip); outline-offset: 3px; }
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-block-start: 1.4rem; }

/* ---------- the hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 7vw, 5rem); }
.herogrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.herotext h1 { margin-block-start: 1rem; }
.herotext h1 em { font-style: normal; display: inline-block; background: linear-gradient(100deg, #e0729c, #d99b12 45%, #3fb28f 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-block-start: 1.3rem; font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--plum-2); max-inline-size: 34rem; }
.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--plum-2); font-weight: 600; font-size: .95rem; }
.ticks li { display: inline-flex; align-items: center; gap: .45rem; }
.ticks li::before { content: ""; inline-size: 1.15rem; block-size: 1.15rem; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%233a2749' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }

/* The room: a table, nine seats, a phone in the middle. Sized by its own width, so it scales whole. */
.room {
  --size: min(100%, 520px);
  position: relative; margin: 7% auto 11%; inline-size: var(--size); aspect-ratio: 1;
  container-type: inline-size;
}
.room .table {
  position: absolute; inset: 11%; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .95), rgba(255, 244, 214, .7) 55%, rgba(255, 209, 102, .18) 72%, transparent 73%);
  box-shadow: 0 0 0 1px rgba(217, 155, 18, .16), 0 30px 60px -30px rgba(217, 155, 18, .5);
}
.room .table::after {
  content: ""; position: absolute; inset: -9%; border-radius: 50%;
  border: 2px dashed rgba(58, 39, 73, .1);
  animation: turn 90s linear infinite;
}
.seats { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.seats li {
  --seat: var(--lemon);
  /* 44cqi: 44% of the room's own width, so the ring keeps its shape at any size. */
  --place: translate(-50%, -50%) rotate(calc(var(--a) * 1deg - 90deg)) translate(44cqi) rotate(calc(90deg - var(--a) * 1deg));
  position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  inline-size: 11%; aspect-ratio: 1; border-radius: 50%;
  transform: var(--place);
  background: var(--seat);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--seat) 58%, var(--plum)), 0 0 26px -2px var(--seat);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.seats li:nth-child(1) { inline-size: 13.5%; --seat: var(--lemon); }
.seats li:nth-child(2) { --seat: var(--bubble); }
.seats li:nth-child(3) { --seat: var(--mint); }
.seats li:nth-child(4) { --seat: var(--peri); }
.seats li:nth-child(5) { --seat: var(--pear); }
.seats li:nth-child(6) { --seat: var(--peach); }
.seats li:nth-child(7) { --seat: var(--bubble); }
.seats li:nth-child(8) { --seat: var(--mint); }
.seats li:nth-child(9) { --seat: var(--peri); }
/* A name tag under each lit seat. */
.seats li::after {
  content: attr(data-name);
  position: absolute; inset-block-start: 104%; inset-inline-start: 50%; transform: translateX(-50%);
  font-family: var(--body); font-weight: 700; font-size: clamp(.62rem, 1.3vw, .78rem); white-space: nowrap;
  color: var(--plum-2); padding: .08rem .45rem; border-radius: 999px; background: rgba(255, 255, 255, .8);
  transition: opacity .3s var(--ease);
}
/* Empty seats, before site.js lights them: a ring where a person will sit. Only set while it runs. */
.live .seats li:not(.lit) { background: transparent; box-shadow: inset 0 0 0 2.5px color-mix(in srgb, var(--seat) 70%, transparent); }
.live .seats li:not(.lit)::after { opacity: 0; }
.seats li.lit { animation: seat-on .6s var(--pop) both; }
.seats li.ping { animation: seat-ping .7s var(--ease) both; }

.phone {
  position: relative; aspect-ratio: 600 / 1298; border-radius: 15% / 7%;
  background: linear-gradient(160deg, #3d2c52, #1d1428);
  padding: 3.4%;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .12) inset, 0 40px 70px -35px rgba(42, 28, 56, .65), 0 12px 24px -16px rgba(42, 28, 56, .4);
}
.phone img { inline-size: 100%; block-size: 100%; object-fit: cover; border-radius: 12% / 5.6%; background: var(--sugar); }
.hero-phone { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: 31%; transform: translate(-50%, -50%) rotate(-3deg); z-index: 1; }
.hero-phone img { position: absolute; inset: 3.4%; inline-size: 93.2%; block-size: 96.8%; opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); transform: scale(.98); }
.hero-phone img.on { opacity: 1; transform: none; }
.room .toast {
  position: absolute; inset-block-start: -7%; inset-inline-start: 50%; z-index: 3;
  transform: translate(-50%, 0); margin: 0;
  padding: .45rem .95rem; border-radius: 999px; white-space: nowrap;
  background: var(--mint); color: var(--plum); font-weight: 800; font-size: .92rem;
  box-shadow: 0 10px 24px -12px rgba(76, 201, 167, .9);
  opacity: 0; pointer-events: none;
}
.room .toast.show { animation: toast 1.6s var(--ease) both; }
.room .saying {
  position: absolute; inset-block-end: -10%; inset-inline-start: 50%; transform: translateX(-50%);
  font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 2vw, 1.25rem); white-space: nowrap;
  padding: .3rem 1rem; border-radius: 999px; background: var(--icing);
  box-shadow: 0 4px 0 var(--groove);
}
.room .saying.swap { animation: pop-in .5s var(--pop) both; }
/* Taller than the room so the burst can rise above it, but never wider: past the edge of a phone it
   let the whole page slide sideways. */
.room .confetti { position: absolute; inset: -10% 0; inline-size: 100%; block-size: 120%; pointer-events: none; z-index: 4; }

@media (max-width: 860px) {
  .herogrid { grid-template-columns: 1fr; }
  .herotext { text-align: center; }
  .herotext .lede { margin-inline: auto; }
  .herotext .cta-row, .ticks { justify-content: center; }
  .room { --size: min(100%, 420px); margin-block-start: .5rem; }
}

/* ---------- the marquee ---------- */
.marquee { overflow: hidden; padding-block: 1.1rem; border-block: 1px solid rgba(58, 39, 73, .06); background: rgba(255, 255, 255, .5); }
.marquee .track { display: flex; gap: .7rem; inline-size: max-content; animation: slide 46s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span {
  flex: none; padding: .5rem 1.05rem; border-radius: 999px; font-weight: 700; font-size: .98rem;
  background: color-mix(in srgb, var(--c) 34%, #fff); color: var(--plum);
  box-shadow: 0 3px 0 color-mix(in srgb, var(--c) 60%, #fff);
}
.marquee span::before { content: ""; display: inline-block; inline-size: .55rem; block-size: .55rem; border-radius: 50%; background: var(--c-lip); margin-inline-end: .5rem; vertical-align: .08em; }

/* ---------- how it works ---------- */
.stepwrap { position: relative; margin-block-start: 3.2rem; }
.stepwrap .path { position: absolute; inset-inline: 6%; inset-block-start: 30%; inline-size: 88%; block-size: 120px; overflow: visible; }
.stepwrap .path path { fill: none; stroke: var(--lemon-lip); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .012 .02; opacity: .55; }
.live .stepwrap .path { opacity: 0; transition: opacity 1s var(--ease) .3s; }
.live .stepwrap.seen .path { opacity: 1; }
.live .stepwrap.seen .path path { animation: march 2.4s linear infinite; }
@keyframes march { to { stroke-dashoffset: -.064; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 4vw, 3rem); position: relative; }
.step { text-align: center; display: flex; flex-direction: column; align-items: center; }
.step .phone { inline-size: min(72%, 230px); transition: transform .5s var(--ease); }
.step .phone.tilt-l { transform: rotate(-4deg); }
.step .phone.tilt-r { transform: rotate(4deg); }
.step:hover .phone { transform: translateY(-8px) rotate(0); }
.step .n {
  margin-block-start: -1.3rem; position: relative; z-index: 2;
  display: grid; place-items: center; inline-size: 2.8rem; block-size: 2.8rem; border-radius: 50%;
  font-family: var(--display); font-weight: 800; font-size: 1.35rem;
  background: var(--c); box-shadow: 0 4px 0 var(--c-lip), 0 0 0 5px var(--sugar);
}
.step h3 { margin-block-start: .8rem; font-size: 1.55rem; }
.step p { margin-block-start: .4rem; color: var(--plum-2); max-inline-size: 18rem; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 2.8rem; }
  .stepwrap .path { display: none; }
  .step .phone { inline-size: min(58%, 220px); }
}

/* ---------- the games: the night band ---------- */
.night {
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(255, 209, 102, .16), transparent 70%),
    radial-gradient(50% 45% at 90% 100%, rgba(168, 180, 255, .18), transparent 70%),
    var(--night);
  color: #fdf4fa;
  border-radius: clamp(28px, 5vw, 56px);
  margin-inline: clamp(8px, 1.5vw, 20px);
}
.night .eyebrow { color: var(--lemon); }
.night .sub { color: rgba(253, 244, 250, .74); }
.switcher { margin-block-start: 3rem; display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.tabs { display: none; flex-direction: column; gap: .6rem; }
.tabs button {
  position: relative; overflow: hidden; text-align: start; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem;
  padding: .9rem 1.1rem; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04); color: inherit; font: inherit;
  transition: background-color .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.tabs button:hover { background: rgba(255, 255, 255, .08); transform: translateX(4px); }
.tabs .lamp {
  grid-row: 1 / span 2; align-self: center; inline-size: 1.1rem; block-size: 1.1rem; border-radius: 50%;
  background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent), 0 0 18px var(--c);
}
.tabs b { font-family: var(--display); font-weight: 700; font-size: 1.22rem; line-height: 1.2; }
.tabs small { font-size: .88rem; color: rgba(253, 244, 250, .66); }
.tabs button[aria-selected="true"] { background: color-mix(in srgb, var(--c) 18%, var(--night-2)); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.tabs button[aria-selected="true"] small { color: rgba(253, 244, 250, .85); }
/* The fuse on the chosen tab: how long until the next game comes round on its own. */
.tabs .fill { position: absolute; inset-block-end: 0; inset-inline-start: 0; block-size: 3px; inline-size: 0; background: var(--c); }
.tabs button[aria-selected="true"] .fill.run { animation: fuse var(--dwell, 6s) linear both; }

.panels { position: relative; }
.game { display: grid; grid-template-columns: minmax(0, 15.5rem) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; }
.game .phone { transform: rotate(-3deg); }
.game .about h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: #fff; }
.game .ar { display: block; margin-block-start: .35rem; font-family: var(--display); font-size: 1.15rem; color: var(--c); font-weight: 600; }
.game .hook { margin-block-start: 1rem; font-size: 1.14rem; color: rgba(253, 244, 250, .88); }
.points { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.points li { position: relative; padding-inline-start: 1.6rem; }
.points li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .5em; inline-size: .62rem; block-size: .62rem; border-radius: 50%; background: var(--c, var(--lemon)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--lemon)) 25%, transparent); }
.night .points li { color: rgba(253, 244, 250, .82); }
.facts { display: flex; flex-wrap: wrap; gap: .45rem; margin-block-start: 1.4rem; }
.facts span { padding: .38rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 700; background: color-mix(in srgb, var(--c) 22%, transparent); color: #fff; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); }
.panels .game + .game { margin-block-start: 3.5rem; }

/* With site.js running: tabs beside the panels, one game at a time, each entering in turn. */
.live .switcher { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
.live .tabs { display: flex; }
.live .panels { display: grid; }
.live .panels .game { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.live .panels .game.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.live .panels .game.on .phone { animation: phone-in .7s var(--pop) both; }
.live .panels .game.on .about > * { animation: rise .6s var(--ease) both; }
.live .panels .game.on .about > :nth-child(2) { animation-delay: .06s; }
.live .panels .game.on .about > :nth-child(3) { animation-delay: .12s; }
.live .panels .game.on .about > :nth-child(4) { animation-delay: .18s; }

@media (max-width: 900px) {
  .live .switcher { grid-template-columns: 1fr; }
  .live .tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: .4rem; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .live .tabs::-webkit-scrollbar { display: none; }
  .live .tabs button { flex: none; scroll-snap-align: start; min-inline-size: 13.5rem; }
  .tabs button:hover { transform: none; }
}
@media (max-width: 640px) {
  .game { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .game .phone { inline-size: min(62%, 240px); }
  .game .points { text-align: start; }
  .game .facts { justify-content: center; }
}

.yourway { margin-block-start: 4rem; text-align: center; }
.yourway h3 { font-size: 1.6rem; color: #fff; }
.chips { list-style: none; padding: 0; margin: 1.2rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-inline-size: 48rem; }
.chips li {
  padding: .55rem 1.1rem; border-radius: 999px; font-weight: 700;
  background: var(--c); color: var(--plum);
  box-shadow: 0 4px 0 var(--c-lip);
  animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.6s);
}
.chips li:nth-child(2n) { --i: 2; } .chips li:nth-child(3n) { --i: 4; } .chips li:nth-child(5n) { --i: 6; }

/* ---------- the room's screen ---------- */
.bigscreen { padding-block-start: clamp(4rem, 9vw, 6.5rem); }
.bsgrid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tv { margin: 0 0 16px; position: relative; padding: 2.2%; border-radius: 20px; background: linear-gradient(160deg, #3d2c52, #1d1428); box-shadow: 0 40px 70px -35px rgba(42, 28, 56, .6); transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); transition: transform .8s var(--ease); }
.tv:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.tv img { border-radius: 10px; }
.tv::after { content: ""; position: absolute; inset-block-start: 100%; inset-inline-start: 50%; transform: translateX(-50%); inline-size: 26%; block-size: 16px; border-radius: 0 0 14px 14px; background: linear-gradient(#2a1c38, #1d1428); }
@media (max-width: 820px) { .bsgrid { grid-template-columns: 1fr; } .tv { transform: none; } }

/* ---------- what's inside ---------- */
.counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-block-start: 3rem; }
.count {
  padding: 1.5rem 1.2rem 1.3rem; border-radius: var(--r-lg); text-align: center;
  background: var(--icing); box-shadow: 0 5px 0 var(--groove), 0 24px 40px -30px var(--shade);
  position: relative; overflow: hidden;
}
.count::before { content: ""; position: absolute; inset-block-start: -40%; inset-inline-start: 50%; inline-size: 120%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 45%, transparent), transparent 62%); }
.count b { position: relative; display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--c-lip) 70%, var(--plum)); }
.count span { position: relative; display: block; margin-block-start: .5rem; color: var(--plum-2); font-weight: 600; font-size: .95rem; }
@media (max-width: 760px) { .counts { grid-template-columns: repeat(2, 1fr); } }

.notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-block-start: 1.5rem; }
.note {
  padding: 1.5rem; border-radius: var(--r-lg); background: var(--icing);
  box-shadow: 0 5px 0 var(--groove), 0 24px 40px -30px var(--shade);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.note:hover { transform: translateY(-4px); box-shadow: 0 9px 0 var(--groove), 0 30px 44px -30px var(--shade); }
.note .icon { inline-size: 3rem; block-size: 3rem; margin-block-end: .8rem; padding: .45rem; border-radius: 14px; background: color-mix(in srgb, var(--c) 30%, #fff); fill: none; stroke: var(--plum); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.note .icon text { fill: var(--plum); stroke: none; }
.note .icon circle { fill: var(--plum); stroke: none; }
.note .icon .cross { stroke: var(--bubble-lip); }
.note h3 { font-size: 1.35rem; }
.note p { margin-block-start: .6rem; color: var(--plum-2); }
@media (max-width: 760px) { .notes { grid-template-columns: 1fr; } }

/* ---------- the Faith ---------- */
.faith { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-block-start: 2.5rem; }
.faith .note { border-block-start: 5px solid var(--c); }
@media (max-width: 760px) { .faith { grid-template-columns: 1fr; } }

/* ---------- get it ---------- */
.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-block-start: 2.5rem; }
.platform {
  position: relative; padding: 1.7rem; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c) 42%, #fff), #fff 70%);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 55%, var(--groove)), 0 30px 50px -36px var(--shade);
}
.platform h3 { font-size: 1.9rem; margin-block-start: .7rem; }
.platform p { margin-block-start: .5rem; color: var(--plum-2); }
.soon { display: inline-block; padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--plum); color: #fff; }
.pricing { margin-block-start: 1.2rem; padding: 1.6rem; border-radius: var(--r-xl); background: var(--icing); box-shadow: 0 5px 0 var(--groove); }
.pricing h3 { font-size: 1.5rem; }
@media (max-width: 760px) { .platforms { grid-template-columns: 1fr; } }

/* ---------- tell us ---------- */
.says { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block-start: 2.5rem; }
.say {
  position: relative; display: block; padding: 1.5rem 1.5rem 3.2rem; border-radius: var(--r-lg); text-decoration: none;
  background: color-mix(in srgb, var(--c) 30%, #fff);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 75%, #fff);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.say:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 9px 0 color-mix(in srgb, var(--c) 75%, #fff); }
.say:active { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--c) 75%, #fff); }
.say p { margin-block-start: .5rem; color: var(--plum-2); }
.say .go { position: absolute; inset-inline-end: 1.2rem; inset-block-end: 1rem; font-size: 1.5rem; font-weight: 800; transition: transform .25s var(--ease); }
.say:hover .go { transform: translateX(5px); }
@media (max-width: 760px) { .says { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer { padding-block: 2.5rem 3.5rem; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; color: var(--plum-3); font-size: .92rem; }
footer .mark { inline-size: 1.8rem; block-size: 1.8rem; }
footer a { font-weight: 600; }

/* ---------- the privacy page, which shares this sheet ---------- */
.policy { max-inline-size: 46rem; }
.policy h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-block: 2.2rem .6rem; }
.policy p { margin-block-end: .9rem; color: var(--plum-2); }
.updated { color: var(--plum-3); font-size: .95rem; }

/* ---------- entrances as you scroll ---------- */
.live .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.live .reveal.seen { opacity: 1; transform: none; }

@keyframes drift { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }
@keyframes breathe { 50% { transform: scale(1.35); box-shadow: 0 0 0 7px rgba(255, 209, 102, .18); } }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes seat-on { 0% { transform: var(--place) scale(.4); } 60% { transform: var(--place) scale(1.25); } 100% { transform: var(--place) scale(1); } }
@keyframes seat-ping { 0%, 100% { box-shadow: 0 4px 0 color-mix(in srgb, var(--seat) 58%, var(--plum)), 0 0 26px -2px var(--seat); } 40% { box-shadow: 0 4px 0 color-mix(in srgb, var(--seat) 58%, var(--plum)), 0 0 0 9px color-mix(in srgb, var(--seat) 35%, transparent), 0 0 34px 4px var(--seat); } }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 12px) scale(.85); } 18% { opacity: 1; transform: translate(-50%, 0) scale(1); } 78% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -8px); } }
@keyframes pop-in { from { transform: translateX(-50%) scale(.7); opacity: 0; } to { transform: translateX(-50%) scale(1); opacity: 1; } }
@keyframes phone-in { from { transform: rotate(-9deg) translateY(30px) scale(.94); opacity: 0; } to { transform: rotate(-3deg); opacity: 1; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fuse { from { inline-size: 0; } to { inline-size: 100%; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* For anyone who has asked for less motion: everything still, everything visible. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .marquee .track { flex-wrap: wrap; inline-size: auto; justify-content: center; }
  .marquee .track span:nth-child(n + 13) { display: none; }
}
