/* Khel Poker landing page.
   Colours and type start from docs/design/brand in the khel-poker repository (Casino Noir), turned up for the web:
   brighter crimson, royal blue and gold light, live 3D pieces and moving colour.
   Still true: gold is a line, a mark or text and never a button fill; the logo is never tilted, outlined or made to glow;
   Cinzel appears only inside the name artwork. */

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #c4b454;
  --gold-light: #e8d779;
  --oxblood: #740318;
  --bg: #101012;
  --surface: #1a1a1e;
  --field-line: #767676;
  --line-soft: rgba(255, 255, 255, 0.09);
  --text: #f5f5f5;
  --muted: #bdbdc2;
  --quiet: #8f8f96;
  --action: #8f0d26;
  --clubs-fill: #26497f;
  --clubs-text: #8fb4ea;
  --danger: #ff6b5e;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0, 0, 0.2, 1);
  --spring: cubic-bezier(0.2, 1.3, 0.4, 1);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gold-ink: linear-gradient(100deg, #b89a3c 0%, #e8d779 28%, #fff7cf 46%, #e8d779 62%, #c4a444 100%);
}

*, *::before, *::after { box-sizing: border-box; }
/* The dark ground is set on the root as well as the body, so the strips a phone browser paints itself
   (behind its toolbars, under the home bar, on overscroll) are dark too, never white. */
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background-color: #101012; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh; min-height: 100dvh;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h2 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h3 { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.eyebrow--clubs { color: var(--clubs-text); }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 34em; }
.ink-gold, .hero__gold {
  background: var(--gold-ink); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ink-clubs { background: linear-gradient(100deg, #6ea2ff, #b9d2ff 50%, #6ea2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes sheen { from { background-position: 110% 0; } to { background-position: -110% 0; } }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 34px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 17px; letter-spacing: 0.005em;
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.3s, transform 0.25s var(--spring);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--action {
  background: linear-gradient(180deg, #d0142f, #8f0d26);
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(200, 16, 46, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn--action::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.btn--action:hover { box-shadow: 0 18px 44px -10px rgba(200, 16, 46, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.btn--action:hover::after { left: 120%; }
.btn--line { border-color: rgba(232, 215, 121, 0.7); color: var(--gold-light); background: rgba(16, 16, 18, 0.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--line:hover { border-color: var(--gold-light); background: rgba(232, 215, 121, 0.1); }
.btn--small { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* World labels */
.pill {
  justify-self: start;
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 15px 0 18px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text);
}
.pill--clubs { background: var(--clubs-fill); }
.pill--floor { background: var(--action); }
.pill--tiny { height: 22px; font-size: 10px; padding: 0 9px 0 11px; margin-left: auto; }

/* Top bar */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 0.3s, border-color 0.3s;
  background: rgba(14, 14, 16, 0.8);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
/* With the script running, the bar is clear at the top of the page and gains its ground once the page moves. */
.js .nav:not(.is-stuck) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
.nav__row { display: flex; align-items: center; gap: 24px; height: 80px; }
/* The name's capitals stand a little over half the height of the mark, taller than the K inside it. */
.nav__brand, .foot__brand { flex: none; display: flex; align-items: center; gap: 13px; }
.nav__logo { height: 48px; width: auto; }
.nav__name { height: 29px; width: auto; }
.nav__links { display: flex; gap: clamp(20px, 3vw, 44px); margin: 0 auto; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav__links a { position: relative; padding: 10px 0; transition: color 0.2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

/* Hero */
.hero { position: relative; isolation: isolate; padding: 140px 0 84px; min-height: min(100svh, 1000px); display: flex; align-items: center; overflow: hidden; }
.hero__aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__aurora::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(60% 70% at 72% 46%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 72% 46%, #000, transparent 75%);
}
.hero__aurora::after { content: ""; position: absolute; inset: auto 0 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); }
.hero__aurora i { position: absolute; border-radius: 50%; will-change: transform; animation: aurora 14s ease-in-out infinite alternate; }
.hero__aurora i:nth-child(1) { width: 62vmax; height: 62vmax; right: -6vmax; top: -18vmax; background: radial-gradient(circle, rgba(200, 16, 46, 0.55), transparent 62%); }
.hero__aurora i:nth-child(2) { width: 54vmax; height: 54vmax; right: 14vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(224, 178, 58, 0.34), transparent 62%); animation-duration: 18s; animation-delay: -6s; }
.hero__aurora i:nth-child(3) { width: 50vmax; height: 50vmax; right: -20vmax; bottom: -16vmax; background: radial-gradient(circle, rgba(28, 86, 214, 0.5), transparent 62%); animation-duration: 16s; animation-delay: -3s; }
@keyframes aurora { from { transform: translate3d(-4%, -3%, 0) scale(1); } to { transform: translate3d(5%, 4%, 0) scale(1.12); } }

.hero__canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 0.5s linear; }
.hero-live .hero__canvas { opacity: 1; }
.hero--stacked .hero__canvas { -webkit-mask-image: linear-gradient(transparent calc(var(--stage-top, 0px) - 30px), #000 calc(var(--stage-top, 0px) + 40px)); mask-image: linear-gradient(transparent calc(var(--stage-top, 0px) - 30px), #000 calc(var(--stage-top, 0px) + 40px)); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 32px; }
.hero__title {
  font-size: clamp(44px, 6.1vw, 88px);
  line-height: 0.99;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 22px 0 26px -0.04em;
}
.hero__title span { display: block; white-space: nowrap; }
.hero__title .hero__gold { padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero__lead { font-size: clamp(19px, 2vw, 25px); line-height: 1.4; color: #dcdce0; max-width: 21em; font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero__note { margin-top: 30px; font-size: 14px; color: var(--quiet); }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #ff3b5c; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #ff3b5c; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: 0.7; } to { transform: scale(3.6); opacity: 0; } }

.hero__in { opacity: 0; transform: translateY(26px); animation: rise 0.8s var(--ease) forwards; }
.hero__in--1 { animation-delay: 0.05s; }
.hero__in--2 { animation-delay: 0.14s; }
.hero__in--3 { animation-delay: 0.24s; }
.hero__in--4 { animation: rise 0.8s var(--ease) 0.34s forwards, sheen 6s linear 1.2s 2; }
.hero__in--5 { animation-delay: 0.46s; }
.hero__in--6 { animation-delay: 0.56s; }
.hero__in--7 { animation-delay: 0.66s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* The stage marks where the 3D scene stands. Its still picture shows only when the live scene cannot. */
.hero__stage { --stage-h: 640px; position: relative; height: var(--stage-h); pointer-events: none; }
.hero__poster { position: absolute; left: 50%; top: 50%; width: min(164%, calc(var(--stage-h) * 1.35)); height: auto; aspect-ratio: 1300 / 1216; max-width: none; transform: translate(-50%, -50%); opacity: 0; animation: poster-in 0.8s linear 0.7s forwards; }
.hero__poster { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(0deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(0deg, transparent, #000 8%, #000 92%, transparent); mask-composite: intersect; }
.hero-live .hero__poster { display: none; }
@keyframes poster-in { to { opacity: 1; } }

/* Ticker */
.ticker { position: relative; z-index: 3; overflow: hidden; padding: 20px 0; background: #0a0a0c; border-block: 1px solid var(--line-soft); }
.ticker__track { display: flex; align-items: center; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { margin-right: 30px; font-size: clamp(22px, 3.2vw, 40px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap; }
/* Outline words: the fill is the strip's own colour, painted over the inner half of the stroke. */
.ticker .is-line { color: #0a0a0c; -webkit-text-stroke: 0.065em var(--gold-light); paint-order: stroke fill; }
.ticker svg { flex: none; width: clamp(16px, 2vw, 24px); height: clamp(16px, 2vw, 24px); margin-right: 30px; fill: var(--gold-light); }
.ticker svg:nth-of-type(2n) { fill: #e3193b; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--raised { background: linear-gradient(180deg, #17171a, #121214); border-block: 1px solid var(--line-soft); }
.section__head { display: grid; justify-items: center; text-align: center; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--left { justify-items: start; text-align: left; margin-bottom: 40px; }

/* Hidden-until-seen applies only once the script is running (it sets .js), so the page never depends on it. */
.reveal { transition: opacity 0.7s linear var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* A soft light that follows the pointer across a card. */
.glowcard::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.13), transparent 60%);
  opacity: 0; transition: opacity 0.35s linear;
}
.glowcard:hover::before { opacity: 1; }

/* Two worlds */
.worlds { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.world {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 30px;
  min-height: 580px; padding: 44px 0 0 44px;
  border-radius: 34px; border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.world--floor { background: radial-gradient(140% 105% at 0% 0%, #cf1232 0%, #7c0a1f 34%, #2a0d14 66%, #17111a 100%); }
.world--clubs { background: radial-gradient(140% 105% at 0% 0%, #2463ea 0%, #163f9c 34%, #111a33 66%, #11121c 100%); }
.world--clubs.reveal { --d: 0.12s; }
.world__body { padding-bottom: 150px; display: grid; align-content: start; gap: 14px; position: relative; z-index: 2; }
.world .pill { background: rgba(0, 0, 0, 0.34); border: 1px solid rgba(255, 255, 255, 0.28); }
.world h3 { font-size: clamp(30px, 3vw, 42px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; margin-top: 12px; }
.world p { color: rgba(255, 255, 255, 0.84); }
.world__shot { position: relative; align-self: end; height: 100%; min-height: 320px; }
.world__phone {
  position: absolute; left: 0; top: 26px; width: 270px; max-width: none;
  border-radius: 32px; border: 7px solid #0b0b0c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), -26px 34px 70px rgba(0, 0, 0, 0.6);
  transform: rotate(4deg); transform-origin: 0 0;
  transition: transform 0.7s var(--spring);
}
.world:hover .world__phone { transform: rotate(2deg) translateY(-14px); }
.world__chips { position: absolute; left: -128px; bottom: -6px; width: 220px; max-width: none; z-index: 2; filter: drop-shadow(0 22px 20px rgba(0, 0, 0, 0.55)); transition: transform 0.7s var(--spring); }
.world:hover .world__chips { transform: translateY(-8px) scale(1.04); }
.ticks { display: grid; gap: 11px; margin-top: 10px; font-size: 16px; font-weight: 500; }
.ticks li { position: relative; padding-left: 30px; color: #fff; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 19px; height: 19px; border-radius: 50%; background: rgba(0, 0, 0, 0.35); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: 0.52em; width: 9px; height: 5px; border-left: 2px solid var(--gold-light); border-bottom: 2px solid var(--gold-light); transform: rotate(-45deg); }

/* Clubs */
.section--clubs { background: radial-gradient(46% 62% at 20% 52%, rgba(28, 86, 214, 0.26), transparent 72%), linear-gradient(180deg, #131317, #101012); border-block: 1px solid var(--line-soft); overflow: hidden; }
.clubs { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.clubs__visual { position: relative; }
.clubs__halo { position: absolute; inset: 8% 10%; border-radius: 50%; background: conic-gradient(from 0deg, #1c56d6, #7a3be0, #e0b23a, #c8102e, #1c56d6); filter: blur(64px); opacity: 0.5; animation: spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.clubcard {
  position: relative; z-index: 2;
  max-width: 440px; margin-inline: auto;
  padding: 26px; border-radius: 30px;
  background: rgba(13, 13, 16, 0.92); border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
  transform: rotate(-2deg);
  transition: transform 0.7s var(--spring);
}
.clubs__visual:hover .clubcard { transform: none; }
.clubcard__head { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-soft); }
.clubcard__badge { width: 54px; flex: none; }
.clubcard__name { font-weight: 700; font-size: 18px; line-height: 1.2; }
.clubcard__meta { font-size: 13px; color: var(--quiet); }
.clubcard__tabs { display: flex; gap: 26px; margin: 22px 4px 14px; font-size: 13.5px; font-weight: 600; color: var(--quiet); }
.clubcard__tabs .is-on { color: var(--gold-light); padding-bottom: 8px; border-bottom: 2px solid var(--gold-light); }
.clubcard__list { display: grid; gap: 10px; }
.clubcard__list li, .clubcard__next { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-soft); }
.clubcard b { display: block; font-size: 15px; font-weight: 600; }
.clubcard small { display: block; font-size: 12.5px; color: var(--quiet); }
.clubcard i { font-style: normal; font-weight: 700; font-size: 14px; color: var(--gold-light); letter-spacing: 0.04em; }
.clubcard__label { margin: 22px 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--quiet); }
.floaty { position: absolute; z-index: 3; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, 0.55)); animation: drift 7s ease-in-out infinite alternate; }
.floaty--1 { width: 170px; right: -5%; bottom: -70px; }
.floaty--2 { width: 120px; left: -2%; top: -62px; animation-delay: -3s; }
.floaty--3 { width: 86px; right: 4%; top: -30px; z-index: 1; animation-delay: -5s; }
@keyframes drift { from { transform: translateY(-9px) rotate(-3deg); } to { transform: translateY(11px) rotate(4deg); } }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 34px; }
.features li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.features p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }
.icon { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: linear-gradient(160deg, rgba(110, 162, 255, 0.28), rgba(28, 86, 214, 0.08)); border: 1px solid rgba(143, 180, 234, 0.4); fill: none; stroke: #cfe0ff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* The game */
.game { background: radial-gradient(40% 40% at 86% 12%, rgba(200, 16, 46, 0.16), transparent 70%), radial-gradient(40% 40% at 8% 88%, rgba(12, 154, 99, 0.14), transparent 70%); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px; padding: 30px;
  border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--surface);
  transition: opacity 0.7s linear var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s), border-color 0.3s;
}
.tile:hover { border-color: rgba(255, 255, 255, 0.24); }
.tile__copy { position: relative; z-index: 2; }
.tile h3 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.02em; font-weight: 800; }
.tile p { color: rgba(255, 255, 255, 0.78); font-size: 15.5px; margin-top: 8px; max-width: 30em; }
.tile--fast { grid-column: span 7; grid-row: span 2; min-height: 560px; background: radial-gradient(120% 90% at 100% 0%, #c8102e 0%, #6c0a1c 36%, transparent 68%), radial-gradient(80% 70% at 0% 100%, rgba(224, 178, 58, 0.26), transparent 62%), #17131a; }
.tile--fast .tile__copy { max-width: 46%; }
.tile--fast h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.03em; }
.tile__bolt { width: 54px; height: 54px; margin-bottom: 18px; fill: var(--gold-light); filter: drop-shadow(0 0 18px rgba(232, 215, 121, 0.55)); animation: bolt 2.6s ease-in-out infinite; }
@keyframes bolt { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 50% { opacity: 0.35; } 54% { opacity: 1; } 58% { opacity: 0.5; } 62% { opacity: 1; } }
.tile__phone { position: absolute; right: 5%; top: 44px; width: 43%; max-width: 310px; }
.tile__phone img { position: relative; width: 100%; border-radius: 34px; border: 7px solid #0b0b0c; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), -30px 40px 80px rgba(0, 0, 0, 0.65); transform: rotate(7deg); transition: transform 0.7s var(--spring); }
.tile--fast:hover .tile__phone img { transform: rotate(4deg) translateY(-12px); }
.streak { position: absolute; left: -150%; height: 3px; width: 70%; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(255, 244, 200, 0.9)); animation: streak 2.4s cubic-bezier(0.6, 0, 0.2, 1) infinite; }
.streak--1 { top: 22%; }
.streak--2 { top: 41%; width: 52%; animation-delay: 0.5s; }
.streak--3 { top: 63%; width: 84%; animation-delay: 1.1s; }
@keyframes streak { from { transform: translateX(0); opacity: 0; } 30% { opacity: 1; } to { transform: translateX(260%); opacity: 0; } }
.tile--hand { grid-column: span 5; background: radial-gradient(120% 100% at 100% 0%, #0f8a5a 0%, #0a4a33 44%, #121a17 86%); }
.tile--bet { grid-column: span 5; background: radial-gradient(120% 100% at 0% 0%, #2a2a31 0%, #17171b 70%); }
.tile--games { grid-column: span 4; background: radial-gradient(120% 90% at 50% 0%, #5a2bb5 0%, #2b1760 44%, #15121f 88%); }
.tile--stakes { grid-column: span 4; background: radial-gradient(120% 90% at 50% 0%, #b98a1c 0%, #5d4310 42%, #17140f 88%); }
.tile--seat { grid-column: span 4; background: radial-gradient(120% 90% at 50% 0%, #1f55cf 0%, #14357f 42%, #10131d 88%); }
.tile--hand.reveal, .tile--games.reveal { --d: 0.08s; }
.tile--bet.reveal, .tile--stakes.reveal { --d: 0.16s; }
.tile--seat.reveal { --d: 0.24s; }
.tile__art { width: 100%; height: 200px; object-fit: contain; margin: -6px 0 auto; filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.5)); transition: transform 0.7s var(--spring); }
.tile:hover .tile__art { transform: translateY(-8px) scale(1.04); }

/* Small pieces of the table, redrawn here */
.mock { margin-bottom: auto; padding-bottom: 28px; position: relative; z-index: 2; }
.mock__cards { display: flex; gap: 8px; padding-top: 12px; }
.pc { flex: none; width: clamp(40px, 4.4vw, 56px); aspect-ratio: 5 / 7; border-radius: 9px; background: linear-gradient(160deg, #fff, #ece6d6); color: #15151a; display: grid; align-content: center; justify-items: center; gap: 3px; font-weight: 800; font-size: clamp(17px, 1.8vw, 22px); line-height: 1; box-shadow: 0 12px 20px rgba(0, 0, 0, 0.45); transition: transform 0.6s var(--spring), box-shadow 0.4s; }
.pc b { font-weight: 800; }
.pc svg { width: 44%; height: auto; aspect-ratio: 1; fill: currentColor; }
.pc--red { color: #c8102e; }
.pc--gap { margin-left: 14px; }
.tile.is-in .pc--hit, html:not(.js) .pc--hit { transform: translateY(-10px); box-shadow: 0 0 0 3px var(--gold-light), 0 0 26px rgba(232, 215, 121, 0.55), 0 16px 22px rgba(0, 0, 0, 0.45); }
.tile.is-in .pc--hit:nth-child(2) { transition-delay: 0.5s; }
.tile.is-in .pc--hit:nth-child(4) { transition-delay: 0.65s; }
.tile.is-in .pc--hit:nth-child(5) { transition-delay: 0.8s; }
.mock__named { margin-top: 22px; display: inline-flex; align-items: center; gap: 14px; padding: 9px 18px; border-radius: 999px; background: rgba(0, 0, 0, 0.42); border: 1px solid rgba(232, 215, 121, 0.45); font-weight: 700; font-size: 15px; }
.meter { display: flex; gap: 4px; }
.meter b { width: 16px; height: 5px; border-radius: 3px; background: var(--gold-light); }
.meter b:last-child { background: rgba(255, 255, 255, 0.22); }
.mock__quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mock__quick span { display: grid; place-items: center; height: 44px; border-radius: 12px; background: #24242a; border: 1px solid rgba(255, 255, 255, 0.1); font-weight: 700; font-size: 15px; }
.mock__quick .is-on { background: #f1ecdc; color: #15151a; border-color: transparent; }
.mock__slider { position: relative; height: 6px; margin: 22px 12px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.mock__slider i, .mock__slider b { position: absolute; inset: 0; }
.mock__slider i { overflow: hidden; border-radius: 3px; }
.mock__slider i::before { content: ""; position: absolute; inset: 0; background: var(--gold-light); }
.mock__slider b::after { content: ""; position: absolute; right: -11px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); }
.mock__slider i::before, .mock__slider b { transform: translateX(-62%); animation: slide 5s ease-in-out infinite alternate; }
@keyframes slide { 0%, 20% { transform: translateX(-70%); } 80%, 100% { transform: translateX(-22%); } }
.mock__acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.act { display: grid; place-items: center; height: 54px; border-radius: 14px; font-weight: 800; font-size: 16px; }
.act--fold { background: #c9302c; }
.act--call { background: #f1ecdc; color: #15151a; }
.act--raise { background: #12905f; }
.mock--seat { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 10px; }
.chipbtn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px 0 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.36); border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 700; font-size: 15px; position: relative; }
.chipbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chipbtn--dot::after { content: ""; position: absolute; left: 28px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: #5b9bff; box-shadow: 0 0 0 2px #14357f; }
.chipbtn--gold { color: var(--gold-light); border: 1.5px dashed rgba(232, 215, 121, 0.6); }
.bubbles { flex: 1 1 100%; display: grid; gap: 8px; margin-top: 12px; }
.bubble { justify-self: start; padding: 9px 16px; border-radius: 18px 18px 18px 6px; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 14.5px; font-weight: 600; }
.bubble--me { justify-self: end; border-radius: 18px 18px 6px 18px; background: #f1ecdc; color: #15151a; border-color: transparent; }
.bubble small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--gold-light); }

/* Statement */
.say { background: var(--oxblood); padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.say::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 100% 0%, rgba(0, 0, 0, 0.28), transparent 60%); }
.say__row { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.say__lines { display: grid; font-size: clamp(52px, 10.5vw, 150px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.say__lines span:nth-child(2) { --d: 0.12s; }
.say__lines span:nth-child(3) { --d: 0.24s; }
.say__lines span:nth-child(4) { --d: 0.42s; }
.say__gold { color: var(--gold-light); margin-top: 0.08em; }
.say__logo { width: clamp(64px, 11vw, 150px); flex: none; }

/* About us */
.about { overflow: hidden; }
.about::before { content: ""; position: absolute; right: 4%; top: 50%; width: min(300px, 40vw); aspect-ratio: 1112 / 1200; transform: translateY(-50%); background: url("/assets/brand/logo-one-colour.svg") center / contain no-repeat; opacity: 0.05; pointer-events: none; }
.about__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.about__head { display: grid; gap: 18px; justify-items: start; }
.about__copy { display: grid; gap: 20px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.6; color: var(--muted); }
.about__contact { color: var(--text); font-weight: 600; }
.about__contact a { color: var(--gold-light); border-bottom: 1px solid rgba(232, 215, 121, 0.5); transition: border-color 0.2s; }
.about__contact a:hover { border-bottom-color: var(--gold-light); }

/* Questions */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq__head { display: grid; gap: 18px; justify-items: start; position: sticky; top: 120px; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 20px; background: var(--surface); border: 1px solid var(--line-soft); transition: border-color 0.3s; }
.qa:hover, .qa[open] { border-color: rgba(232, 215, 121, 0.4); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border-radius: 20px; font-weight: 700; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.35; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: -4px 4px 0 0; border-right: 2px solid var(--gold-light); border-bottom: 2px solid var(--gold-light); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.qa[open] summary::after { transform: translateY(5px) rotate(225deg); }
.qa p { padding: 0 24px 22px; color: var(--muted); max-width: 46em; }
.qa a, .consent a, .doc a:not(.btn) { color: var(--gold-light); border-bottom: 1px solid rgba(232, 215, 121, 0.5); transition: border-color 0.2s; }
.qa a:hover, .consent a:hover, .doc a:not(.btn):hover { border-bottom-color: var(--gold-light); }

/* Waitlist */
.waitlist { background: radial-gradient(44% 60% at 84% 40%, rgba(200, 16, 46, 0.2), transparent 72%), radial-gradient(40% 50% at 10% 80%, rgba(224, 178, 58, 0.12), transparent 72%), linear-gradient(180deg, #17171a, #121214); }
.waitlist__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.waitlist__copy { display: grid; gap: 20px; justify-items: start; }
.waitlist__logo { width: clamp(200px, 24vw, 300px); margin: -50px 0 -30px -54px; }
.waitlist__panel { padding: clamp(24px, 4vw, 44px); border-radius: 30px; background: rgba(13, 13, 16, 0.92); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 80px -30px rgba(200, 16, 46, 0.5); }
.form { display: grid; gap: 20px; }
.form[hidden] { display: none; }
.field { display: grid; gap: 8px; }
.field label, .field__label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field input[type="text"], .field input[type="email"] {
  width: 100%; min-height: 54px; padding: 0 18px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--field-line); border-radius: 14px;
  font: inherit; font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: #8a8a8a; opacity: 1; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 180, 84, 0.18); }
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 14px; border: 1px solid var(--field-line); background: var(--surface); font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
.pick input:checked + span { border-color: var(--gold); color: var(--gold); background: rgba(196, 180, 84, 0.07); }
.pick input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; width: 24px; height: 24px; flex: none; margin: 0; border-radius: 7px; border: 1px solid var(--field-line); background: var(--surface); cursor: pointer; display: grid; place-content: center; }
.check input::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked { border-color: var(--gold); }
.check input:checked::after { opacity: 1; }
.form__status { min-height: 0; font-size: 14.5px; color: var(--danger); }
/* Kept in the page while empty, so that screen readers hear the message when it arrives. */
.form__status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__fine { font-size: 13px; color: var(--quiet); text-align: center; }
.form__fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form__done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 36px 8px; }
.form__done[hidden] { display: none; }
.form__done img { width: 96px; animation: spin-in 0.9s var(--ease) both; }
.form__done p { color: var(--muted); }
@keyframes spin-in { from { opacity: 0; transform: rotate(-200deg) scale(0.5); } to { opacity: 1; transform: none; } }

/* Fair play: present, and quiet */
.fairnote { padding: 44px 0 48px; }
.fairnote__title { font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--quiet); margin-bottom: 18px; }
.fairnote__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 32px; font-size: 13.5px; line-height: 1.55; color: var(--quiet); }
.fairnote__list b { color: var(--muted); font-weight: 600; }

/* Footer */
.foot { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--quiet); }
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 30px; color: var(--muted); font-weight: 500; }
.foot__links a { padding: 8px 0; transition: color 0.2s; }
.foot__links a:hover { color: var(--text); }
.foot__links a[href^="mailto"] { color: var(--gold-light); }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--muted); font-weight: 500; }
.foot__legal a, .foot__cookie { padding: 11px 0; transition: color 0.2s; }
.foot__cookie { font: inherit; font-weight: 500; color: inherit; background: none; border: 0; cursor: pointer; }
.foot__cookie[hidden] { display: none; }
.foot__legal a:hover, .foot__cookie:hover { color: var(--text); }
.foot__base { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 16px; }
.age { display: inline-grid; place-items: center; height: 26px; padding: 0 9px; margin-right: 12px; border-radius: 999px; border: 1.5px solid var(--quiet); color: var(--muted); font-size: 12px; font-weight: 700; vertical-align: middle; }

/* Policy pages (privacy, responsible play) */
.doc { padding: clamp(120px, 14vw, 170px) 0 clamp(64px, 9vw, 110px); }
.doc__wrap { max-width: calc(780px + 2 * var(--gutter)); display: grid; gap: 18px; justify-items: start; }
.doc h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; }
.doc h2 { font-size: clamp(21px, 2.4vw, 26px); line-height: 1.25; letter-spacing: -0.01em; font-weight: 700; margin-top: 22px; }
.doc p, .doc li { color: var(--muted); }
.doc .doc__lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--text); }
.doc .doc__meta { font-size: 14px; color: var(--quiet); }
.doc ul { display: grid; gap: 10px; }
.doc li { position: relative; padding-left: 26px; }
.doc li::before { content: ""; position: absolute; left: 4px; top: 0.66em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); }
.doc b { color: var(--text); font-weight: 600; }
.doc__back { margin-top: 26px; }
.page-doc .nav__cta { margin-left: auto; }

/* Cookie notice: shown only when analytics is configured, and only until the visitor chooses */
.consent { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; width: min(740px, calc(100% - 24px)); transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; padding: 16px 18px 16px 22px; border-radius: 22px; background: #17171b; border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9); font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 280px; }
.consent__acts { display: flex; gap: 10px; }

/* Simple pages (thanks, not found) */
.plain { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 22px; padding: 40px var(--gutter); }
.plain img { width: 180px; }
.plain h1 { font-size: clamp(36px, 7vw, 64px); letter-spacing: -0.03em; line-height: 1.05; font-weight: 800; }
.plain p { color: var(--muted); max-width: 28em; }

/* Narrower screens */
@media (max-width: 1180px) {
  .features { grid-template-columns: 1fr; gap: 24px; }
  .world { grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; padding: 36px 0 0 34px; }
}
@media (max-width: 1000px) {
  .worlds { grid-template-columns: minmax(0, 1fr); }
  .world { grid-template-columns: minmax(0, 1fr) 240px; min-height: 500px; }
  .tile--fast { grid-column: span 12; grid-row: auto; min-height: 480px; }
  .tile--hand, .tile--bet { grid-column: span 6; }
  .fairnote__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__row { justify-content: space-between; height: 68px; }
  .nav__logo { height: 40px; }
  .nav__name { height: clamp(19px, 5.8vw, 24px); }
  .nav__brand, .foot__brand { gap: 10px; }
  .hero { padding: 108px 0 30px; min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero__title { font-size: clamp(40px, 11.4vw, 84px); }
  .hero__stage { --stage-h: clamp(430px, 112vw, 600px); }
  .hero__poster { width: min(144%, calc(var(--stage-h) * 1.18)); }
  .clubs, .waitlist__grid, .about__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .clubs__visual { order: 2; margin-top: 44px; }
  .tile--games, .tile--stakes, .tile--seat { grid-column: span 6; }
  .tile--seat { grid-column: span 12; min-height: 0; }
  .tile--seat .mock { padding-bottom: 22px; }
  .waitlist__logo { margin-left: -44px; }
}
@media (max-width: 640px) {
  .btn { min-height: 54px; padding: 0 26px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .nav__row { gap: 10px; }
  .nav .btn--small { padding: 0 18px; font-size: 14px; min-height: 40px; }
  .nav__cta-more { display: none; }
  .world { grid-template-columns: minmax(0, 1fr); padding: 30px 24px 0; min-height: 0; }
  .world__body { padding-bottom: 8px; }
  .world__shot { min-height: 300px; height: 300px; }
  .world__phone { left: 50%; margin-left: -110px; top: 18px; width: 250px; }
  .world__chips { left: 50%; margin-left: -200px; width: 170px; }
  .tile { padding: 24px; min-height: 0; }
  .tile--hand, .tile--bet, .tile--games, .tile--stakes { grid-column: span 12; }
  .tile--fast { min-height: 560px; justify-content: flex-start; }
  .tile--fast .tile__copy { max-width: none; }
  .tile__phone { position: relative; right: auto; top: auto; width: 68%; margin: 30px auto -150px; order: 2; }
  .clubcard { padding: 18px; transform: none; }
  .floaty--1 { width: 120px; bottom: -52px; right: -2%; }
  .floaty--2 { width: 84px; top: -44px; }
  .floaty--3 { width: 62px; }
  .say__logo { display: none; }
  .fairnote__list { grid-template-columns: 1fr; }
  .foot__row { flex-direction: column; align-items: flex-start; }
  .qa summary { padding: 18px 20px; }
  .qa p { padding: 0 20px 20px; }
  .consent { padding: 16px; }
  .consent__acts { flex: 1 1 100%; }
  .consent__acts .btn { flex: 1; min-height: 46px; padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__in, .js .reveal { opacity: 1; transform: none; }
  .hero__poster { opacity: 1; }
  .tile .pc--hit { transform: translateY(-10px); box-shadow: 0 0 0 3px var(--gold-light), 0 16px 22px rgba(0, 0, 0, 0.45); }
  .streak { display: none; }
  .ticker__track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 8px; }
}
