/* =============================================================
   RAJHANS BOOK — Premium Gaming Platform
   Stylesheet: design system + components
   ============================================================= */

/* -------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------- */
:root {
  /* Surface / depth */
  --c-bg: #04070a;
  --c-bg-2: #060b10;
  --c-bg-3: #0a1017;
  --c-panel: rgba(255, 255, 255, 0.045);
  --c-panel-2: rgba(255, 255, 255, 0.026);
  --c-line: rgba(255, 255, 255, 0.085);
  --c-line-2: rgba(255, 255, 255, 0.16);

  /* Brand — sampled from the Rajhans Book mark */
  --c-brand: #3fe451;
  --c-brand-2: #7cffb0;
  --c-brand-3: #12a437;
  --c-brand-soft: rgba(63, 228, 81, 0.12);
  --c-brand-line: rgba(63, 228, 81, 0.34);
  --c-glow: rgba(63, 228, 81, 0.28);
  --c-gold: #e7d6a8;

  /* WhatsApp — its own green, kept apart from the brand green */
  --c-wa: #25d366;
  --c-wa-2: #12a150;

  /* Text */
  --c-text: #eaf1ec;
  --c-text-2: rgba(234, 241, 236, 0.64);
  --c-text-3: rgba(234, 241, 236, 0.42);

  /* Typography */
  --ff-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.5rem, 1.3rem + 5vw, 5.5rem);
  --fs-h2: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem);
  --fs-h3: clamp(1.15rem, 1.02rem + 0.5vw, 1.45rem);
  --fs-lead: clamp(1rem, 0.95rem + 0.28vw, 1.15rem);
  --fs-body: clamp(0.94rem, 0.9rem + 0.16vw, 1rem);
  --fs-sm: 0.875rem;
  --fs-xs: 0.76rem;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 8vw, 8.75rem);

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -12px rgba(0, 0, 0, 0.7);
  --sh-2: 0 24px 60px -28px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.4);
  --sh-brand: 0 18px 44px -18px rgba(63, 228, 81, 0.55);

  /* Motion */
  --e-out: cubic-bezier(0.22, 0.8, 0.28, 1);
  --e-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.2s;
  --t-base: 0.36s;
  --t-slow: 0.8s;

  --header-h: 78px;
}

/* -------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  min-height: 100%;
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Ambient page wash — one fixed layer instead of per-section gradients */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 78% -8%, rgba(63, 228, 81, 0.09), transparent 62%),
    radial-gradient(48rem 34rem at 6% 34%, rgba(31, 168, 255, 0.05), transparent 60%),
    radial-gradient(52rem 42rem at 52% 106%, rgba(63, 228, 81, 0.07), transparent 64%);
}

img,
svg,
canvas { display: block; max-width: 100%; }

/* Every icon carries .ico and every component then sets its own size.
   This floor exists so a missing or not-yet-parsed component rule can
   never leave an <svg> at its intrinsic 300px — the failure that turns
   one stale stylesheet into a page-wide blowout. Component rules are
   more specific or come later, so nothing here overrides them. */
.ico {
  width: 18px;
  height: 18px;
  flex: none;
}

img { height: auto; }

a { color: inherit; text-decoration: none; }

button,
input,
select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

::selection {
  background: rgba(63, 228, 81, 0.28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--c-brand-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Scrollbar */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--c-bg); }
  ::-webkit-scrollbar-thumb {
    background: rgba(63, 228, 81, 0.22);
    border-radius: 999px;
    border: 2px solid var(--c-bg);
  }
  ::-webkit-scrollbar-thumb:hover { background: rgba(63, 228, 81, 0.4); }
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: 0.7rem 1.3rem;
  background: var(--c-brand);
  color: #04120a;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: transform var(--t-fast) var(--e-out);
}
.skip-link:focus { transform: translate(-50%, 0); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* -------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }

.section__head {
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-brand-2);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-brand));
}

.section__head--center .eyebrow::after,
.eyebrow--center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-brand), transparent);
}

.eyebrow--center { justify-content: center; }

/* Grid cells stretch so sibling cards always share a height */
.stats__grid > li,
.games__grid > li,
.why__grid > li,
.feature-list > li { display: grid; }

.section__title { font-size: var(--fs-h2); }

.section__lead {
  margin-top: 1.15rem;
  font-size: var(--fs-lead);
  color: var(--c-text-2);
  max-width: 56ch;
}

.section__head--center .section__lead { margin-inline: auto; }

.text-grad {
  background: linear-gradient(103deg, var(--c-brand-2) 4%, var(--c-brand) 42%, var(--c-gold) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Reusable glass surface */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}

/* -------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.65rem;
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  isolation: isolate;
  transition: transform var(--t-fast) var(--e-out),
              box-shadow var(--t-base) var(--e-out),
              background-color var(--t-base) var(--e-out),
              border-color var(--t-base) var(--e-out),
              color var(--t-base) var(--e-out);
}

.btn .ico { width: 17px; height: 17px; transition: transform var(--t-base) var(--e-out); }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:hover .ico { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--c-brand-2), var(--c-brand) 46%, var(--c-brand-3));
  color: #04170b;
  box-shadow: var(--sh-brand);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, #a9ffcb, var(--c-brand-2));
  opacity: 0;
  transition: opacity var(--t-base) var(--e-out);
}
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover { box-shadow: 0 22px 52px -18px rgba(63, 228, 81, 0.72); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--c-line-2);
  color: var(--c-text);
}
.btn--ghost:hover {
  background: rgba(63, 228, 81, 0.09);
  border-color: var(--c-brand-line);
  color: #fff;
}


/* WhatsApp: tinted rather than solid, so it never competes with the
   brand-green primary CTA sitting next to it */
.btn--wa {
  background: rgba(37, 211, 102, 0.11);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #d8ffe8;
}
.btn--wa:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: var(--c-wa);
  color: #fff;
}
/* The solid mark reads smaller than a stroked glyph at the same box */
.btn--wa .ico { width: 19px; height: 19px; color: var(--c-wa); }
/* The icon leads here, so the shared nudge-right would read as a wobble */
.btn--wa:hover .ico { transform: none; }

.btn--sm { padding: 0.66rem 1.2rem; font-size: var(--fs-xs); }
.btn--lg { padding: 1.08rem 2.15rem; font-size: 0.95rem; }
.btn--block { width: 100%; }

/* -------------------------------------------------------------
   5. HEADER / NAVIGATION
   ------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-base) var(--e-soft),
              border-color var(--t-base) var(--e-soft),
              backdrop-filter var(--t-base) var(--e-soft),
              height var(--t-base) var(--e-soft);
}

.site-header.is-stuck {
  height: 68px;
  background: rgba(5, 9, 13, 0.72);
  border-bottom-color: var(--c-line);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--t-fast) var(--e-out);
}
.brand:hover { opacity: 0.86; }

.brand__logo {
  width: auto;
  height: 42px;
  transition: height var(--t-base) var(--e-soft);
}
.site-header.is-stuck .brand__logo { height: 36px; }

.nav { display: flex; align-items: center; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-line);
}

.nav__link {
  position: relative;
  display: block;
  padding: 0.55rem 1.05rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text-2);
  transition: color var(--t-fast) var(--e-out), background-color var(--t-fast) var(--e-out);
}
.nav__link:hover { color: var(--c-text); background: rgba(255, 255, 255, 0.05); }
.nav__link.is-active {
  color: var(--c-text);
  background: rgba(63, 228, 81, 0.11);
  box-shadow: inset 0 0 0 1px rgba(63, 228, 81, 0.24);
}

.header__actions { display: flex; align-items: center; gap: 0.75rem; }

/* Burger */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--c-line-2);
  background: rgba(255, 255, 255, 0.035);
  place-items: center;
  transition: background-color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out);
}
.burger:hover { border-color: var(--c-brand-line); }

.burger__box { position: relative; width: 20px; height: 14px; }
.burger__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--c-text);
  transition: transform var(--t-base) var(--e-out), opacity var(--t-fast) var(--e-out);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 6px; }
.burger__box span:nth-child(3) { top: 12px; }

.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2.5rem;
  background: rgba(4, 7, 10, 0.92);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--t-base) var(--e-out),
              transform var(--t-base) var(--e-out),
              visibility var(--t-base) step-end;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--t-base) var(--e-out),
              transform var(--t-base) var(--e-out),
              visibility 0s;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0.4rem;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--c-text);
  opacity: 0;
  transform: translateY(14px);
}
.drawer.is-open .drawer__link {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--e-out), transform 0.45s var(--e-out);
  transition-delay: calc(0.06s * var(--i, 0) + 0.08s);
}
.drawer__link .ico { width: 16px; height: 16px; color: var(--c-brand); }
.drawer__cta { margin-top: 1.5rem; }
.drawer__wa { margin-top: 0.6rem; }

body.is-locked { overflow: hidden; }

/* -------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 3.5rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

/* Perspective floor grid */
.hero__grid {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 220%;
  height: 62%;
  transform: translateX(-50%) perspective(340px) rotateX(58deg);
  transform-origin: 50% 100%;
  background-image:
    linear-gradient(rgba(63, 228, 81, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 228, 81, 0.16) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: radial-gradient(70% 82% at 50% 100%, #000 12%, transparent 76%);
  mask-image: radial-gradient(70% 82% at 50% 100%, #000 12%, transparent 76%);
  opacity: 0.65;
  animation: gridFlow 24s linear infinite;
}

@keyframes gridFlow {
  to { background-position: 0 66px, 0 0; }
}

/* Ambient orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
.hero__orb--1 {
  width: min(46vw, 560px);
  aspect-ratio: 1;
  top: -14%;
  right: -8%;
  background: radial-gradient(circle, rgba(63, 228, 81, 0.5), transparent 66%);
  animation: orbDrift 22s var(--e-soft) infinite alternate;
}
.hero__orb--2 {
  width: min(40vw, 460px);
  aspect-ratio: 1;
  bottom: -12%;
  left: -10%;
  background: radial-gradient(circle, rgba(24, 150, 255, 0.32), transparent 66%);
  animation: orbDrift 28s var(--e-soft) infinite alternate-reverse;
}
.hero__orb--3 {
  width: min(30vw, 340px);
  aspect-ratio: 1;
  top: 32%;
  left: 38%;
  background: radial-gradient(circle, rgba(124, 255, 176, 0.22), transparent 68%);
  animation: orbDrift 32s var(--e-soft) infinite alternate;
}

@keyframes orbDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, -6%, 0) scale(1.12); }
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(75% 60% at 50% 42%, transparent 30%, rgba(4, 7, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 7, 10, 0.55) 0%, transparent 22%, transparent 62%, var(--c-bg) 100%);
}

/* Hero content */
.hero__content {
  position: relative;
  text-align: center;
  max-width: 62rem;
  margin-inline: auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.05rem 0.5rem 0.55rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-line-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-2);
}

.hero__badge b { color: var(--c-text); font-weight: 600; }

.pulse-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(63, 228, 81, 0.16);
  flex-shrink: 0;
}
.pulse-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 0 10px var(--c-brand);
}
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--c-brand);
  animation: pulseRing 2.4s var(--e-soft) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.7); opacity: 0.9; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}

.hero__title {
  margin-top: 1.75rem;
  font-size: var(--fs-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }

.hero__lead {
  margin: 1.6rem auto 0;
  max-width: 60ch;
  font-size: var(--fs-lead);
  color: var(--c-text-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2.75rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__meta .ico { width: 15px; height: 15px; color: var(--c-brand); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.1rem, 3vw, 2.2rem);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--c-brand), transparent);
  animation: scrollHint 2.2s var(--e-soft) infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0% { transform: scaleY(0.15); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Floating props */
.hero__props {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.prop {
  position: absolute;
  display: grid;
  place-items: center;
  width: var(--size, 92px);
  height: var(--size, 92px);
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--c-line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: rotate(var(--rot, 0deg));
  animation: propFloat var(--dur, 9s) var(--e-soft) infinite alternate;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
.prop img { width: 58%; height: 58%; }

.prop::after {
  content: "";
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-glow), transparent 68%);
  opacity: 0.5;
  z-index: -1;
}

@keyframes propFloat {
  from { transform: rotate(var(--rot, 0deg)) translate3d(0, 0, 0); }
  to { transform: rotate(var(--rot, 0deg)) translate3d(0, -22px, 0); }
}

/* Props live in the outer margins so they never cross the centred text column */
.prop--1 { --size: 92px; --rot: -9deg;  --dur: 8s;   top: 19%; left: 3.5%; }
.prop--2 { --size: 74px; --rot: 11deg;  --dur: 10s;  --delay: -3s; top: 45%; left: 1%; }
.prop--3 { --size: 66px; --rot: -6deg;  --dur: 9s;   --delay: -5s; top: 71%; left: 5.5%; }
.prop--4 { --size: 96px; --rot: 8deg;   --dur: 9.5s; top: 17%; right: 3.5%; }
.prop--5 { --size: 72px; --rot: -12deg; --dur: 11s;  --delay: -4s; top: 43%; right: 1%; }
.prop--6 { --size: 64px; --rot: 7deg;   --dur: 8.5s; --delay: -2s; top: 73%; right: 5.5%; }

/* -------------------------------------------------------------
   7. MARQUEE
   ------------------------------------------------------------- */
.marquee {
  position: relative;
  padding-block: 1.35rem;
  border-block: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding-inline: clamp(1.1rem, 2.4vw, 2rem);
  font-family: var(--ff-display);
  font-size: clamp(0.82rem, 0.5rem + 0.6vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-2);
  white-space: nowrap;
}

.marquee__item .ico {
  width: 18px;
  height: 18px;
  color: var(--c-brand);
  flex-shrink: 0;
}

.marquee__sep {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--c-brand);
  transform: rotate(45deg);
  opacity: 0.55;
}

/* -------------------------------------------------------------
   8. STATS
   ------------------------------------------------------------- */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
}

.stat-card {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2.15rem);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--c-line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset-inline: 18%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-brand), transparent);
  opacity: 0.55;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-brand-line);
}

.stat-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  border-radius: 13px;
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand-line);
  color: var(--c-brand-2);
}
.stat-card__icon .ico { width: 20px; height: 20px; }

.stat-card__value {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 1.35rem + 2vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.stat-card__label {
  margin-top: 0.7rem;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

/* -------------------------------------------------------------
   9. GAME CARDS
   ------------------------------------------------------------- */
.games__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1.8vw, 1.6rem);
}

.game-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 3 / 4;
  background: var(--c-bg-3);
  border: 1px solid var(--c-line);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--e-out), border-color var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-out);
  will-change: transform;
}

.game-card:hover,
.game-card:focus-within {
  border-color: var(--c-brand-line);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.95), 0 0 44px -18px var(--c-glow);
}

.game-card.is-tilting { transition: border-color var(--t-base) var(--e-out), box-shadow var(--t-base) var(--e-out); }

.game-card__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.9s var(--e-out);
  will-change: transform;
}

.game-card:hover .game-card__media img,
.game-card:focus-within .game-card__media img { transform: scale(1.13); }

.game-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 10, 0.42) 0%, rgba(4, 7, 10, 0.05) 32%, rgba(4, 7, 10, 0.78) 72%, rgba(4, 7, 10, 0.96) 100%);
}

.game-card__num {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 44px;
  padding: 0.34rem 0.7rem;
  border-radius: var(--r-pill);
  background: rgba(4, 10, 8, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-line-2);
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--c-brand-2);
}

.game-card__tag {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 2;
  padding: 0.34rem 0.75rem;
  border-radius: var(--r-pill);
  background: rgba(63, 228, 81, 0.14);
  border: 1px solid var(--c-brand-line);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-brand-2);
}

.game-card__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  margin: 0.85rem;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.022));
  border: 1px solid var(--c-line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: transform var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out);
}

.game-card:hover .game-card__body { border-color: rgba(63, 228, 81, 0.26); }

.game-card__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #fff;
}

.game-card__desc {
  margin-top: 0.55rem;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--c-text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.05rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--c-line-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-text);
  transition: background-color var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out), color var(--t-base) var(--e-out);
}
.game-card__cta .ico { width: 15px; height: 15px; transition: transform var(--t-base) var(--e-out); }

/* Stretched link — the whole card is clickable with a single focus stop */
.game-card__link {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
}

.game-card:hover .game-card__cta,
.game-card:focus-within .game-card__cta {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #04170b;
}
.game-card:hover .game-card__cta .ico { transform: translateX(3px); }

/* Animated hover border */
.game-card__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0deg, var(--c-brand) 70deg, var(--c-brand-2) 110deg, transparent 190deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-base) var(--e-out);
  pointer-events: none;
}

.game-card:hover .game-card__glow,
.game-card:focus-within .game-card__glow {
  opacity: 0.85;
  animation: borderSpin 4s linear infinite;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderSpin {
  to { --angle: 360deg; }
}

/* -------------------------------------------------------------
   10. FEATURED SPLIT SECTION
   ------------------------------------------------------------- */
.featured__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.featured__visual {
  position: relative;
  border-radius: var(--r-xl);
}

.featured__visual::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 228, 81, 0.18), transparent 68%);
  filter: blur(48px);
  z-index: -1;
}

.featured__visual img { width: 100%; }

.feature-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1.1rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--c-panel-2);
  border: 1px solid var(--c-line);
  transition: transform var(--t-base) var(--e-out), background-color var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out);
}

.feature-item:hover {
  transform: translateX(6px);
  background: rgba(63, 228, 81, 0.05);
  border-color: var(--c-brand-line);
}

.feature-item__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(63, 228, 81, 0.2), rgba(63, 228, 81, 0.05));
  border: 1px solid var(--c-brand-line);
  color: var(--c-brand-2);
  flex-shrink: 0;
}
.feature-item__icon .ico { width: 21px; height: 21px; }
.feature-item:hover .feature-item__icon .ico { animation: iconPop 0.5s var(--e-out); }

@keyframes iconPop {
  50% { transform: scale(1.18) rotate(-6deg); }
}

.feature-item__title {
  font-family: var(--ff-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--c-text);
}
.feature-item__text {
  margin-top: 0.3rem;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

/* -------------------------------------------------------------
   11. SHOWCASE
   ------------------------------------------------------------- */
.showcase {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--c-line);
  background:
    radial-gradient(70% 60% at 50% 42%, rgba(63, 228, 81, 0.11), transparent 68%),
    linear-gradient(180deg, var(--c-bg-2), #05090d 55%, var(--c-bg-2));
}

.showcase__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.75;
}

.showcase__rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(93deg, transparent 44%, rgba(124, 255, 176, 0.11) 50%, transparent 56%),
    linear-gradient(-97deg, transparent 40%, rgba(124, 255, 176, 0.07) 47%, transparent 54%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}

.showcase__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(26rem, 40vw, 34rem);
}

/* Kept narrow enough to clear the floating panels on either side */
.showcase__center {
  position: relative;
  z-index: 3;
  max-width: 40rem;
  text-align: center;
}

.showcase__center .section__title {
  font-size: clamp(1.8rem, 1.15rem + 2.2vw, 3rem);
}

.showcase__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(24rem, 46vw, 42rem);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid rgba(124, 255, 176, 0.14);
  z-index: 1;
}
.showcase__ring::before,
.showcase__ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(124, 255, 176, 0.1);
}
.showcase__ring::after { inset: 28%; border-color: rgba(124, 255, 176, 0.07); }

.showcase__ring i {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-brand-2);
  box-shadow: 0 0 16px var(--c-brand-2);
  transform-origin: 50% calc(50% + 0px);
}

.showcase__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(24rem, 46vw, 42rem);
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: 1;
  animation: spin 26s linear infinite;
}
.showcase__orbit span {
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-brand-2);
  box-shadow: 0 0 18px var(--c-brand-2);
}
@keyframes spin { to { transform: rotate(360deg); } }

.showcase__panels {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.sc-panel {
  position: absolute;
  width: clamp(10rem, 15vw, 13.5rem);
  padding: 1.05rem 1.15rem;
  border-radius: var(--r-md);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--c-line-2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--sh-2);
  animation: propFloat var(--dur, 10s) var(--e-soft) infinite alternate;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}

.sc-panel__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-2);
}
.sc-panel__head .ico { width: 16px; height: 16px; color: var(--c-brand); }

.sc-panel__value {
  margin-top: 0.55rem;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.sc-panel__bar {
  display: block; /* it is a <span> — without this the block child escapes the track */
  margin-top: 0.85rem;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.sc-panel__bar i {
  display: block;
  height: 100%;
  width: var(--w, 60%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-brand-3), var(--c-brand-2));
  animation: barPulse 3.2s var(--e-soft) infinite alternate;
}
@keyframes barPulse {
  from { transform: translateX(-14%); }
  to { transform: translateX(0); }
}

.sc-panel__rows { display: grid; gap: 0.45rem; margin-top: 0.85rem; }
.sc-panel__rows span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.09);
}
.sc-panel__rows span:nth-child(2) { width: 74%; }
.sc-panel__rows span:nth-child(3) { width: 52%; background: rgba(63, 228, 81, 0.32); }

.sc-panel--1 { top: 10%; left: 0; --dur: 9s; }
.sc-panel--2 { top: 60%; left: 2%; --dur: 11s; --delay: -3s; }
.sc-panel--3 { top: 12%; right: 0; --dur: 10s; --delay: -2s; }
.sc-panel--4 { top: 62%; right: 2%; --dur: 12s; --delay: -5s; }

/* -------------------------------------------------------------
   12. WHY / VALUE CARDS
   ------------------------------------------------------------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
}

.why-card {
  position: relative;
  padding: clamp(1.6rem, 2.4vw, 2.15rem);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out);
}

.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(22rem 14rem at var(--mx, 50%) var(--my, 0%), rgba(63, 228, 81, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-base) var(--e-out);
  pointer-events: none;
}

.why-card:hover { transform: translateY(-6px); border-color: var(--c-brand-line); }
.why-card:hover::after { opacity: 1; }

.why-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.35rem;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(63, 228, 81, 0.22), rgba(63, 228, 81, 0.05));
  border: 1px solid var(--c-brand-line);
  color: var(--c-brand-2);
}
.why-card__icon .ico { width: 23px; height: 23px; }

.why-card__title {
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
}
.why-card__text {
  margin-top: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

/* -------------------------------------------------------------
   12.1 TESTIMONIALS
   ------------------------------------------------------------- */
.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--c-gold);
  flex: none;
}
.stars .ico { width: 15px; height: 15px; }
.stars .is-off { color: rgba(255, 255, 255, 0.17); }

/* Rating pill sits between the head and the grid */
.tm__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: max-content;
  max-width: 100%;
  margin: -0.9rem auto clamp(2rem, 3vw, 2.75rem);
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  text-align: center;
}
.tm__rating b { color: #fff; font-weight: 600; }

/* Continuous loop. JS clones the slide set and adds .is-loop, so the
   track stays an ordinary swipeable scroller until that happens. */
.tm__carousel {
  --tm-slide: clamp(17.5rem, 25vw, 23rem);
  --tm-gap: clamp(0.9rem, 1.6vw, 1.4rem);
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.tm__track {
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* headroom for the card hover lift, which the carousel clips */
  padding-block: 0.55rem;
}
.tm__track::-webkit-scrollbar { display: none; }

.tm__carousel.is-loop .tm__track {
  width: max-content;
  overflow: visible;
  scroll-snap-type: none;
  animation: tm-scroll var(--tm-dur, 46s) linear infinite;
  will-change: transform;
}

/* Hold the loop while a quote is being read */
.tm__carousel.is-loop:hover .tm__track,
.tm__carousel.is-loop:focus-within .tm__track { animation-play-state: paused; }

/* -50% is only seamless while the two halves match exactly, so the
   spacing lives on the slide as a margin — a flex gap would add one
   extra gap between the halves and drift on every lap. */
@keyframes tm-scroll {
  to { transform: translate3d(-50%, 0, 0); }
}

.tm__slide {
  display: flex;
  flex: 0 0 var(--tm-slide);
  margin-right: var(--tm-gap);
  scroll-snap-align: center;
}
.tm__slide .tm-card { width: 100%; }

.tm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out);
}

.tm-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(22rem 14rem at var(--mx, 50%) var(--my, 0%), rgba(63, 228, 81, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-base) var(--e-out);
  pointer-events: none;
}

.tm-card:hover { transform: translateY(-6px); border-color: var(--c-brand-line); }
.tm-card:hover::after { opacity: 1; }

/* Oversized quote mark, kept as texture rather than content */
.tm-card__mark {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 42px;
  height: 42px;
  color: var(--c-brand);
  opacity: 0.12;
  pointer-events: none;
}

.tm-card__quote {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.tm-card__quote p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-text-2);
}

/* auto margin pins the author row to the bottom so cards align */
.tm-card__author {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--c-line);
}

.tm-card__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(63, 228, 81, 0.22), rgba(63, 228, 81, 0.05));
  border: 1px solid var(--c-brand-line);
  color: var(--c-brand-2);
  font-family: var(--ff-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tm-card__ident { min-width: 0; }

.tm-card__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
}

.tm-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}
.tm-card__meta .ico { width: 14px; height: 14px; flex: none; color: var(--c-brand); }

.tm__note {
  margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}

/* -------------------------------------------------------------
   13. FAQ
   ------------------------------------------------------------- */
.faq__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.faq__list { display: grid; gap: 0.7rem; }

.faq-item {
  border-radius: var(--r-md);
  background: var(--c-panel-2);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: border-color var(--t-base) var(--e-out), background-color var(--t-base) var(--e-out);
}
.faq-item.is-open {
  border-color: var(--c-brand-line);
  background: rgba(63, 228, 81, 0.045);
}

.faq-item__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.25rem 1.4rem;
  text-align: left;
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  transition: color var(--t-fast) var(--e-out);
}
.faq-item__btn:hover { color: #fff; }

.faq-item__sign {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--c-line-2);
  transition: border-color var(--t-base) var(--e-out), background-color var(--t-base) var(--e-out);
}
.faq-item__sign::before,
.faq-item__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--c-text);
  translate: -50% -50%;
  transition: transform var(--t-base) var(--e-out), background-color var(--t-base) var(--e-out);
}
.faq-item__sign::after { transform: rotate(90deg); }
.faq-item.is-open .faq-item__sign { border-color: var(--c-brand); background: rgba(63, 228, 81, 0.14); }
.faq-item.is-open .faq-item__sign::before,
.faq-item.is-open .faq-item__sign::after { background: var(--c-brand-2); }
.faq-item.is-open .faq-item__sign::after { transform: rotate(0deg); }

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--e-out);
}
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }

.faq-item__inner { overflow: hidden; }
.faq-item__inner p {
  padding: 0 1.4rem 1.35rem;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  max-width: 62ch;
}

.faq__aside {
  padding: clamp(1.6rem, 2.6vw, 2.25rem);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--c-line);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

/* -------------------------------------------------------------
   14. FINAL CTA
   ------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
}

.cta__inner {
  position: relative;
  padding: clamp(3rem, 6vw, 5.75rem) clamp(1.5rem, 5vw, 4.5rem);
  border-radius: var(--r-xl);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(63, 228, 81, 0.2), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--c-line-2);
  box-shadow: var(--sh-2);
}

.cta__inner::before {
  content: "";
  position: absolute;
  inset-inline: 25%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-brand-2), transparent);
}

.cta__particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cta__title {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.cta__lead {
  margin: 1.25rem auto 0;
  max-width: 52ch;
  font-size: var(--fs-lead);
  color: var(--c-text-2);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.cta__channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--c-line);
}

.channel {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  transition: color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out), background-color var(--t-fast) var(--e-out);
}
.channel .ico { width: 17px; height: 17px; color: var(--c-brand); }
.channel:hover { color: #fff; border-color: var(--c-brand-line); background: rgba(63, 228, 81, 0.07); }

/* -------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------- */
.footer {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--c-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 40%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.footer__brand-logo { height: 46px; width: auto; }

.footer__about {
  margin-top: 1.35rem;
  max-width: 38ch;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

.socials { display: flex; gap: 0.6rem; margin-top: 1.75rem; }

.social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--c-line);
  color: var(--c-text-2);
  transition: transform var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out),
              border-color var(--t-fast) var(--e-out), background-color var(--t-fast) var(--e-out);
}
.social .ico { width: 18px; height: 18px; }
.social:hover {
  transform: translateY(-3px);
  color: var(--c-brand-2);
  border-color: var(--c-brand-line);
  background: rgba(63, 228, 81, 0.08);
}

.footer__col-title {
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 1.25rem;
}

.footer__links { display: grid; gap: 0.72rem; }

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  transition: color var(--t-fast) var(--e-out), transform var(--t-fast) var(--e-out);
}
.footer__links a { gap: 0; }
.footer__links a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--c-brand);
  transition: width var(--t-fast) var(--e-out), margin-right var(--t-fast) var(--e-out);
}
.footer__links a:hover { color: var(--c-text); }
.footer__links a:hover::before { width: 12px; margin-right: 0.5rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}

.footer__legal { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.footer__legal a { transition: color var(--t-fast) var(--e-out); }
.footer__legal a:hover { color: var(--c-brand-2); }

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-line-2);
  font-weight: 600;
  color: var(--c-text-2);
}

/* -------------------------------------------------------------
   15.1 FLOATING WHATSAPP
   ------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 2.4vw, 1.9rem);
  bottom: clamp(1rem, 2.4vw, 1.9rem);
  /* under the header (100) and the drawer (99), over everything else */
  z-index: 90;
  display: inline-flex;
  align-items: center;
  height: 58px;
  padding-inline: 16px;
  border-radius: var(--r-pill);
  background: linear-gradient(150deg, var(--c-wa), var(--c-wa-2));
  color: #04170b;
  box-shadow: 0 18px 40px -14px rgba(37, 211, 102, 0.6), 0 2px 10px rgba(0, 0, 0, 0.45);
  transition: transform var(--t-base) var(--e-out), box-shadow var(--t-base) var(--e-out),
              opacity var(--t-base) var(--e-out), visibility var(--t-base) var(--e-out);
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px -14px rgba(37, 211, 102, 0.75), 0 2px 10px rgba(0, 0, 0, 0.45);
}

.wa-float__icon {
  width: 30px;
  height: 30px;
  flex: none;
  /* White mark on green is the brand-correct lockup; the label stays
     dark because it is real text and needs the contrast */
  color: #fff;
}

/* Collapsed to a circle until it is wanted — the label widens on hover
   instead of parking a permanent pill over the page */
.wa-float__label {
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: 0;
  transition: max-width var(--t-base) var(--e-out), margin-left var(--t-base) var(--e-out),
              opacity var(--t-fast) var(--e-out);
}

.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label {
  max-width: 12rem;
  margin-left: 0.6rem;
  opacity: 1;
}

.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--c-wa);
  opacity: 0;
  pointer-events: none;
  animation: wa-pulse 2.8s var(--e-out) infinite;
}

.wa-float:hover .wa-float__pulse { animation: none; opacity: 0; }

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  70%, 100% { transform: scale(1.38); opacity: 0; }
}

/* The open drawer owns the screen — get out of its way */
body.is-locked .wa-float {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
}


/* -------------------------------------------------------------
   16. SCROLL REVEAL
   ------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.85s var(--e-out), transform 0.85s var(--e-out);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.js [data-reveal="left"] { transform: translate3d(-32px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(32px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal="fade"] { transform: none; }

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Hero entrance (runs on load, not scroll) */
.js .hero__anim {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
}
.js .hero.is-ready .hero__anim {
  opacity: 1;
  transform: none;
  transition: opacity 0.95s var(--e-out), transform 0.95s var(--e-out);
  transition-delay: calc(0.1s * var(--i, 0));
}

.js .hero__props .prop { opacity: 0; transition: opacity 1s var(--e-out); transition-delay: calc(0.09s * var(--i, 0) + 0.35s); }
.js .hero.is-ready .prop { opacity: 1; }

/* -------------------------------------------------------------
   17. RESPONSIVE
   ------------------------------------------------------------- */
/* Retire the outer props as the centred column eats into the margins */
@media (max-width: 1280px) {
  .prop--3, .prop--6 { display: none; }
}

@media (max-width: 1120px) {
  .prop--2, .prop--5 { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 70px; }

  /* Sideways reveal offsets would widen the page before they play — go vertical */
  .js [data-reveal="left"],
  .js [data-reveal="right"] { transform: translate3d(0, 26px, 0); }

  /* Remaining props move clear of the copy, above the badge */
  .prop--1 { --size: 74px; top: 9%; left: 2%; }
  .prop--4 { --size: 78px; top: 8%; right: 2%; }

  .nav { display: none; }
  .burger { display: grid; }
  .header__actions .btn--nav { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .games__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }

  .featured__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .featured__visual { order: -1; max-width: 40rem; margin-inline: auto; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__aside { position: static; order: -1; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  /* Showcase panels become a grid under the copy */
  .showcase__stage { min-height: 0; display: block; padding-block: 1rem; }
  .showcase__center { max-width: none; margin-inline: auto; }
  .showcase__ring, .showcase__orbit { display: none; }
  .showcase__panels {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    margin-top: 3rem;
    pointer-events: auto;
  }
  .sc-panel {
    position: static;
    width: auto;
    animation: none;
  }
}

@media (max-width: 720px) {
  :root { --section-y: clamp(3.5rem, 11vw, 5rem); }

  .hero { min-height: auto; padding-block: calc(var(--header-h) + 3rem) 4.5rem; }
  .hero__title { letter-spacing: -0.03em; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta { gap: 0.55rem 1.1rem; }
  .hero__scroll { display: none; }
  .prop--2, .prop--5 { display: none; }
  .prop--1 { --size: 66px; top: 8%; left: 3%; }
  .prop--4 { --size: 72px; top: 7%; right: 3%; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 1.25rem; }
  .stat-card__icon { width: 38px; height: 38px; margin-bottom: 0.9rem; }

  .games__grid { grid-template-columns: 1fr; }
  .game-card { aspect-ratio: 4 / 5; }
  /* Narrower measure needs a third line before the copy truncates */
  .game-card__desc { -webkit-line-clamp: 3; }

  .why__grid { grid-template-columns: 1fr; }

  .cta__channels { flex-direction: column; align-items: stretch; }
  .channel { justify-content: center; }

  .footer__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 420px) {
  :root { --gutter: 1.05rem; }

  .hero__badge { font-size: 0.66rem; padding-inline: 0.8rem 0.5rem; }
  .stats__grid { grid-template-columns: 1fr; }
  .showcase__panels { grid-template-columns: 1fr; }
  .game-card__body { margin: 0.6rem; }
  .brand__logo { height: 34px; }
  .site-header.is-stuck .brand__logo { height: 30px; }
}

@media (min-width: 1600px) {
  :root { --container: 1400px; }
}

/* Coarse pointers: no tilt, no hover-only reliance */
@media (hover: none) {
  .game-card { transform: none !important; }
  .game-card__media img { transform: scale(1.04) !important; }
  .game-card__cta { background: var(--c-brand); border-color: var(--c-brand); color: #04170b; }
  .marquee:hover .marquee__track { animation-play-state: running; }
  .tm-card:hover { transform: none; }
  /* No hover to expand into, so the bubble stays a circle */
  .wa-float__label { display: none; }
}

/* -------------------------------------------------------------
   18. REDUCED MOTION
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .js .hero__anim,
  .js .hero__props .prop {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee__track { animation: none; transform: none; }
  .tm__track { animation: none; transform: none; }
  .wa-float__pulse { animation: none; opacity: 0; }
  .hero__grid { animation: none; }
}

/* Print */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .hero__bg, .marquee, .showcase__particles, .cta__particles, .hero__scroll { display: none !important; }
}

/* =============================================================
   19. ABOUT PAGE
   Components used only by about.html. Everything above is shared
   with the home page and is reused here as-is.
   ============================================================= */

/* Sibling cards share a height, same trick as the home grids */
.pillars > li,
.worlds > li,
.principles > li { display: grid; }

/* -------------------------------------------------------------
   19.1 PAGE HERO — compact banner, never a full viewport
   ------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: calc(var(--header-h) + clamp(2.75rem, 6vw, 5.5rem)) clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.page-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.5;
  will-change: transform;
}
.page-hero__orb--1 {
  width: min(50vw, 580px);
  aspect-ratio: 1;
  top: -34%;
  right: -8%;
  background: radial-gradient(circle, rgba(63, 228, 81, 0.42), transparent 66%);
  animation: orbDrift 24s var(--e-soft) infinite alternate;
}
.page-hero__orb--2 {
  width: min(42vw, 470px);
  aspect-ratio: 1;
  bottom: -46%;
  left: -12%;
  background: radial-gradient(circle, rgba(24, 150, 255, 0.28), transparent 66%);
  animation: orbDrift 30s var(--e-soft) infinite alternate-reverse;
}

.page-hero__particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 7, 10, 0.6) 0%, transparent 30%, transparent 70%, var(--c-bg) 100%);
}

.page-hero__inner { max-width: 56rem; }

.page-hero__title { font-size: clamp(2.1rem, 1.3rem + 3.5vw, 4.2rem); }

.page-hero__lead {
  margin-top: 1.35rem;
  font-size: var(--fs-lead);
  color: var(--c-text-2);
  max-width: 58ch;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
  margin-bottom: 1.5rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  color: var(--c-text-3);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.7rem; }
.breadcrumb li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-line-2);
}
.breadcrumb a {
  display: inline-block;
  padding-block: 0.4rem; /* keeps the tap target comfortable on touch */
  transition: color var(--t-fast) var(--e-out);
}
.breadcrumb a:hover { color: var(--c-brand-2); }
.breadcrumb [aria-current="page"] { color: var(--c-text-2); }

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-text-2);
}
.chip .ico { width: 15px; height: 15px; color: var(--c-brand); flex: none; }

/* -------------------------------------------------------------
   19.2 STORY — split copy + artwork
   ------------------------------------------------------------- */
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.75rem);
}

.story__visual {
  position: relative;
  border-radius: var(--r-xl);
}

.story__visual::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 228, 81, 0.2), transparent 68%);
  filter: blur(52px);
  z-index: -1;
}

.story__visual img {
  width: 100%;
  border-radius: var(--r-xl);
}

.story__text p { color: var(--c-text-2); }
.story__text p + p { margin-top: 1.05rem; }
.story__text strong { color: var(--c-text); font-weight: 600; }

.story__quote {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  border-left: 2px solid var(--c-brand);
  background: rgba(63, 228, 81, 0.05);
  font-family: var(--ff-display);
  font-size: clamp(1rem, 0.94rem + 0.35vw, 1.15rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-text);
}
.story__quote footer {
  margin-top: 0.75rem;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

/* -------------------------------------------------------------
   19.3 PILLARS — mission / vision / promise
   ------------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
}

.pillar {
  position: relative;
  height: 100%;
  padding: clamp(1.7rem, 2.4vw, 2.3rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-base) var(--e-out),
              border-color var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-out);
}

.pillar::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-brand), transparent);
  opacity: 0;
  transition: opacity var(--t-base) var(--e-out);
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: var(--c-brand-line);
  box-shadow: var(--sh-2);
}
.pillar:hover::after { opacity: 1; }

.pillar__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.35rem;
  border-radius: 15px;
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand-line);
  color: var(--c-brand-2);
}
.pillar__icon .ico { width: 22px; height: 22px; }

.pillar__num {
  position: absolute;
  top: clamp(1.2rem, 2vw, 1.7rem);
  right: clamp(1.2rem, 2vw, 1.7rem);
  font-family: var(--ff-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.055);
  pointer-events: none;
}

.pillar__title {
  font-size: var(--fs-h3);
  margin-bottom: 0.7rem;
}

.pillar__text {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

/* -------------------------------------------------------------
   19.4 TIMELINE — alternating rail on desktop, single rail below
   ------------------------------------------------------------- */
.timeline {
  --tl-rail: 50%;
  position: relative;
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: var(--tl-rail);
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--c-brand-line) 10%, var(--c-brand-line) 90%, transparent);
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
}

.tl-item__marker {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
}

.tl-item__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 0 0 5px rgba(63, 228, 81, 0.13), 0 0 22px rgba(63, 228, 81, 0.55);
}

.tl-card {
  grid-row: 1;
  position: relative;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  transition: transform var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out);
}
.tl-card:hover { transform: translateY(-4px); border-color: var(--c-brand-line); }

.tl-item:nth-child(odd) .tl-card { grid-column: 1; text-align: right; }
.tl-item:nth-child(even) .tl-card { grid-column: 3; }

.tl-card__year {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-family: var(--ff-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-brand-2);
}

.tl-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.tl-card__text {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

/* -------------------------------------------------------------
   19.5 WORLDS — compact index of the six arenas
   ------------------------------------------------------------- */
.worlds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.7rem, 1.3vw, 1rem);
}

.world {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  height: 100%;
  padding: 1.05rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--c-panel-2);
  border: 1px solid var(--c-line);
  transition: background-color var(--t-base) var(--e-out),
              border-color var(--t-base) var(--e-out),
              transform var(--t-base) var(--e-out);
}
.world:hover {
  transform: translateY(-3px);
  background: rgba(63, 228, 81, 0.06);
  border-color: var(--c-brand-line);
}

.world__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand-line);
  color: var(--c-brand-2);
}
.world__icon .ico { width: 19px; height: 19px; }

.world__name {
  display: block;
  line-height: 1.35;
  font-family: var(--ff-display);
  font-size: 0.98rem;
  font-weight: 600;
}
.world__note {
  display: block;
  margin-top: 0.1rem;
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}

/* -------------------------------------------------------------
   19.6 PRINCIPLES — numbered ways of working
   ------------------------------------------------------------- */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
}

.principle {
  display: flex;
  gap: 1.1rem;
  height: 100%;
  padding: clamp(1.4rem, 2vw, 1.9rem);
  border-radius: var(--r-lg);
  background: var(--c-panel-2);
  border: 1px solid var(--c-line);
  transition: background-color var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out);
}
.principle:hover { background: var(--c-panel); border-color: var(--c-line-2); }

.principle__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand-line);
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-brand-2);
}

.principle__title {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.principle__text {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

/* -------------------------------------------------------------
   19.7 TRUST / RESPONSIBLE PLAY
   ------------------------------------------------------------- */
.trust__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 120% at 12% 0%, rgba(63, 228, 81, 0.13), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--c-line-2);
  box-shadow: var(--sh-2);
}

.check-list { display: grid; gap: 0.9rem; }

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

.check-item__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: rgba(63, 228, 81, 0.12);
  border: 1px solid var(--c-brand-line);
  color: var(--c-brand-2);
}
.check-item__mark .ico { width: 13px; height: 13px; }

.check-item b { display: block; color: var(--c-text); font-weight: 600; }

/* -------------------------------------------------------------
   19.8 ABOUT — RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .story__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story__visual { order: -1; max-width: 38rem; margin-inline: auto; }

  .pillars { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .worlds { grid-template-columns: repeat(2, 1fr); }

  .trust__panel { grid-template-columns: 1fr; }
}

/* Alternating rail no longer fits — collapse to a single left rail */
@media (max-width: 900px) {
  .timeline { --tl-rail: 19px; }

  .tl-item {
    grid-template-columns: 38px 1fr;
    align-items: start;
    column-gap: 1rem;
  }

  .tl-item__marker {
    grid-column: 1;
    align-self: start;
    padding-top: 1.6rem;
  }

  .tl-item:nth-child(odd) .tl-card,
  .tl-item:nth-child(even) .tl-card {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .page-hero { padding-block: calc(var(--header-h) + 2.25rem) 3rem; }
  .worlds { grid-template-columns: 1fr; }
  .story__quote { padding: 1.15rem 1.2rem; }
  .about-cta .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .chip { padding: 0.55rem 0.85rem; }
  .pillar__num { font-size: 1.9rem; }
  .principle { gap: 0.9rem; }
  .principle__num { width: 38px; height: 38px; border-radius: 12px; }
  .timeline { --tl-rail: 15px; }
  .tl-item { grid-template-columns: 30px 1fr; column-gap: 0.75rem; }
  .tl-item__marker { padding-top: 1.4rem; }
  .tl-item__dot { width: 11px; height: 11px; }
}

/* Coarse pointers: hover lifts never latch on tap */
@media (hover: none) {
  .pillar:hover,
  .tl-card:hover,
  .world:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__orb { animation: none; }
}

/* =============================================================
   20. FAQ PAGE
   Components used only by faq.html. The accordion itself
   (.faq-item) is shared with the home page, section 13.
   ============================================================= */

/* Sticky category rail beside the answers */
.faq-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.faq-content { min-width: 0; }

.faq-aside {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

/* -------------------------------------------------------------
   20.1 SEARCH
   ------------------------------------------------------------- */
.faq-search { position: relative; }

.faq-search__input {
  width: 100%;
  padding: 0.95rem 2.9rem 0.95rem 2.85rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line-2);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  transition: border-color var(--t-fast) var(--e-out),
              background-color var(--t-fast) var(--e-out);
}
.faq-search__input::placeholder { color: var(--c-text-3); }
.faq-search__input:hover { border-color: rgba(255, 255, 255, 0.24); }
.faq-search__input:focus {
  border-color: var(--c-brand-line);
  background: rgba(63, 228, 81, 0.05);
}

/* Chrome's native clear button would sit on top of ours */
.faq-search__input::-webkit-search-cancel-button { display: none; }

.faq-search__icon {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  translate: 0 -50%;
  width: 17px;
  height: 17px;
  color: var(--c-text-3);
  pointer-events: none;
}

.faq-search__clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--c-text-3);
  transition: color var(--t-fast) var(--e-out), background-color var(--t-fast) var(--e-out);
}
.faq-search__clear .ico { width: 14px; height: 14px; }
.faq-search__clear:hover { color: var(--c-text); background: rgba(255, 255, 255, 0.07); }

/* -------------------------------------------------------------
   20.2 CATEGORY JUMP RAIL
   ------------------------------------------------------------- */
.faq-jump {
  display: grid;
  gap: 0.15rem;
  margin-top: 1.5rem;
}

.faq-jump a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.95rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text-2);
  transition: background-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.faq-jump a:hover { background: rgba(255, 255, 255, 0.045); color: var(--c-text); }

.faq-jump .ico { width: 16px; height: 16px; flex: none; color: var(--c-brand); }
.faq-jump b {
  margin-left: auto;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-text-3);
}

/* Support nudge under the rail */
.support-card {
  margin-top: 1.6rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--c-line);
}

.support-card__title {
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.support-card__text {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  margin-bottom: 1.15rem;
}

/* -------------------------------------------------------------
   20.3 CATEGORIES
   ------------------------------------------------------------- */
.faq-cat + .faq-cat { margin-top: clamp(2.25rem, 4vw, 3.25rem); }

.faq-cat__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-line);
}

.faq-cat__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand-line);
  color: var(--c-brand-2);
}
.faq-cat__icon .ico { width: 18px; height: 18px; }

.faq-cat__title { font-size: 1.2rem; }

.faq-cat__count {
  margin-left: auto;
  flex: none;
  font-size: var(--fs-xs);
  color: var(--c-text-3);
  white-space: nowrap;
}

/* Filtered-out rows leave no gap behind */
.faq-search__clear[hidden],
.faq-item[hidden],
.faq-cat[hidden],
.faq-jump a[hidden] { display: none; }

/* Empty state */
.faq-empty {
  display: none;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  border-radius: var(--r-lg);
  border: 1px dashed var(--c-line-2);
  background: var(--c-panel-2);
}
.faq-empty.is-shown { display: block; }

.faq-empty__title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.faq-empty__text { font-size: var(--fs-sm); color: var(--c-text-2); }
.faq-empty__text b { color: var(--c-text); font-weight: 600; }

/* -------------------------------------------------------------
   20.4 FAQ — RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .faq-page__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }

  .faq-aside { position: static; }

  /* Rail becomes a swipeable pill row above the answers */
  .faq-jump {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.15rem;
    padding-bottom: 0.55rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .faq-jump a {
    flex: none;
    border-radius: var(--r-pill);
    border: 1px solid var(--c-line);
    background: rgba(255, 255, 255, 0.03);
  }
  .faq-jump b { margin-left: 0; }

  /* The global 10px bar is too heavy under a pill row */
  .faq-jump::-webkit-scrollbar { height: 5px; }
  .faq-jump::-webkit-scrollbar-track { background: transparent; }
  .faq-jump::-webkit-scrollbar-thumb {
    background: rgba(63, 228, 81, 0.3);
    border: 0;
    border-radius: 999px;
  }

  .support-card { margin-top: 1.5rem; }
}

@media (max-width: 720px) {
  .faq-cat__head { gap: 0.7rem; flex-wrap: wrap; }
  .faq-cat__count { margin-left: 0; width: 100%; }
  .support-card__cta { width: 100%; }
}

@media (max-width: 420px) {
  .faq-cat__icon { width: 34px; height: 34px; border-radius: 11px; }
  .faq-cat__title { font-size: 1.08rem; }
  .faq-search__input { padding-inline: 2.7rem; }
}

/* =============================================================
   21. CONTACT PAGE
   ============================================================= */
.channel-grid > li,
.info-list > li { display: grid; }

/* -------------------------------------------------------------
   21.1 CHANNEL CARDS
   ------------------------------------------------------------- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
}

.channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-base) var(--e-out),
              border-color var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-out);
}

.channel-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-brand), transparent);
  opacity: 0;
  transition: opacity var(--t-base) var(--e-out);
}

.channel-card:hover,
.channel-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--c-brand-line);
  box-shadow: var(--sh-2);
}
.channel-card:hover::after,
.channel-card:focus-within::after { opacity: 1; }

.channel-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.3rem;
  border-radius: 15px;
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand-line);
  color: var(--c-brand-2);
}
.channel-card__icon .ico { width: 22px; height: 22px; }

.channel-card__title {
  font-size: var(--fs-h3);
  margin-bottom: 0.45rem;
}

.channel-card__text {
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  margin-bottom: 1.2rem;
}

.channel-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--c-brand-2);
  overflow-wrap: anywhere;
}
.channel-card__meta .ico {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform var(--t-base) var(--e-out);
}
.channel-card:hover .channel-card__meta .ico { transform: translateX(3px); }

/* Whole card is the target; the visible label keeps the accessible name */
.channel-card__link { position: absolute; inset: 0; border-radius: inherit; }

/* -------------------------------------------------------------
   21.2 FORM
   ------------------------------------------------------------- */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.form-panel {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--c-line-2);
  box-shadow: var(--sh-2);
}

.form { display: grid; gap: 1.1rem; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field { display: grid; gap: 0.5rem; min-width: 0; }

.field__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--c-text-2);
}
.field__label .req { color: var(--c-brand); }

.field__control { position: relative; }

.field__input,
.field__select,
.field__textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--c-line-2);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  line-height: 1.5;
  transition: border-color var(--t-fast) var(--e-out),
              background-color var(--t-fast) var(--e-out);
}

.field__input::placeholder,
.field__textarea::placeholder { color: var(--c-text-3); }

.field__input:hover,
.field__select:hover,
.field__textarea:hover { border-color: rgba(255, 255, 255, 0.24); }

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  border-color: var(--c-brand-line);
  background: rgba(63, 228, 81, 0.05);
}

.field__textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.65;
}

.field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.9rem;
  cursor: pointer;
}
/* The dropdown list itself is painted by the OS, not the page */
.field__select option { background: var(--c-bg-3); color: var(--c-text); }

.field__chevron {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  translate: 0 -50%;
  width: 15px;
  height: 15px;
  color: var(--c-text-3);
  pointer-events: none;
}

/* Declared after :focus so an invalid field still reads as invalid */
.field__input[aria-invalid="true"],
.field__select[aria-invalid="true"],
.field__textarea[aria-invalid="true"] {
  border-color: #ff7a7a;
  background: rgba(255, 122, 122, 0.06);
}

.field__error {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  color: #ff9b9b;
}
.field__error.is-shown { display: flex; }
.field__error .ico { width: 13px; height: 13px; flex: none; }

.field__count {
  justify-self: end;
  font-size: var(--fs-xs);
  color: var(--c-text-3);
  font-variant-numeric: tabular-nums;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}
.form__note {
  flex: 1 1 15rem;
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}

.form__status {
  display: none;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.95rem 1.15rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
}
.form__status.is-shown { display: flex; }
.form__status .ico { width: 17px; height: 17px; flex: none; margin-top: 0.15rem; }

.form__status--ok {
  background: rgba(63, 228, 81, 0.1);
  border: 1px solid var(--c-brand-line);
  color: var(--c-text);
}
.form__status--ok .ico { color: var(--c-brand-2); }

.form__status--err {
  background: rgba(255, 122, 122, 0.09);
  border: 1px solid rgba(255, 122, 122, 0.42);
  color: #ffd0d0;
}

/* Honeypot — off-screen for people, irresistible to bots */
.form__trap {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.form__trap input { width: 100%; }

/* -------------------------------------------------------------
   21.3 CONTACT ASIDE
   ------------------------------------------------------------- */
.contact-aside { min-width: 0; }

.info-list { display: grid; gap: 0.7rem; }

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  height: 100%;
  padding: 1.05rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--c-panel-2);
  border: 1px solid var(--c-line);
}

.info-row__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand-line);
  color: var(--c-brand-2);
}
.info-row__icon .ico { width: 17px; height: 17px; }

.info-row__label {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.info-row__value {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text);
  overflow-wrap: anywhere;
}

/* -------------------------------------------------------------
   21.4 CONTACT — RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .channel-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .form__note { flex-basis: 100%; }
}

@media (hover: none) {
  .channel-card:hover { transform: none; }
}

/* =============================================================
   22. LEGAL PAGES (privacy policy, and anything like it)
   ============================================================= */
.legal__grid {
  display: grid;
  grid-template-columns: minmax(0, 265px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* -------------------------------------------------------------
   22.1 TABLE OF CONTENTS
   ------------------------------------------------------------- */
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  min-width: 0;
}

.legal-toc__title {
  margin-bottom: 0.85rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

.legal-toc ol {
  display: grid;
  gap: 0.1rem;
  counter-reset: toc;
}

.legal-toc a {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  transition: background-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.legal-toc a:hover { background: rgba(255, 255, 255, 0.045); color: var(--c-text); }

.legal-toc a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  flex: none;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-brand);
}

/* -------------------------------------------------------------
   22.2 DOCUMENT BODY
   ------------------------------------------------------------- */
.legal-body { min-width: 0; max-width: 68ch; }

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.6rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}
.legal-meta b { color: var(--c-text-2); font-weight: 600; }

.legal-sec + .legal-sec { margin-top: clamp(2.25rem, 4vw, 3rem); }

.legal-sec__title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.legal-sec__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand-line);
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--c-brand-2);
}

.legal-body p { color: var(--c-text-2); }
.legal-body p + p { margin-top: 1rem; }
.legal-body strong { color: var(--c-text); font-weight: 600; }

.legal-body h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.55rem;
  font-size: 1.02rem;
}

.legal-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}
.legal-list li {
  /* Not flex: that would make <b>, text and <a> separate flex items
     on one unwrappable row. Normal inline flow wraps correctly. */
  position: relative;
  padding-left: 1.35rem;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
  overflow-wrap: anywhere;
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-brand);
}
.legal-list b { color: var(--c-text); font-weight: 600; }

.legal-body a:not(.btn) {
  color: var(--c-brand-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.legal-note {
  margin-top: 1.25rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  border-left: 2px solid var(--c-brand);
  background: rgba(63, 228, 81, 0.05);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

/* Every spot that needs a real legal detail before this page goes live */
.legal-todo {
  padding: 0.08rem 0.42rem;
  border-radius: 5px;
  background: rgba(231, 214, 168, 0.14);
  border: 1px dashed rgba(231, 214, 168, 0.55);
  color: var(--c-gold);
  font-size: 0.93em;
  font-weight: 600;
  white-space: nowrap;
}

/* -------------------------------------------------------------
   22.3 LEGAL — RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .legal__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }

  .legal-toc {
    position: static;
    padding: 1.35rem 1.4rem;
    border-radius: var(--r-lg);
    background: var(--c-panel-2);
    border: 1px solid var(--c-line);
  }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.15rem 0.6rem; }

  .legal-body { max-width: none; }
}

@media (max-width: 600px) {
  .legal-toc ol { grid-template-columns: minmax(0, 1fr); }
  .legal-todo { white-space: normal; }
}

@media (max-width: 420px) {
  .legal-sec__title { gap: 0.65rem; }
  .legal-sec__num { width: 28px; height: 28px; border-radius: 9px; }
}

/* =============================================================
   23. ARENA PAGES
   One structure, six atmospheres. Each page carries a theme
   class that swaps a single accent token set; every component
   below reads from those rather than the brand green, so the
   arenas feel like different rooms in the same building.
   ============================================================= */
.game-page {
  --g-rgb: 63, 228, 81;
  --g-accent: #3fe451;
  --g-accent-2: #7cffb0;
  --g-soft: rgba(var(--g-rgb), 0.12);
  --g-line: rgba(var(--g-rgb), 0.34);
  --g-glow: rgba(var(--g-rgb), 0.3);
}

.theme-cricket    { --g-rgb: 139, 255, 107; --g-accent: #8bff6b; --g-accent-2: #ccffb9; }
.theme-football   { --g-rgb: 63, 169, 255;  --g-accent: #3fa9ff; --g-accent-2: #a9dcff; }
.theme-casino     { --g-rgb: 231, 196, 106; --g-accent: #e7c46a; --g-accent-2: #f6e3b3; }
.theme-snooker    { --g-rgb: 255, 95, 107;  --g-accent: #ff5f6b; --g-accent-2: #ffb3b8; }
.theme-slots      { --g-rgb: 176, 108, 255; --g-accent: #b06cff; --g-accent-2: #ddc2ff; }
.theme-aviator    { --g-rgb: 53, 224, 212;  --g-accent: #35e0d4; --g-accent-2: #a9f4ee; }

/* -------------------------------------------------------------
   23.1 SHARED COMPONENTS, RETINTED
   ------------------------------------------------------------- */
.game-page .eyebrow { color: var(--g-accent-2); }
.game-page .eyebrow::before { background: linear-gradient(90deg, transparent, var(--g-accent)); }
.game-page .section__head--center .eyebrow::after,
.game-page .eyebrow--center::after { background: linear-gradient(90deg, var(--g-accent), transparent); }

.game-page .text-grad {
  background: linear-gradient(103deg, var(--g-accent-2) 4%, var(--g-accent) 48%, var(--c-gold) 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.game-page .chip .ico { color: var(--g-accent); }

.game-page .btn--primary {
  background: linear-gradient(135deg, var(--g-accent-2), var(--g-accent) 52%, rgba(var(--g-rgb), 0.72));
  color: #05100a;
  box-shadow: 0 18px 44px -18px rgba(var(--g-rgb), 0.55);
}
.game-page .btn--primary::after {
  background: linear-gradient(135deg, #fff, var(--g-accent-2));
}
.game-page .btn--primary:hover { box-shadow: 0 22px 52px -18px rgba(var(--g-rgb), 0.72); }

.game-page .btn--ghost:hover {
  background: rgba(var(--g-rgb), 0.1);
  border-color: var(--g-line);
}

.game-page .breadcrumb a:hover { color: var(--g-accent-2); }

/* The active nav pill and text selection follow the arena too */
.game-page .nav__link.is-active {
  background: rgba(var(--g-rgb), 0.11);
  box-shadow: inset 0 0 0 1px rgba(var(--g-rgb), 0.26);
}

.game-page ::selection { background: rgba(var(--g-rgb), 0.3); color: #fff; }

.game-page .skip-link { background: var(--g-accent); }

/* The ambient page wash picks up the arena too */
.game-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58rem 38rem at 80% -6%, rgba(var(--g-rgb), 0.1), transparent 62%),
    radial-gradient(50rem 40rem at 12% 42%, rgba(var(--g-rgb), 0.05), transparent 60%);
}

/* -------------------------------------------------------------
   23.2 ARENA HERO — copy beside the artwork
   ------------------------------------------------------------- */
.game-hero {
  position: relative;
  padding-block: calc(var(--header-h) + clamp(2.5rem, 5vw, 4.5rem)) clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}

.game-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.game-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(74px);
  opacity: 0.55;
}
.game-hero__orb--1 {
  width: min(48vw, 560px);
  aspect-ratio: 1;
  top: -30%;
  right: -6%;
  background: radial-gradient(circle, rgba(var(--g-rgb), 0.45), transparent 66%);
  animation: orbDrift 24s var(--e-soft) infinite alternate;
}
.game-hero__orb--2 {
  width: min(40vw, 440px);
  aspect-ratio: 1;
  bottom: -40%;
  left: -10%;
  background: radial-gradient(circle, rgba(var(--g-rgb), 0.22), transparent 66%);
  animation: orbDrift 30s var(--e-soft) infinite alternate-reverse;
}

.game-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 7, 10, 0.6) 0%, transparent 32%, transparent 68%, var(--c-bg) 100%);
}

.game-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.game-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--g-line);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-2);
}
.game-hero__badge span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--g-soft);
  color: var(--g-accent-2);
}
.game-hero__badge span .ico { width: 14px; height: 14px; }

.game-hero__title { font-size: clamp(2.2rem, 1.35rem + 3.4vw, 4rem); }

.game-hero__lead {
  margin-top: 1.3rem;
  font-size: var(--fs-lead);
  color: var(--c-text-2);
  max-width: 52ch;
}

.game-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

/* Artwork frame */
.game-hero__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--g-line);
  box-shadow: var(--sh-2);
}
.game-hero__media::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--g-rgb), 0.35), transparent 68%);
  filter: blur(54px);
}
.game-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.game-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 7, 10, 0.55) 100%);
}

/* -------------------------------------------------------------
   23.3 HIGHLIGHT CARDS
   ------------------------------------------------------------- */
.g-highlights > li,
.format-list > li,
.g-stats > li,
.arena-nav > li { display: grid; }

.g-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.85rem, 1.5vw, 1.3rem);
}

.g-card {
  position: relative;
  height: 100%;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-1);
  overflow: hidden;
  transition: transform var(--t-base) var(--e-out),
              border-color var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-out);
}
.g-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--g-accent), transparent);
  opacity: 0;
  transition: opacity var(--t-base) var(--e-out);
}
.g-card:hover {
  transform: translateY(-6px);
  border-color: var(--g-line);
  box-shadow: var(--sh-2);
}
.g-card:hover::after { opacity: 1; }

.g-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  border-radius: 14px;
  background: var(--g-soft);
  border: 1px solid var(--g-line);
  color: var(--g-accent-2);
}
.g-card__icon .ico { width: 21px; height: 21px; }

.g-card__title { font-size: 1.05rem; margin-bottom: 0.55rem; }
.g-card__text { font-size: var(--fs-sm); color: var(--c-text-2); }

/* -------------------------------------------------------------
   23.4 FORMATS — the ways to play
   ------------------------------------------------------------- */
.format-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
}

.format {
  display: flex;
  gap: 1.1rem;
  height: 100%;
  padding: clamp(1.35rem, 2vw, 1.85rem);
  border-radius: var(--r-lg);
  background: var(--c-panel-2);
  border: 1px solid var(--c-line);
  transition: background-color var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out);
}
.format:hover { background: var(--c-panel); border-color: var(--g-line); }

.format__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--g-soft);
  border: 1px solid var(--g-line);
  font-family: var(--ff-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--g-accent-2);
}

.format__title { font-size: 1.02rem; margin-bottom: 0.4rem; }
.format__text { font-size: var(--fs-sm); color: var(--c-text-2); }

/* -------------------------------------------------------------
   23.5 ARENA STATS
   ------------------------------------------------------------- */
.g-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
}

.g-stat {
  height: 100%;
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(var(--g-rgb), 0.075), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--g-line);
  text-align: center;
}

.g-stat__value {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--g-accent-2);
}

.g-stat__label {
  margin-top: 0.6rem;
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}

/* -------------------------------------------------------------
   23.6 OTHER ARENAS
   ------------------------------------------------------------- */
.arena-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.7rem, 1.3vw, 1rem);
}

.arena-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  padding: 1.35rem 1rem;
  border-radius: var(--r-md);
  background: var(--c-panel-2);
  border: 1px solid var(--c-line);
  text-align: center;
  transition: background-color var(--t-base) var(--e-out),
              border-color var(--t-base) var(--e-out),
              transform var(--t-base) var(--e-out);
}
.arena-link:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--c-line-2);
}

.arena-link__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-line);
  color: var(--c-text-2);
  transition: color var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out);
}
.arena-link__icon .ico { width: 20px; height: 20px; }

/* Each tile previews its own arena's colour, not the current page's */
.arena-link--cricket:hover .arena-link__icon { color: #8bff6b; border-color: rgba(139, 255, 107, 0.45); }
.arena-link--football:hover .arena-link__icon { color: #3fa9ff; border-color: rgba(63, 169, 255, 0.45); }
.arena-link--casino:hover .arena-link__icon { color: #e7c46a; border-color: rgba(231, 196, 106, 0.45); }
.arena-link--snooker:hover .arena-link__icon { color: #ff5f6b; border-color: rgba(255, 95, 107, 0.45); }
.arena-link--slots:hover .arena-link__icon { color: #b06cff; border-color: rgba(176, 108, 255, 0.45); }
.arena-link--aviator:hover .arena-link__icon { color: #35e0d4; border-color: rgba(53, 224, 212, 0.45); }

.arena-link__name {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text);
}

/* -------------------------------------------------------------
   23.7 ARENA STORY
   ------------------------------------------------------------- */
.g-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.g-story__visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-line);
}
.g-story__visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--g-rgb), 0.28), transparent 68%);
  filter: blur(50px);
}
.g-story__visual img { width: 100%; }

.g-story__text p { color: var(--c-text-2); }
.g-story__text p + p { margin-top: 1.05rem; }
.g-story__text strong { color: var(--c-text); font-weight: 600; }

.g-pull {
  margin-top: 2rem;
  padding: 1.3rem 1.5rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  border-left: 2px solid var(--g-accent);
  background: rgba(var(--g-rgb), 0.06);
  font-family: var(--ff-display);
  font-size: clamp(1rem, 0.94rem + 0.35vw, 1.12rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-text);
}

/* -------------------------------------------------------------
   23.8 ARENA — RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .game-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .game-hero__media { order: -1; max-width: 30rem; margin-inline: auto; }
  .game-hero__lead { max-width: none; }

  .g-highlights { grid-template-columns: repeat(2, 1fr); }
  .format-list { grid-template-columns: minmax(0, 1fr); }

  .g-story__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .g-story__visual { order: -1; max-width: 34rem; margin-inline: auto; }

  .arena-nav { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .game-hero { padding-block: calc(var(--header-h) + 2.25rem) 3rem; }
  .game-hero__actions .btn { flex: 1 1 100%; }
  .game-hero__media { max-width: none; }

  .g-highlights { grid-template-columns: minmax(0, 1fr); }
  .g-stats { grid-template-columns: minmax(0, 1fr); }
  .arena-nav { grid-template-columns: repeat(2, 1fr); }
  .g-pull { padding: 1.1rem 1.2rem; }
}

@media (max-width: 420px) {
  .arena-nav { grid-template-columns: minmax(0, 1fr); }
  .arena-link { flex-direction: row; text-align: left; gap: 0.9rem; }
  .format { gap: 0.9rem; }
  .format__num { width: 36px; height: 36px; border-radius: 11px; }
}

@media (hover: none) {
  .g-card:hover,
  .arena-link:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .game-hero__orb { animation: none; }
}

/* =============================================================
   24. GAMES DROPDOWN
   Desktop: a flyout that opens on hover AND on focus-within, so
   it works with the keyboard and without JavaScript. JS only
   syncs aria-expanded and adds Escape-to-close.
   Mobile: the drawer row becomes a collapsible group.
   ============================================================= */
.nav__item { position: relative; }

.nav__link--menu {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.nav__caret {
  width: 13px;
  height: 13px;
  opacity: 0.7;
  transition: transform var(--t-base) var(--e-out);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  translate: -50% 0;
  z-index: 5;
  width: min(90vw, 440px);
  padding: 0.5rem;
  border-radius: var(--r-lg);
  background: rgba(7, 12, 17, 0.94);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--c-line-2);
  box-shadow: var(--sh-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-base) var(--e-out),
              transform var(--t-base) var(--e-out),
              visibility var(--t-base) step-end;
}

/* Bridges the gap to the trigger so crossing it never closes the menu */
.nav__menu::before {
  content: "";
  position: absolute;
  inset: -14px 0 auto;
  height: 14px;
}

.nav__item:hover > .nav__menu,
.nav__item:focus-within > .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--t-base) var(--e-out),
              transform var(--t-base) var(--e-out),
              visibility 0s;
}

.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret { transform: rotate(180deg); }

/* Escape sets this; it has to outrank the :hover and :focus-within rules
   above, so it is declared after them. */
.nav__item.is-dismissed > .nav__menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
}
.nav__item.is-dismissed .nav__caret { transform: none; }

.nav__menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.nav__menu-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.65rem;
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast) var(--e-out);
}
.nav__menu-link:hover { background: rgba(255, 255, 255, 0.06); }

.nav__menu-link.is-current {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--c-line-2);
}

.nav__menu-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-line);
  color: var(--c-text-2);
  transition: color var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out);
}
.nav__menu-icon .ico { width: 16px; height: 16px; }

.nav__menu-name {
  display: block;
  font-family: var(--ff-display);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text);
}
.nav__menu-note {
  display: block;
  font-size: 0.7rem;
  font-style: normal;
  color: var(--c-text-3);
}

/* Each row previews its own arena's colour */
.nav__menu-link--cricket:hover  .nav__menu-icon { color: #8bff6b; border-color: rgba(139, 255, 107, 0.45); }
.nav__menu-link--football:hover .nav__menu-icon { color: #3fa9ff; border-color: rgba(63, 169, 255, 0.45); }
.nav__menu-link--casino:hover   .nav__menu-icon { color: #e7c46a; border-color: rgba(231, 196, 106, 0.45); }
.nav__menu-link--snooker:hover  .nav__menu-icon { color: #ff5f6b; border-color: rgba(255, 95, 107, 0.45); }
.nav__menu-link--slots:hover    .nav__menu-icon { color: #b06cff; border-color: rgba(176, 108, 255, 0.45); }
.nav__menu-link--aviator:hover  .nav__menu-icon { color: #35e0d4; border-color: rgba(53, 224, 212, 0.45); }

/* "All six arenas" row spans the full width */
.nav__menu-all {
  grid-column: 1 / -1;
  margin-top: 3px;
  padding-top: 0.4rem;
  border-top: 1px solid var(--c-line);
}
.nav__menu-all .nav__menu-link {
  justify-content: space-between;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text-2);
}
.nav__menu-all .nav__menu-link:hover { color: var(--c-text); }
.nav__menu-all .ico { width: 15px; height: 15px; color: var(--c-brand); }

/* -------------------------------------------------------------
   24.1 DRAWER GROUP — the same menu on small screens
   ------------------------------------------------------------- */
.drawer {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer__group { display: grid; }

.drawer__toggle {
  width: 100%;
  text-align: left;
}

.drawer__caret {
  width: 16px;
  height: 16px;
  color: var(--c-brand);
  transition: transform var(--t-base) var(--e-out);
}
.drawer__group.is-open .drawer__caret { transform: rotate(180deg); }

.drawer__sub {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.42s var(--e-out), visibility 0.42s step-end;
}
.drawer__group.is-open .drawer__sub {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.42s var(--e-out), visibility 0s;
}

.drawer__sub-inner { overflow: hidden; }

.drawer__sub-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.4rem 0.8rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text-2);
  transition: color var(--t-fast) var(--e-out);
}
.drawer__sub-link:last-child { border-bottom: 0; }
.drawer__sub-link .ico { width: 17px; height: 17px; flex: none; color: var(--c-brand); }
.drawer__sub-link:hover { color: var(--c-text); }
.drawer__sub-link.is-current { color: var(--c-text); }

/* Arena pages tint their own menus */
.game-page .drawer__sub-link .ico,
.game-page .drawer__caret,
.game-page .nav__menu-all .ico { color: var(--g-accent); }

/* -------------------------------------------------------------
   24.2 DROPDOWN — RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1180px) {
  /* The nav sits left of centre here, so anchoring the flyout to the
     trigger's right edge would push its left edge off screen. */
  .nav__menu { left: 0; right: auto; translate: 0 0; }
}

@media (max-width: 420px) {
  .drawer__sub-link { padding-left: 0.9rem; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nav__caret,
  .drawer__caret { transition: none; }
}

/* =============================================================
   25. BLOG — listing, cards and the article page

   Built entirely on the existing tokens, so the journal inherits the
   same surfaces, radii, motion and green accent as the rest of the
   site rather than introducing a second visual language.
   ============================================================= */

/* -------------------------------------------------------------
   25.1 LISTING LAYOUT
   ------------------------------------------------------------- */
.blog__grid {
  display: grid;
  grid-template-columns: minmax(0, 285px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.blog-main { min-width: 0; }

.blog-aside {
  min-width: 0;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.blog-aside .faq-jump a.is-active {
  background: var(--c-brand-soft);
  color: var(--c-text);
  box-shadow: inset 2px 0 0 var(--c-brand);
}

/* Result summary above a filtered grid */
.blog-result {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  color: var(--c-text-2);
}
.blog-result b { color: var(--c-text); font-weight: 600; }

.blog-result__clear {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-brand);
}
.blog-result__clear .ico { width: 14px; height: 14px; }
.blog-result__clear:hover { color: var(--c-brand-2); }

/* -------------------------------------------------------------
   25.2 ARTICLE CARDS
   ------------------------------------------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: clamp(1rem, 1.8vw, 1.6rem);
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--c-panel-2);
  border: 1px solid var(--c-line);
  transition: transform var(--t-base) var(--e-out), border-color var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-out);
}

.post-card:hover,
.post-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--c-brand-line);
  box-shadow: 0 28px 60px -30px rgba(0, 0, 0, 0.9), 0 0 38px -20px var(--c-glow);
}

.post-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-bg-3);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s var(--e-out);
}
.post-card:hover .post-card__media img,
.post-card:focus-within .post-card__media img { transform: scale(1.09); }

.post-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 10, 0) 55%, rgba(4, 7, 10, 0.55) 100%);
}

/* Fallback tile when a post has no cover */
.post-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(63, 228, 81, 0.12), transparent 60%),
    var(--c-bg-3);
}
.post-card__placeholder .ico { width: 34px; height: 34px; color: rgba(63, 228, 81, 0.35); }

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.3rem;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-height: 1.2rem;
  margin-bottom: 0.7rem;
}

.post-card__cat,
.post-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.6rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-brand-2);
  background: var(--c-brand-soft);
  border: 1px solid var(--c-brand-line);
}
a.post-card__cat:hover { color: var(--c-text); background: rgba(63, 228, 81, 0.2); }

.post-card__badge {
  color: var(--c-gold);
  background: rgba(231, 214, 168, 0.1);
  border-color: rgba(231, 214, 168, 0.28);
}
.post-card__badge .ico { width: 13px; height: 13px; }

.post-card__title {
  font-size: 1.06rem;
  line-height: 1.35;
  margin-bottom: 0.55rem;
}

/* The whole card is the hit area, so the title link is stretched over it */
.post-card__title a { color: var(--c-text); }
.post-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}
.post-card:hover .post-card__title a { color: var(--c-brand-2); }

.post-card__excerpt {
  flex: 1;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--c-text-2);
  margin-bottom: 1rem;
}

.post-card__foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}
.post-card__foot .ico { width: 13px; height: 13px; margin-right: 0.2rem; vertical-align: -2px; }
.post-card__foot i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}
.post-card__foot span { display: inline-flex; align-items: center; }

.post-card__glow {
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 60%;
  background: radial-gradient(60% 100% at 50% 100%, var(--c-glow), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-base) var(--e-out);
  pointer-events: none;
  z-index: -1;
}
.post-card:hover .post-card__glow { opacity: 0.55; }

/* -------------------------------------------------------------
   25.3 FEATURED ARTICLE
   ------------------------------------------------------------- */
.post-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1rem, 2vw, 1.6rem);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--c-line);
}

.post-lead__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-bg-3);
}
.post-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--e-out);
}
.post-lead:hover .post-lead__media img { transform: scale(1.05); }

.post-lead__body { min-width: 0; padding-right: clamp(0rem, 1vw, 1rem); }

.post-lead__title {
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.15rem);
  line-height: 1.2;
  margin: 0.15rem 0 0.85rem;
}
.post-lead__title a { color: var(--c-text); }
.post-lead__title a:hover { color: var(--c-brand-2); }

.post-lead__excerpt {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--c-text-2);
  margin-bottom: 1rem;
}

.post-lead .post-card__foot { margin-bottom: 1.4rem; }

/* -------------------------------------------------------------
   25.4 TAGS
   ------------------------------------------------------------- */
.tag-cloud { margin-top: 1.6rem; }

.tag-cloud__title {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: 0.75rem;
}

.tag-cloud__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.68rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-text-2);
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  transition: color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out),
              background-color var(--t-fast) var(--e-out);
}
.tag:hover { color: var(--c-text); border-color: var(--c-line-2); }
.tag.is-active {
  color: var(--c-brand-2);
  background: var(--c-brand-soft);
  border-color: var(--c-brand-line);
}

/* -------------------------------------------------------------
   25.5 PAGINATION
   ------------------------------------------------------------- */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
}

.pager__step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-2);
  border: 1px solid var(--c-line);
  transition: color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out);
}
.pager__step:hover { color: var(--c-text); border-color: var(--c-line-2); }
.pager__step .ico { width: 15px; height: 15px; }
.pager__step.is-off { opacity: 0.3; pointer-events: none; }

.pager__pages { display: flex; align-items: center; gap: 0.3rem; }

.pager__num {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-2);
  transition: background-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.pager__num:hover { background: var(--c-panel); color: var(--c-text); }
.pager__num.is-current {
  color: #04070a;
  background: linear-gradient(135deg, var(--c-brand-2), var(--c-brand));
}
.pager__gap { color: var(--c-text-3); padding: 0 0.15rem; }

/* -------------------------------------------------------------
   25.6 ARTICLE HEADER
   ------------------------------------------------------------- */
.page-hero--post { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.post-head { max-width: 60rem; }

.post-head__title {
  font-size: clamp(1.9rem, 1.25rem + 2.6vw, 3.2rem);
  text-wrap: balance;
}

.post-head .eyebrow a { color: inherit; }
.post-head .eyebrow a:hover { color: var(--c-brand-2); }

.post-byline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--c-line);
}

.post-byline__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #04070a;
  background: linear-gradient(135deg, var(--c-brand-2), var(--c-brand));
}

.post-byline__who { display: grid; line-height: 1.35; }
.post-byline__who b { font-size: var(--fs-sm); font-weight: 650; }
.post-byline__who span { font-size: var(--fs-xs); color: var(--c-text-3); }

.post-byline__facts {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-left: auto;
  font-size: var(--fs-xs);
  color: var(--c-text-3);
}
.post-byline__facts .ico { width: 14px; height: 14px; margin-right: 0.35rem; vertical-align: -2px; }
.post-byline__facts > * { display: inline-flex; align-items: center; }

/* Cover image, pulled up under the hero */
.post-cover {
  margin: 0 0 clamp(-4rem, -6vw, -2.5rem);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-2);
  aspect-ratio: 16 / 9;
  background: var(--c-bg-3);
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------------------
   25.7 ARTICLE BODY
   ------------------------------------------------------------- */
.post__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 292px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.post-body { max-width: 72ch; font-size: 1.02rem; }
.post-body p { line-height: 1.8; }

.post-body > h2 {
  margin-top: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 0.85rem;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.post-body > h3 {
  margin-top: 1.9rem;
  margin-bottom: 0.6rem;
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem);
}

.post-body ul,
.post-body ol {
  display: grid;
  gap: 0.6rem;
  margin: 1.1rem 0;
  padding-left: 1.3rem;
  color: var(--c-text-2);
}
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { padding-left: 0.2rem; line-height: 1.7; }
.post-body li::marker { color: var(--c-brand); }

.post-body a { color: var(--c-brand-2); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--c-brand); }

.post-body img {
  width: 100%;
  height: auto;
  margin: 1.6rem 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-line);
}

.post-body blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--c-brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--c-panel-2);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-text);
}
.post-body blockquote p + p { margin-top: 0.7rem; }

.post-body hr {
  margin: 2.2rem 0;
  border: 0;
  border-top: 1px solid var(--c-line);
}

.post-body table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.post-body th,
.post-body td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}
.post-body th { color: var(--c-text); font-weight: 650; }
.post-body td { color: var(--c-text-2); }

.post-body__tags { margin-top: 2.2rem; }

/* Share row */
.post-share {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
}
.post-share__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: 0.8rem;
}
.post-share__links { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.post-share__links .social { cursor: pointer; font: inherit; }
.post-share__links .social.is-copied {
  color: var(--c-brand-2);
  border-color: var(--c-brand-line);
  background: var(--c-brand-soft);
}

/* -------------------------------------------------------------
   25.8 ARTICLE RAIL
   ------------------------------------------------------------- */
.post-rail { min-width: 0; }

.post-rail__inner {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.author-card {
  padding: 1.4rem;
  border-radius: var(--r-lg);
  background: var(--c-panel-2);
  border: 1px solid var(--c-line);
  text-align: center;
}
.author-card__avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  color: #04070a;
  background: linear-gradient(135deg, var(--c-brand-2), var(--c-brand));
}
.author-card__name { font-weight: 650; font-size: var(--fs-sm); }
.author-card__role { font-size: var(--fs-xs); color: var(--c-text-3); margin-top: 0.15rem; }

.post-nav {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.post-nav__link {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background: var(--c-panel-2);
  transition: border-color var(--t-fast) var(--e-out), background-color var(--t-fast) var(--e-out);
}
.post-nav__link:hover { border-color: var(--c-brand-line); background: var(--c-panel); }

.post-nav__dir {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-brand);
}
.post-nav__link--next { text-align: right; }

.post-nav__title {
  font-size: var(--fs-sm);
  font-weight: 550;
  line-height: 1.45;
  color: var(--c-text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav__link:hover .post-nav__title { color: var(--c-text); }

.post-rail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-2);
}
.post-rail__back:hover { color: var(--c-brand-2); }
.post-rail__back .ico { width: 15px; height: 15px; }

/* -------------------------------------------------------------
   25.9 RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .blog__grid,
  .post__grid { grid-template-columns: minmax(0, 1fr); }

  .blog-aside,
  .post-rail__inner { position: static; }

  .post-body { max-width: none; }

  /* On one column the rail reads better as a row of blocks */
  .post-rail__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    align-items: start;
  }
  .post-rail__inner > .support-card,
  .post-nav { margin-top: 0; }
  .post-rail__back { grid-column: 1 / -1; margin-top: 0.4rem; }

  .blog-aside .faq-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .blog-aside .faq-jump a {
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--c-line);
    border-radius: var(--r-pill);
    font-size: var(--fs-xs);
  }
  .blog-aside .faq-jump a.is-active { box-shadow: none; border-color: var(--c-brand-line); }
}

@media (max-width: 880px) {
  .post-lead { grid-template-columns: minmax(0, 1fr); }
  .post-lead__body { padding-right: 0; }
  .post-cover { margin-bottom: clamp(-2.5rem, -4vw, -1.5rem); aspect-ratio: 16 / 10; }
}

@media (max-width: 620px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }

  .post-byline__facts { margin-left: 0; width: 100%; gap: 0.9rem; }

  .pager { justify-content: center; }
  .pager__pages { order: -1; width: 100%; justify-content: center; }
  .pager__step { flex: 1; justify-content: center; }

  .post-cover { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .post-body { font-size: 1rem; }
  .post-body blockquote { padding: 0.9rem 1.1rem; }

  /* A wide table in an article must scroll itself, not the page */
  .post-body table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  .post-card,
  .post-card__media img,
  .post-lead__media img { transition: none; }
  .post-card:hover { transform: none; }
}

/* The article body styles every <ul> as prose, which would turn the tag
   row into a bulleted list. Put it back to a wrapping row. */
.post-body ul.post-body__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 2.2rem 0 0;
  padding-left: 0;
  list-style: none;
}
.post-body ul.post-body__tags li { padding-left: 0; }
.post-body ul.post-body__tags li::marker { content: none; }
.post-body ul.post-body__tags a { text-decoration: none; }
