/* Intellegamilandia: a pocket arcade.
   Visual language: inflatable metal signage (Bagel Fat One lit by SVG filters, per-letter foil gradients at small
   sizes), inflated balloon buttons, and a night-time amusement park around the scroll-driven Ferris wheel. */

:root {
  --ink-0: #03050c;
  --ink-1: #060a18;
  --ink-2: #0b1127;
  --ink-3: #121a3a;
  --ink-4: #1b2450;
  --line: rgba(168, 184, 255, 0.11);
  --line-2: rgba(168, 184, 255, 0.2);
  --fg: #f6f4ff;
  --fg-2: #c8cbe9;
  --fg-3: #8e95bd;
  --gold: #ffc533;
  --coral: #ff5c7c;
  --f-sign: "Bagel Fat One", "Rubik", system-ui, sans-serif;
  --f-ui: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-emoji: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Twemoji Mozilla", sans-serif;
  --wrap: 1240px;
  --pad: clamp(16px, 4.4vw, 64px);
  --nav-h: 76px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --out: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}
@media (max-width: 760px) { :root { --nav-h: 62px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { display: flex; flex-direction: column; margin: 0; min-height: 100vh; background: var(--ink-1); color: var(--fg); font: 400 16px/1.55 var(--f-ui); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
main { flex: 1 0 auto; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 400; }
:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.emo { font-family: var(--f-emoji); font-style: normal; line-height: 1; }
.ico { width: 1em; height: 1em; flex: none; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 400; padding: 12px 18px; border-radius: 12px; background: #fff; color: #111; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* =====================================================================
   Inflatable signs
   .sg--xl / --l / --m: one text run lit by an SVG filter (#sg-*): rim, extrusion, soft shadow, specular highlights.
   .sg--s / --xs: per-letter foil (a rim layer under a face layer with a puffy gradient per letter).
   ===================================================================== */
.sg { --tone: #d3d9e8; position: relative; display: inline-block; font-family: var(--f-sign); font-weight: 400; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; color: var(--tone); text-wrap: balance; }
.sg-lit { display: inline-block; }
.sg--xl .sg-lit { filter: url(#sg-xl); }
.sg--l .sg-lit { filter: url(#sg-l); }
.sg--m .sg-lit { filter: url(#sg-m); }
.sg-art { display: inline-grid; }
.sg-rim, .sg-face { grid-area: 1 / 1; }
.sg-face { position: relative; z-index: 1; }
.sg-w { white-space: nowrap; }
.sg i { font-style: normal; }
.sg-rim {
  --rim: #10152a;
  color: var(--rim);
  text-shadow:
    0.07em 0 0 var(--rim), -0.07em 0 0 var(--rim), 0 0.07em 0 var(--rim), 0 -0.07em 0 var(--rim),
    0.05em 0.05em 0 var(--rim), -0.05em 0.05em 0 var(--rim), 0.05em -0.05em 0 var(--rim), -0.05em -0.05em 0 var(--rim),
    0.065em 0.027em 0 var(--rim), -0.065em 0.027em 0 var(--rim), 0.065em -0.027em 0 var(--rim), -0.065em -0.027em 0 var(--rim),
    0.027em 0.065em 0 var(--rim), -0.027em 0.065em 0 var(--rim), 0.027em -0.065em 0 var(--rim), -0.027em -0.065em 0 var(--rim);
  filter: drop-shadow(0 0.035em 0 #05070f) drop-shadow(0 0.035em 0 #05070f) drop-shadow(0 0.14em 0.14em rgba(0, 0, 0, 0.5));
}
.sg-face i {
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image:
    radial-gradient(ellipse 26% 14% at 34% 31%, #fff 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 60% 22% at 60% 79%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 78% 62% at 44% 40%, color-mix(in oklab, var(--tone), #fff 78%) 0%, var(--tone) 46%, color-mix(in oklab, var(--tone), #0b0e22 52%) 100%);
}

/* =====================================================================
   Inflated balloon buttons
   ===================================================================== */
.btn3d {
  --hi: #fff7d1; --mid: #ffc531; --lo: #e07f00; --depth: #8a4400; --ink: #3d1a00; --ink-2: rgba(255, 255, 255, 0.5);
  --h: 52px; --fs: 19px; --px: 26px;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 0.45em;
  height: var(--h); padding: 0 var(--px); border: 0; border-radius: 999px; overflow: hidden;
  font: 400 var(--fs)/1 var(--f-sign); letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--ink); text-shadow: 0 1.5px 0 var(--ink-2);
  background:
    radial-gradient(70% 55% at 32% 16%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(130% 160% at 40% 0%, var(--hi) 0%, var(--mid) 42%, var(--lo) 100%);
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.85),
    inset 0 -7px 12px color-mix(in srgb, var(--depth) 55%, transparent),
    inset 0 0 0 1.5px color-mix(in srgb, var(--depth) 40%, transparent),
    0 6px 0 var(--depth), 0 7px 0 rgba(0, 0, 0, 0.3), 0 16px 26px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s var(--spring), box-shadow 0.18s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn3d::after {
  content: ""; position: absolute; z-index: -1; top: -30%; bottom: -30%; left: 0; width: 38%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  transform: translateX(-160%) skewX(-18deg); pointer-events: none;
}
.btn3d > * { position: relative; }
.btn3d:hover { transform: translateY(-2px) scale(1.04); filter: brightness(1.05) saturate(1.05); }
.btn3d:hover::after { animation: shine 0.9s var(--out); }
.btn3d:active {
  transform: translateY(5px) scale(0.985); transition-duration: 0.07s;
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, 0.85),
    inset 0 -5px 10px color-mix(in srgb, var(--depth) 55%, transparent),
    inset 0 0 0 1.5px color-mix(in srgb, var(--depth) 40%, transparent),
    0 1px 0 var(--depth), 0 2px 0 rgba(0, 0, 0, 0.3), 0 6px 12px rgba(0, 0, 0, 0.4);
}
.btn3d:focus-visible { outline-color: #fff; outline-offset: 5px; border-radius: 999px; }
.btn3d .ico { width: 0.92em; height: 0.92em; }
.btn3d--coral { --hi: #ffe1e6; --mid: #ff5e7c; --lo: #c3163b; --depth: #6d0a1f; --ink: #fff; --ink-2: rgba(90, 0, 20, 0.6); }
.btn3d--chrome { --hi: #ffffff; --mid: #d9dfeb; --lo: #7e88a3; --depth: #363d54; --ink: #1a1f30; --ink-2: rgba(255, 255, 255, 0.6); }
.btn3d--lg { --h: 66px; --fs: 25px; --px: 34px; }
.btn3d--sm { --h: 44px; --fs: 16px; --px: 20px; }
.btn3d--xs { --h: 36px; --fs: 14px; --px: 15px; }
.btn3d--icon { --px: 0; width: var(--h); }

/* static inflated tag (eyebrows, labels) */
.tag3d {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; border-radius: 999px;
  font: 800 12px/1 var(--f-ui); letter-spacing: 0.2em; text-transform: uppercase; color: #1a1f30;
  background: radial-gradient(70% 60% at 30% 15%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 100%), radial-gradient(130% 160% at 40% 0%, #fff 0%, #d9dfeb 42%, #8f99b3 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.9), inset 0 -5px 9px rgba(54, 61, 84, 0.45), 0 4px 0 #363d54, 0 10px 18px rgba(0, 0, 0, 0.4);
}
.tag3d i { width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ffb21a 55%, #b45d00); box-shadow: 0 0 8px rgba(255, 190, 60, 0.9); }

/* =====================================================================
   Navigation
   ===================================================================== */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background-color 0.3s, box-shadow 0.3s; }
.nav::before { content: ""; position: absolute; inset: 0 0 -36px; background: linear-gradient(180deg, rgba(3, 5, 12, 0.82), rgba(3, 5, 12, 0)); pointer-events: none; transition: opacity 0.3s; }
.nav.is-solid { background-color: #060917; box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(0, 0, 0, 0.35); }
.nav.is-solid::before { opacity: 0; }
.nav__in { position: relative; height: 100%; display: flex; align-items: center; gap: clamp(12px, 2.4vw, 36px); padding-inline: var(--pad); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.5)); transition: transform 0.6s var(--spring); }
.brand:hover .brand__mark { transform: rotate(45deg); }
.brand__name { font-size: 20px; }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 34px); margin-left: auto; }
.nav__links a { display: inline-block; padding: 8px 2px; text-decoration: none; }
.nav__links .sg { font-size: 16px; transition: transform 0.45s var(--spring); }
.nav__links a:hover .sg, .nav__links a:focus-visible .sg { transform: translateY(-2px) scale(1.1); }
.nav__random .shuffle { width: 1.2em; height: 1.2em; transition: transform 0.45s var(--spring); }
.nav__random:hover .shuffle { transform: scaleX(-1); }
.nav__random.is-shuffling .shuffle { animation: shuffle 0.7s var(--out); }
@media (max-width: 760px) {
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 17px; }
  .nav__links { display: none; }
  .nav__random { margin-left: auto; }
  .nav__rp { display: none; }
}
@media (max-width: 400px) {
  .nav__random { --px: 0; width: var(--h); }
  .nav__rl { display: none; }
}
@media (max-width: 330px) { .brand__name { display: none; } }

/* =====================================================================
   The ride (landing page wheel)
   ===================================================================== */
.ride { position: relative; height: 100vh; background: var(--ink-1); }
.ride__stage {
  --ride-c1: 255 63 164;
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #03050d 0%, #070c20 36%, #0f1638 70%, #1c1635 100%);
}
.ride__sky { position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(42% 46% at var(--spot-x, 57%) var(--spot-y, 52%), rgb(var(--ride-c1) / 0.2), transparent 72%),
    radial-gradient(75% 38% at 64% 108%, rgba(255, 140, 76, 0.2), transparent 70%),
    radial-gradient(50% 40% at 8% 100%, rgba(80, 120, 255, 0.12), transparent 70%);
}
.ride__stars { position: absolute; inset: 0 0 25%; z-index: -3; pointer-events: none; opacity: 0.85;
  background:
    radial-gradient(1.3px 1.3px at 23px 41px, #fff 50%, transparent 51%) 0 0 / 247px 191px,
    radial-gradient(1px 1px at 141px 97px, rgba(255, 255, 255, 0.75) 50%, transparent 51%) 0 0 / 247px 191px,
    radial-gradient(1.5px 1.5px at 87px 151px, rgba(255, 232, 196, 0.85) 50%, transparent 51%) 0 0 / 311px 223px,
    radial-gradient(1px 1px at 201px 29px, rgba(196, 214, 255, 0.8) 50%, transparent 51%) 0 0 / 311px 223px,
    radial-gradient(1.1px 1.1px at 57px 83px, rgba(255, 255, 255, 0.6) 50%, transparent 51%) 0 0 / 173px 137px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.ride__twinkle { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.8); animation: twinkle 3.6s ease-in-out infinite; }
.ride__wheel { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.ride__spot { position: absolute; z-index: -1; left: var(--spot-x, 57%); top: var(--spot-y, 52%); width: calc(var(--car-w, 380px) * 2.1); aspect-ratio: 1; translate: -50% -50%; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--ride-c1) / 0.34), rgb(var(--ride-c1) / 0.1) 55%, transparent); }
.ride__park { position: absolute; left: 0; bottom: 0; z-index: 0; width: 100%; height: clamp(84px, 15vh, 170px); pointer-events: none; }
.ride__beacon { animation: twinkle 2.4s steps(1) infinite; }
.ride__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 5, 13, 0.72) 0%, rgba(3, 5, 13, 0.35) 30%, rgba(3, 5, 13, 0) 46%), linear-gradient(0deg, rgba(3, 5, 13, 0.55), rgba(3, 5, 13, 0) 30%); }
.ride__cars { position: absolute; inset: 0; z-index: 1; }

/* cars (gondolas) */
.car { --u: calc(var(--car-w, 380px) / 100); position: absolute; left: 0; top: 0; width: var(--car-w, 380px); transform-origin: 50% 0; visibility: hidden; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.car.is-on { visibility: visible; will-change: transform, filter, opacity; }
.car:focus-visible { outline: none; }
.car__hanger { position: absolute; left: 50%; top: 0; width: calc(var(--u) * 2.2); height: calc(var(--u) * 11); translate: -50% 0; border-radius: 99px;
  background: linear-gradient(90deg, #262d4a, #dfe5f6 45%, #59618a 80%, #262d4a); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }
.car__hanger::before { content: ""; position: absolute; left: 50%; top: calc(var(--u) * -2.2); width: calc(var(--u) * 4.6); aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #aeb7d0 42%, #353d5e 100%); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); }
.car__body { position: relative; display: block; margin-top: calc(var(--u) * 9); transition: transform 0.5s var(--spring); }
.car__glow { position: absolute; inset: -22% -16% -30%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c1) 62%, transparent), transparent); opacity: 0; transition: opacity 0.35s; }
.car.is-active .car__glow { opacity: 0.8; }
.car__cabin { position: relative; display: block; padding: calc(var(--u) * 2.4); border-radius: calc(var(--u) * 7.5);
  background: linear-gradient(165deg, #fbfcff 0%, #aab3cc 22%, #4d5675 48%, #9aa3bf 70%, #e9edf8 86%, #69718f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), inset 0 -3px 6px rgba(0, 0, 0, 0.35), 0 calc(var(--u) * 3) calc(var(--u) * 7) rgba(0, 0, 0, 0.55); }
.car__screen { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--u) * 5.4); background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.45); }
.car__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity 0.5s, transform 0.6s var(--out); }
.car__screen img.is-in { opacity: 1; }
.car__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: calc(var(--u) * 17); opacity: 0.9; }
.car__glass { position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.05) 26%, rgba(255, 255, 255, 0) 27%, rgba(255, 255, 255, 0) 64%, rgba(255, 255, 255, 0.07) 65%, rgba(255, 255, 255, 0) 80%),
    radial-gradient(120% 60% at 50% -12%, rgba(255, 255, 255, 0.22), transparent 60%);
  box-shadow: inset 0 0 calc(var(--u) * 6) rgba(0, 0, 0, 0.45); }
.car__play { position: absolute; left: 50%; top: 50%; width: calc(var(--u) * 21); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: #3d1a00; font-size: calc(var(--u) * 8);
  background: radial-gradient(70% 55% at 32% 18%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 100%), radial-gradient(130% 160% at 40% 0%, #fff7d1 0%, #ffc531 42%, #e07f00 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.85), inset 0 -6px 10px rgba(138, 68, 0, 0.5), 0 5px 0 #8a4400, 0 14px 24px rgba(0, 0, 0, 0.5);
  opacity: 0; transform: translate(-50%, -50%) scale(0.6); transition: opacity 0.25s, transform 0.4s var(--spring); }
.car__play .ico { margin-left: 8%; }
.car__sign { position: absolute; left: 50%; top: 0; z-index: 2; width: max-content; max-width: calc(var(--u) * 108); translate: -50% -58%; font-size: calc(var(--u) * 8.4); text-align: center; pointer-events: none; }
.car__sign .sg { line-height: 0.98; }
@media (hover: hover) {
  .car:hover .car__body { transform: translateY(calc(var(--u) * -2.5)); }
  .car.is-active:hover .car__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .car.is-active:hover .car__screen img { transform: scale(1.04); }
}
.car { cursor: pointer; }
.car.is-pop .car__body { animation: carPop 0.7s var(--spring); }

/* left column: headline at the top, booth at the bottom. One flex column, so they can never overlap. */
.ride__left { position: absolute; z-index: 3; left: var(--pad); top: calc(var(--nav-h) + clamp(10px, 3.8vh, 52px)); bottom: clamp(20px, 6vh, 72px); width: min(41vw, 600px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; pointer-events: none; }
.ride__left > * { pointer-events: auto; }
.ride__eyebrow { margin: 0 0 clamp(14px, 2.4vh, 22px); }
.ride__title { margin: 0; font-size: clamp(44px, min(6.3vw, 10.5vh), 104px); line-height: 0.96; animation: inflate 0.9s var(--spring) both 0.15s; }
.ride__title .sg { line-height: 0.96; }
.ride__lede { margin: clamp(12px, 2.2vh, 20px) 0 0; max-width: 31ch; font-size: clamp(15px, 1.2vw, 18px); color: var(--fg-2); }

/* booth: the boarding game */
.booth { width: min(100%, 540px); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.booth__label { margin: 0; display: flex; align-items: center; gap: 10px; font: 800 12px/1 var(--f-ui); letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-3); }
.booth__label b { color: var(--fg); font-weight: 800; letter-spacing: 0.12em; }
.booth__bulb { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--ride-c1)); box-shadow: 0 0 12px 3px rgb(var(--ride-c1) / 0.7); animation: blink 1.4s ease-in-out infinite; }
.booth__name { margin: 2px 0 0; font-size: clamp(34px, min(4.1vw, 7.4vh), 66px); line-height: 1; transform-origin: 0 70%; }
.booth__name .sg { line-height: 1; }
.booth__chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.booth__chips li, .chips-row li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font: 600 13px/1.1 var(--f-ui); color: var(--fg-2); background: rgba(9, 13, 32, 0.7); box-shadow: inset 0 0 0 1px var(--line-2); }
.booth__chips .emo { font-size: 14px; }
.booth__tag { margin: 0; max-width: 40ch; min-height: 3.1em; font-size: clamp(15px, 1.15vw, 17.5px); line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.booth__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.booth__hint { margin: 6px 0 0; display: flex; align-items: center; gap: 10px; font: 700 12px/1 var(--f-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); transition: opacity 0.5s, transform 0.5s; }
.ride.has-moved .booth__hint { opacity: 0; transform: translateY(6px); }
.mouse { position: relative; width: 18px; height: 27px; border-radius: 10px; box-shadow: inset 0 0 0 2px var(--fg-3); }
.mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--fg-2); animation: wheelDot 1.6s var(--out) infinite; }
.booth.is-swap .booth__name { animation: inflate 0.62s var(--spring); }
.booth.is-swap .booth__chips, .booth.is-swap .booth__tag { animation: rise 0.45s var(--out) both; }
.booth.is-swap .booth__tag { animation-delay: 0.05s; }
.booth.is-fast .booth__name, .booth.is-fast .booth__tag, .booth.is-fast .booth__chips { opacity: 0.6; transition: opacity 0.2s; }

@media (max-height: 780px) { .ride[data-mode="side"] .ride__eyebrow { display: none; } }
@media (max-height: 820px) { .ride[data-mode="side"] .booth__hint { display: none; } }

/* rail: one bulb per game */
.ride__rail { position: absolute; z-index: 3; left: clamp(12px, 1.5vw, 26px); top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: 8px; }
.rail__dot { position: relative; width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4b5374, #1d2340); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: transform 0.35s var(--spring), box-shadow 0.3s; }
.rail__dot::before { content: ""; position: absolute; inset: -5px; }
.rail__dot:hover, .rail__dot:focus-visible { transform: scale(1.35); }
.rail__dot[aria-current="true"] { background: radial-gradient(circle at 35% 30%, #fff, var(--c1) 58%); box-shadow: 0 0 14px 3px color-mix(in srgb, var(--c1) 70%, transparent); transform: scale(1.4); }
.rail__dot:focus-visible { outline-offset: 3px; border-radius: 50%; }
.rail__tip { position: absolute; left: 24px; top: 50%; translate: 0 -50%; padding: 6px 10px; border-radius: 8px; white-space: nowrap; font: 700 12px/1 var(--f-ui); letter-spacing: 0.04em; color: var(--fg); background: rgba(9, 13, 32, 0.92); box-shadow: inset 0 0 0 1px var(--line-2); opacity: 0; pointer-events: none; transition: opacity 0.2s, translate 0.25s var(--out); }
.rail__dot:hover .rail__tip, .rail__dot:focus-visible .rail__tip { opacity: 1; translate: 4px -50%; }

/* phones and portrait tablets: centred stack, the car's own sign is the title */
.ride[data-mode="stack"] .ride__shade {
  background:
    linear-gradient(180deg, rgba(3, 5, 13, 0.8) 0, rgba(3, 5, 13, 0.55) calc(var(--band-top, 120px) - 30px), rgba(3, 5, 13, 0) calc(var(--band-top, 120px) + 40px)),
    linear-gradient(0deg, rgba(3, 5, 13, 0.97) 0, rgba(3, 5, 13, 0.93) var(--band-bottom, 220px), rgba(3, 5, 13, 0) calc(var(--band-bottom, 220px) + 90px));
}
.ride[data-mode="stack"] .ride__left { left: 16px; right: 16px; width: auto; top: calc(var(--nav-h) + 4px); bottom: max(16px, env(safe-area-inset-bottom)); align-items: center; text-align: center; }
.ride[data-mode="stack"] .ride__eyebrow, .ride[data-mode="stack"] .ride__lede, .ride[data-mode="stack"] .ride__rail, .ride[data-mode="stack"] .booth__name { display: none; }
.ride[data-mode="stack"] .ride__title { font-size: clamp(30px, 8.6vw, 52px); }
.ride[data-mode="stack"] .ride__title .sg-lit { filter: url(#sg-m); }
.ride[data-mode="stack"] .booth { width: min(100%, 520px); align-items: center; text-align: center; gap: 10px; }
.ride[data-mode="stack"] .booth__chips { justify-content: center; }
.ride[data-mode="stack"] .booth__tag { min-height: 3.1em; font-size: 15px; }
.ride[data-mode="stack"] .booth__cta { width: 100%; justify-content: center; margin-top: 4px; }
.ride[data-mode="stack"] .booth__cta .btn3d--gold { --h: 58px; --fs: 22px; flex: 1; max-width: 320px; }
.ride[data-mode="stack"] .booth__cta .btn3d--chrome { --h: 50px; }
.ride[data-mode="stack"] .booth__hint { display: none; }
.ride[data-mode="stack"] .car__sign { font-size: calc(var(--u) * 9.4); }

/* =====================================================================
   String lights between sections
   ===================================================================== */
.festoon { position: absolute; left: 0; top: 0; width: 100%; height: 86px; pointer-events: none; overflow: visible; }
.festoon .wire { fill: none; stroke: #2b3358; stroke-width: 2; }
.festoon .bulb:nth-of-type(3n) { animation: twinkle 3.2s steps(1) infinite; } /* stepped: the SVG only repaints when a bulb flips */

/* =====================================================================
   Category shelves
   ===================================================================== */
.shelves { position: relative; padding: clamp(104px, 10vw, 136px) 0 clamp(70px, 9vw, 120px); background: radial-gradient(60% 50% at 50% 0%, #10173a, transparent 75%), var(--ink-1); }
.shelves__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; margin-bottom: clamp(30px, 4vw, 46px); }
.shelves__title { margin: 0; font-size: clamp(42px, 5.4vw, 76px); }
.shelves__lede { margin: 14px 0 0; color: var(--fg-2); max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 999px;
  font: 800 13px/1 var(--f-ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2);
  background: linear-gradient(180deg, #1b2347, #10162f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px var(--line-2), 0 4px 0 #050812;
  transition: transform 0.35s var(--spring), color 0.2s;
}
.chip b { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 99px; font-weight: 800; letter-spacing: 0; color: var(--fg); background: rgba(255, 255, 255, 0.08); }
.chip:hover { transform: translateY(-2px); color: var(--fg); }
.chip.is-on { color: #161b2c; background: radial-gradient(70% 60% at 30% 15%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 100%), radial-gradient(130% 160% at 40% 0%, #fff 0%, #d9dfeb 42%, #8f99b3 100%); box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.9), inset 0 -5px 9px rgba(54, 61, 84, 0.45), 0 4px 0 #363d54, 0 10px 18px rgba(0, 0, 0, 0.35); }
.chip.is-on b { background: rgba(22, 27, 44, 0.12); color: #161b2c; }
.shelves__grid { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: clamp(40px, 5vw, 60px) 20px; }
.shelf { --span: 1; grid-column: span var(--span); min-width: 0; }
.shelf[data-n="2"] { --span: 2; }
.shelf[data-n="3"] { --span: 3; }
.shelf[data-n="4"] { --span: 4; }
.shelves__grid.is-filtered .shelf { --span: var(--cols); }
.shelf[hidden] { display: none; }
.shelf__head { display: flex; align-items: center; gap: 14px; min-height: 46px; margin-bottom: 16px; }
.shelf__title { margin: 0; font-size: 30px; }
.shelf__count { font: 700 12px/1 var(--f-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.shelf__tiles { display: grid; grid-template-columns: repeat(var(--span), minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1119px) { .shelves__grid { --cols: 3; } .shelf[data-n="4"] { --span: 3; } }
@media (max-width: 819px) { .shelves__grid { --cols: 2; } .shelf[data-n="3"], .shelf[data-n="4"] { --span: 2; } .shelf__title { font-size: 25px; } }
@media (max-width: 520px) { .shelves__grid { gap: 36px 12px; } .shelf__tiles { gap: 12px; } .shelf__title { font-size: 21px; } .shelf__head { flex-wrap: wrap; gap: 6px 10px; min-height: 0; } }

/* tiles: little arcade cabinets */
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; border-radius: 22px 22px 16px 16px; background: linear-gradient(180deg, #161d40, #0c1128); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 18px 34px rgba(0, 0, 0, 0.42); transition: transform 0.5s var(--spring), box-shadow 0.3s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.02) 62%, rgba(255, 255, 255, 0.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.tile__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tile__link:focus-visible { outline-offset: 3px; border-radius: 22px 22px 16px 16px; }
.tile__marquee { position: relative; display: grid; place-items: center; min-height: 66px; padding: 14px 14px 12px; border-radius: 21px 21px 0 0; text-align: center;
  background: radial-gradient(110% 140% at 50% 125%, color-mix(in srgb, var(--c1) 50%, transparent), transparent 70%), linear-gradient(180deg, #1d2552, #121838); }
.tile__marquee::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--c1) 80%, #fff) 0 4px, transparent 4px 10px); opacity: 0.55; }
.tile__title { margin: 0; font-size: 20px; line-height: 1; }
.tile__screen { position: relative; margin: 12px 12px 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 0 0 4px #060915, 0 0 0 5px rgba(255, 255, 255, 0.08); }
.tile__screen img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.7s var(--out), filter 0.3s; }
.tile__glass { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 30%), radial-gradient(120% 70% at 50% 120%, rgba(0, 0, 0, 0.35), transparent 60%); }
.tile__deck { display: flex; align-items: center; gap: 11px; padding: 14px 12px 14px 14px; }
.tile__icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 21px;
  background: radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--c1) 35%, #fff), var(--c1) 55%, color-mix(in srgb, var(--c1) 55%, #000));
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.3), inset 0 2px 2px rgba(255, 255, 255, 0.5), 0 3px 0 color-mix(in srgb, var(--c1) 40%, #000); }
.tile__meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tile__meta b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font: 700 14px/1.2 var(--f-ui); color: var(--fg); }
.tile__meta small { display: flex; align-items: center; gap: 5px; font: 500 12.5px/1.2 var(--f-ui); color: var(--fg-3); }
.tile__play { position: relative; z-index: 2; flex: none; }
.tile:hover { transform: translateY(-7px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 28px 46px rgba(0, 0, 0, 0.5), 0 0 0 1px color-mix(in srgb, var(--c1) 50%, transparent), 0 14px 60px -12px color-mix(in srgb, var(--c1) 60%, transparent); }
.tile:hover .tile__screen img { transform: scale(1.06); }
@media (max-width: 760px) {
  .chips { flex-wrap: nowrap; width: calc(100% + 2 * var(--pad)); margin-inline: calc(var(--pad) * -1); padding: 4px var(--pad) 10px; overflow-x: auto; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}
@media (max-width: 520px) {
  .tile__icon { display: none; }
  .tile__marquee { min-height: 52px; padding: 11px 8px 9px; }
  .tile__title { font-size: 15px; }
  .tile__screen { margin: 8px 8px 0; border-radius: 9px; }
  .tile__deck { padding: 10px 8px 10px 10px; gap: 8px; }
  .tile__icon { width: 32px; height: 32px; font-size: 16px; }
  .tile__meta b { font-size: 12.5px; }
  .tile__meta small { font-size: 11.5px; }
  .tile__play { --h: 32px; --px: 0; width: 32px; gap: 0; }
  .tile__play > span { display: none; }
  .tile__play .ico { margin-left: 2px; }
}


/* =====================================================================
   About
   ===================================================================== */
.about { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 130px); background: radial-gradient(70% 60% at 50% 0%, #121a3f, transparent 70%), var(--ink-0); overflow: hidden; }
.about__title { margin: 0; text-align: center; font-size: clamp(38px, 5vw, 70px); }
.about__lede { margin: 18px auto clamp(70px, 8vw, 96px); max-width: 52ch; text-align: center; color: var(--fg-2); font-size: clamp(16px, 1.3vw, 18px); }
.tokens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.token { position: relative; padding: 74px 28px 30px; border-radius: 28px; text-align: center; background: linear-gradient(180deg, #131a3b, #0a0f26); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px rgba(0, 0, 0, 0.35); }
.token__coin { position: absolute; left: 50%; top: 0; width: 96px; height: 96px; translate: -50% -44%; display: grid; place-items: center; border-radius: 50%; font-size: 40px;
  background: radial-gradient(circle at 34% 28%, #fff9d9, #ffd257 30%, #e89a00 62%, #9c5200 100%);
  box-shadow: inset 0 0 0 5px rgba(255, 236, 170, 0.55), inset 0 0 0 10px rgba(160, 82, 0, 0.35), inset 0 -6px 12px rgba(120, 50, 0, 0.45), 0 6px 0 #7a3f00, 0 18px 30px rgba(0, 0, 0, 0.5); }
.token h3 { margin: 0 0 12px; font-size: 24px; }
.token p { margin: 0; color: var(--fg-2); }
.about__note { margin: clamp(40px, 5vw, 56px) auto 0; max-width: 64ch; text-align: center; font-size: 14px; color: var(--fg-3); }
@media (max-width: 860px) { .tokens { grid-template-columns: 1fr; gap: 64px; max-width: 520px; margin-inline: auto; } }

/* =====================================================================
   Footer
   ===================================================================== */
.foot { padding: 36px 0 104px; border-top: 1px solid var(--line); background: var(--ink-0); color: var(--fg-3); font-size: 14px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: start; gap: 26px clamp(26px, 4vw, 60px); }
.foot__brand { max-width: 560px; }
.foot__brand > p { margin: 14px 0 0; color: var(--fg-2); }
.foot__co { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 12px 0 0; }
.foot__co dt { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; line-height: 1.9; text-transform: uppercase; }
.foot__co dd { margin: 0; color: var(--fg-2); }
.foot__co a { color: var(--fg); }
.foot__ops { color: var(--fg-3); font-size: 13px; }
/* payment and trust strip: card marks large and on white, as the schemes' artwork expects */
.foot__trust { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.foot__pay { display: flex; gap: 10px; }
.foot__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; color: var(--fg-2); font-weight: 600; font-size: 13.5px; }
.foot__badges li { display: inline-flex; align-items: center; gap: 8px; }
.foot__badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--gold) 55%, #b45d00); box-shadow: 0 0 8px rgba(255, 190, 60, 0.8); }
.pay-logo { display: block; width: 72px; height: 44px; padding: 5px 8px; background: #fff; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 6px 14px rgba(0, 0, 0, 0.35); }
.pay-logo--visa { padding: 2px 6px; }
.pay-logo img { width: 100%; height: 100%; object-fit: contain; }
.foot__updated { white-space: nowrap; }
.foot__links, .foot__legal { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot__links a, .foot__legal a, .foot__legal button { padding: 0; border: 0; background: none; color: var(--fg-2); font-weight: 700; text-align: left; text-decoration: none; }
.foot__links a:hover, .foot__legal a:hover, .foot__legal button:hover { color: var(--fg); }
.foot__links h2, .foot__legal h2 { margin: 0 0 2px; color: var(--fg-3); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.foot__note, .foot__bottom { grid-column: 1 / -1; margin: 0; }
.foot__bottom { padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .foot__in { grid-template-columns: 1fr 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot__in { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   Legal pages
   ===================================================================== */
.legal { max-width: 860px; padding: calc(var(--nav-h) + 36px) 0 72px; color: var(--fg-2); font-size: 16.5px; line-height: 1.7; }
.legal h1 { margin: 0 0 24px; color: var(--fg); font-size: 34px; line-height: 1.2; }
.legal__date { margin: -14px 0 30px; color: var(--fg-3); font-size: 15px; }
.legal h2 { scroll-margin-top: calc(var(--nav-h) + 16px); margin: 40px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--fg); font-size: 20px; font-weight: 700; }
.legal p { margin: 12px 0; }
.legal ul { margin: 10px 0; padding-left: 24px; }
.legal li { margin: 5px 0; }
.legal li::marker { color: var(--gold); }
.legal strong { color: var(--fg); }
.legal a { color: var(--gold); overflow-wrap: anywhere; }
.legal__contact { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 22px 0 8px; padding: 18px 22px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--ink-2); }
.legal__contact dt { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; line-height: 2.1; text-transform: uppercase; }
.legal__contact dd { margin: 0; overflow-wrap: anywhere; }
.legal__toc { margin: 0 0 8px; padding: 16px 22px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--ink-2); }
.legal__toc ol { margin: 0; padding-left: 22px; }
@media (max-width: 560px) { .legal__contact { grid-template-columns: 1fr; gap: 0; } .legal__contact dd { margin-bottom: 10px; } }
.legal__fine { margin-top: 32px !important; color: var(--fg-3); font-size: 14px; }

/* =====================================================================
   Cookie banner
   ===================================================================== */
.cookie { position: fixed; z-index: 300; left: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: min(420px, calc(100vw - 32px)); padding: 18px 20px 22px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(11, 17, 39, 0.97); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); }
.cookie h2 { margin: 0 0 6px; color: var(--fg); font-size: 17px; font-weight: 700; }
.cookie p { margin: 0; color: var(--fg-2); font-size: 14.5px; line-height: 1.55; }
.cookie a { color: var(--gold); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 14px 12px; margin-top: 16px; }
.cookie__choices { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; border: 0; }
.cookie__choices label { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-2); font-size: 13.5px; line-height: 1.45; }
.cookie__choices input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--gold); }
.cookie__choices strong { margin-right: 4px; color: var(--fg); }

/* =====================================================================
   Game page
   ===================================================================== */
.gp { padding-top: var(--nav-h); background: radial-gradient(60% 48% at 18% 0%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%), radial-gradient(55% 46% at 92% 8%, color-mix(in srgb, var(--c2) 18%, transparent), transparent 70%), linear-gradient(180deg, #070b1d, var(--ink-1) 62%); }
.gp-hero { padding: clamp(22px, 3.6vw, 46px) 0 clamp(10px, 2vw, 24px); }
.gp-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(26px, 4vw, 60px); align-items: center; }
.crumb { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font: 700 13px/1 var(--f-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-2); text-decoration: none; background: rgba(9, 13, 32, 0.6); box-shadow: inset 0 0 0 1px var(--line-2); transition: color 0.2s, transform 0.3s var(--spring); }
.crumb:hover { color: var(--fg); transform: translateX(-3px); }
.gp-title { display: flex; align-items: center; gap: 18px; margin: 22px 0 18px; }
.gp-icon { flex: none; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; font-size: 34px;
  background: radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--c1) 35%, #fff), var(--c1) 55%, color-mix(in srgb, var(--c1) 55%, #000));
  box-shadow: inset 0 -4px 7px rgba(0, 0, 0, 0.3), inset 0 3px 3px rgba(255, 255, 255, 0.5), 0 5px 0 color-mix(in srgb, var(--c1) 40%, #000), 0 14px 24px rgba(0, 0, 0, 0.4); }
.gp-title h1 { margin: 0; font-size: clamp(40px, 4.6vw, 72px); line-height: 1; }
.chips-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gp-tag { margin: 22px 0 28px; max-width: 34ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; font-weight: 500; color: var(--fg); text-wrap: pretty; }
.gp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.gp-note { margin: 22px 0 0; font-size: 13.5px; color: var(--fg-3); }
.gp-stage { min-width: 0; }
.device-tabs { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.device-tabs button { height: 36px; padding: 0 14px; border: 0; border-radius: 999px; font: 700 13px/1 var(--f-ui); color: var(--fg-3); background: rgba(9, 13, 32, 0.6); box-shadow: inset 0 0 0 1px var(--line-2); transition: color 0.2s, background 0.2s; }
.device-tabs button[aria-pressed="true"] { color: #161b2c; background: radial-gradient(130% 160% at 40% 0%, #fff 0%, #d9dfeb 50%, #9aa3bd 100%); box-shadow: inset 0 1px 0 #fff, 0 3px 0 #363d54; }
.device-tabs span { margin-left: auto; font-size: 12.5px; color: var(--fg-3); }
.cabinet { position: relative; padding: clamp(10px, 1.1vw, 15px); border-radius: clamp(22px, 2.4vw, 32px);
  background: linear-gradient(165deg, #f4f7ff, #9aa4bf 22%, #444c6a 50%, #9aa3bf 76%, #e3e8f6 90%, #5f6788);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4), inset 0 -4px 10px rgba(0, 0, 0, 0.4), 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 110px -24px color-mix(in srgb, var(--c1) 65%, transparent); }
.device { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: clamp(14px, 1.6vw, 20px); background: #000; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.6); }
.device.mobile { aspect-ratio: auto; width: min(380px, 100%); height: min(720px, 76vh); margin: 0 auto; }
.cabinet:has(.device.mobile) { width: fit-content; max-width: 100%; margin-inline: auto; }
.device iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #fff; }
.poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; }
.poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0.6; transition: opacity 0.3s, transform 0.8s var(--out); }
.poster:hover img { opacity: 0.75; transform: scale(1.02); }
.poster__in { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.poster__btn { width: clamp(84px, 9vw, 112px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: #3d1a00; font-size: clamp(30px, 3.2vw, 40px);
  background: radial-gradient(70% 55% at 32% 18%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 100%), radial-gradient(130% 160% at 40% 0%, #fff7d1 0%, #ffc531 42%, #e07f00 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.85), inset 0 -8px 12px rgba(138, 68, 0, 0.5), 0 7px 0 #8a4400, 0 0 0 12px rgba(255, 255, 255, 0.1), 0 22px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.45s var(--spring); }
.poster__btn .ico { margin-left: 9%; }
.poster:hover .poster__btn { transform: scale(1.08); }
.poster__label { font-size: clamp(18px, 1.7vw, 24px); }
.gp-sec { padding: clamp(46px, 6vw, 80px) 0 0; }
.gp-sec:last-child { padding-bottom: clamp(70px, 8vw, 110px); }
.gp-sec h2 { margin: 0 0 clamp(22px, 3vw, 32px); font-size: clamp(32px, 3.6vw, 48px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px 22px 24px; border-radius: 22px; background: linear-gradient(180deg, #131a3b, #0b1027); box-shadow: inset 0 0 0 1px var(--line); }
.step__n { position: absolute; right: 18px; top: 16px; font: 400 34px/1 var(--f-sign); color: rgba(255, 255, 255, 0.06); }
.step__ic { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 50%; font-size: 26px;
  background: radial-gradient(circle at 35% 28%, #2b3566, #161d40); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 4px 0 #070a18; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--fg-2); font-size: 14.5px; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 34px; }
.feats li { position: relative; padding-left: 30px; color: var(--fg-2); }
.feats li::before { content: ""; position: absolute; left: 4px; top: 0.5em; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, var(--c1) 60%); box-shadow: 0 0 10px color-mix(in srgb, var(--c1) 70%, transparent); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.shot { position: relative; padding: 0; border: 0; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 16px; background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 14px 30px rgba(0, 0, 0, 0.4); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.5s var(--out); }
.shot:hover img { transform: scale(1.05); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; text-align: left; font-size: 12.5px; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); }
.gallery .shot:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.notfound { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 120px 20px; text-align: center; }
.notfound h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); }
.notfound p { margin: 0 0 10px; color: var(--fg-2); }
@media (max-width: 1020px) { .gp-grid { grid-template-columns: 1fr; } .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .more { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .feats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .shot:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .device-tabs { display: none; }
  .gp-cta .btn3d--gold { flex: 1; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .gp-icon { width: 54px; height: 54px; font-size: 27px; } .gp-title { gap: 14px; } }
@media (max-width: 380px) { .gp-title h1 { font-size: 31px; } } /* one long word ("Blockburst") plus the icon still fits a 320px phone */

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(3, 5, 12, 0.93); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 140px); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox figcaption { margin-top: 14px; text-align: center; color: var(--fg-2); font-weight: 600; }
.lightbox .lbx { position: absolute; top: 16px; right: 16px; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox .lb-prev { left: 16px; }
.lightbox .lb-next { right: 16px; }

/* =====================================================================
   Header extras: account button and the phone menu
   ===================================================================== */
.nav__acct { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border-radius: 999px; font: 700 14px/1 var(--f-ui); color: var(--fg); text-decoration: none; background: rgba(9, 13, 32, 0.66); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow 0.2s, transform 0.35s var(--spring); }
.nav__acct .ico { width: 18px; height: 18px; color: var(--gold); }
.nav__acct:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1.5px rgba(255, 197, 51, 0.6); }
.nav__acct.is-in .ico { color: #6dfab0; }
.nav__only-menu { display: none !important; }
.nav__menu { display: none; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(9, 13, 32, 0.66); box-shadow: inset 0 0 0 1.5px var(--line-2); flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav__menu span { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--fg); transition: transform 0.3s var(--out), opacity 0.2s; }
.nav.is-open .nav__menu span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__menu span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__menu span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav__links a { white-space: nowrap; }
@media (max-width: 1400px) {
  .nav__acct span:not(.nav__face) { display: none; }
  .nav__acct { width: 44px; padding: 0; justify-content: center; }
  .nav__random { --px: 0; width: var(--h); }
  .nav__rl { display: none; }
}
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
  .nav__acct { display: none; }
  .nav.is-open .nav__links { display: flex; position: absolute; top: calc(100% - 4px); left: 12px; right: 12px; flex-direction: column; gap: 2px; margin: 0; padding: 12px; border-radius: 20px; background: #0b1127; box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px rgba(0, 0, 0, 0.55); }
  .nav.is-open .nav__links a { padding: 12px 14px; border-radius: 12px; }
  .nav.is-open .nav__links a:hover { background: rgba(255, 255, 255, 0.05); }
  .nav.is-open .nav__links .sg { font-size: 19px; }
  .nav.is-open .nav__only-menu { display: block !important; }
  .nav__random { margin-left: auto; }
}

/* =====================================================================
   Game search (hero and the games section)
   ===================================================================== */
.find { position: relative; display: flex; align-items: center; width: min(100%, 440px); height: 52px; margin-top: clamp(14px, 2.4vh, 24px); border-radius: 999px; background: rgba(6, 9, 22, 0.78); box-shadow: inset 0 0 0 1.5px var(--line-2), inset 0 6px 14px rgba(0, 0, 0, 0.45); transition: box-shadow 0.2s; }
.find:focus-within { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 5px rgba(255, 197, 51, 0.15), inset 0 6px 14px rgba(0, 0, 0, 0.45); }
.find input { flex: 1; min-width: 0; height: 100%; padding: 0 8px 0 22px; border: 0; background: none; color: var(--fg); font: 500 16px/1 var(--f-ui); outline: none; }
.find input::placeholder { color: var(--fg-3); }
.find input::-webkit-search-cancel-button { filter: invert(0.7); }
.find__go { flex: none; display: grid; place-items: center; width: 42px; height: 42px; margin-right: 5px; border: 0; border-radius: 50%; color: #3d1a00; font-size: 19px;
  background: radial-gradient(70% 55% at 32% 18%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 100%), radial-gradient(130% 160% at 40% 0%, #fff7d1 0%, #ffc531 42%, #e07f00 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.85), inset 0 -5px 8px rgba(138, 68, 0, 0.5), 0 3px 0 #8a4400; transition: transform 0.35s var(--spring); }
.find__go:hover { transform: scale(1.08); }
.find__go:focus-visible { outline-offset: 2px; border-radius: 50%; }
.ride[data-mode="stack"] .find--hero { margin: 10px auto 0; height: 46px; width: min(100%, 380px); }
.ride[data-mode="stack"] .find--hero .find__go { width: 36px; height: 36px; font-size: 16px; }
.shelves__tools { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; min-width: 0; }
.find--shelf { margin-top: 0; width: min(100%, 420px); }
@media (max-width: 760px) { .shelves__tools { align-items: stretch; width: 100%; } .find--shelf { width: 100%; } }
.results { margin-bottom: 40px; }
.results__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.results__sum { margin: 0; color: var(--fg); font-size: 17px; font-weight: 600; }
.results__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1020px) { .results__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .results__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.results__empty { display: grid; justify-items: start; gap: 12px; padding: 28px; border-radius: 22px; background: linear-gradient(180deg, #131a3b, #0b1027); box-shadow: inset 0 0 0 1px var(--line); }
.results__empty p { margin: 0; color: var(--fg-2); }
.results__try { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.pager .chip[disabled] { opacity: 0.4; cursor: default; transform: none; }

/* =====================================================================
   Forms, notices and small parts shared by the account, checkout and contact pages
   ===================================================================== */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > label, .field > span:first-child { color: var(--fg); font-size: 14px; font-weight: 700; }
.field small { color: var(--fg-3); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 14px; color: var(--fg); font: 500 16px/1.35 var(--f-ui); background: #070b1c; box-shadow: inset 0 0 0 1.5px var(--line-2), inset 0 4px 10px rgba(0, 0, 0, 0.4); outline: none; transition: box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 4px rgba(255, 197, 51, 0.14); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--coral), 0 0 0 4px rgba(255, 92, 124, 0.16); }
.field__hint { margin-top: -2px; }
.field__pw { position: relative; }
.field__pw input { padding-right: 76px; }
.field__reveal { position: absolute; right: 8px; top: 50%; translate: 0 -50%; height: 34px; padding: 0 12px; border: 0; border-radius: 10px; color: var(--fg-2); font: 700 13px/1 var(--f-ui); background: rgba(255, 255, 255, 0.07); }
.field__reveal:hover { color: var(--fg); }
.field--trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; color: var(--fg-2); font-size: 14.5px; line-height: 1.5; background: rgba(255, 197, 51, 0.06); box-shadow: inset 0 0 0 1.5px rgba(255, 197, 51, 0.25); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); cursor: pointer; }
.check a { color: var(--gold); }
.form__error { margin: 0; padding: 12px 14px; border-radius: 12px; color: #ffd6de; font-size: 14.5px; background: rgba(255, 92, 124, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 92, 124, 0.4); }
.form__fine { margin: 0; color: var(--fg-3); font-size: 13.5px; }
.form__fine a { color: var(--fg-2); }
.form__submit { justify-self: start; }
.btn3d:disabled { filter: grayscale(0.85) brightness(0.7); cursor: not-allowed; transform: none; }
.btn3d:disabled:hover::after { animation: none; }
.notice { margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.notice--good { color: #cffbe4; background: rgba(46, 204, 128, 0.1); box-shadow: inset 0 0 0 1px rgba(46, 204, 128, 0.4); }
.notice--bad { color: #ffd6de; background: rgba(255, 92, 124, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 92, 124, 0.4); }
.notice:focus { outline: none; }
.muted { color: var(--fg-3); }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 99px; font: 700 12.5px/1 var(--f-ui); white-space: nowrap; }
.pill--good { color: #0d3b24; background: #6dfab0; }
.pill--wait { color: #3d2a00; background: #ffd66b; }
.pill--bad { color: #fff; background: #b8344f; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--gold); font-weight: 700; text-decoration: underline; }
.testmode { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: 10px; color: #ffe7a8; font-size: 13px; font-weight: 600; background: rgba(255, 197, 51, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 197, 51, 0.3); }
.testmode::before { content: "TEST"; padding: 2px 6px; border-radius: 6px; font-size: 10.5px; letter-spacing: 0.1em; color: #3d1a00; background: var(--gold); }
.cards { display: flex; gap: 10px; }
.cards--lg .pay-logo { width: 88px; height: 54px; }

/* sign-in, sign-up and password pages */
.authpage { display: grid; place-items: center; padding: calc(var(--nav-h) + 40px) 16px 80px; background: radial-gradient(50% 40% at 50% 0%, #182256, transparent 75%), var(--ink-1); }
.authcard { width: min(100%, 460px); padding: clamp(24px, 4vw, 38px); border-radius: 28px; background: linear-gradient(180deg, #131a3b, #0a0f26); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px rgba(0, 0, 0, 0.45); }
.authcard h1 { margin: 0 0 10px; font-size: 30px; }
.authcard__lede { margin: 0 0 22px; color: var(--fg-2); }
.authcard__alt { margin: 18px 0 0; color: var(--fg-3); font-size: 14.5px; }
.authcard__alt a { color: var(--gold); font-weight: 700; }

/* app pages: account, checkout, payment, order */
.apppage { padding: calc(var(--nav-h) + 30px) 0 80px; background: radial-gradient(50% 36% at 20% 0%, #172053, transparent 75%), var(--ink-1); }
.apppage__title { margin: 0 0 22px; font-size: 32px; }
.apppage__lede { margin: -8px 0 24px; color: var(--fg-2); }

/* =====================================================================
   Coin Booth
   ===================================================================== */
.coinbooth { padding: calc(var(--nav-h) + 28px) 0 90px; background: radial-gradient(48% 34% at 50% 0%, rgba(255, 197, 51, 0.16), transparent 75%), radial-gradient(40% 30% at 90% 20%, rgba(179, 148, 251, 0.12), transparent 70%), var(--ink-1); }
.coinbooth__hero { max-width: 760px; margin: 0 auto clamp(26px, 4vw, 44px); text-align: center; }
.coinbooth__eyebrow { margin: 0 0 16px; }
@media (max-width: 520px) { .coinbooth__eyebrow .tag3d { gap: 7px; padding: 0 12px; letter-spacing: 0.1em; font-size: 10.5px; white-space: nowrap; } }
@media (max-width: 350px) { .coinbooth__eyebrow .tag3d { gap: 5px; padding: 0 10px; letter-spacing: 0.06em; font-size: 9.5px; } }
.coinbooth__hero h1 { margin: 0; font-size: clamp(48px, 7vw, 92px); line-height: 1; }
.coinbooth__lede { margin: 18px auto 0; max-width: 56ch; color: var(--fg-2); font-size: clamp(16px, 1.3vw, 18.5px); }
.cb-sec { margin-top: clamp(30px, 4vw, 48px); }
.cb-sec__title { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; color: var(--fg); font: 700 clamp(20px, 2vw, 25px)/1.2 var(--f-ui); }
.cb-sec__n { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #3d1a00; font: 400 19px/1 var(--f-sign);
  background: radial-gradient(circle at 35% 28%, #fff7d1, #ffc531 55%, #e07f00); box-shadow: inset 0 -3px 5px rgba(138, 68, 0, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.7), 0 3px 0 #8a4400; }
.cb-sec__lede { margin: 0 0 16px 52px; color: var(--fg-3); font-size: 14.5px; }
.gamepick { display: flex; flex-wrap: wrap; gap: 10px; padding: 6px 2px 14px; margin-top: 12px; }
@media (max-width: 760px) { .gamepick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; } }
.gamepick__g { flex: none; display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 18px 0 12px; border: 0; border-radius: 999px; scroll-snap-align: start; color: var(--fg-2); font: 700 14.5px/1 var(--f-ui); background: rgba(14, 20, 46, 0.9); box-shadow: inset 0 0 0 1.5px var(--line-2); transition: color 0.2s, box-shadow 0.2s, transform 0.35s var(--spring); }
.gamepick__g .emo { font-size: 22px; }
.gamepick__g:hover { color: var(--fg); transform: translateY(-2px); }
.gamepick__g[aria-checked="true"] { color: #fff; background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 34%, #121a3a), color-mix(in srgb, var(--c1) 14%, #0b1027)); box-shadow: inset 0 0 0 2px var(--c1), 0 0 22px -4px var(--c1); }
.bundles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
@media (max-width: 1020px) { .bundles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .bundles { gap: 12px; } }
.bundle { position: relative; display: flex; flex-direction: column; align-items: center; padding: 30px 16px 22px; border-radius: 26px; text-align: center; background: linear-gradient(180deg, #141b3e, #0a0f26); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 36px rgba(0, 0, 0, 0.35); }
.bundle.is-best { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 16%, #141b3e), #0a0f26 70%); box-shadow: inset 0 0 0 2px var(--gold), 0 0 40px -10px rgba(255, 197, 51, 0.6), 0 18px 36px rgba(0, 0, 0, 0.35); }
.bundle__tag { position: absolute; top: -12px; left: 50%; translate: -50% 0; padding: 6px 12px; border-radius: 99px; white-space: nowrap; color: #3d1a00; font: 800 11.5px/1 var(--f-ui); letter-spacing: 0.08em; text-transform: uppercase; background: linear-gradient(180deg, #fff2b8, #ffc531); box-shadow: 0 3px 0 #8a4400; }
.bundle__tag--soft { color: #1a1f30; background: linear-gradient(180deg, #fff, #c8cfdf); box-shadow: 0 3px 0 #363d54; }
.bundle__icon { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 12px; border-radius: 50%; font-size: 30px; letter-spacing: -0.2em;
  background: radial-gradient(circle at 35% 28%, #2b3566, #121838); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1), inset 0 -6px 12px rgba(0, 0, 0, 0.4), 0 5px 0 #060917; }
.bundle__name { margin: 0; color: var(--fg); font: 400 21px/1 var(--f-sign); letter-spacing: 0.03em; text-transform: uppercase; }
.bundle__coins { margin: 10px 0 2px; color: var(--fg-2); font-size: 15px; }
.bundle__coins b { color: var(--fg); font-size: 28px; font-weight: 800; }
.bundle__meta { margin: 0 0 16px; color: var(--fg-3); font-size: 12.5px; }
.bundle .btn3d { margin-top: auto; min-width: 120px; }
.dial { margin-top: 16px; padding: clamp(22px, 3.4vw, 36px); border-radius: 30px; background: linear-gradient(180deg, #121a3c, #090e24); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px rgba(0, 0, 0, 0.4); }
.dial__readout { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px clamp(16px, 4vw, 48px); text-align: center; }
.dial__pay, .dial__get { display: grid; gap: 4px; }
.dial__readout small { color: var(--fg-3); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.dial__readout b { color: var(--fg); font: 400 clamp(36px, 5vw, 58px)/1 var(--f-sign); letter-spacing: 0.02em; }
.dial__get b { color: var(--gold); text-shadow: 0 0 24px rgba(255, 197, 51, 0.35); }
.dial__get em { color: var(--fg-2); font-size: 14px; font-style: normal; font-weight: 600; }
.dial__arrow { color: var(--fg-3); font-size: 30px; }
@media (max-width: 520px) { .dial__arrow { display: none; } .dial__readout { flex-direction: column; } }
.dial__track { --p: 0; position: relative; margin: clamp(26px, 4vw, 38px) 6px 40px; }
.dial__range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; position: relative; z-index: 2; }
.dial__range:focus-visible { outline: none; }
.dial__range::-webkit-slider-runnable-track { height: 16px; border-radius: 99px; background: linear-gradient(90deg, #ffb21a 0%, #ffd66b calc(var(--p) * 1%), #1b2450 calc(var(--p) * 1%)); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line-2); }
.dial__range::-moz-range-track { height: 16px; border-radius: 99px; background: #1b2450; box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line-2); }
.dial__range::-moz-range-progress { height: 16px; border-radius: 99px; background: linear-gradient(90deg, #ffb21a, #ffd66b); }
.dial__range::-webkit-slider-thumb { -webkit-appearance: none; width: 40px; height: 40px; margin-top: -12px; border: 0; border-radius: 50%;
  background: radial-gradient(70% 55% at 32% 18%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 100%), radial-gradient(130% 160% at 40% 0%, #fff7d1 0%, #ffc531 42%, #e07f00 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.85), inset 0 -6px 9px rgba(138, 68, 0, 0.55), 0 4px 0 #8a4400, 0 10px 18px rgba(0, 0, 0, 0.5); transition: transform 0.25s var(--spring); }
.dial__range::-moz-range-thumb { width: 40px; height: 40px; border: 0; border-radius: 50%; background: radial-gradient(130% 160% at 40% 0%, #fff7d1 0%, #ffc531 42%, #e07f00 100%); box-shadow: inset 0 -6px 9px rgba(138, 68, 0, 0.55), 0 4px 0 #8a4400; }
.dial__range:active::-webkit-slider-thumb { transform: scale(1.12); }
.dial__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #fff, 0 4px 0 #8a4400; }
.dial__marks { position: absolute; left: 20px; right: 20px; top: 34px; height: 30px; pointer-events: none; }
.dial__marks span { position: absolute; translate: -50% 0; display: grid; justify-items: center; gap: 1px; color: var(--fg-3); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.dial__marks i { width: 9px; height: 9px; margin-bottom: 3px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ff6b8b 55%, #a3123a); box-shadow: 0 0 8px rgba(255, 107, 139, 0.8); }
.dial__marks b { color: #ff9ab0; font-size: 11px; }
.dial__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--fg-3); font-weight: 700; font-size: 14px; }
.dial__step { display: flex; gap: 10px; }
.dial__btn { width: 44px; height: 44px; border: 0; border-radius: 50%; color: #1a1f30; font: 800 22px/1 var(--f-ui); background: radial-gradient(130% 160% at 40% 0%, #fff 0%, #d9dfeb 42%, #7e88a3 100%); box-shadow: inset 0 2px 1px #fff, 0 3px 0 #363d54; transition: transform 0.3s var(--spring); }
.dial__btn:hover { transform: scale(1.08); }
.dial__btn:active { transform: translateY(2px); box-shadow: inset 0 2px 1px #fff, 0 1px 0 #363d54; }
.dial__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0; }
.dial__facts div { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.dial__facts dt { color: var(--fg-3); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.dial__facts dd { margin: 4px 0 0; color: var(--fg); font-weight: 700; }
@media (max-width: 640px) { .dial__facts { grid-template-columns: 1fr; } .dial__marks span:nth-child(odd) b { display: none; } }
.dial__buy { display: flex; width: min(100%, 480px); margin: 0 auto; }
.dial__how { margin-top: 22px; color: var(--fg-2); font-size: 14.5px; }
.dial__how summary { cursor: pointer; color: var(--fg); font-weight: 700; }
.dial__how p { margin: 10px 0 0; }
.cb-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 30px; margin-top: clamp(30px, 4vw, 44px); padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); }
.cb-trust ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; color: var(--fg-2); font-weight: 600; font-size: 14.5px; }
.cb-trust li { display: inline-flex; align-items: center; gap: 8px; }
.cb-trust .ico { color: var(--gold); width: 18px; height: 18px; }
.cb-how { margin-top: clamp(46px, 6vw, 70px); text-align: center; }
.cb-how h2 { margin: 0 0 22px; font-size: clamp(28px, 3vw, 40px); }
.cb-how ol { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; text-align: left; }
.cb-how li { counter-increment: s; position: relative; display: grid; gap: 6px; padding: 22px 20px 20px 64px; border-radius: 20px; background: linear-gradient(180deg, #131a3b, #0b1027); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg-2); font-size: 14.5px; }
.cb-how li::before { content: counter(s); position: absolute; left: 18px; top: 20px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #1a1f30; font: 400 17px/1 var(--f-sign); background: radial-gradient(130% 160% at 40% 0%, #fff 0%, #d9dfeb 42%, #7e88a3 100%); box-shadow: 0 3px 0 #363d54; }
.cb-how b { color: var(--fg); font-size: 16px; }
.cb-how__fine { max-width: 70ch; margin: 22px auto 0; color: var(--fg-3); font-size: 13.5px; }
.cb-how__fine a { color: var(--fg-2); }
@media (max-width: 760px) { .cb-how ol { grid-template-columns: 1fr; } .cb-sec__lede { margin-left: 0; } }

/* =====================================================================
   Checkout, payment and order pages
   ===================================================================== */
.checkout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } }
.receipt { position: relative; margin-bottom: 10px; padding: 26px 24px 20px; border-radius: 24px 24px 0 0; color: #1a1f30; background: linear-gradient(180deg, #fffdf6, #f1eee2); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; background: radial-gradient(circle at 10px 0, #f1eee2 9px, transparent 9.6px) 0 0 / 20px 10px repeat-x; }
.receipt__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 2px dashed #d8d2bd; }
.receipt__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-size: 27px; background: radial-gradient(circle at 35% 28%, color-mix(in srgb, var(--c1, #ffc533) 40%, #fff), var(--c1, #ffc533)); box-shadow: inset 0 -4px 6px rgba(0, 0, 0, 0.2); }
.receipt__head small { display: block; color: #6b6655; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.receipt__head b { font-size: 19px; }
.receipt__ref { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: 0.04em; }
.receipt__rows { margin: 8px 0 0; }
.receipt__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #e3ddc8; }
.receipt__rows dt { color: #6b6655; }
.receipt__rows dd { margin: 0; font-weight: 700; text-align: right; }
.receipt__rows small { color: #6b6655; font-weight: 500; }
.receipt__total { border-bottom: 0 !important; font-size: 19px; }
.receipt__total dt { color: #1a1f30 !important; font-weight: 800; }
.receipt__fine { margin: 6px 0 0; color: #6b6655; font-size: 12.5px; }
.checkout__side { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 3vw, 30px); border-radius: 24px; background: linear-gradient(180deg, #131a3b, #0a0f26); box-shadow: inset 0 0 0 1px var(--line-2); }
.checkout__side h2 { margin: 0; color: var(--fg); font-size: 22px; font-weight: 700; }
.checkout__side h3 { margin: 0 0 6px; color: var(--fg); font-size: 17px; font-weight: 700; }
.checkout__side p { margin: 0; color: var(--fg-2); }
.checkout__side a:not(.btn3d) { color: var(--gold); }
.checkout__side > .btn3d { justify-self: start; }
.checkout__auth { display: flex; flex-wrap: wrap; gap: 12px; }
.form__who b { color: var(--fg); overflow-wrap: anywhere; }
.paybox { display: grid; justify-items: center; gap: 16px; max-width: 560px; margin: 0 auto; padding: clamp(26px, 4vw, 40px); border-radius: 28px; text-align: center; background: linear-gradient(180deg, #f7f8fc, #e3e7f2); color: #1a1f30; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.paybox__flag { margin: 0; padding: 6px 14px; border-radius: 99px; color: #3d1a00; font: 800 12px/1 var(--f-ui); letter-spacing: 0.12em; text-transform: uppercase; background: #ffc533; }
.paybox h2 { margin: 0; font: 800 44px/1 var(--f-ui); }
.paybox h2 small { font-size: 18px; color: #5d6380; }
.paybox__what { margin: 0; color: #3b4160; }
.paybox__what span { color: #5d6380; font-size: 14px; font-family: ui-monospace, Menlo, monospace; }
.paybox__note { margin: 0; color: #5d6380; font-size: 14px; }
.paybox__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.paybox .form__error { color: #8a1a30; background: #ffe1e6; }
.orderhead { margin-bottom: 24px; padding: 18px 22px; border-radius: 20px; }
.orderhead h2 { margin: 0; font-size: 24px; font-weight: 800; }
.orderhead p { margin: 4px 0 0; }
.orderhead--good { color: #cffbe4; background: linear-gradient(90deg, rgba(46, 204, 128, 0.18), rgba(46, 204, 128, 0.04)); box-shadow: inset 0 0 0 1px rgba(46, 204, 128, 0.45); }
.orderhead--bad { color: #ffd6de; background: linear-gradient(90deg, rgba(255, 92, 124, 0.18), rgba(255, 92, 124, 0.04)); box-shadow: inset 0 0 0 1px rgba(255, 92, 124, 0.45); }
.orderhead--wait { color: #ffe7a8; background: linear-gradient(90deg, rgba(255, 197, 51, 0.16), rgba(255, 197, 51, 0.03)); box-shadow: inset 0 0 0 1px rgba(255, 197, 51, 0.4); }
.mailnote { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); font-size: 14.5px; }
.delivered { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: rgba(46, 204, 128, 0.1); box-shadow: inset 0 0 0 1px rgba(46, 204, 128, 0.4); }
.delivered .emo { font-size: 36px; }
.delivered h2 { font-size: 19px !important; }
.refundbox { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); }
.refundbox summary { cursor: pointer; color: var(--fg); font-weight: 700; }
.refundbox .form { margin-top: 12px; gap: 12px; }

/* account */
.acct { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(18px, 3vw, 32px); align-items: start; }
@media (max-width: 900px) { .acct { grid-template-columns: 1fr; } }
.acct__card, .acct__orders { padding: clamp(20px, 3vw, 28px); border-radius: 24px; background: linear-gradient(180deg, #131a3b, #0a0f26); box-shadow: inset 0 0 0 1px var(--line-2); }
.acct h2 { margin: 0 0 16px; color: var(--fg); font-size: 21px; font-weight: 700; }
.acct__facts { display: grid; gap: 12px; margin: 0 0 16px; }
.acct__facts dt { color: var(--fg-3); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.acct__facts dd { margin: 3px 0 0; color: var(--fg); overflow-wrap: anywhere; }
.acct__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 16px; }
.acct .form__fine a { color: var(--gold); }
.orders { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.orders__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 4px 14px; padding: 14px 16px; border-radius: 16px; text-decoration: none; background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.2s, transform 0.3s var(--spring); }
.orders__row:hover { background: rgba(255, 255, 255, 0.06); transform: translateX(3px); }
.orders__icon { font-size: 26px; }
.orders__main { display: grid; gap: 2px; min-width: 0; }
.orders__main b { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orders__main small { color: var(--fg-3); font-size: 12.5px; }
.orders__amt { color: var(--fg); font-weight: 800; }
.orders__todo { grid-column: 2 / -1; color: #ffd66b; font-size: 12.5px; font-weight: 700; }
@media (max-width: 520px) { .orders__row { grid-template-columns: auto minmax(0, 1fr) auto; } .orders__row .pill { grid-column: 2 / -1; justify-self: start; } }
.empty { display: grid; justify-items: start; gap: 12px; color: var(--fg-2); }
.empty p { margin: 0; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(20px, 3vw, 36px); align-items: start; margin-top: 24px; }
.contact__form { padding: clamp(20px, 3vw, 28px); border-radius: 22px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.contact .notice { grid-column: 1; }
.contact__details { margin: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* =====================================================================
   Coupons as admission tickets: a cream sunburst body with a dotted border and a cut-corner frame, a ribbon
   banner, a carnival illustration and a coloured tear-off stub on the right.
   ===================================================================== */
.ticket {
  --tk-paper: #fdf1c0; --tk-ray: #fbe6a0; --tk-ink: #d9425a; --tk-line: #e46a7c; --tk-stub: #e8475f; --tk-stub-ink: #fff4d6;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(86px, 24%, 128px); min-height: 190px;
  border-radius: 10px; color: var(--tk-ink); text-decoration: none; isolation: isolate;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45)); transition: transform 0.4s var(--spring);
}
.ticket:hover { transform: translateY(-4px) rotate(-0.6deg); }
.ticket__main { position: relative; overflow: hidden; display: grid; grid-template-columns: 40% 1fr; align-items: center; gap: 6px; padding: 26px 18px 24px 22px; border-radius: 10px 0 0 10px;
  background: repeating-conic-gradient(from 0deg at 34% 54%, var(--tk-paper) 0deg 7deg, var(--tk-ray) 7deg 14deg); }
/* dotted border */
.ticket__main::before { content: ""; position: absolute; inset: 8px; border: 3px dotted var(--tk-line); border-radius: 6px; opacity: 0.75; pointer-events: none; }
/* cut-corner frame: a ring made of two clipped layers */
.ticket__frame { position: absolute; inset: 16px; --cut: 16px; background: var(--tk-line);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); padding: 2.5px; pointer-events: none; }
.ticket__art { position: relative; z-index: 1; display: grid; place-items: center; }
.ticket__art svg { width: 100%; max-width: 150px; height: auto; filter: drop-shadow(0 4px 0 rgba(160, 70, 40, 0.18)); }
.ticket__body { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; gap: 2px; }
.ticket__kicker { display: flex; align-items: center; gap: 6px; font: 600 15px/1 "Oswald", "Arial Narrow", sans-serif; letter-spacing: 0.22em; text-transform: uppercase; }
.ticket__kicker i { color: var(--tk-ink); font-style: normal; font-size: 13px; }
.ticket__big { font: 600 clamp(52px, 6vw, 74px)/0.95 "Oswald", "Arial Narrow", sans-serif; letter-spacing: 0.01em; color: var(--tk-ink); text-shadow: 0 3px 0 rgba(160, 50, 60, 0.18); }
.ticket__unit { font: 600 14px/1 "Oswald", "Arial Narrow", sans-serif; letter-spacing: 0.3em; text-transform: uppercase; }
.ribbon { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 16px; color: #fff4d6; background: var(--tk-ink);
  font: 600 13px/1 "Oswald", "Arial Narrow", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; }
.ribbon::before, .ribbon::after { content: ""; position: absolute; top: 5px; width: 14px; height: 100%; background: color-mix(in srgb, var(--tk-ink), #000 22%); z-index: -1; }
.ribbon::before { left: -9px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.ribbon::after { right: -9px; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.ribbon b { color: #ffe27a; font-weight: 600; }
.ticket__fine { margin-top: 8px; font: 500 12.5px/1.35 var(--f-ui); color: #8a4b3c; }
.ticket__tag { position: absolute; z-index: 2; top: -11px; left: 22px; padding: 6px 12px; border-radius: 99px; color: #3d1a00; font: 800 11.5px/1 var(--f-ui); letter-spacing: 0.1em; text-transform: uppercase;
  background: linear-gradient(180deg, #fff2b8, #ffc531); box-shadow: 0 3px 0 #8a4400, 0 8px 14px rgba(0, 0, 0, 0.3); }
/* the stub: perforated left edge, inner frame, price */
.ticket__stub { position: relative; display: grid; place-content: center; justify-items: center; gap: 4px; padding: 18px 10px; border-radius: 0 10px 10px 0; color: var(--tk-stub-ink); text-align: center;
  background: radial-gradient(circle at 0 50%, transparent 4.5px, var(--tk-stub) 5px) 0 0 / 100% 14px repeat-y; }
.ticket__stub::before { content: ""; position: absolute; inset: 12px 10px; --cut: 10px; background: var(--tk-stub-ink); opacity: 0.85;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); padding: 2px; pointer-events: none; }
.ticket__stub small { font: 600 12px/1 "Oswald", "Arial Narrow", sans-serif; letter-spacing: 0.2em; text-transform: uppercase; }
.ticket__stub b { font: 600 clamp(28px, 3vw, 38px)/1 "Oswald", "Arial Narrow", sans-serif; }
.ticket__stub em { margin-top: 6px; padding: 7px 12px; border-radius: 99px; font: 700 12px/1 var(--f-ui); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tk-stub); background: var(--tk-stub-ink);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--spring); }
a.ticket:hover .ticket__stub em, a.ticket:focus-visible .ticket__stub em { transform: scale(1.08); }
a.ticket:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.ticket--blue { --tk-ink: #3f78ad; --tk-line: #6f9fcb; --tk-stub: #4f8fc0; }
.ticket--green { --tk-ink: #23805f; --tk-line: #4fae8b; --tk-stub: #2fa37a; }
.ticket--gold { --tk-ink: #b4581f; --tk-line: #e08a4a; --tk-stub: #e2852f; }
.ticket.is-best { filter: drop-shadow(0 0 22px rgba(255, 197, 51, 0.55)) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45)); }
@media (max-width: 520px) {
  .ticket { grid-template-columns: minmax(0, 1fr) 92px; min-height: 170px; }
  .ticket__main { grid-template-columns: 36% 1fr; padding: 22px 12px 20px 16px; }
  .ticket__big { font-size: 48px; }
  .ticket__kicker { font-size: 13px; letter-spacing: 0.16em; }
}
/* small ticket chip for balances and prices */
.tix { display: inline-block; vertical-align: -0.18em; flex: none; }
.coupon-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 9px; border-radius: 8px; color: #8a2a3a; font: 700 14px/1 var(--f-ui); text-decoration: none;
  background: linear-gradient(90deg, #fff1c2 0 calc(100% - 26px), #e8475f calc(100% - 26px)); box-shadow: 0 3px 0 #9a2a3a, 0 8px 14px rgba(0, 0, 0, 0.3); padding-right: 34px; position: relative; }
.coupon-chip::after { content: "★"; position: absolute; right: 8px; top: 50%; translate: 0 -50%; color: #fff4d6; font-size: 12px; }
.coupon-chip .tix { width: 20px; height: 14px; }

/* ---------- header: coupon chip and avatar head ---------- */
.nav__coupons { flex: none; height: 38px; font-size: 15px; }
.nav__coupons[hidden] { display: none; }
.nav__face { display: grid; place-items: center; width: 30px; height: 30px; margin-left: -4px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #2c3570, #151b3d); }
.nav__face svg { width: 34px; height: auto; margin-top: 4px; }
.nav__acct .nav__face + .ico { display: none; }
@media (max-width: 1100px) { .nav__acct .nav__face { margin-left: 0; } }
@media (max-width: 900px) { .nav__coupons { height: 34px; padding-right: 30px; font-size: 13.5px; } }
@media (max-width: 400px) { .nav__coupons .tix { display: none; } }
/* Signed in, the coupon chip joins the header row. The buttons keep their size; instead the account and random
   buttons go icon-only earlier, and where the row is still too tight the logo stands in for the wordmark. */
.nav__random, .nav__acct { flex: none; }
@media (max-width: 1500px) {
  .nav:has(.nav__coupons:not([hidden])) .nav__acct span:not(.nav__face) { display: none; }
  .nav:has(.nav__coupons:not([hidden])) .nav__acct { width: 44px; padding: 0; justify-content: center; }
  .nav:has(.nav__coupons:not([hidden])) .nav__random { --px: 0; width: var(--h); }
  .nav:has(.nav__coupons:not([hidden])) .nav__rl { display: none; }
}
@media (min-width: 1181px) and (max-width: 1320px), (max-width: 440px) {
  .nav:has(.nav__coupons:not([hidden])) .brand__name { display: none; }
}
.coupon-chip--lg { height: 46px; font-size: 22px; padding: 0 44px 0 12px; }
.coupon-chip--lg .tix { width: 26px; height: 18px; }

/* ---------- Coupon Booth: tickets, balance, uses ---------- */
.tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 22px; margin-top: 22px; }
@media (max-width: 1180px) { .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tickets { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.cb-from { margin-bottom: 18px; }
.cb-balance { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: -6px auto 20px; width: fit-content; max-width: 100%; padding: 10px 16px; border-radius: 16px; color: var(--fg-2); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
.cb-balance a { color: var(--gold); }
.dial--tix { display: grid; gap: 4px; }
.ticket--live { max-width: 560px; width: 100%; margin: 0 auto 6px; }
.ticket--live:hover { transform: none; }
.ticket--live .ticket__big { transition: transform 0.25s var(--spring); }
.dial--tix .dial__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .dial--tix .dial__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .dial--tix .dial__facts { grid-template-columns: 1fr; } }
.cb-uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
@media (max-width: 1020px) { .cb-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cb-uses { grid-template-columns: 1fr; } }
.cb-use { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 20px; color: var(--fg-2); text-decoration: none; font-size: 14.5px; background: linear-gradient(180deg, #141b3e, #0a0f26); box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 0.35s var(--spring), box-shadow 0.2s; }
.cb-use:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px rgba(255, 197, 51, 0.5); }
.cb-use .emo { font-size: 32px; }
.cb-use b { color: var(--fg); font-size: 17px; }

/* ---------- account: coupons, history, avatar ---------- */
.acct__col { display: grid; gap: clamp(18px, 3vw, 28px); align-content: start; }
.acct__bal { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 18px; }
.acct__sub { margin: 4px 0 10px; color: var(--fg-3); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ledger { list-style: none; display: grid; gap: 6px; margin: 0 0 12px; padding: 0; max-height: 420px; overflow-y: auto; }
.ledger li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); }
.ledger__d { font: 800 17px/1 var(--f-ui); text-align: right; }
.ledger__d.is-in { color: #6dfab0; }
.ledger__d.is-out { color: #ff9ab0; }
.ledger__what { color: var(--fg-2); font-size: 14px; }
.ledger__what b { color: var(--fg); }
.ledger__what small { display: block; color: var(--fg-3); font-size: 12px; }
.acct__avatar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.acct__avatar svg { flex: none; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4)); }
.acct__avatar > div { flex: 1 1 200px; display: grid; gap: 12px; justify-items: start; color: var(--fg-2); }
.acct__avatar p { margin: 0; }
.orders__icon .tix { width: 30px; height: 20px; }
.receipt__icon .tix { width: 34px; height: 23px; }
.receipt__icon { background: radial-gradient(circle at 35% 28%, #fff6d0, #ffd86b) !important; }
.delivered .coupon-chip { flex: none; }

/* ---------- Avatar Studio ---------- */
.studio { padding: calc(var(--nav-h) + 26px) 0 80px; background: radial-gradient(46% 34% at 30% 4%, rgba(179, 148, 251, 0.18), transparent 70%), radial-gradient(40% 30% at 90% 30%, rgba(69, 227, 232, 0.1), transparent 70%), var(--ink-1); }
.studio__hero { margin-bottom: 22px; }
.studio__hero h1 { margin: 0; font-size: clamp(40px, 5.6vw, 72px); line-height: 1; }
.studio__lede { margin: 14px 0 0; max-width: 60ch; color: var(--fg-2); }
.studio__grid { display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr); gap: clamp(18px, 3vw, 34px); align-items: start; }
@media (max-width: 900px) { .studio__grid { grid-template-columns: 1fr; } }
.studio__stage { position: sticky; top: calc(var(--nav-h) + 12px); display: grid; justify-items: center; gap: 10px; padding: 22px 18px 20px; border-radius: 28px; text-align: center;
  background: radial-gradient(60% 50% at 50% 30%, rgba(255, 230, 150, 0.16), transparent 70%), linear-gradient(180deg, #161d45, #0a0f26); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px rgba(0, 0, 0, 0.4); }
@media (max-width: 900px) { .studio__stage { position: relative; top: 0; } }
.studio__spot { position: relative; display: grid; justify-items: center; }
.studio__preview { position: relative; z-index: 1; animation: studioBob 3.6s ease-in-out infinite; }
.studio__preview svg { display: block; width: min(260px, 64vw); height: auto; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.45)); }
.studio__pedestal { width: 210px; height: 36px; margin-top: -26px; border-radius: 50%; background: radial-gradient(70% 70% at 50% 30%, #fff1b0, #ffc533 45%, #b86e00); box-shadow: 0 8px 0 #7a4400, 0 18px 30px rgba(0, 0, 0, 0.5); }
@keyframes studioBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.studio__name { margin: 8px 0 0; font: 400 26px/1 var(--f-sign); color: var(--fg); letter-spacing: 0.03em; text-transform: uppercase; }
.studio__locked { display: grid; justify-items: center; gap: 8px; width: 100%; padding: 12px; border-radius: 14px; color: #ffe7a8; font-size: 14px; background: rgba(255, 197, 51, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 197, 51, 0.3); }
.studio__locked p { margin: 0; }
.studio__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.studio__status { min-height: 1.3em; margin: 0; color: var(--fg-2); font-size: 14px; }
.studio__status.is-good { color: #8ff5c4; }
.studio__status.is-bad { color: #ffb3c1; }
.studio__status.is-wait { color: #ffe7a8; }
.studio__bal { margin: 0; color: var(--fg-2); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.studio__bal a { color: var(--gold); }
.studio__shop { min-width: 0; }
.studio__tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.studio__tab { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; color: var(--fg-2); font: 700 14.5px/1 var(--f-ui); background: rgba(14, 20, 46, 0.9); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.studio__tab b { padding: 3px 7px; border-radius: 99px; font-size: 11.5px; background: rgba(255, 255, 255, 0.08); }
.studio__tab[aria-selected="true"] { color: #161b2c; background: radial-gradient(130% 160% at 40% 0%, #fff 0%, #d9dfeb 42%, #8f99b3 100%); box-shadow: inset 0 2px 1px #fff, 0 4px 0 #363d54; }
.studio__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.studio__filters .chip[aria-pressed="true"] { color: #161b2c; background: #ffd86b; }
.studio__hint { margin: 0 0 12px; color: var(--fg-3); font-size: 13.5px; }
.studio__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.studio__item { position: relative; display: grid; justify-items: center; gap: 4px; padding: 22px 8px 10px; border: 0; border-radius: 18px; color: var(--fg-2); text-align: center; background: linear-gradient(180deg, #161d45, #0c1230); box-shadow: inset 0 0 0 1.5px var(--line); transition: transform 0.3s var(--spring), box-shadow 0.2s; }
.studio__item:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.studio__item b { color: var(--fg); font-size: 12.5px; line-height: 1.25; }
.studio__item small { font-size: 12px; font-weight: 700; }
.studio__item.is-on { box-shadow: inset 0 0 0 2.5px var(--gold), 0 0 22px -6px rgba(255, 197, 51, 0.8); }
.studio__item.is-on::after { content: "✓"; position: absolute; top: 6px; right: 8px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #3d1a00; font: 900 13px/1 var(--f-ui); background: var(--gold); }
.studio__item.is-locked .studio__thumb, .studio__item.is-unlock .studio__thumb { opacity: 0.9; }
.studio__item.is-nofit { opacity: 0.45; }
.studio__item.is-nofit:hover { transform: none; }
.studio__thumb { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 16px; background: radial-gradient(circle at 50% 40%, #2a3366, #151b3d); }
.studio__thumb svg { width: 76px; height: 76px; }
.studio__nothing { font-size: 30px; color: var(--fg-3); }
.studio__state { color: #8ff5c4; }
.studio__item.is-unlock .studio__state { color: #ffe7a8; }
.studio__item.is-nofit .studio__state { color: var(--fg-3); }
.studio__price { display: inline-flex; align-items: center; gap: 4px; color: #ffe27a; }
.studio__rar { position: absolute; top: 6px; left: 8px; font: 800 9.5px/1 var(--f-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.studio__rar--rare { color: #7cc6ff; }
.studio__rar--epic { color: #c9a6ff; }
.studio__rar--legendary { color: #ffd86b; }
.studio__dialog { width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; color: var(--fg-2); background: #0e1434; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 70px rgba(0, 0, 0, 0.6); }
.studio__dialog::backdrop { background: rgba(3, 5, 12, 0.75); }
.studio__dialog form { display: grid; gap: 14px; padding: 22px; }
.studio__dialog h2 { margin: 0; color: var(--fg); font-size: 20px; font-weight: 800; }
.studio__dlg-list { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; }
.studio__dlg-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.studio__dlg-list .studio__thumb { width: 56px; height: 56px; border-radius: 12px; }
.studio__dlg-list .studio__thumb svg { width: 54px; height: 54px; }
.studio__dlg-list b { display: block; color: var(--fg); }
.studio__dlg-list small { color: var(--fg-3); }
.studio__dlg-sum { margin: 0; }
.studio__dlg-actions { display: flex; justify-content: flex-end; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .studio__preview { animation: none; } }

/* =====================================================================
   Help bot
   ===================================================================== */
.bot__launch { position: fixed; z-index: 260; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; color: #fff; font: 400 18px/1 var(--f-sign); letter-spacing: 0.04em; text-transform: uppercase;
  background: radial-gradient(70% 55% at 32% 16%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 100%), radial-gradient(130% 160% at 40% 0%, #c9b5ff 0%, #8a63f2 45%, #4b28b8 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, 0.7), inset 0 -6px 10px rgba(40, 10, 110, 0.55), 0 5px 0 #2b1270, 0 16px 30px rgba(0, 0, 0, 0.5); transition: transform 0.4s var(--spring); }
.bot__launch svg { width: 24px; height: 24px; }
.bot__launch:hover { transform: translateY(-2px) scale(1.04); }
.bot-open .bot__launch { transform: scale(0.9); opacity: 0.0; pointer-events: none; }
@media (max-width: 560px) {
  body:has(.cookie) .bot__launch { display: none; }
  .bot__launch { width: 52px; height: 52px; padding: 0; justify-content: center; }
  .bot__launch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
/* on the home page the phone layout fills the screen with the wheel, so the help button waits below it */
.bot__launch.is-tucked { transform: translateY(140%); opacity: 0; pointer-events: none; }
.bot { position: fixed; z-index: 270; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 110px)); border-radius: 24px; overflow: hidden; background: #0c1230; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 70px rgba(0, 0, 0, 0.6); }
.bot[hidden] { display: none; }
@media (max-width: 560px) { .bot { right: 12px; left: 12px; width: auto; bottom: 12px; height: min(560px, calc(100vh - 90px)); } }
.bot__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(180deg, #1a2150, #121942); box-shadow: 0 1px 0 var(--line); }
.bot__face { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--f-emoji); font-size: 22px; background: radial-gradient(circle at 35% 28%, #c9b5ff, #6a43d8); }
.bot__head div { display: grid; flex: 1; min-width: 0; }
.bot__head b { color: var(--fg); }
.bot__head small { color: var(--fg-3); font-size: 12.5px; }
.bot__x { width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--fg-2); font-size: 24px; line-height: 1; background: rgba(255, 255, 255, 0.06); }
.bot__x:hover { color: var(--fg); background: rgba(255, 255, 255, 0.12); }
.bot__log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow-y: auto; }
.bot__msg { max-width: 86%; margin: 0; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; animation: rise 0.25s var(--out); }
.bot__msg--bot { align-self: flex-start; color: var(--fg-2); background: #18204a; border-bottom-left-radius: 6px; }
.bot__msg--bot a { color: var(--gold); }
.bot__msg--me { align-self: flex-end; color: #1a1f30; background: #e6e9f5; border-bottom-right-radius: 6px; }
.bot__quick { display: flex; gap: 6px; padding: 0 12px 10px; overflow-x: auto; scrollbar-width: none; }
.bot__quick button { flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: 99px; color: var(--fg-2); font: 600 13px/1 var(--f-ui); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px var(--line-2); }
.bot__quick button:hover { color: var(--fg); }
.bot__form { display: flex; gap: 8px; padding: 10px 12px 12px; box-shadow: 0 -1px 0 var(--line); }
.bot__form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 0; border-radius: 12px; color: var(--fg); font: 500 15px/1 var(--f-ui); background: #070b1c; box-shadow: inset 0 0 0 1.5px var(--line-2); outline: none; }
.bot__form input:focus { box-shadow: inset 0 0 0 2px var(--gold); }
.bot__form button { height: 44px; padding: 0 16px; border: 0; border-radius: 12px; color: #3d1a00; font: 700 14px/1 var(--f-ui); background: linear-gradient(180deg, #ffe08a, #ffb21a); }

/* =====================================================================
   Creators page (creators.html): the "coming soon" creator programme, its guide and the early registration form
   ===================================================================== */
.creators { padding: calc(var(--nav-h) + 28px) 0 90px; background: radial-gradient(48% 30% at 50% 0%, rgba(69, 227, 232, 0.13), transparent 75%), radial-gradient(40% 26% at 12% 12%, rgba(255, 197, 51, 0.12), transparent 70%), radial-gradient(40% 26% at 90% 18%, rgba(179, 148, 251, 0.12), transparent 70%), var(--ink-1); }
.creators code { padding: 1px 6px; border-radius: 6px; color: #ffe7a8; font: 500 0.88em/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: rgba(255, 197, 51, 0.08); overflow-wrap: anywhere; }
.cr-hero { max-width: 820px; margin: 0 auto; text-align: center; }
.cr-hero__eyebrow { margin: 0 0 16px; }
.cr-hero h1 { margin: 0; font-size: clamp(42px, 6.6vw, 88px); line-height: 1; }
.cr-hero__lede { margin: 18px auto 0; max-width: 60ch; color: var(--fg-2); font-size: clamp(16px, 1.3vw, 18.5px); }
.cr-hero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 18px; margin-top: 28px; }
.cr-road { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: clamp(34px, 5vw, 52px) 0 0; padding: 0; text-align: left; }
.cr-road li { position: relative; display: grid; gap: 4px; padding: 16px 18px 16px 46px; border-radius: 18px; color: var(--fg-3); font-size: 14px; background: rgba(11, 17, 39, 0.75); box-shadow: inset 0 0 0 1px var(--line); }
.cr-road li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: #2b3566; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.15); }
.cr-road b { color: var(--fg-2); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.cr-road .is-now { color: var(--fg-2); background: linear-gradient(180deg, rgba(255, 197, 51, 0.12), rgba(11, 17, 39, 0.8)); box-shadow: inset 0 0 0 1.5px rgba(255, 197, 51, 0.5); }
.cr-road .is-now b { color: var(--gold); }
.cr-road .is-now::before { background: radial-gradient(circle at 35% 30%, #fff, var(--gold) 55%, #b45d00); box-shadow: 0 0 12px rgba(255, 190, 60, 0.9); animation: blink 2.4s ease-in-out infinite; }

.cr-sec { margin-top: clamp(56px, 7vw, 96px); scroll-margin-top: calc(var(--nav-h) + 12px); }
.cr-sec > h2 { margin: 0; text-align: center; font-size: clamp(30px, 3.4vw, 46px); }
.cr-sec__lede { max-width: 62ch; margin: 12px auto clamp(22px, 3vw, 32px); text-align: center; color: var(--fg-2); }
.cr-sec > h2 + .steps, .cr-sec > h2 + .cr-aud, .cr-sec > h2 + .cr-faq { margin-top: clamp(22px, 3vw, 32px); }

.cr-aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cr-card { padding: 24px 24px 26px; border-radius: 24px; background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 9%, #131a3b), #0b1027 70%); box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 36px rgba(0, 0, 0, 0.3); }
.cr-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--fg); font-size: 20px; font-weight: 700; }
.cr-card h3 .emo { font-size: 24px; }
.cr-card > p { margin: 0 0 18px; color: var(--fg-2); font-size: 15px; }
.cr-card .feats { grid-template-columns: 1fr; gap: 10px; font-size: 15px; }

.cr-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; }
.cr-grid li { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 20px; border-radius: 20px; background: linear-gradient(180deg, #131a3b, #0b1027); box-shadow: inset 0 0 0 1px var(--line); }
.cr-grid .emo { grid-row: span 2; font-size: 26px; }
.cr-grid b { color: var(--fg); font-size: 16.5px; }
.cr-grid span:last-child { color: var(--fg-2); font-size: 14.5px; }

/* guide: a sticky table of contents beside the document */
.cr-guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.cr-toc { position: sticky; top: calc(var(--nav-h) + 16px); padding: 18px 20px; border-radius: 18px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.cr-toc p { margin: 0 0 10px; color: var(--fg-3); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.cr-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.cr-toc li::marker { color: var(--gold); font-weight: 700; }
.cr-toc a { color: var(--fg-2); font-weight: 600; text-decoration: none; }
.cr-toc a:hover { color: var(--fg); text-decoration: underline; }
.cr-doc.legal { min-width: 0; max-width: none; padding: 0; }
.cr-doc h3 { scroll-margin-top: calc(var(--nav-h) + 16px); margin: 40px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--fg); font-size: 22px; font-weight: 700; }
.cr-doc h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cr-doc h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cr-table { margin: 16px 0; overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-2); }
.cr-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.cr-table th, .cr-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cr-table tr:last-child > * { border-bottom: 0; }
.cr-table thead th { color: var(--fg-3); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--ink-2); }
.cr-table tbody th { width: 30%; min-width: 150px; color: var(--fg); font-weight: 700; }
.cr-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0; }
.cr-split > div { padding: 18px 20px 12px; border-radius: 16px; }
.cr-split ul { margin: 0; padding-left: 20px; font-size: 15px; }
.cr-yes { background: rgba(46, 204, 128, 0.07); box-shadow: inset 0 0 0 1px rgba(46, 204, 128, 0.35); }
.cr-yes h4 { color: #6dfab0; }
.cr-yes li::marker { color: #6dfab0; }
.cr-no { background: rgba(255, 92, 124, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 92, 124, 0.35); }
.cr-no h4 { color: #ff8da3; }
.cr-no li::marker { color: #ff8da3; }
.cr-code { margin: 14px 0; padding: 16px 18px; overflow-x: auto; border-radius: 14px; background: #050816; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; line-height: 1.6; }
.cr-code code { padding: 0; color: #d9e0ff; background: none; overflow-wrap: normal; white-space: pre; }
.cr-rule { margin: 16px 0; padding: 18px 22px 8px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 197, 51, 0.1), rgba(255, 197, 51, 0.03)); box-shadow: inset 0 0 0 1.5px rgba(255, 197, 51, 0.45); }
.cr-rule p.cr-rule__t { margin: 0 0 4px; color: var(--gold); font-size: 17px; font-weight: 800; }
.cr-planned { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; color: #ffe7a8; font-size: 14px; font-weight: 600; background: rgba(255, 197, 51, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 197, 51, 0.3); }
.cr-planned::before { content: "PLANNED"; padding: 2px 6px; border-radius: 6px; color: #3d1a00; font-size: 10.5px; letter-spacing: 0.1em; background: var(--gold); }
.cr-example { max-width: 460px; margin: 18px 0; padding: 18px 22px; border-radius: 18px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.cr-example p.cr-example__t { margin: 0 0 10px; color: var(--fg); font-weight: 700; }
.cr-example dl { margin: 0; }
.cr-example dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cr-example dd { margin: 0; color: var(--fg); font-variant-numeric: tabular-nums; }
.cr-example .is-total { border-bottom: 0; padding-top: 10px; color: var(--fg); font-weight: 700; font-size: 16.5px; }
.cr-example .is-total dd { color: #6dfab0; }

/* registration */
.cr-reg__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.cr-reg__card { padding: clamp(22px, 3.4vw, 36px); border-radius: 28px; background: linear-gradient(180deg, #141b3e, #0a0f26); box-shadow: inset 0 0 0 1.5px rgba(255, 197, 51, 0.35), 0 0 60px -20px rgba(255, 197, 51, 0.35), 0 30px 60px rgba(0, 0, 0, 0.4); }
.cr-reg__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cr-reg__side { padding: 8px 4px; }
.cr-reg__side h3 { margin: 0 0 14px; color: var(--fg); font-size: 18px; font-weight: 700; }
.cr-reg__side h3 + * { margin-bottom: 30px; }
.cr-reg__side .feats { grid-template-columns: 1fr; gap: 10px; font-size: 15px; }
.cr-reg__side a { color: var(--gold); overflow-wrap: anywhere; }
.cr-next { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--fg-2); font-size: 15px; }
.cr-next li::marker { color: var(--gold); font-weight: 700; }
.cr-done { margin: 0; padding: 22px 24px; }
.cr-done p { margin: 0; }
.cr-done p.cr-done__t { margin-bottom: 6px; color: #fff; font-size: 20px; font-weight: 800; }

.cr-faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.cr-faq details { border-radius: 16px; background: linear-gradient(180deg, #131a3b, #0b1027); box-shadow: inset 0 0 0 1px var(--line); }
.cr-faq details[open] { box-shadow: inset 0 0 0 1px var(--line-2); }
.cr-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; color: var(--fg); font-weight: 700; cursor: pointer; list-style: none; }
.cr-faq summary::-webkit-details-marker { display: none; }
.cr-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--gold); font-size: 20px; line-height: 1; background: rgba(255, 197, 51, 0.1); transition: transform 0.3s var(--out); }
.cr-faq details[open] summary::after { transform: rotate(45deg); }
.cr-faq summary:focus-visible { outline-offset: -3px; border-radius: 16px; }
.cr-faq details p { margin: 0; padding: 0 20px 18px; color: var(--fg-2); }
.cr-faq a { color: var(--gold); }

.cr-end { margin-top: clamp(56px, 7vw, 96px); padding: clamp(34px, 5vw, 56px) 22px; border-radius: 30px; text-align: center; background: radial-gradient(60% 90% at 50% 0%, rgba(255, 92, 124, 0.2), transparent 75%), linear-gradient(180deg, #151c42, #0a0f26); box-shadow: inset 0 0 0 1px var(--line-2); }
.cr-end h2 { margin: 0; font-size: clamp(28px, 3.4vw, 46px); }
.cr-end p { margin: 12px 0 26px; color: var(--fg-2); }

@media (max-width: 1020px) {
  .cr-aud, .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cr-aud > :last-child { grid-column: 1 / -1; }
  .cr-guide { grid-template-columns: minmax(0, 1fr); }
  .cr-toc { position: static; }
  .cr-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; }
  .cr-reg__in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cr-road, .cr-aud, .cr-grid, .cr-split, .cr-reg__row { grid-template-columns: 1fr; }
  .cr-toc ol { grid-template-columns: 1fr; }
  .cr-table tbody th { min-width: 120px; }
}
@media (max-width: 520px) {
  .cr-hero__cta .btn3d { width: 100%; }
  .cr-reg__card .form__submit { width: 100%; }
}

/* =====================================================================
   Motion
   ===================================================================== */
@keyframes shine { to { transform: translateX(420%) skewX(-18deg); } }
@keyframes inflate { 0% { opacity: 0; transform: scale(0.62) translateY(8px); } 55% { opacity: 1; transform: scale(1.05) translateY(-2px); } 100% { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes wheelDot { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes shuffle { 0%, 100% { transform: none; } 30% { transform: translateX(-3px) scaleX(-1); } 65% { transform: translateX(3px); } }
@keyframes carPop { 0% { transform: scale(1); } 35% { transform: scale(1.07) translateY(-3%); } 100% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
@media (max-width: 520px) {
  .dial__buy { height: auto; min-height: 58px; padding: 12px 18px; white-space: normal; text-align: center; line-height: 1.15; --fs: 19px; }
}
