/* ==========================================================================
   SVIP GAME
   Aesthetic: hard-edged arcade index. Flat off-black, structural red rules,
   zero-radius geometry, poster typography. Palette derived from the brand
   logo (red #D90533, gold #FDBE2C).

   Locks: one accent (red), one shape system (square), one theme (dark).
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  /* surface ladder */
  --ink:        #0b0b0d;   /* page */
  --ink-2:      #101013;   /* band */
  --ink-3:      #16161a;   /* raised */
  --ink-4:      #1e1e23;   /* input / hover */

  /* type */
  --fg:         #f2f2f3;
  --fg-2:       #a1a1a8;   /* 8.2:1 on ink */
  --fg-3:       #8b8b93;   /* 6.2:1 on ink */

  /* accent: brand red. one accent, used everywhere, nothing else competes */
  --red:        #d90533;   /* fills, rules */
  --red-lift:   #ff4d6b;   /* text / icons on dark: 5.9:1 */
  --on-red:     #ffffff;   /* 5.2:1 on --red */

  /* gold: reserved exclusively for bonus and reward values */
  --gold:       #fdbe2c;

  --line:       rgba(255, 255, 255, .10);
  --line-2:     rgba(255, 255, 255, .18);

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Anton", "Archivo", ui-sans-serif, system-ui, sans-serif;

  --shell: 1360px;
  --pad: 20px;
  --nav-h: 78px;

  --t: 180ms;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (min-width: 1024px) { :root { --pad: 40px; } }

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }
figure, dl, dd { margin: 0; }        /* UA gives figure a 40px inline margin */
ul, ol { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }

a { color: var(--red-lift); text-decoration: none; cursor: pointer; transition: color var(--t) var(--ease); }
a:hover { color: var(--fg); }

:focus-visible { outline: 2px solid var(--red-lift); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

/* everything is square. no exceptions, no stray pills. */
input, button, img, video { border-radius: 0; }

/* ---------------------------------------------------------------- layout */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.band { padding-block: clamp(56px, 8vw, 104px); }
.band-tight { padding-block: clamp(36px, 5vw, 60px); }
.band-alt { background: var(--ink-2); border-block: 1px solid var(--line); }

.skip {
  position: absolute;
  left: -9999px;
  z-index: 200;
  background: var(--red);
  color: var(--on-red);
  padding: 12px 20px;
  font-weight: 700;
}
.skip:focus { left: 0; top: 0; color: var(--on-red); }

/* section headers: headline stacked over body, no floating corner text,
   no eyebrow on every section (rationed to 1 per 3 sections) */
.head { margin-bottom: clamp(28px, 4vw, 44px); }
.head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 62px);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.head h2 b { color: var(--red-lift); font-weight: inherit; }
.head p {
  color: var(--fg-2);
  margin-top: 12px;
  font-size: 15.5px;
}
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.count {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 52px);
  color: var(--line-2);
  line-height: 1;
  letter-spacing: .02em;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-lift);
  border-left: 3px solid var(--red);
  padding-left: 10px;
  margin-bottom: 16px;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-red { background: var(--red); color: var(--on-red); }
.btn-red:hover { background: #c40430; color: var(--on-red); transform: translateY(-2px); }
.btn-red:active { transform: translateY(0) scale(.99); }

.btn-line { background: transparent; border-color: var(--line-2); color: var(--fg); }
.btn-line:hover { border-color: var(--red); background: var(--red); color: var(--on-red); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 12px; }

/* ---------------------------------------------------------------- header */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-bar::after {                     /* structural brand rule, not decoration */
  content: "";
  display: block;
  height: 2px;
  background: var(--red);
}

.nav-in {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  flex: none;
}
.mark:hover { color: var(--fg); }

/* the logo is the one deliberate exception to the square shape system:
   the brand mark is a rounded app icon, so it keeps its own radius */
.mark img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex: none;
}
@media (max-width: 520px) { .mark img { width: 44px; height: 44px; border-radius: 10px; } }

/* footer mark sits larger again */
.foot-about .mark img { width: 64px; height: 64px; border-radius: 15px; }
.foot-about .mark span { font-size: 25px; }
.mark span {
  font-family: var(--display);
  font-weight: 400;
  font-size: 21px;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}
.mark span b { color: var(--red-lift); font-weight: inherit; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  color: var(--fg-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 14px;
  transition: color var(--t) var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a.on { color: var(--fg); }
.nav a.on::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; }
.nav .btn::after { display: none; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--fg);
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease);
}
.burger:hover { border-color: var(--red); }
.burger svg { width: 22px; height: 22px; }
.burger .x { display: none; }
.burger[aria-expanded="true"] .x { display: block; }
.burger[aria-expanded="true"] .bars { display: none; }

@media (max-width: 940px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: calc(var(--nav-h) + 2px) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 24px;
    background: var(--ink);
    border-bottom: 2px solid var(--red);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.on { color: var(--red-lift); }
  .nav .btn { margin: 18px 0 0; }
}

/* ------------------------------------------------------------------ hero */
/* asymmetric split: type left, artwork right, hard red block behind.
   Background art generated with Cloudflare Workers AI (flux-1-schnell) and
   composited so the left half stays flat ink: the headline never sits on
   texture, so contrast is unchanged. */
.hero {
  border-bottom: 1px solid var(--line);
  background-color: var(--ink);
  background-image: url("/assets/images/hero/hero-bg.webp");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}
@media (max-width: 900px) {
  .hero {
    background-image: url("/assets/images/hero/hero-bg-sm.webp");
    background-position: center bottom;
  }
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 84px);
}
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; padding-block: 40px 44px; } }

/* scale is planned against the artwork column: the document H1 runs 8 words,
   so the ceiling is set to keep it to two lines at desktop */
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.9vw, 50px);
  line-height: 1.04;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.hero h1 b { color: var(--red-lift); font-weight: inherit; }
.hero .sub {
  color: var(--fg-2);
  font-size: clamp(15px, 1.6vw, 17.5px);
  margin-top: 20px;
}
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* stat strip: hairline-divided, no pills, no cards */
.strip {
  display: flex;
  flex-wrap: wrap;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.strip > div {
  padding: 16px 26px 0 0;
  margin-right: 26px;
  border-right: 1px solid var(--line);
}
.strip > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.strip b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
  letter-spacing: .02em;
}
.strip span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-top: 6px; }

/* hero artwork with offset red plate */
.hero-art { position: relative; justify-self: end; width: min(100%, 400px); }
@media (max-width: 900px) { .hero-art { justify-self: start; width: min(100%, 320px); } }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  background: var(--red);
  z-index: 0;
}
.hero-art img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero-art figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-top: 0;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--fg-2);
}
.hero-art figcaption b { color: var(--fg); font-size: 14px; letter-spacing: .02em; }
.hero-art figcaption i { font-style: normal; color: var(--gold); font-weight: 700; }

/* ------------------------------------------------- index rows (Newest) --- */
/* layout family: numbered editorial index. one hairline between rows only. */
.index { border-top: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: 62px 66px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--t) var(--ease), padding-left var(--t) var(--ease);
}
.row:hover { background: var(--ink-2); padding-left: 10px; }

.row-n {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  color: var(--line-2);
  letter-spacing: .02em;
  transition: color var(--t) var(--ease);
}
.row:hover .row-n { color: var(--red-lift); }

.row-art { width: 66px; height: 66px; overflow: hidden; background: var(--ink-3); }
.row-art img { width: 100%; height: 100%; object-fit: cover; }

.row-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.row-name a { color: var(--fg); }
.row-name a:hover { color: var(--red-lift); }
.row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--fg-3);
}
.row-meta .bonus { color: var(--gold); font-weight: 700; }

.row-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-2);
  border: 1px solid var(--line-2);
  padding: 11px 16px;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.row-go svg { width: 15px; height: 15px; }
.row:hover .row-go { background: var(--red); border-color: var(--red); color: var(--on-red); }

@media (max-width: 720px) {
  .row { grid-template-columns: 34px 56px minmax(0, 1fr); gap: 12px; padding: 12px 0; }
  .row-art { width: 56px; height: 56px; }
  .row-n { font-size: 19px; }
  .row-name { font-size: 15.5px; }
  .row-go { display: none; }
}

/* ------------------------------------------------------ rail (Hot Games) */
/* layout family: horizontal scroll-snap. mobile-native browsing. */
.rail {
  display: flex;
  gap: 16px;
  width: 100%;
  min-width: 0;                       /* let the scroll container shrink */
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-2); }

.poster {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  flex: 0 0 212px;
  min-width: 0;
}
@media (max-width: 720px) { .poster { flex-basis: 62%; } }
.poster-art {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
}
.poster-art img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 320ms var(--ease);
}
.poster:hover .poster-art img { transform: scale(1.045); }
.poster-art::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}
.poster:hover .poster-art::after { transform: scaleX(1); }

.poster-rank {
  position: absolute;
  top: 0; left: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: .04em;
  padding: 5px 11px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.poster-body { padding-top: 12px; }
.poster-name { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.poster-name a { color: var(--fg); }
.poster-name a:hover { color: var(--red-lift); }
.poster-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--fg-3);
}
.poster-line .bonus { color: var(--gold); font-weight: 700; }

/* ------------------------------------------------- catalogue (All Games) */
/* layout family: dense square tile grid, tighter info than the rail */
.tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.tile {
  position: relative;
  background: var(--ink);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: background-color var(--t) var(--ease);
}
.tile:hover { background: var(--ink-3); }
.tile-art { display: block; aspect-ratio: 1; overflow: hidden; background: var(--ink-3); }
.tile-art img { width: 100%; height: 100%; object-fit: cover; }
.tile-name { font-size: 14.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.tile-name a { color: var(--fg); }
.tile-name a::after { content: ""; position: absolute; inset: 0; }   /* whole tile is the link */
.tile:hover .tile-name a { color: var(--red-lift); }
.tile-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-3);
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.tile-foot .bonus { color: var(--gold); font-weight: 700; }

/* ------------------------------------------------------- stars (shared) */
.stars { display: inline-flex; align-items: center; gap: 5px; }
.stars-row { display: inline-flex; gap: 1px; }
.stars svg { width: 12px; height: 12px; color: var(--gold); }
.stars svg.off { color: var(--line-2); }
.stars b { font-weight: 700; color: var(--fg-2); font-size: 12px; }

/* ----------------------------------------------------------- detail page */
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 18px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-3);
  border-bottom: 1px solid var(--line);
}
.crumbs a { color: var(--fg-2); }
.crumbs a:hover { color: var(--red-lift); }
.crumbs svg { width: 12px; height: 12px; opacity: .45; }
.crumbs [aria-current] { color: var(--fg); }

/* the game's own artwork, blurred and darkened, carries the band */
.apk-head {
  position: relative;
  border-bottom: 2px solid var(--red);
  overflow: hidden;
  isolation: isolate;
}
.apk-head-bg {
  position: absolute;
  inset: -60px;                       /* overscan so the blur has no soft edge */
  z-index: -2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(34px) saturate(150%) brightness(1.18);
  transform: scale(1.08);
}
.apk-head::before {                   /* scrim keeps headline contrast constant */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* heavy only across the text column; the empty right side stays open so the
     game's colours actually read through */
  background:
    linear-gradient(100deg,
      rgba(11, 11, 13, .90) 0%,
      rgba(11, 11, 13, .93) 46%,
      rgba(11, 11, 13, .60) 72%,
      rgba(11, 11, 13, .40) 100%),
    rgba(11, 11, 13, .16);
}

.apk-head-in {
  position: relative;
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(28px, 4.5vw, 56px);
}
@media (max-width: 860px) {
  .apk-head-in { grid-template-columns: 1fr; }
  .apk-head::before { background: rgba(11, 11, 13, .90); }
  .apk-head-bg { filter: blur(30px) saturate(150%) brightness(1.1); }
}

/* the offset plate sits down-left, away from the text column, and below it */
.apk-art { position: relative; width: 216px; max-width: 100%; z-index: 0; }
.apk-art::before { content: ""; position: absolute; inset: 16px 16px -16px -16px; background: var(--red); z-index: -1; }
.apk-art img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 860px) { .apk-art { width: 168px; margin-left: 16px; } }

/* text column paints above any decoration */
.apk-head-in > div { position: relative; z-index: 1; }

.apk-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 5.4vw, 60px);
  letter-spacing: .01em;
  text-transform: uppercase;
}

/* badges live in normal flow. never absolutely positioned. */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  color: var(--fg-2);
}
.badge svg { width: 12px; height: 12px; }
.badge-ver { color: var(--fg); border-color: var(--line-2); }
.badge-new { color: var(--on-red); background: var(--red); border-color: var(--red); }
.badge-hot { color: var(--gold); border-color: rgba(253, 190, 44, .45); }

.facts {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.facts > div { padding: 15px 24px 0 0; margin-right: 24px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; margin-right: 0; }
/* sits over the game's own artwork, so these labels are lifted well clear
   of the faint grey used elsewhere */
.facts dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #d2d2d8; }
.facts dd {
  margin: 5px 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  letter-spacing: .02em;
}
.facts dd.gold { color: var(--gold); }
.apk-head .btn-red { margin-top: 26px; }

/* article + rail-side spec column */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(36px, 5vw, 60px);
}
@media (max-width: 1024px) { .detail { grid-template-columns: 1fr; } }

.aside { display: flex; flex-direction: column; gap: 26px; }
@media (min-width: 1025px) { .aside { position: sticky; top: calc(var(--nav-h) + 22px); } }

/* spec blocks use rules, not card boxes */
.spec h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-lift);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.spec dl { margin: 0; }
.spec .r {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec .r dt { color: var(--fg-2); }
.spec .r dd { margin: 0; font-weight: 700; text-align: right; }
.spec .r dd.gold { color: var(--gold); }

.note { border-left: 3px solid var(--red); padding: 4px 0 4px 16px; }
.note h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg);
  border: 0;
  padding: 0;
  margin-bottom: 8px;
}
.note p { font-size: 13.5px; color: var(--fg-2); line-height: 1.6; }

/* ---------------------------------------------------------------- prose */
/* text is never width-capped; the .shell container is the only cap */
.prose { max-width: none; }
.prose > * + * { margin-top: 17px; }
.prose h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.prose h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 30px;
  color: var(--fg);
  letter-spacing: -.01em;
}
.prose p { color: #c6c6cc; }
.prose strong { color: var(--fg); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.prose ul, .prose ol { margin-top: 15px; }
.prose li { list-style: none; position: relative; padding-left: 24px; margin-top: 9px; color: #c6c6cc; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 2px;
  background: var(--red);
}
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; padding-left: 34px; }
.prose ol > li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .1em;
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--red-lift);
}

/* ------------------------------------------------------------------- faq */
/* native <details>: keyboard accessible, works without JS, stays indexable */
.faq { margin-top: 20px; border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item > summary {
  cursor: pointer;
  list-style: none;
  transition: padding-left var(--t) var(--ease);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { padding-left: 8px; }
.faq-item > summary:focus-visible { outline: 2px solid var(--red-lift); outline-offset: -2px; }

/* the question keeps its <h3>; the h3 carries the row layout */
.faq-item > summary > h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 16px 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -.01em;
  line-height: 1.4;
  transition: color var(--t) var(--ease);
}
.faq-item > summary:hover > h3 { color: var(--red-lift); }

.faq-item > summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--red-lift);
  transition: transform 220ms var(--ease);
}
.faq-item[open] > summary > h3 { color: var(--red-lift); }
.faq-item[open] > summary svg { transform: rotate(135deg); }   /* plus turns to a cross */

.faq-body { padding: 0 0 18px; }
.faq-body > * + * { margin-top: 14px; }
.faq-body p { color: #c6c6cc; }

@media (prefers-reduced-motion: reduce) {
  .faq-item > summary svg { transition: none; }
}

/* article with a sticky contents column (homepage guide) */
.guide { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 940px) { .guide { grid-template-columns: 1fr; } }

.toc { border-top: 2px solid var(--red); padding-top: 14px; }
@media (min-width: 941px) { .toc { position: sticky; top: calc(var(--nav-h) + 22px); } }
.toc h2 { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.toc ol { counter-reset: t; }
.toc li { counter-increment: t; list-style: none; }
.toc a {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--fg-2);
  line-height: 1.35;
}
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--line-2); font-weight: 700; flex: none; }
.toc a:hover { color: var(--red-lift); }
.toc a:hover::before { color: var(--red-lift); }

/* --------------------------------------------------------- static pages */
.page-top { border-bottom: 1px solid var(--line); padding-block: clamp(34px, 5vw, 66px); }
.page-top h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 5.6vw, 60px);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.page-top p { color: var(--fg-2); margin-top: 16px; }

/* --------------------------------------------------- responsible gaming */
.care { border-top: 2px solid var(--red); background: var(--ink-2); }
.care-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  padding-block: clamp(38px, 5vw, 64px);
}
@media (max-width: 860px) { .care-in { grid-template-columns: 1fr; } }
.care h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.care p { color: var(--fg-2); font-size: 15px; }
.care p + p { margin-top: 14px; }
.care-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 520px) { .care-rules { grid-template-columns: 1fr; } }
.care-rules div { background: var(--ink-2); padding: 16px; display: flex; align-items: center; gap: 11px; font-size: 13.5px; font-weight: 600; }
.care-rules svg { width: 18px; height: 18px; color: var(--red-lift); flex: none; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); background: var(--ink); }
.foot-in {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
  padding-block: 48px 34px;
}
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .foot-in { grid-template-columns: 1fr; } }
.foot-about p { color: var(--fg-3); font-size: 13.5px; margin-top: 14px; }
.foot-col h2 { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.foot-col li { list-style: none; }
.foot-col li + li { margin-top: 9px; }
.foot-col a { color: var(--fg-2); font-size: 14px; }
.foot-col a:hover { color: var(--red-lift); }
.foot-end {
  border-top: 1px solid var(--line);
  padding-block: 18px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--fg-3);
}
.foot-end .adult { color: var(--red-lift); font-weight: 700; letter-spacing: .1em; }

/* ------------------------------------------------------------- to top */
.top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--red);
  border: 0;
  color: var(--on-red);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
}
.top.show { opacity: 1; visibility: visible; transform: none; }
.top:hover { background: #c40430; }
.top svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------- reveal */
/* scoped to .js so content is never hidden when the script does not run */
.js .rise { opacity: 0; transform: translateY(16px); }
.js .rise.in { opacity: 1; transform: none; transition: opacity 500ms var(--ease), transform 500ms var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .rise { opacity: 1; transform: none; }
  .btn:hover, .row:hover { transform: none; }
  .rail { scroll-behavior: auto; }
}
