/* Play365 landing page. Mobile first, RTL, no build step. */
@layer reset, tokens, base, layout, components, sections, demos, utilities, motion;

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: "Karantina"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/karantina-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Karantina"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/karantina-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/assistant-hebrew.woff2") format("woff2-variations"), url("../fonts/assistant-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/assistant-latin.woff2") format("woff2-variations"), url("../fonts/assistant-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Metric-matched fallbacks so lines do not re-wrap when the web fonts arrive */
@font-face { font-family: "Karantina Fallback"; src: local("Arial Narrow"), local("ArialNarrow"), local("Arial"); size-adjust: 66%; ascent-override: 98%; descent-override: 30%; }
@font-face { font-family: "Assistant Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 96%; ascent-override: 102%; descent-override: 36%; }

/* ---------------------------------------------------------------- reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  img, svg, video, canvas { display: block; max-width: 100%; }
  img, video { height: auto; }
  button, input { font: inherit; color: inherit; }
  button { background: none; border: 0; padding: 0; cursor: pointer; }
  a { color: inherit; }
  dialog { padding: 0; border: 0; background: none; color: inherit; max-width: none; max-height: none; }
  [hidden] { display: none !important; }
}

/* ---------------------------------------------------------------- tokens */
@layer tokens {
  :root {
    --ink-0: #070708; --ink-1: #0B0B0D; --ink-2: #131316; --ink-3: #1C1C20; --ink-4: #26262B;
    --line: rgb(255 255 255 / .08); --line-2: rgb(255 255 255 / .14);
    --text: #F4EFE6; --text-2: #BDB6A8; --text-3: #8C877D;
    --lime: #A9ED01; --lime-hi: #CBFF52; --lime-lo: #7DB300; --on-lime: #0A0A0A;
    --gold-1: #FBEB93; --gold-2: #F3DE83; --gold-3: #E5C970; --gold-4: #D9B355; --gold-5: #B38530; --gold-6: #7A5718;
    --gold-text: #E5C970;
    --red: #D7263D;
    --foil: linear-gradient(176deg, #FFF6D0 0%, #FBEB93 20%, #E2B552 44%, #9C6B24 52%, #E9C66F 60%, #FFF0BF 72%, #B98A35 100%);
    --lime-grad: linear-gradient(180deg, #CBFF52 0%, #A9ED01 55%, #8FCB00 100%);
    --gold-grad: linear-gradient(180deg, #FBEB93 0%, #E5C970 45%, #B38530 100%);

    --ff-display: "Karantina", "Karantina Fallback", "Arial Hebrew", "Noto Sans Hebrew", Arial, sans-serif;
    --ff-body: "Assistant", "Assistant Fallback", "Arial Hebrew", "Noto Sans Hebrew", Arial, sans-serif;
    --fs-hero: clamp(3.5rem, 1.2rem + 11vw, 9rem);
    --fs-h2: clamp(2.75rem, 1.75rem + 4.5vw, 5.75rem);
    --fs-motto: clamp(2.125rem, 1.4rem + 3.4vw, 4.25rem);
    --fs-h3: clamp(2rem, 1.55rem + 2vw, 3.25rem);
    --fs-lead: clamp(1.125rem, 1.02rem + .45vw, 1.375rem);
    --fs-body: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);
    --fs-ui: 1.0625rem; --fs-small: .9375rem; --fs-legal: .8125rem;
    --hero-em: 5.25;

    --gutter: clamp(1rem, .4rem + 2.6vw, 2.5rem);
    --section: clamp(4.5rem, 3rem + 7vw, 10rem);
    --maxw: 72rem;
    --r-btn: 14px; --r-card: 20px; --r-story: 22px; --r-scene: 28px; --r-pill: 999px;

    --sh-1: inset 0 1px 0 rgb(255 255 255 / .06), 0 8px 24px rgb(0 0 0 / .45);
    --sh-2: 0 24px 64px -12px rgb(0 0 0 / .7);
    --glow-lime: 0 0 0 1px rgb(169 237 1 / .35), 0 10px 32px -8px rgb(169 237 1 / .45);
    --glow-gold: 0 0 0 1px rgb(229 201 112 / .35), 0 10px 32px -8px rgb(229 201 112 / .4);

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);
    --ease-snap: cubic-bezier(.2, 0, 0, 1);
    --ease-back: cubic-bezier(.34, 1.56, .64, 1);

    --hdr-h: 60px;
    --hdr-shift: calc(var(--hdr-h) + env(safe-area-inset-top, 0px));
    --carbon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cdefs%3E%3ClinearGradient id='h'%3E%3Cstop offset='0' stop-color='%230E0E11'/%3E%3Cstop offset='.5' stop-color='%23171719'/%3E%3Cstop offset='1' stop-color='%230C0C0F'/%3E%3C/linearGradient%3E%3ClinearGradient id='v' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23101013'/%3E%3Cstop offset='.5' stop-color='%23141417'/%3E%3Cstop offset='1' stop-color='%230B0B0E'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23h)'%3E%3Crect width='3' height='3'/%3E%3Crect x='3' width='3' height='3'/%3E%3Crect y='3' width='3' height='3'/%3E%3Crect x='9' y='3' width='3' height='3'/%3E%3Crect x='6' y='6' width='3' height='3'/%3E%3Crect x='9' y='6' width='3' height='3'/%3E%3Crect x='3' y='9' width='3' height='3'/%3E%3Crect x='6' y='9' width='3' height='3'/%3E%3C/g%3E%3Cg fill='url(%23v)'%3E%3Crect x='6' width='3' height='3'/%3E%3Crect x='9' width='3' height='3'/%3E%3Crect x='3' y='3' width='3' height='3'/%3E%3Crect x='6' y='3' width='3' height='3'/%3E%3Crect y='6' width='3' height='3'/%3E%3Crect x='3' y='6' width='3' height='3'/%3E%3Crect y='9' width='3' height='3'/%3E%3Crect x='9' y='9' width='3' height='3'/%3E%3C/g%3E%3C/svg%3E");
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --ink-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  @media (min-width: 64em) { :root { --hdr-h: 72px; } }
  :root.hdr-hidden { --hdr-shift: 0px; }
}

/* ---------------------------------------------------------------- base */
@layer base {
  html { background: var(--ink-1); color-scheme: dark; scroll-padding-top: calc(var(--hdr-h) + 16px); }
  html:not([data-motion="reduce"]) { scroll-behavior: smooth; }
  body {
    min-height: 100vh; min-height: 100svh;
    font: 400 var(--fs-body)/1.65 var(--ff-body);
    color: var(--text);
    background-color: var(--ink-1);
    background-image: radial-gradient(120% 70% at 50% 0%, rgb(255 255 255 / .035), transparent 60%), var(--carbon);
    background-size: auto, 12px 12px;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    text-rendering: optimizeLegibility;
  }
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
    background-image: var(--grain); opacity: .035;
  }
  @media (prefers-contrast: more) { body { background-image: none; } body::after { display: none; } }
  ::selection { background: var(--lime); color: var(--on-lime); }
  :focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
  .btn--lime:focus-visible, .ticket:focus-visible { outline-color: var(--text); }
  a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
  bdi { unicode-bidi: isolate; white-space: nowrap; }
  h1, h2, h3 { font-weight: 700; }
}

/* ---------------------------------------------------------------- layout */
@layer layout {
  .wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
  .section { padding-block: var(--section); position: relative; }
  .h2 { font: 700 var(--fs-h2)/.95 var(--ff-display); letter-spacing: .005em; text-wrap: balance; margin-block-end: .32em; }
  .h3 { font: 700 var(--fs-h3)/1 var(--ff-display); text-wrap: balance; }
  .lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2); max-width: 40ch; text-wrap: pretty; }
  .foil { color: var(--gold-3); }
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .foil {
      background-image: var(--foil);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent; color: transparent;
      -webkit-box-decoration-break: clone; box-decoration-break: clone;
    }
  }
  @media (forced-colors: active) { .foil { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; } }
}

/* ---------------------------------------------------------------- components */
@layer components {
  .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
  .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; }
  .skip { position: fixed; inset-block-start: 10px; inset-inline-start: 10px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--lime); color: var(--on-lime); font-weight: 800; text-decoration: none; transform: translateY(-160%); transition: transform .2s; }
  .skip:focus { transform: none; }

  /* buttons */
  .btn {
    --h: 54px;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--h); padding: 0 22px; border-radius: var(--r-btn);
    font: 700 var(--fs-ui)/1.1 var(--ff-body); letter-spacing: .005em; white-space: nowrap; text-decoration: none;
    color: var(--text); cursor: pointer; user-select: none; -webkit-user-select: none;
    touch-action: manipulation;
    transition: transform .25s var(--ease-out), box-shadow .3s var(--ease-out), background-color .3s;
  }
  .btn .icon { width: 22px; height: 22px; }
  .btn:active { transform: scale(.97); }
  .btn--lime { background: var(--lime-grad); color: var(--on-lime); box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), inset 0 -2px 0 rgb(0 0 0 / .18), 0 12px 30px -12px rgb(169 237 1 / .6); }
  .btn--glass { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16), inset 0 1px 0 rgb(255 255 255 / .1); }
  .btn--gold { background: var(--gold-grad); color: #241703; box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), inset 0 -2px 0 rgb(0 0 0 / .2), 0 12px 28px -12px rgb(229 201 112 / .55); }
  .btn--sm { --h: 42px; padding: 0 15px; font-size: .97rem; gap: 8px; }
  .btn--lg { --h: 66px; justify-content: flex-start; padding: 0 22px; font-size: 1.15rem; }
  .btn--lg small { margin-inline-start: auto; font-weight: 600; font-size: .95rem; opacity: .75; }
  .btn--inline { align-self: flex-start; }
  .btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .35) 50%, transparent 70%);
    transform: translateX(-130%);
  }
  @media (hover: hover) {
    .btn:hover { transform: translateY(-2px); }
    .btn--lime:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), inset 0 -2px 0 rgb(0 0 0 / .18), 0 16px 40px -12px rgb(169 237 1 / .8); }
    .btn--glass:hover { background: rgb(255 255 255 / .1); }
    .btn:hover::after { transform: translateX(130%); transition: transform .8s var(--ease-out); }
  }
  .btn[disabled] { opacity: .55; cursor: default; }

  .iconbtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); touch-action: manipulation; }
  .iconbtn .icon { width: 22px; height: 22px; }
  .textbtn { margin-top: 14px; font-weight: 700; color: var(--text-2); text-decoration: underline; text-underline-offset: .25em; padding: 8px 4px; }

  .live-dot { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
  .live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; color: var(--lime); opacity: 0; animation: ping 2.4s var(--ease-out) infinite; }
  .btn--lime .live-dot { background: var(--on-lime); }
  .btn--lime .live-dot::after { color: var(--on-lime); }

  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 600; color: var(--text-2); background: rgb(255 255 255 / .045); box-shadow: inset 0 0 0 1px var(--line); }
  .chip .icon { width: 18px; height: 18px; color: var(--gold-3); }
  .chip--age { font-weight: 800; color: var(--text); }

  .tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .tags li { padding: 7px 14px; border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 600; color: var(--text-2); background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--line); }

  .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
  .cta-row--center { justify-content: center; }
  @media (max-width: 29.99em) { .cta-row .btn { flex: 1 1 100%; } }

  /* story card (hero + reels) */
  .story-card {
    position: relative; isolation: isolate; overflow: hidden;
    aspect-ratio: 480 / 848; border-radius: var(--r-story);
    background: var(--ink-3);
    box-shadow: 0 0 0 1px rgb(229 201 112 / .4), 0 30px 60px -24px rgb(0 0 0 / .9), 0 0 60px -20px rgb(169 237 1 / .35);
  }
  .story-card__poster, .story-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
  .story-card__video { opacity: 0; transition: opacity .5s; }
  .story-card.is-playing .story-card__video { opacity: 1; }
  .story-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .5) 0%, transparent 22%, transparent 55%, rgb(0 0 0 / .78) 100%); pointer-events: none; }
  .story-card__bars { position: absolute; inset-block-start: 10px; inset-inline: 10px; display: flex; gap: 4px; pointer-events: none; }
  .story-card__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .35); overflow: hidden; }
  .story-card__bars i:first-child { background: rgb(255 255 255 / .9); }
  .story-card__who { position: absolute; inset-block-start: 22px; inset-inline-start: 12px; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; pointer-events: none; text-shadow: 0 1px 4px rgb(0 0 0 / .6); }
  .story-card__who img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px var(--lime); }
  .story-card__open { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; padding: 18px; text-align: start; border-radius: inherit; touch-action: manipulation; }
  .story-card__open:focus-visible { outline-offset: -4px; }
  .story-card__cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); background: rgb(255 255 255 / .14); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 800; font-size: .98rem; }
  .story-card__cta .icon { width: 20px; height: 20px; color: var(--lime); }
  .story-card__title { font: 700 1.6rem/1 var(--ff-display); text-shadow: 0 2px 10px rgb(0 0 0 / .6); }
  .story-card__meta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--text-2); }
  .story-card__meta .icon { width: 16px; height: 16px; color: var(--lime); }
  .story-card__pause { position: absolute; z-index: 2; inset-block-end: 16px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgb(0 0 0 / .45); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); opacity: 0; transition: opacity .3s; touch-action: manipulation; }
  .story-card__pause .icon { width: 16px; height: 16px; }
  .story-card.is-playing .story-card__pause, .story-card.is-paused .story-card__pause, .story-card__pause:focus-visible { opacity: 1; }
  .story-card__pause .icon--play, .story-card.is-paused .story-card__pause .icon--pause { display: none; }
  .story-card.is-paused .story-card__pause .icon--play { display: block; }
  @media (hover: hover) {
    .story-card__open:hover .story-card__cta { background: rgb(255 255 255 / .22); }
  }
}

/* ---------------------------------------------------------------- sections */
@layer sections {
  /* header */
  .hdr { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: transform .45s var(--ease-out); }
  .hdr::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
    background: linear-gradient(rgb(255 255 255 / .07), rgb(255 255 255 / .02)), rgb(11 11 13 / .62);
    -webkit-backdrop-filter: blur(16px) saturate(165%); backdrop-filter: blur(16px) saturate(165%);
    box-shadow: inset 0 -1px 0 rgb(229 201 112 / .18), 0 10px 30px -18px rgb(0 0 0 / .9);
  }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hdr::before { background: rgb(11 11 13 / .94); } }
  @media (prefers-reduced-transparency: reduce) { .hdr::before { background: var(--ink-1); -webkit-backdrop-filter: none; backdrop-filter: none; } }
  .hdr.is-scrolled::before { opacity: 1; }
  .hdr.is-hidden { transform: translateY(-110%); }
  .hdr__bar { height: var(--hdr-h); display: flex; align-items: center; gap: 12px; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
  .hdr__logo { display: block; flex: none; border-radius: 8px; transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
  .hdr__logo img { height: 28px; width: auto; }
  .js .hdr:not(.has-logo) .hdr__logo { opacity: 0; transform: translateY(-6px); pointer-events: none; }
  .hdr__nav { display: none; }
  .hdr__actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
  .hdr__menu { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--line); touch-action: manipulation; }
  .hdr__menu .icon { width: 24px; height: 24px; }
  @media (min-width: 64em) {
    .hdr__logo img { height: 34px; }
    .hdr__nav { display: flex; gap: 4px; margin-inline: auto; }
    .hdr__nav a { position: relative; padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: 1rem; color: var(--text-2); text-decoration: none; transition: color .2s; }
    .hdr__nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transition: transform .35s var(--ease-out); }
    .hdr__nav a:hover { color: var(--text); }
    .hdr__nav a:hover::after { transform: none; }
    .hdr__actions { margin-inline-start: 0; }
    .hdr__menu { display: none; }
    .hdr .btn--sm { --h: 46px; padding: 0 18px; }
  }

  /* hero */
  .hero { position: relative; overflow: hidden; overflow: clip; padding-block: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + clamp(1.25rem, 4vw, 3.5rem)) clamp(3rem, 6vw, 5.5rem); }
  .hero__light { position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(55% 42% at 50% -4%, rgb(169 237 1 / .2), transparent 72%),
      radial-gradient(38% 30% at 50% 0%, rgb(255 255 240 / .08), transparent 70%),
      radial-gradient(45% 40% at 12% 85%, rgb(229 201 112 / .1), transparent 70%); }
  .hero__grid { position: relative; display: grid; gap: clamp(2.5rem, 6vw, 4rem); justify-items: center; text-align: center; }
  .hero__copy { width: 100%; container-type: inline-size; display: flex; flex-direction: column; align-items: center; }
  .hero__markwrap { position: relative; display: block; width: min(80vw, 440px); }
  .hero__mark { width: 100%; filter: drop-shadow(0 10px 30px rgb(0 0 0 / .6)); }
  .hero__markwrap::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgb(255 252 230 / .85) 50%, transparent 62%) -200% 0 / 250% 100% no-repeat;
    -webkit-mask: url("../img/wordmark-960.webp") center / 100% 100% no-repeat; mask: url("../img/wordmark-960.webp") center / 100% 100% no-repeat;
    mix-blend-mode: overlay; opacity: 0;
  }
  .js .hero__markwrap::after { animation: shine 1.6s var(--ease-io) .55s 1 both; }
  .hero__title { display: flex; flex-direction: column; align-items: inherit; font: 700 var(--fs-hero)/.92 var(--ff-display); letter-spacing: .005em; }
  .hero__title .hero__markwrap { margin-bottom: clamp(1rem, 3vw, 1.75rem); }
  .hero__title .reel, .hero__title .hero__line { align-self: stretch; }
  @supports (width: 1cqi) { .hero__title { font-size: min(var(--fs-hero), calc(100cqi / var(--hero-em))); } }
  .reel { position: relative; display: block; height: 1.12em; overflow: hidden; cursor: pointer; }
  .reel__strip { display: block; }
  .reel__item { display: block; height: 1.12em; line-height: 1.12em; }
  .reel__item { color: var(--gold-3); }
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .reel__item { background-image: var(--foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  }
  .reel::before, .reel::after { content: ""; position: absolute; inset-inline: 50% auto; width: 2.6em; height: 1px; transform: translateX(50%); background: linear-gradient(90deg, transparent, rgb(229 201 112 / .7), transparent); opacity: .55; transition: opacity .3s; }
  .reel::before { top: 0; }
  .reel::after { bottom: 0; }
  .reel.is-spinning { -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
  .reel.is-spinning::before, .reel.is-spinning::after { opacity: 1; }
  .hero__line { display: block; margin-top: .04em; }
  .hero__lead { margin-top: clamp(1rem, 2.5vw, 1.5rem); max-width: 34ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
  .hero__copy .cta-row { margin-top: 26px; justify-content: center; width: 100%; }
  .hero__copy .chips { margin-top: 22px; justify-content: center; }
  .hero__story { width: min(70vw, 300px); }
  .js .hero__lead, .js .hero__copy .cta-row, .js .hero__copy .chips { animation: rise .9s var(--ease-out) both; }
  .js .hero__lead { animation-delay: .15s; }
  .js .hero__copy .cta-row { animation-delay: .28s; }
  .js .hero__copy .chips { animation-delay: .4s; }
  .js .hero__story { animation: card-in 1.2s var(--ease-out) .35s both; }
  @media (min-width: 64em) {
    .hero { min-height: min(100svh, 980px); display: grid; align-items: center; }
    .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; justify-items: start; text-align: start; column-gap: clamp(2rem, 5vw, 5rem); }
    .hero__copy { align-items: flex-start; }
    .hero__markwrap { width: 520px; max-width: 100%; }
    .reel::before, .reel::after { inset-inline: 0 auto; transform: none; }
    .hero__copy .cta-row, .hero__copy .chips { justify-content: flex-start; }
    .hero__story { justify-self: center; width: min(100%, 340px); transform: rotate(-3deg); }
  }

  /* LED ribbon */
  .ribbon { position: relative; overflow: hidden; padding-block: 14px; background: linear-gradient(180deg, #08080A, #111114); border-block: 1px solid rgb(229 201 112 / .22); }
  .ribbon::before, .ribbon::after { content: ""; position: absolute; inset-block: 0; width: 12%; z-index: 1; pointer-events: none; }
  .ribbon::before { inset-inline-start: 0; background: linear-gradient(to left, #0B0B0D, transparent); }
  .ribbon::after { inset-inline-end: 0; background: linear-gradient(to right, #0B0B0D, transparent); }
  .ribbon__track { display: flex; width: max-content; }
  .ribbon.is-ready .ribbon__track { animation: ribbon 46s linear infinite; }
  .ribbon:hover .ribbon__track, .ribbon:focus-within .ribbon__track { animation-play-state: paused; }
  .ribbon__set { display: flex; align-items: center; gap: 26px; padding-inline-end: 26px; flex: none;
    font: 700 clamp(2.35rem, 1.8rem + 2vw, 3.1rem)/1 var(--ff-display); color: var(--lime); white-space: nowrap;
    -webkit-mask-image: radial-gradient(circle at center, #000 1.3px, transparent 1.65px); mask-image: radial-gradient(circle at center, #000 1.3px, transparent 1.65px);
    -webkit-mask-size: 3px 3px; mask-size: 3px 3px; }
  .ribbon__suit svg { width: .6em; height: .6em; fill: var(--gold-2); }
  .ribbon__suit--red svg { fill: #FF4D5E; }

  /* payout */
  .payout__grid { display: grid; gap: clamp(3rem, 6vw, 4rem); align-items: center; }
  .mottos { margin-top: clamp(1.75rem, 4vw, 2.75rem); }
  .motto { padding-block: 18px; border-top: 1px solid var(--line); font: 700 var(--fs-motto)/.98 var(--ff-display); text-wrap: balance; }
  .motto:last-child { border-bottom: 1px solid var(--line); }
  .js .motto { clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--ease-out); }
  .js .motto:nth-child(2) { transition-delay: .12s; }
  .js .motto:nth-child(3) { transition-delay: .24s; }
  .js .mottos.is-in .motto { clip-path: inset(0 0 0 0); }
  @media (min-width: 64em) { .payout__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: 5rem; } }

  /* proof card */
  .proof { margin-top: clamp(3.5rem, 7vw, 6rem); display: grid; gap: 28px; align-items: center; justify-items: center; padding: clamp(18px, 3vw, 40px); border-radius: var(--r-scene); text-decoration: none; color: inherit;
    background: radial-gradient(70% 90% at 85% 0%, rgb(42 171 238 / .1), transparent 60%), linear-gradient(160deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015));
    box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); transition: box-shadow .4s; }
  .proof__phone { position: relative; width: 290px; max-width: 100%; aspect-ratio: 9 / 13; border-radius: 30px; overflow: hidden; background: #0E1621; box-shadow: 0 0 0 7px #1A1A1F, 0 0 0 8px rgb(229 201 112 / .35), 0 30px 60px -20px rgb(0 0 0 / .9); }
  .proof__bar { position: absolute; inset-block-start: 0; inset-inline: 0; display: flex; align-items: center; gap: 10px; padding: 16px 14px 12px; background: #17212B; }
  .proof__bar img { width: 36px; height: 36px; border-radius: 50%; }
  .proof__bar span { display: flex; flex-direction: column; line-height: 1.2; font-size: .95rem; }
  .proof__bar small { color: #7F91A4; font-size: .78rem; }
  .proof__chat { position: absolute; inset: 70px 12px 12px; display: flex; flex-direction: column; gap: 9px; filter: blur(4px); opacity: .85; }
  .proof__chat .b { display: block; height: 30px; width: 70%; border-radius: 14px; background: #182533; }
  .proof__chat .b--out { align-self: flex-end; background: #2B5278; width: 58%; }
  .proof__chat .b--img { height: 92px; width: 66%; background: linear-gradient(135deg, #1F3A2A, #3A5B2A 50%, #18301F); }
  .proof__chat .b--wide { width: 80%; background: linear-gradient(135deg, #3A2F12, #6B5520 50%, #2A220E); }
  .proof__chat .b--short { width: 40%; }
  .proof__lock { position: absolute; inset-inline: 0; bottom: 18%; margin-inline: auto; width: max-content; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); background: rgb(0 0 0 / .65); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); font-weight: 800; font-size: .95rem; }
  .proof__lock .icon { width: 18px; height: 18px; color: var(--lime); }
  .proof__copy { display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; }
  .proof__text { color: var(--text-2); font-size: var(--fs-lead); line-height: 1.5; max-width: 40ch; }
  .proof .btn--inline { align-self: center; margin-top: 6px; }
  .proof__alt { margin-top: 16px; text-align: center; }
  .proof__alt a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 700; }
  .proof__alt .icon { width: 20px; height: 20px; color: var(--lime); }
  @media (hover: hover) { .proof:hover { box-shadow: inset 0 0 0 1px rgb(229 201 112 / .35), var(--sh-2); } }
  @media (min-width: 48em) {
    .proof { grid-template-columns: auto minmax(0, 1fr); justify-items: start; column-gap: clamp(2rem, 5vw, 4.5rem); }
    .proof__copy { text-align: start; align-items: flex-start; }
    .proof .btn--inline { align-self: flex-start; }
  }

  /* worlds */
  .worlds { position: relative; padding-top: var(--section); display: flex; flex-direction: column; }
  .worlds__head { order: -3; }
  .switcher { order: -2; }
  @media (min-width: 64em) { .world--sports { order: -1; } .switcher__sports { order: -1; } }
  .worlds__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .worlds__head .lead { margin-inline: auto; }
  .providers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; margin-top: 30px; }
  .providers img { height: 26px; width: auto; opacity: .92; }
  .providers .providers__pp { height: 54px; }
  .switcher { position: sticky; top: calc(var(--hdr-shift) + 10px); z-index: 40; display: flex; justify-content: center; margin-top: clamp(2rem, 5vw, 3rem); padding-inline: 8px; pointer-events: none; transition: top .45s var(--ease-out); }
  .switcher__inner { position: relative; display: flex; gap: 2px; padding: 5px; border-radius: var(--r-pill); pointer-events: auto;
    background: rgb(16 16 19 / .74); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), inset 0 1px 0 rgb(255 255 255 / .08), 0 12px 30px -12px rgb(0 0 0 / .8); }
  .switcher a { position: relative; z-index: 1; padding: 10px 15px; border-radius: var(--r-pill); font-weight: 800; font-size: .95rem; line-height: 1.2; color: var(--text-2); text-decoration: none; white-space: nowrap; transition: color .3s; touch-action: manipulation; }
  .js .switcher a[aria-current] { color: var(--on-lime); }
  .no-js .switcher a[aria-current] { color: var(--text); }
  .switcher__ind { position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--w, 0px); transform: translateX(var(--x, 0px)); border-radius: var(--r-pill); background: var(--lime-grad); box-shadow: 0 6px 18px -6px rgb(169 237 1 / .7); transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
  @media (max-width: 23.5em) { .switcher a { padding: 9px 11px; font-size: .88rem; } }
  @media (min-width: 48em) { .switcher a { padding: 11px 22px; font-size: 1rem; } }

  .world { position: relative; isolation: isolate; padding-block: clamp(4rem, 9vw, 8rem); scroll-margin-top: calc(var(--hdr-h) + 70px); }
  .world::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
  .world--sports::before { background: radial-gradient(60% 50% at 70% 20%, rgb(169 237 1 / .07), transparent 70%); }
  .world--live::before { background: radial-gradient(60% 55% at 30% 45%, rgb(10 70 48 / .35), transparent 70%); }
  .world--slots::before { background: radial-gradient(60% 55% at 30% 45%, rgb(255 181 71 / .1), transparent 70%); }
  .world--poker::before { background: radial-gradient(60% 55% at 30% 45%, rgb(110 20 36 / .3), transparent 70%); }
  .world { border-top: 1px solid var(--line); }
  .world__grid { display: grid; gap: 26px; grid-template-areas: "title" "stage" "body"; }
  .world__title { grid-area: title; display: flex; flex-direction: column; gap: 6px; }
  .world__name { font: 700 clamp(4.25rem, 2.6rem + 7.5vw, 8.75rem)/.82 var(--ff-display); color: var(--gold-3); }
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .world__name { background-image: var(--foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-top: .06em; }
  }
  .world__claim { font: 700 var(--fs-h3)/1 var(--ff-display); color: var(--text); text-wrap: balance; }
  .world__stage { grid-area: stage; min-width: 0; }
  .world__body { grid-area: body; }
  .world__body > p { color: var(--text-2); max-width: 46ch; text-wrap: pretty; }
  .world__body .tags { margin-block: 18px 26px; }
  .world__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
  .world__provider { height: 24px; width: auto; opacity: .9; }
  .world__provider--pp { height: 50px; }
  @media (min-width: 64em) {
    .world__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "title stage" "body stage"; column-gap: clamp(2.5rem, 5vw, 5rem); row-gap: 28px; align-items: start; }
    .world__title { align-self: end; }
  }

  /* reels */
  .reels .wrap { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
  .reels__track { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 26px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .reels__track::-webkit-scrollbar { display: none; }
  .reels__track .story-card { flex: 0 0 min(68vw, 290px); scroll-snap-align: center; }
  @media (min-width: 56em) {
    .reels__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); overflow: visible; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; }
    .reels__track .story-card:nth-child(2) { transform: translateY(32px); }
  }
  @media (hover: hover) {
    .reels__track .story-card { transition: box-shadow .4s, translate .5s var(--ease-out); }
    .reels__track .story-card:hover { translate: 0 -6px; box-shadow: 0 0 0 1px rgb(229 201 112 / .7), 0 40px 70px -24px rgb(0 0 0 / .9), 0 0 70px -16px rgb(169 237 1 / .45); }
  }

  /* bonus */
  .bonus__grid { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
  .bonus__card { display: flex; flex-direction: column; align-items: center; }
  @media (min-width: 64em) { .bonus__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 5rem; } }

  /* steps: casino chip timeline */
  .steps__list { position: relative; display: grid; gap: 18px; margin-block: clamp(2rem, 5vw, 3.25rem) clamp(2rem, 5vw, 3rem); }
  .step { position: relative; display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 14px; align-items: start; }
  .step::before, .step::after { content: ""; position: absolute; inset-inline-start: 32px; top: 70px; bottom: -14px; width: 2px; border-radius: 2px; }
  .step::before { background: rgb(255 255 255 / .1); }
  .step::after { background: linear-gradient(var(--lime), rgb(169 237 1 / .35)); transform-origin: top; transform: scaleY(0); transition: transform .9s var(--ease-out) .25s; }
  .step:last-child::before, .step:last-child::after { display: none; }
  .step.is-on::after, .no-js .step::after { transform: none; }
  .chipnum { --c: var(--lime); position: relative; z-index: 1; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
    background: repeating-conic-gradient(var(--c) 0 15deg, #F4EFE6 15deg 30deg);
    box-shadow: 0 10px 22px -8px rgb(0 0 0 / .8), inset 0 0 0 3px rgb(0 0 0 / .28); transition: box-shadow .5s; }
  .chipnum--gold { --c: #D9B355; }
  .chipnum--red { --c: #D7263D; }
  .chipnum b { display: grid; place-items: center; width: 72%; height: 72%; border-radius: 50%; font: 700 2rem/1 var(--ff-display); color: var(--gold-2);
    background: radial-gradient(circle at 35% 30%, #24242A, #0C0C0F); box-shadow: inset 0 0 0 2px var(--gold-4), inset 0 0 0 5px #0C0C0F, inset 0 0 0 6px rgb(229 201 112 / .35); }
  .js .step .chipnum { opacity: .35; transform: rotate(-120deg) scale(.8); transition: transform .9s var(--ease-back), opacity .5s, box-shadow .5s; }
  .js .step.is-on .chipnum { opacity: 1; transform: none; box-shadow: 0 10px 22px -8px rgb(0 0 0 / .8), inset 0 0 0 3px rgb(0 0 0 / .28), 0 0 0 5px rgb(169 237 1 / .12), 0 0 30px -4px rgb(169 237 1 / .45); }
  .step__card { position: relative; padding: 18px 16px; border-radius: 20px; background: linear-gradient(160deg, rgb(255 255 255 / .06), rgb(255 255 255 / .015)); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -24px rgb(0 0 0 / .9); }
  .js .step .step__card { opacity: .4; transform: translateY(10px); transition: opacity .6s var(--ease-out) .1s, transform .6s var(--ease-out) .1s, box-shadow .6s; }
  .js .step.is-on .step__card { opacity: 1; transform: none; }
  .step--win .step__card { background: radial-gradient(90% 80% at 100% 0%, rgb(229 201 112 / .18), transparent 65%), linear-gradient(160deg, rgb(255 255 255 / .06), rgb(255 255 255 / .015)); box-shadow: inset 0 0 0 1px rgb(229 201 112 / .45), 0 20px 40px -20px rgb(229 201 112 / .35); }
  .step__icons { display: flex; gap: 8px; margin-bottom: 12px; }
  .step__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--on-lime); background: var(--lime-grad); box-shadow: 0 8px 18px -8px rgb(169 237 1 / .7); }
  .step__icon .icon { width: 22px; height: 22px; }
  .step__icon--gold { color: #241703; background: var(--gold-grad); box-shadow: 0 8px 18px -8px rgb(229 201 112 / .7); }
  .step__icon--coin { background: none; box-shadow: none; }
  .step__icon--coin svg { width: 42px; height: 42px; }
  .step__title { font: 700 clamp(1.7rem, 1.35rem + 1.5vw, 2.4rem)/1.02 var(--ff-display); margin-bottom: 6px; }
  .step p { color: var(--text-2); max-width: 36ch; }
  @media (min-width: 48em) {
    .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .steps__list::before, .steps__list::after { content: ""; position: absolute; top: 32px; inset-inline: 16.6%; height: 2px; border-radius: 2px; }
    .steps__list::before { background: rgb(255 255 255 / .1); }
    .steps__list::after { background: linear-gradient(to left, var(--lime), rgb(169 237 1 / .35)); transform-origin: right; transform: scaleX(0); transition: transform 1.4s var(--ease-out); }
    .steps__list.is-drawn::after, .no-js .steps__list::after { transform: none; }
    .step { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
    .step::before, .step::after { display: none; }
    .step__icons { justify-content: center; }
    .step p { margin-inline: auto; }
    .step__card { width: 100%; height: 100%; }
  }

  /* sites / tickets */
  .tickets { display: grid; gap: 22px; margin-top: clamp(2rem, 5vw, 3rem); }
  @media (min-width: 60em) { .tickets { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 28px; } .tickets--single { max-width: 40rem; } }
  .ticket { --stub: 96px; --rx: 0deg; --ry: 0deg; position: relative; display: block; min-height: 196px; text-decoration: none; color: inherit; border-radius: 20px; filter: drop-shadow(0 16px 22px rgb(0 0 0 / .4)); transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease-out); touch-action: manipulation; }
  .ticket__shape { position: relative; display: flex; min-height: inherit; border-radius: 20px; overflow: hidden;
    -webkit-mask: radial-gradient(circle 11px at var(--stub) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at var(--stub) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle 11px at var(--stub) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at var(--stub) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
  .ticket__main { flex: 1; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; padding: 22px 22px 22px 18px;
    background: radial-gradient(90% 120% at 100% 0%, rgb(229 201 112 / .14), transparent 60%), linear-gradient(135deg, #1C1C21, #0F0F12);
    box-shadow: inset 0 0 0 1px rgb(229 201 112 / .3); border-start-start-radius: 20px; border-end-start-radius: 20px; }
  .ticket__gate { display: flex; flex-direction: column; align-items: center; padding-inline-end: 18px; border-inline-end: 1px dashed rgb(229 201 112 / .35); }
  .ticket__gate small { font-weight: 700; font-size: .85rem; color: var(--text-3); }
  .ticket__gate b { font: 700 4.25rem/.85 var(--ff-display); color: var(--gold-3); }
  .ticket__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  .ticket__domain { font-weight: 800; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); line-height: 1.1; letter-spacing: .01em; overflow-wrap: anywhere; }
  .ticket__games { color: var(--text-2); font-size: var(--fs-small); }
  .ticket__open { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--lime); }
  .ticket__barcode { grid-column: 1 / -1; height: 26px; opacity: .55; }
  .ticket__barcode svg { width: 100%; height: 100%; fill: var(--text-2); }
  .ticket__stub { flex: 0 0 var(--stub); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px; text-align: center; font-weight: 800; font-size: .95rem; line-height: 1.15;
    color: var(--on-lime); background: var(--lime-grad); border-start-end-radius: 20px; border-end-end-radius: 20px; }
  .ticket__stub .icon { width: 26px; height: 26px; }
  .ticket__shape::after { content: ""; position: absolute; inset-block: 14px; left: var(--stub); border-left: 2px dashed rgb(0 0 0 / .35); }
  .ticket__glare { position: absolute; inset: 0; border-radius: 20px; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(40% 60% at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / .14), transparent 70%); }
  @media (hover: hover) and (pointer: fine) {
    .ticket:hover .ticket__glare { opacity: 1; }
    .ticket:hover { transition-duration: .15s; }
  }
  .ticket:active { transform: perspective(1000px) scale(.985); }
  .sites__note { margin-top: 26px; color: var(--text-2); }
  .sites__note a { color: var(--lime); font-weight: 700; }

  /* faq */
  .faq__grid { display: grid; gap: 22px; }
  @media (min-width: 64em) { .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 5rem; } }
  .faq__list details { border-bottom: 1px solid var(--line); }
  .faq__list details:first-child { border-top: 1px solid var(--line); }
  .faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 22px; font-weight: 800; font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3rem); line-height: 1.35; cursor: pointer; list-style: none; touch-action: manipulation; }
  .faq__list summary::-webkit-details-marker { display: none; }
  .faq__list summary .icon { width: 26px; height: 26px; padding: 3px; border-radius: 50%; color: var(--lime); box-shadow: inset 0 0 0 1px rgb(169 237 1 / .35); transition: transform .35s var(--ease-out); }
  .faq__list details[open] summary .icon { transform: rotate(45deg); }
  .faq__a p { padding-bottom: 24px; color: var(--text-2); max-width: 62ch; }
  .faq__a a { color: var(--lime); }
  @supports (interpolate-size: allow-keywords) {
    .faq__list { interpolate-size: allow-keywords; }
    .faq__list details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete; }
    .faq__list details[open]::details-content { block-size: auto; }
  }

  /* final */
  .final { text-align: center; overflow: clip; }
  .final__light { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 45% at 50% 30%, rgb(229 201 112 / .12), transparent 70%), radial-gradient(40% 30% at 50% 100%, rgb(169 237 1 / .1), transparent 70%); }
  .final .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
  .final__title { font: 700 clamp(3.5rem, 1.8rem + 8.6vw, 10rem)/.88 var(--ff-display); text-wrap: balance; color: var(--gold-3); padding-top: .06em; }
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .final__title { background-image: var(--foil); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  }
  .final__lead { margin-top: 18px; margin-inline: auto; }
  .contact-cards { width: 100%; max-width: 920px; display: grid; gap: 16px; margin-top: clamp(2rem, 5vw, 3rem); }
  @media (min-width: 48em) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
  .contact-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon body" "btn btn"; align-items: center; gap: 18px; padding: 22px; border-radius: 24px; text-align: start; text-decoration: none; color: inherit;
    background: linear-gradient(160deg, rgb(255 255 255 / .06), rgb(255 255 255 / .015)); box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); transition: box-shadow .35s, transform .35s var(--ease-out); touch-action: manipulation; }
  .contact-card__icon { grid-area: icon; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: var(--on-lime); background: var(--lime-grad); box-shadow: 0 10px 26px -10px rgb(169 237 1 / .7); }
  .contact-card--wa .contact-card__icon { color: var(--text); background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
  .contact-card__icon .icon { width: 30px; height: 30px; }
  .contact-card__body { grid-area: body; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .contact-card__name { font: 700 2rem/1 var(--ff-display); }
  .contact-card__handle { font-weight: 800; font-size: 1.15rem; color: var(--text); }
  .contact-card__status { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; color: var(--lime); }
  .contact-card__btn { grid-area: btn; width: 100%; }
  .contact-card__qr { display: none; }
  @media (min-width: 64em) and (hover: hover) and (pointer: fine) {
    .contact-card { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon body qr" "btn btn qr"; }
    .contact-card__qr { grid-area: qr; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; border-radius: 16px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line); }
    .contact-card__qrbox { display: block; width: 112px; height: 112px; border-radius: 8px; background: #F4EFE6; overflow: hidden; }
    .contact-card__qrbox svg { display: block; width: 100%; height: 100%; }
    .contact-card__qr small { font-size: .78rem; color: var(--text-3); font-weight: 700; }
    .contact-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgb(229 201 112 / .35), var(--sh-2); }
  }
  .final__group { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
  .final__group a { color: var(--text-2); font-weight: 700; }

  /* footer */
  .footer { padding-block: clamp(3rem, 6vw, 4.5rem) calc(clamp(2rem, 4vw, 3rem) + 76px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgb(229 201 112 / .2); background: linear-gradient(180deg, transparent, rgb(0 0 0 / .45)); }
  @media (min-width: 64em) { .footer { padding-bottom: clamp(2rem, 4vw, 3rem); } }
  .footer__grid { display: grid; gap: 30px; }
  .footer__brand { display: flex; align-items: center; gap: 16px; }
  .footer__brand img { width: 72px; height: 72px; border-radius: 50%; }
  .footer__slogan { font: 700 1.9rem/1 var(--ff-display); color: var(--gold-3); }
  .footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
  .footer__nav a, .footer__contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--text-2); text-decoration: none; font-weight: 600; }
  .footer__nav a:hover, .footer__contact a:hover { color: var(--text); }
  .footer__contact { display: flex; flex-direction: column; }
  .footer__contact .icon { width: 20px; height: 20px; color: var(--lime); }
  .footer__legal { display: grid; gap: 16px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: var(--fs-legal); color: var(--text-3); }
  .footer__age { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--text-2); }
  .age-badge { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; font-size: .85rem; color: var(--text); box-shadow: inset 0 0 0 2px var(--red); }
  .motion-toggle { display: inline-flex; align-items: center; gap: 10px; justify-self: start; min-height: 40px; font-weight: 700; font-size: .9rem; color: var(--text-2); touch-action: manipulation; }
  .motion-toggle__track { position: relative; width: 40px; height: 24px; border-radius: 12px; background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s; }
  .motion-toggle__track span { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: transform .25s var(--ease-out); }
  .motion-toggle[aria-pressed="true"] .motion-toggle__track { background: var(--lime); }
  .motion-toggle[aria-pressed="true"] .motion-toggle__track span { transform: translateX(-16px); background: var(--on-lime); }
  @media (min-width: 64em) {
    .footer__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
    .footer__nav { grid-template-columns: repeat(2, max-content); column-gap: 40px; }
    .footer__legal { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 32px; }
  }

  /* mobile dock */
  .dock { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px max(var(--gutter), env(safe-area-inset-left, 0px)) max(10px, env(safe-area-inset-bottom, 0px));
    background: rgb(11 11 13 / .74); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
    box-shadow: inset 0 1px 0 rgb(229 201 112 / .2), 0 -10px 30px -10px rgb(0 0 0 / .7);
    transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s linear .45s; }
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .dock { background: rgb(11 11 13 / .96); } }
  .dock.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
  .dock .btn { --h: 50px; padding: 0 10px; font-size: 1rem; gap: 8px; }
  .no-js .dock { display: none; }
  @media (min-width: 64em) { .dock { display: none; } }

  /* dialogs */
  dialog::backdrop { background: rgb(0 0 0 / .72); }
  .sheet { margin: auto 0 0; width: 100%; max-width: 100%; overflow: visible; }
  .sheet__panel { position: relative; padding: 26px var(--gutter) max(26px, env(safe-area-inset-bottom, 0px)); border-radius: 26px 26px 0 0; background: linear-gradient(180deg, #19191D, #0F0F12); box-shadow: inset 0 1px 0 rgb(229 201 112 / .3), 0 -20px 60px rgb(0 0 0 / .6); }
  .sheet__close { position: absolute; inset-block-start: 16px; inset-inline-end: 16px; }
  .sheet__title { font: 700 2.4rem/1 var(--ff-display); padding-inline-end: 52px; }
  .sheet__sub { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: var(--text-2); font-weight: 600; }
  .sheet__options { display: grid; gap: 12px; margin-top: 22px; }
  .sheet[open] .sheet__panel { animation: sheet-up .45s var(--ease-out); }
  .sheet.is-closing .sheet__panel { animation: sheet-down .22s var(--ease-io) forwards; }
  @media (min-width: 48em) {
    .sheet { margin: auto; width: min(460px, 92vw); }
    .sheet__panel { border-radius: 26px; padding: 30px; }
    .sheet[open] .sheet__panel { animation: pop-in .4s var(--ease-out); }
  }

  .menu { margin: 0; width: 100%; height: 100%; max-height: 100%; inset: 0; overscroll-behavior: contain; }
  .menu::backdrop { background: var(--ink-1); }
  .menu__panel { min-height: 100%; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 22px);
    background-color: var(--ink-1); background-image: radial-gradient(70% 40% at 50% 0%, rgb(169 237 1 / .12), transparent 70%), var(--carbon); background-size: auto, 12px 12px; }
  .menu__top { height: var(--hdr-h); display: flex; align-items: center; justify-content: space-between; }
  .menu__top img { height: 28px; width: auto; }
  .menu__nav { display: flex; flex-direction: column; margin-block: 18px auto; }
  .menu__nav a { padding-block: 10px; font: 700 clamp(2.5rem, 2rem + 3vw, 3.25rem)/1 var(--ff-display); text-decoration: none; border-bottom: 1px solid var(--line); }
  .menu__ctas { display: grid; gap: 10px; margin-top: 26px; }
  .menu[open] .menu__nav a { animation: rise .6s var(--ease-out) both; }
  .menu[open] .menu__nav a:nth-child(2) { animation-delay: .03s; } .menu[open] .menu__nav a:nth-child(3) { animation-delay: .06s; }
  .menu[open] .menu__nav a:nth-child(4) { animation-delay: .09s; } .menu[open] .menu__nav a:nth-child(5) { animation-delay: .12s; }
  .menu[open] .menu__nav a:nth-child(6) { animation-delay: .15s; } .menu[open] .menu__nav a:nth-child(7) { animation-delay: .18s; }
  .menu[open] .menu__nav a:nth-child(8) { animation-delay: .21s; }
  .menu.is-closing { animation: fade-out .2s forwards; }

  .viewer { margin: 0; width: 100%; height: 100%; max-height: 100%; inset: 0; background: #000; overscroll-behavior: contain; }
  .viewer::backdrop { background: #000; }
  .viewer[open] { display: grid; place-items: center; }
  .viewer[open] .viewer__frame { animation: pop-in .35s var(--ease-out); }
  .viewer.is-closing { animation: fade-out .2s forwards; }
  .viewer__frame { position: relative; width: min(100vw, calc(100dvh * 480 / 848)); width: min(100vw, calc(100vh * 480 / 848)); aspect-ratio: 480 / 848; max-height: 100vh; max-height: 100dvh; overflow: hidden; background: #000; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
  @supports (height: 100dvh) { .viewer__frame { width: min(100vw, calc(100dvh * 480 / 848)); } }
  .viewer__video { width: 100%; height: 100%; object-fit: contain; background: #000; }
  .viewer__bars { position: absolute; inset-block-start: calc(env(safe-area-inset-top, 0px) + 10px); inset-inline: 10px; display: flex; gap: 4px; pointer-events: none; }
  .viewer__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .3); overflow: hidden; }
  .viewer__bars i { display: block; height: 100%; background: #fff; transform-origin: right; transform: scaleX(0); }
  .viewer__bars .is-done i { transform: none; }
  .viewer__top { position: absolute; inset-block-start: calc(env(safe-area-inset-top, 0px) + 22px); inset-inline: 10px; display: flex; align-items: center; gap: 8px; }
  .viewer__who { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; font-weight: 800; text-shadow: 0 1px 6px rgb(0 0 0 / .7); min-width: 0; }
  .viewer__who img { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 2px var(--lime); flex: none; }
  .viewer__who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .viewer__top .iconbtn { background: rgb(0 0 0 / .4); }
  .viewer__top .icon--mute, .viewer.is-muted .viewer__top .icon--sound { display: none; }
  .viewer.is-muted .viewer__top .icon--mute { display: block; }
  .viewer__spinner { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid rgb(255 255 255 / .2); border-top-color: var(--lime); opacity: 0; transition: opacity .2s; animation: spin .8s linear infinite; pointer-events: none; }
  .viewer.is-loading .viewer__spinner { opacity: 1; }
  .viewer__unmute { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 40px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--r-pill); background: var(--lime-grad); color: var(--on-lime); font-weight: 800; box-shadow: 0 10px 30px -10px rgb(169 237 1 / .8); }
  .viewer__unmute .icon { width: 20px; height: 20px; }
  .viewer__paused { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / .45); opacity: 0; transition: opacity .2s; pointer-events: none; }
  .viewer__paused .icon { width: 32px; height: 32px; }
  .viewer.is-held .viewer__paused { opacity: 1; }
  .viewer__nav { display: none; }
  @media (min-width: 48em) and (hover: hover) {
    .viewer__frame { border-radius: 22px; height: 92dvh; height: 92vh; width: auto; max-width: 92vw; }
    @supports (height: 100dvh) { .viewer__frame { height: 92dvh; } }
    .viewer__nav { position: fixed; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
    .viewer__nav .icon { width: 26px; height: 26px; }
    .viewer__nav--prev { right: max(24px, calc(50vw - 340px)); }
    .viewer__nav--next { left: max(24px, calc(50vw - 340px)); }
    .viewer__nav--next .icon { transform: scaleX(-1); }
    .viewer__nav:hover { background: rgb(255 255 255 / .18); }
  }

  .confetti { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 95; pointer-events: none; }
}

/* ---------------------------------------------------------------- demos (the four worlds + payout slip + scratch) */
@layer demos {
  .stage { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 18px; min-height: 440px; padding: 22px 16px; border-radius: var(--r-scene); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), var(--sh-2); }
  .stage__controls { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; text-align: center; }
  .stage__result { min-height: 3em; max-width: 34ch; font-weight: 700; color: var(--text); line-height: 1.45; text-wrap: balance; }
  .stage__result.is-win { color: var(--lime); }
  .demo-tag { font-size: .78rem; font-weight: 700; color: var(--text-3); padding: 4px 10px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); }

  /* payout slip + stamp */
  .slip { position: relative; display: block; width: min(100%, 340px); margin-inline: auto; padding: 0; text-align: start; transform: rotate(2.5deg); filter: drop-shadow(0 30px 40px rgb(0 0 0 / .6)) drop-shadow(0 0 30px rgb(229 201 112 / .12)); touch-action: manipulation; }
  .slip__paper { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 34px; border-radius: 18px 18px 0 0;
    background: radial-gradient(80% 50% at 50% 0%, rgb(229 201 112 / .12), transparent 70%), linear-gradient(180deg, #1A1A1F, #101013);
    box-shadow: inset 0 0 0 1px rgb(229 201 112 / .35);
    -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 96%, #000) 0 0 / 20px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 96%, #000) 0 0 / 20px 100% repeat-x; }
  .slip__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed rgb(229 201 112 / .35); }
  .slip__head img { width: 44px; height: 44px; border-radius: 50%; }
  .slip__head span { display: flex; flex-direction: column; line-height: 1.15; }
  .slip__head b { font: 700 1.7rem/1 var(--ff-display); color: var(--gold-3); }
  .slip__head small { font-size: .8rem; color: var(--text-3); font-weight: 700; letter-spacing: .04em; }
  .slip__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-weight: 700; color: var(--text-2); font-size: .98rem; }
  .slip__row i { height: 8px; flex: 0 0 38%; border-radius: 4px; background: linear-gradient(90deg, rgb(229 201 112 / .45), rgb(229 201 112 / .12)); }
  .slip__row:nth-of-type(3) i { flex-basis: 30%; } .slip__row:nth-of-type(4) i { flex-basis: 46%; } .slip__row:nth-of-type(5) i { flex-basis: 26%; }
  .slip__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1px dashed rgb(229 201 112 / .35); font-weight: 700; color: var(--text-2); }
  .slip__total b { font: 700 2.2rem/1 var(--ff-display); color: var(--lime); }
  .slip__barcode { height: 34px; margin-top: 4px; opacity: .5; background: repeating-linear-gradient(90deg, var(--text-2) 0 2px, transparent 2px 4px, var(--text-2) 4px 5px, transparent 5px 8px, var(--text-2) 8px 11px, transparent 11px 13px); }
  .stamp { position: absolute; left: 50%; top: 47%; display: block; padding: 5px; border: 4px solid currentColor; border-radius: 18px; color: var(--lime); transform: translate(-50%, -50%) rotate(-14deg); opacity: 0;
    -webkit-mask: var(--ink-noise); mask: var(--ink-noise); }
  .stamp__inner { display: flex; flex-direction: column; align-items: center; padding: 6px 22px 8px; border-radius: 11px; box-shadow: inset 0 0 0 2px currentColor; }
  .stamp b { font: 700 4.4rem/.9 var(--ff-display); }
  .stamp small { font-weight: 800; font-size: .78rem; letter-spacing: .32em; margin-inline-end: -.32em; }
  .no-js .stamp, .slip.is-stamped .stamp { opacity: .95; }
  .slip.is-stamped .stamp { animation: stamp .7s var(--ease-out) both; }
  .slip.is-stamped .slip__paper { animation: thud .5s .32s var(--ease-out) both; }
  .coins { position: absolute; left: 50%; top: 47%; width: 0; height: 0; pointer-events: none; }
  .coins i { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; opacity: 0;
    background: radial-gradient(circle at 35% 30%, #FFF6D0, #E5C970 45%, #8A6420 100%); box-shadow: inset 0 0 0 2px rgb(122 87 24 / .7), 0 4px 10px rgb(0 0 0 / .5); }
  .coins i:nth-child(1) { --x: -120px; --y: -110px; --r: 220deg; } .coins i:nth-child(2) { --x: 110px; --y: -130px; --r: -200deg; }
  .coins i:nth-child(3) { --x: -150px; --y: 10px; --r: 160deg; } .coins i:nth-child(4) { --x: 150px; --y: -20px; --r: -260deg; }
  .coins i:nth-child(5) { --x: -60px; --y: -170px; --r: 300deg; } .coins i:nth-child(6) { --x: 70px; --y: 120px; --r: -180deg; }
  .coins i:nth-child(7) { --x: -90px; --y: 130px; --r: 240deg; }
  .slip.is-stamped .coins i { animation: coin 1.1s .3s var(--ease-out) both; }
  .slip.is-stamped .coins i:nth-child(odd) { animation-delay: .36s; }

  /* sports: penalty, a night stadium */
  .stage--pitch { justify-content: flex-start; gap: 0; min-height: 0; padding: 74px 12px 18px;
    background:
      radial-gradient(32% 24% at 4% 0%, rgb(255 255 232 / .55), transparent 72%),
      radial-gradient(32% 24% at 96% 0%, rgb(255 255 232 / .55), transparent 72%),
      linear-gradient(180deg, #04060A 0%, #0A1210 26%, #0B1A10 40%, #0E2611 52%, #0B210E 100%); }
  .stage--pitch::before { content: ""; position: absolute; inset: 0 0 56% 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(circle, rgb(255 255 255 / .17) 0 1px, transparent 1.6px) 0 0 / 7px 6px,
      radial-gradient(circle, rgb(229 201 112 / .16) 0 1px, transparent 1.6px) 3px 3px / 9px 7px,
      radial-gradient(circle, rgb(169 237 1 / .14) 0 1px, transparent 1.6px) 5px 1px / 11px 8px;
    -webkit-mask-image: linear-gradient(#000 20%, transparent); mask-image: linear-gradient(#000 20%, transparent); }
  .stage--pitch::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
      conic-gradient(from 150deg at 4% -2%, transparent 0deg, rgb(255 255 232 / .08) 10deg, transparent 22deg),
      conic-gradient(from 188deg at 96% -2%, transparent 0deg, rgb(255 255 232 / .08) 10deg, transparent 22deg); }
  .scoreboard { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; z-index: 4; display: flex; gap: 3px; padding: 4px; border-radius: 12px; background: rgb(0 0 0 / .65); box-shadow: inset 0 0 0 1px rgb(229 201 112 / .45), 0 8px 20px -8px rgb(0 0 0 / .8); }
  .scoreboard__cell { display: flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 9px; background: #06070A; }
  .scoreboard__cell small { font-size: .72rem; font-weight: 800; color: var(--text-3); }
  .scoreboard__cell b { min-width: .7em; text-align: center; font: 700 1.65rem/1 var(--ff-display); color: var(--lime); font-variant-numeric: tabular-nums; }
  .scoreboard__cell b.is-bump { animation: bump .55s var(--ease-back); }
  .pitch__goal { position: relative; width: 96%; max-width: 580px; aspect-ratio: 600 / 260; margin-inline: auto; }
  .pitch__board { position: absolute; left: -9%; right: -9%; top: 41%; height: 19%; z-index: 0; overflow: hidden; background: linear-gradient(180deg, #08090B, #111115); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), inset 0 -2px 0 rgb(0 0 0 / .6); }
  .pitch__boardtrack { display: flex; align-items: center; gap: 16px; width: max-content; height: 100%; padding-inline-end: 16px; white-space: nowrap;
    font: 700 clamp(.95rem, .55rem + 1.6vw, 1.45rem)/1 var(--ff-display); color: var(--lime);
    -webkit-mask-image: radial-gradient(circle, #000 .95px, transparent 1.3px); mask-image: radial-gradient(circle, #000 .95px, transparent 1.3px);
    -webkit-mask-size: 2.5px 2.5px; mask-size: 2.5px 2.5px; animation: board 24s linear infinite; }
  .pitch__boardtrack i { flex: none; width: .45em; height: .45em; border-radius: 50%; background: var(--gold-2); }
  .goal { position: relative; z-index: 1; width: 100%; height: 100%; overflow: visible; }
  .goal__net { transform-origin: 50% 20%; transform-box: fill-box; }
  .stage--pitch.is-goal .goal__net { animation: net .6s var(--ease-out); }
  .keeper { position: absolute; left: 50%; bottom: 1%; z-index: 2; width: 30%; aspect-ratio: 120 / 150; transform: translateX(-50%); transform-origin: 50% 92%; pointer-events: none; animation: keeper-idle 2.6s ease-in-out infinite; }
  .stage--pitch.is-busy .keeper { animation: none; }
  .keeper svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 6px rgb(0 0 0 / .5)); }
  .zones { position: absolute; left: 8.5%; right: 8.5%; top: 11%; bottom: 3%; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .zone { position: relative; border-radius: 10px; touch-action: manipulation; transition: background-color .2s, box-shadow .2s; }
  .zone::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
  .zone::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(169 237 1 / .75); animation: target 2.4s var(--ease-out) infinite; }
  .zone:nth-child(2)::after { animation-delay: -.4s; } .zone:nth-child(3)::after { animation-delay: -.8s; }
  .zone:nth-child(4)::after { animation-delay: -1.2s; } .zone:nth-child(5)::after { animation-delay: -1.6s; } .zone:nth-child(6)::after { animation-delay: -2s; }
  .zone:focus-visible { outline-offset: -3px; }
  @media (hover: hover) { .zone:hover { background: rgb(169 237 1 / .14); box-shadow: inset 0 0 0 1.5px rgb(169 237 1 / .6); } }
  .stage.is-busy .zone { pointer-events: none; }
  .stage.is-busy .zone::after, .stage.is-busy .zone::before { opacity: .25; animation: none; }
  .pitch__field { position: relative; width: 100%; height: 196px; flex: none; }
  .pitch__field::before { content: ""; position: absolute; inset: 0 -40% 0; z-index: -1; pointer-events: none; transform: perspective(260px) rotateX(40deg); transform-origin: 50% 0;
    background: repeating-linear-gradient(90deg, rgb(255 255 255 / .035) 0 46px, transparent 46px 92px); }
  .pitch__lines { position: absolute; left: 2%; top: 0; width: 96%; height: 100%; overflow: hidden; }
  .pitch__spot { position: absolute; left: 50%; bottom: 40px; width: 92px; height: 20px; margin-left: -46px; border-radius: 50%; background: radial-gradient(rgb(0 0 0 / .6), transparent 70%); }
  .pitch__spot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: rgb(255 255 255 / .8); }
  .ball { position: absolute; left: 50%; bottom: 46px; width: 66px; height: 66px; margin-left: -33px; touch-action: none; cursor: grab; will-change: transform; z-index: 3; }
  .ball svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 8px rgb(0 0 0 / .55)); }
  .ball::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; box-shadow: 0 0 0 2px rgb(169 237 1 / .45); animation: target 2.4s var(--ease-out) infinite; pointer-events: none; }
  .stage.is-busy .ball::after { display: none; }
  .stage__flash { position: absolute; left: 50%; top: 34%; z-index: 5; transform: translate(-50%, -50%); font: 700 clamp(4rem, 3rem + 5vw, 6.5rem)/1 var(--ff-display); color: var(--gold-2); text-shadow: 0 6px 30px rgb(0 0 0 / .7); pointer-events: none; opacity: 0; white-space: nowrap; }
  .stage__flash.is-on { animation: flash 1.1s var(--ease-out) both; }
  .stage__flash.is-save { color: var(--text); }
  .stage__hud { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }

  /* sports: 1X2 odds board */
  .odds { margin-top: 16px; padding: 16px 14px; border-radius: 24px; background: radial-gradient(80% 60% at 100% 0%, rgb(169 237 1 / .08), transparent 60%), linear-gradient(160deg, rgb(255 255 255 / .05), rgb(255 255 255 / .015)); box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); }
  .odds__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
  .odds__title { display: flex; align-items: center; gap: 8px; font: 700 1.7rem/1 var(--ff-display); }
  .odds__title .icon { width: 22px; height: 22px; color: var(--lime); }
  .odds__tag { padding: 5px 10px; border-radius: var(--r-pill); font-size: .78rem; font-weight: 800; color: var(--gold-3); box-shadow: inset 0 0 0 1px rgb(229 201 112 / .4); }
  .match { padding: 14px 12px; border-radius: 18px; background: rgb(0 0 0 / .28); box-shadow: inset 0 0 0 1px var(--line); }
  .match + .match { margin-top: 10px; }
  .match__league { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: .82rem; font-weight: 800; color: var(--gold-3); }
  .match__league .icon { width: 16px; height: 16px; }
  .match__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin-bottom: 12px; }
  .team { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 800; font-size: .98rem; line-height: 1.15; }
  .team--away { flex-direction: row-reverse; text-align: end; }
  .kit { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .5)); }
  .match__vs { font-size: .78rem; font-weight: 800; color: var(--text-3); }
  .match__odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .odd { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 10px; border-radius: 13px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); transition: background-color .25s, box-shadow .25s, transform .2s var(--ease-out); touch-action: manipulation; overflow: hidden; }
  .odd small { font-size: .78rem; font-weight: 800; color: var(--text-3); }
  .odd b { display: block; font: 700 1.7rem/1 var(--ff-display); color: var(--text); font-variant-numeric: tabular-nums; }
  .odd:active { transform: scale(.96); }
  @media (hover: hover) { .odd:hover { background: rgb(255 255 255 / .1); } }
  .odd[aria-pressed="true"] { background: var(--lime-grad); box-shadow: 0 8px 22px -8px rgb(169 237 1 / .8); }
  .odd[aria-pressed="true"] small, .odd[aria-pressed="true"] b { color: var(--on-lime); }
  .odd__arrow { position: absolute; top: 7px; inset-inline-end: 8px; width: 0; height: 0; border-inline: 5px solid transparent; opacity: 0; transition: opacity .3s; }
  .odd.is-up .odd__arrow { border-bottom: 7px solid var(--lime); opacity: 1; }
  .odd.is-down .odd__arrow { border-top: 7px solid #FF5B6B; opacity: 1; }
  .odd.is-up b { animation: odd-up .8s var(--ease-out); }
  .odd.is-down b { animation: odd-down .8s var(--ease-out); }
  .odd.is-up { box-shadow: inset 0 0 0 1px rgb(169 237 1 / .6); }
  .odd.is-down { box-shadow: inset 0 0 0 1px rgb(255 91 107 / .5); }
  .odd[aria-pressed="true"].is-up, .odd[aria-pressed="true"].is-down { box-shadow: 0 8px 22px -8px rgb(169 237 1 / .8); }
  .odds__slip { margin-top: 12px; padding: 12px 14px; min-height: 3.4em; border-radius: 14px; font-weight: 700; line-height: 1.45; background: rgb(169 237 1 / .07); box-shadow: inset 0 0 0 1px rgb(169 237 1 / .22); }
  .odds__slip b { font: 700 1.45rem/1 var(--ff-display); color: var(--lime); font-variant-numeric: tabular-nums; }
  .odds__note { margin-top: 8px; font-size: .8rem; color: var(--text-3); }

  /* live: roulette */
  .stage--live { background: radial-gradient(70% 55% at 50% 36%, #0B4231 0%, #062419 46%, #030F0A 100%); justify-content: center; }
  .wheel { position: relative; width: min(100%, 440px); aspect-ratio: 1; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
  .wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .wheel__rotor { position: absolute; inset: 0; will-change: transform; }
  .wheel__ball { position: absolute; left: 50%; top: 50%; width: 3.6%; aspect-ratio: 1; margin: -1.8% 0 0 -1.8%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e8e4dc 55%, #8f8b84); box-shadow: 0 2px 4px rgb(0 0 0 / .7); will-change: transform; z-index: 2; }
  .history { display: flex; gap: 6px; justify-content: center; min-height: 32px; }
  .history li { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 800; font-size: .85rem; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); animation: pop-in .4s var(--ease-back); }
  .history .h-red { background: #C0172B; } .history .h-black { background: #141417; } .history .h-green { background: var(--lime); color: var(--on-lime); }

  /* slots */
  .stage--slots { background: radial-gradient(70% 55% at 50% 32%, rgb(255 181 71 / .2), transparent 72%), linear-gradient(180deg, #1A1208, #0B0805); justify-content: center; }
  .machine { --cell: clamp(62px, 18.5vw, 104px); display: flex; align-items: flex-end; gap: 8px; }
  .machine__cabinet { position: relative; padding: 16px 14px 18px; border-radius: 26px; background: linear-gradient(180deg, #2C2216, #130E08); box-shadow: inset 0 0 0 2px rgb(229 201 112 / .55), inset 0 2px 0 rgb(255 255 255 / .16), 0 30px 60px -20px rgb(0 0 0 / .85); }
  .machine__top { display: flex; justify-content: center; margin-bottom: 12px; }
  .machine__top img { width: calc(var(--cell) * 1.7); height: auto; }
  .machine__window { position: relative; display: grid; grid-template-columns: repeat(3, var(--cell)); gap: 7px; direction: ltr; padding: 7px; border-radius: 16px; background: #050403; box-shadow: inset 0 0 0 1px rgb(229 201 112 / .4); }
  .reelcol { position: relative; height: calc(var(--cell) * 3); overflow: hidden; border-radius: 10px; background: linear-gradient(180deg, #CFC7B4, #FFFDF7 26%, #FFFDF7 74%, #CFC7B4); }
  .reelcol::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(0 0 0 / .45), transparent 22%, transparent 78%, rgb(0 0 0 / .45)); }
  .reelcol__strip { will-change: transform; }
  .reelcol__strip > div { height: var(--cell); display: grid; place-items: center; }
  .reelcol__strip svg { width: 70%; height: 70%; transition: transform .15s; }
  .reelcol.is-fast .reelcol__strip svg { transform: scaleY(1.35); opacity: .82; }
  .payline { position: absolute; left: -4px; right: -4px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--lime) 6%, var(--lime) 94%, transparent); box-shadow: 0 0 12px rgb(169 237 1 / .8); opacity: .7; }
  .machine.is-win .payline { animation: blink .32s steps(2) 6; opacity: 1; }
  .machine__lights { position: absolute; inset: 5px; border-radius: 22px; pointer-events: none; }
  .machine__lights::before, .machine__lights::after, .machine__lights i { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 6px;
    background: radial-gradient(circle, #FFE7A0 0 2px, rgb(255 210 120 / .5) 2.6px, transparent 3.4px) 0 0 / 15px 15px;
    -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); }
  .machine__lights::after { background-position: 5px 5px; }
  .machine__lights i { display: block; background-position: 10px 10px; }
  .machine__lights::before { animation: chase 1.2s steps(1) infinite; }
  .machine__lights::after { animation: chase 1.2s steps(1) -.4s infinite; }
  .machine__lights i { animation: chase 1.2s steps(1) -.8s infinite; }
  .machine.is-win .machine__lights::before, .machine.is-win .machine__lights::after, .machine.is-win .machine__lights i { animation-duration: .3s; }
  .lever { position: relative; width: 30px; height: calc(var(--cell) * 2.6); margin-bottom: 18px; touch-action: none; }
  .lever::before { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 30px; border-radius: 8px; background: linear-gradient(90deg, #6B4A12, #E5C970, #6B4A12); }
  .lever__arm { position: absolute; left: 50%; bottom: 14px; width: 8px; height: calc(100% - 26px); margin-left: -4px; border-radius: 4px; background: linear-gradient(90deg, #8f8f96, #f2f2f5, #8f8f96); transform-origin: 50% 100%; transform: perspective(240px) rotateX(var(--pull, 0deg)); }
  .lever__knob { position: absolute; left: 50%; top: -14px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FF8A96, #D7263D 55%, #7E0A1A); box-shadow: 0 4px 10px rgb(0 0 0 / .5); }

  /* poker */
  .stage--poker { background: radial-gradient(80% 60% at 50% 42%, #4E1322 0%, #2A0A10 55%, #14050A 100%); justify-content: center; }
  .felt { --cw: clamp(58px, 15.5vw, 92px); position: relative; width: 100%; max-width: 560px; aspect-ratio: 16 / 11; border-radius: 50% / 46%;
    background: radial-gradient(70% 60% at 50% 40%, rgb(255 255 255 / .05), transparent 70%), radial-gradient(#3A0E18, #22070D);
    box-shadow: inset 0 0 0 2px rgb(229 201 112 / .6), inset 0 0 0 10px rgb(0 0 0 / .25), inset 0 0 0 12px rgb(229 201 112 / .18), inset 0 0 70px rgb(0 0 0 / .65); }
  .deck { position: absolute; top: 12%; left: 50%; width: calc(var(--cw) * .8); aspect-ratio: 5 / 7; transform: translateX(-50%); }
  .deck i { position: absolute; inset: 0; border-radius: 8px; background: #101013 var(--carbon); background-size: 12px 12px; box-shadow: inset 0 0 0 1px rgb(229 201 112 / .55), 0 2px 4px rgb(0 0 0 / .5); }
  .deck i:nth-child(2) { transform: translate(-2px, -2px); } .deck i:nth-child(3) { transform: translate(-4px, -4px); }
  .deck i:nth-child(3)::after { content: ""; position: absolute; inset: 28%; background: url("../../favicon.svg") center / contain no-repeat; }
  .hand { position: absolute; left: 50%; bottom: 13%; width: 0; height: 0; }
  .card { position: absolute; left: calc(var(--cw) / -2); bottom: 0; width: var(--cw); aspect-ratio: 5 / 7; transform-origin: 50% 85%; will-change: transform; }
  .card__inner { position: absolute; inset: 0; transform-style: preserve-3d; -webkit-transform-style: preserve-3d; transform: rotateY(180deg); }
  .card__face, .card__back { position: absolute; inset: 0; border-radius: 9px; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
  .card__face { display: grid; place-items: center; color: var(--text); background: linear-gradient(160deg, #202026, #0D0D10); box-shadow: inset 0 0 0 1px rgb(229 201 112 / .6), inset 0 0 0 4px #121216, inset 0 0 0 5px rgb(229 201 112 / .25), 0 10px 22px -8px rgb(0 0 0 / .8); }
  .card.is-red .card__face { color: #FF5B6B; }
  .card__back { transform: rotateY(180deg); background: #101013 var(--carbon); background-size: 12px 12px; box-shadow: inset 0 0 0 1px rgb(229 201 112 / .6), inset 0 0 0 5px #101013, inset 0 0 0 6px rgb(169 237 1 / .35), 0 10px 22px -8px rgb(0 0 0 / .8); }
  .card__back::after { content: ""; position: absolute; inset: 30%; background: url("../../favicon.svg") center / contain no-repeat; }
  .card__pip { width: 46%; height: 46%; fill: currentColor; }
  .card__idx { position: absolute; top: 6%; right: 9%; display: flex; flex-direction: column; align-items: center; line-height: .9; font: 700 calc(var(--cw) * .3)/.9 var(--ff-display); }
  .card__idx svg { width: calc(var(--cw) * .16); height: calc(var(--cw) * .16); fill: currentColor; margin-top: 2px; }
  .card__idx--b { top: auto; right: auto; bottom: 6%; left: 9%; transform: rotate(180deg); }
  .card.is-best .card__face { box-shadow: inset 0 0 0 2px var(--gold-2), inset 0 0 0 4px #121216, 0 0 26px -2px rgb(229 201 112 / .7), 0 10px 22px -8px rgb(0 0 0 / .8); }

  /* scratch card */
  .scratch { position: relative; width: 100%; max-width: 560px; min-height: 410px; border-radius: 24px; overflow: hidden; isolation: isolate;
    background: radial-gradient(70% 60% at 50% 0%, rgb(169 237 1 / .18), transparent 70%), linear-gradient(160deg, #1B1B20, #0E0E11);
    box-shadow: inset 0 0 0 1px rgb(229 201 112 / .45), 0 30px 60px -24px rgb(0 0 0 / .9), 0 0 60px -24px rgb(229 201 112 / .4); }
  @media (min-width: 40em) { .scratch { min-height: 0; aspect-ratio: 16 / 10.5; } }
  .scratch__prize { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px 20px; text-align: center; }
  .scratch__icon { width: 46px; height: 46px; color: var(--lime); fill: currentColor; }
  .scratch__title { font: 700 clamp(2.2rem, 1.8rem + 2vw, 3rem)/1 var(--ff-display); color: var(--gold-2); }
  .scratch__text { color: var(--text-2); max-width: 34ch; }
  .scratch__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
  .scratch__terms { font-size: var(--fs-legal); color: var(--text-3); }
  .scratch__foil { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .no-js .scratch__foil, .no-js .scratch__hint, .no-js .textbtn[data-reveal] { display: none; }
  .scratch__hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: var(--r-pill); pointer-events: none;
    font: 700 2rem/1 var(--ff-display); color: #4A320A; background: rgb(255 246 208 / .55); box-shadow: inset 0 0 0 1px rgb(122 87 24 / .35); transition: opacity .3s; }
  .scratch.is-scratching .scratch__hint, .scratch.is-revealed .scratch__hint { opacity: 0; }
  .scratch.is-revealed .scratch__foil { opacity: 0; transform: scale(1.08); pointer-events: none; }
  .js .scratch:not(.is-revealed) .scratch__prize { visibility: visible; }
}

/* ---------------------------------------------------------------- utilities */
@layer utilities {
  .center { text-align: center; }
}

/* ---------------------------------------------------------------- keyframes */
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) rotate(4deg) scale(.96); } }
@keyframes shine { 0% { opacity: 1; background-position: -200% 0; } 100% { opacity: 1; background-position: 200% 0; } }
@keyframes ribbon { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes stamp { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-24deg) scale(2.4); } 55% { opacity: .95; transform: translate(-50%, -50%) rotate(-13deg) scale(.92); } 75% { transform: translate(-50%, -50%) rotate(-14deg) scale(1.04); } 100% { opacity: .95; transform: translate(-50%, -50%) rotate(-14deg) scale(1); } }
@keyframes thud { 0% { transform: none; } 30% { transform: translateY(3px) scale(.99); } 100% { transform: none; } }
@keyframes coin { 0% { opacity: 0; transform: translate(0, 0) scale(.3); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); } }
@keyframes net { 0% { transform: scale(1); } 30% { transform: scale(1.03, 1.06) translateY(4px); } 60% { transform: scale(.99, .98); } 100% { transform: scale(1); } }
@keyframes flash { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 18% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } 30% { transform: translate(-50%, -50%) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -62%) scale(1); } }
@keyframes board { to { transform: translateX(50%); } }
@keyframes keeper-idle { 0%, 100% { transform: translateX(-50%); } 25% { transform: translateX(calc(-50% - 6px)) translateY(-2px); } 50% { transform: translateX(-50%); } 75% { transform: translateX(calc(-50% + 6px)) translateY(-2px); } }
@keyframes target { 0% { transform: scale(.7); opacity: 1; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); color: var(--gold-1); } 100% { transform: scale(1); } }
@keyframes odd-up { 0% { transform: translateY(60%); opacity: 0; color: var(--lime); } 45% { transform: none; opacity: 1; color: var(--lime); } }
@keyframes odd-down { 0% { transform: translateY(-60%); opacity: 0; color: #FF5B6B; } 45% { transform: none; opacity: 1; color: #FF5B6B; } }
@keyframes chip-in { from { transform: rotate(-200deg) scale(.6); opacity: .3; } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes chase { 0% { opacity: 1; } 33% { opacity: .18; } 66% { opacity: .18; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.94); } }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- motion (last layer wins) */
@layer motion {
  [data-inview="false"] *, [data-inview="false"] *::before, [data-inview="false"] *::after,
  [data-inview="false"].ribbon .ribbon__track { animation-play-state: paused !important; }
  :root[data-motion="reduce"] *, :root[data-motion="reduce"] *::before, :root[data-motion="reduce"] *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  :root[data-motion="reduce"] .ribbon .ribbon__track { animation: none !important; }
  :root[data-motion="reduce"] .live-dot::after { animation: none !important; opacity: 0; }
}

/* ---------------------------------------------------------------- lucky wheel (floating gift + daily spin dialog) */
@layer sections {
  .luck-fab { position: fixed; z-index: 55; inset-inline-end: max(16px, env(safe-area-inset-left, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px));
    opacity: 0; transform: translateY(24px) scale(.6); pointer-events: none;
    transition: bottom .45s var(--ease-out), opacity .35s, transform .55s var(--ease-back); }
  .luck-fab.is-in { opacity: 1; transform: none; pointer-events: auto; }
  :root:has(.dock.is-on) .luck-fab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .has-dialog .luck-fab, .no-js .luck-fab { opacity: 0; transform: scale(.6); pointer-events: none; }

  .luck-fab__btn { position: relative; display: block; width: 66px; height: 66px; border-radius: 50%; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .luck-fab__btn::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold-3); opacity: 0; animation: luck-halo 2.4s var(--ease-out) infinite; pointer-events: none; }
  .luck-fab__ring { position: absolute; inset: -5px; border-radius: 50%;
    background: conic-gradient(#A9ED01 0 36deg, #1A1A1F 0 72deg, #C81E35 0 108deg, #E5C970 0 144deg, #2A2A31 0 180deg, #A9ED01 0 216deg, #1A1A1F 0 252deg, #C81E35 0 288deg, #E5C970 0 324deg, #2A2A31 0 360deg);
    box-shadow: 0 0 0 2px #E5C970, 0 0 0 4px #0B0B0D, 0 12px 30px -6px rgb(0 0 0 / .8), 0 0 34px -4px rgb(229 201 112 / .55);
    animation: spin 7s linear infinite; }
  .luck-fab__core { position: absolute; inset: 7px; display: grid; place-items: center; border-radius: 50%; color: #2A1A03;
    background: radial-gradient(circle at 35% 28%, #FFF6D0, #F3DE83 32%, #D9B355 62%, #8A6420);
    box-shadow: inset 0 2px 0 rgb(255 255 255 / .6), inset 0 -3px 6px rgb(0 0 0 / .3), 0 0 0 2px #0B0B0D; }
  .luck-fab__core .icon { width: 28px; height: 28px; animation: luck-wiggle 3.6s var(--ease-out) infinite; transform-origin: 50% 80%; }
  .luck-fab__badge { position: absolute; top: -6px; right: -6px; min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: var(--r-pill);
    font: 800 .82rem/1 var(--ff-body); color: #fff; background: linear-gradient(180deg, #F0475D, #B8142A); box-shadow: 0 0 0 2.5px var(--ink-1), 0 4px 10px rgb(0 0 0 / .5);
    animation: luck-badge 2.4s var(--ease-out) infinite; }
  .luck-fab.is-claimed .luck-fab__badge { background: var(--lime-grad); color: var(--on-lime); animation: none; }
  .luck-fab.is-claimed .luck-fab__ring { animation-duration: 18s; }
  @media (hover: hover) { .luck-fab__btn:hover .luck-fab__ring { animation-duration: 1.6s; } .luck-fab__btn:hover { transform: scale(1.06); } }
  .luck-fab__btn { transition: transform .3s var(--ease-back); }
  .luck-fab__btn:active { transform: scale(.94); }

  .luck-fab__tip { position: absolute; bottom: calc(100% + 30px); inset-inline-end: -4px; width: max-content; max-width: min(230px, calc(100vw - 40px));
    padding: 11px 16px 12px; padding-inline-start: 30px; border-radius: 16px; text-align: start; line-height: 1.25; cursor: pointer;
    color: #241703; background: var(--gold-grad); box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 14px 34px -10px rgb(0 0 0 / .85), 0 0 0 1px rgb(0 0 0 / .25);
    opacity: 0; transform: translateY(10px) scale(.85); transform-origin: 20% 100%; pointer-events: none;
    transition: opacity .25s, transform .45s var(--ease-back); }
  .luck-fab__tip b { display: block; font: 700 1.55rem/1 var(--ff-display); }
  .luck-fab__tip span:not(.luck-fab__tip-x) { display: block; margin-top: 3px; font-size: .9rem; font-weight: 700; }
  .luck-fab__tip.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .luck-fab__tip-x { position: absolute; top: 6px; inset-inline-start: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgb(0 0 0 / .12); }
  .luck-fab__tip-x::before, .luck-fab__tip-x::after { content: ""; position: absolute; width: 10px; height: 2px; border-radius: 2px; background: #241703; transform: rotate(45deg); }
  .luck-fab__tip-x::after { transform: rotate(-45deg); }
  .luck-fab__arrow { position: absolute; top: calc(100% - 4px); left: 14px; width: 30px; height: 34px; color: var(--gold-2); filter: drop-shadow(0 2px 4px rgb(0 0 0 / .6)); }
  .luck-fab__tip.is-on .luck-fab__arrow { animation: luck-nudge 1.1s var(--ease-io) infinite; }

  /* dialog */
  .luck { margin: auto; width: min(460px, calc(100vw - 20px)); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); overflow: auto; overscroll-behavior: contain; border-radius: 28px; scrollbar-width: none; }
  .luck::-webkit-scrollbar { display: none; }
  .luck::backdrop { background: radial-gradient(70% 55% at 50% 45%, rgb(60 46 10 / .55), rgb(0 0 0 / .88)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .luck .confetti { position: fixed; }
  .luck__panel { position: relative; isolation: isolate; overflow: hidden; padding: 20px 18px 22px; border-radius: 28px; text-align: center;
    background: radial-gradient(90% 50% at 50% 42%, rgb(229 201 112 / .17), transparent 72%), linear-gradient(180deg, #1A1A1E, #0B0B0D);
    box-shadow: inset 0 0 0 1px rgb(229 201 112 / .3), inset 0 1px 0 rgb(255 246 208 / .25), 0 30px 80px rgb(0 0 0 / .7); }
  .luck[open] .luck__panel { animation: luck-in .6s var(--ease-back); }
  .luck.is-closing .luck__panel { animation: luck-out .2s var(--ease-io) forwards; }
  .luck__close, .luck__sound { position: absolute; z-index: 4; inset-block-start: 14px; }
  .luck__close { inset-inline-end: 14px; }
  .luck__sound { inset-inline-start: 14px; }
  .luck__sound .icon--mute, .luck.is-muted .luck__sound .icon--sound { display: none; }
  .luck.is-muted .luck__sound .icon--mute { display: block; }

  .luck__head { padding-inline: 46px; }
  .luck__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 800; letter-spacing: .02em; color: var(--gold-2); }
  .luck__title { margin-top: 4px; font: 700 clamp(2.3rem, 2rem + 1.6vw, 2.9rem)/.95 var(--ff-display); text-wrap: balance; }
  .luck__sub { margin-top: 6px; font-size: .98rem; font-weight: 600; line-height: 1.4; color: var(--text-2); }

  .luck__stage { position: relative; isolation: isolate; padding-top: 22px; }
  .luck__stage::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: 150%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
    background: repeating-conic-gradient(rgb(243 222 131 / .11) 0 7deg, transparent 7deg 18deg);
    -webkit-mask: radial-gradient(closest-side, #000 25%, transparent); mask: radial-gradient(closest-side, #000 25%, transparent);
    animation: spin 50s linear infinite; transition: opacity .6s; }
  .luck__wheel { --w: min(78vw, 46vh, 350px); position: relative; container-type: inline-size; width: var(--w); aspect-ratio: 1; margin-inline: auto;
    filter: drop-shadow(0 20px 28px rgb(0 0 0 / .65)); transition: width .7s var(--ease-out); }
  @supports (height: 100dvh) { .luck__wheel { --w: min(78vw, 46dvh, 350px); } }
  .luck__frame, .luck__rotor { position: absolute; inset: 0; }
  .luck__frame svg, .luck__rotor svg { width: 100%; height: 100%; }
  .luck__rotor { will-change: transform; }
  .luck__pointer { position: absolute; z-index: 2; left: 50%; top: -7%; width: 12%; margin-left: -6%; transform-origin: 50% 30%; filter: drop-shadow(0 4px 4px rgb(0 0 0 / .6)); pointer-events: none; }
  .luck__pointer svg { width: 100%; height: auto; overflow: visible; }
  .luck__hub { position: absolute; z-index: 3; left: 50%; top: 50%; width: 23%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center;
    font: 700 6.6cqw/1 var(--ff-display); color: var(--on-lime); touch-action: manipulation;
    background: radial-gradient(circle at 38% 30%, #E4FF9A, #A9ED01 45%, #6E9E00);
    box-shadow: 0 0 0 1.2cqw #E5C970, 0 0 0 2cqw #0B0B0D, 0 0 0 2.5cqw rgb(229 201 112 / .5), inset 0 2px 0 rgb(255 255 255 / .55), inset 0 -4px 8px rgb(0 0 0 / .25), 0 8px 22px rgb(0 0 0 / .6);
    animation: luck-hub 1.6s var(--ease-io) infinite; transition: filter .3s; }
  .luck__hub[disabled] { cursor: default; animation: none; }
  .luck[data-state="spinning"] .luck__hub span, .luck[data-state="won"] .luck__hub span { opacity: 0; }
  .luck__hub::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: url("../img/badge-256.webp") center / cover; opacity: 0; transition: opacity .3s; }
  .luck[data-state="spinning"] .luck__hub::after, .luck[data-state="won"] .luck__hub::after { opacity: 1; }

  .lk-val { font-family: var(--ff-display); font-weight: 700; font-size: 54px; }
  .lk-lbl { font-family: var(--ff-body); font-weight: 800; font-size: 14.5px; }
  .lk-lbl--s { font-size: 13px; }
  .lk-seg { transition: opacity .6s; }
  .lk-b { fill: #6B4A12; animation: luck-bulb 1.4s steps(1, end) infinite; }
  .lk-b--1 { animation-delay: -.7s; }
  .luck[data-state="spinning"] .lk-b { animation-duration: .36s; }
  .luck[data-state="spinning"] .lk-b--1 { animation-delay: -.18s; }
  .luck[data-state="won"] .lk-b, .luck[data-state="won"] .lk-b--1 { animation: luck-bulb .5s steps(1, end) 6; animation-delay: 0s; fill: #FFF6D0; }
  .luck[data-state="won"] .lk-seg:not(.is-win) { opacity: .3; }
  .luck[data-state="won"] .lk-seg.is-win { animation: luck-seg 1s var(--ease-io) 3; }

  .luck__play { margin-top: 20px; }
  .luck__cta { width: 100%; justify-content: center; font-size: 1.2rem; }
  .luck__cta .icon { width: 24px; height: 24px; }
  .luck__rule { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: .9rem; font-weight: 600; color: var(--text-3); }
  .luck__rule .icon { width: 15px; height: 15px; }

  .luck__win { display: none; margin-top: 10px; }
  .luck[data-state="won"] .luck__win { display: block; }
  .luck[data-state="won"] .luck__play, .luck[data-state="won"] .luck__sub, .luck[data-state="won"] .luck__eyebrow { display: none; }
  .luck[data-state="won"] .luck__wheel { --w: min(40vw, 22vh, 180px); }
  @supports (height: 100dvh) { .luck[data-state="won"] .luck__wheel { --w: min(40vw, 22dvh, 180px); } }
  .luck[data-state="won"] .luck__stage { padding-top: 18px; }
  .luck[data-state="won"] .luck__stage::before { background: repeating-conic-gradient(rgb(243 222 131 / .2) 0 7deg, transparent 7deg 18deg); animation-duration: 18s; }
  .luck__win:focus { outline: none; }
  .luck__win > * { animation: rise .6s var(--ease-out) both; }
  .luck__win > :nth-child(2) { animation: luck-prize .8s var(--ease-back) .1s both; }
  .luck__win > :nth-child(3) { animation-delay: .25s; } .luck__win > :nth-child(4) { animation-delay: .32s; }
  .luck__win > :nth-child(5) { animation-delay: .4s; } .luck__win > :nth-child(6) { animation-delay: .46s; }
  .luck__win > :nth-child(7) { animation-delay: .52s; } .luck__win > :nth-child(n+8) { animation-delay: .58s; }
  .luck__congrats { font-weight: 800; font-size: 1.1rem; color: var(--text-2); }
  .luck__prize { font: 700 clamp(4.6rem, 4rem + 3vw, 5.6rem)/.9 var(--ff-display); direction: ltr; unicode-bidi: isolate; filter: drop-shadow(0 6px 18px rgb(229 201 112 / .35)); }
  .luck__prize-sub { margin-top: 2px; font: 700 1.7rem/1 var(--ff-display); color: var(--gold-1); }
  .luck__ticket { display: grid; grid-template-columns: 1fr 1fr; margin: 14px 0 0; border-radius: 14px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1.5px rgb(229 201 112 / .35); }
  .luck__ticket div { padding: 9px 10px; }
  .luck__ticket div + div { border-inline-start: 1.5px dashed rgb(229 201 112 / .35); }
  .luck__ticket dt { font-size: .78rem; font-weight: 700; color: var(--text-3); }
  .luck__ticket dd { margin: 2px 0 0; font-weight: 800; font-size: 1.02rem; letter-spacing: .03em; color: var(--lime-hi); font-variant-numeric: tabular-nums; }
  .luck__ticket div + div dd { color: var(--text); letter-spacing: 0; }
  .luck__claim { margin-top: 16px; font: 700 2rem/1 var(--ff-display); text-wrap: balance; }
  .luck__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .luck__ctas .btn { --h: 52px; padding: 0 10px; font-size: .98rem; gap: 8px; }
  .luck__note { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 11px 13px; border-radius: 14px; text-align: start; font-size: .93rem; line-height: 1.45; font-weight: 600;
    background: rgb(215 38 61 / .13); box-shadow: inset 0 0 0 1px rgb(240 71 93 / .5); }
  .luck__note b { color: #FF8C9A; }
  .luck__note-icon { font-size: 1.25rem; line-height: 1.1; }
  .luck__next { margin-top: 12px; font-size: .95rem; font-weight: 600; color: var(--text-2); }
  .luck__next b { color: var(--lime); font-variant-numeric: tabular-nums; }
  .luck__legal { margin-top: 6px; font-size: var(--fs-legal); color: var(--text-3); }
  .luck__legal b, .luck__terms b { color: var(--text-2); }
  .luck__terms { margin-top: 8px; font-size: var(--fs-legal); color: var(--text-3); }
  .luck__msg { margin-top: 10px; padding: 9px 12px; border-radius: 12px; font-size: .92rem; font-weight: 700; color: #FFC2C8; background: rgb(215 38 61 / .13); box-shadow: inset 0 0 0 1px rgb(240 71 93 / .45); }
  .luck__only { display: inline-block; margin-top: 10px; padding: 7px 16px; border-radius: 999px; font-size: 1.1rem; line-height: 1.2; font-weight: 800; color: #FFF0BF; background: rgb(229 201 112 / .18); box-shadow: inset 0 0 0 1.5px rgb(229 201 112 / .75), 0 6px 18px -8px rgb(229 201 112 / .6); }
  .luck__only::before { content: "⚠ "; color: var(--gold); }
  @media (max-width: 22.5em) { .luck__ctas { grid-template-columns: 1fr; } .luck__head { padding-inline: 40px; } }
}

@keyframes luck-in { from { opacity: 0; transform: translateY(30px) scale(.86); } }
@keyframes luck-out { to { opacity: 0; transform: scale(.94); } }
@keyframes luck-halo { 0% { opacity: .9; transform: scale(.9); } 80%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes luck-wiggle { 0%, 62%, 100% { transform: none; } 66% { transform: rotate(-16deg) scale(1.1); } 72% { transform: rotate(13deg) scale(1.1); } 78% { transform: rotate(-9deg); } 84% { transform: rotate(5deg); } 90% { transform: none; } }
@keyframes luck-badge { 0%, 70%, 100% { transform: none; } 78% { transform: scale(1.25); } 86% { transform: scale(.95); } }
@keyframes luck-nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-3px, 5px); } }
@keyframes luck-hub { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes luck-bulb { 0% { fill: #FFF6D0; } 50% { fill: #6B4A12; } }
@keyframes luck-seg { 50% { filter: brightness(1.45) saturate(1.2); } }
@keyframes luck-prize { 0% { opacity: 0; transform: scale(.3) rotate(-10deg); } 100% { opacity: 1; transform: none; } }
