/* Nine Casino Deutschland - stylesheet */
/* Single dark theme; every colour is a token declared in :root. */

:root {
  /* Ground + surfaces */
  --navy-900: #060F1E;   /* footer, deepest */
  --navy-800: #0A1628;   /* page ground */
  --navy-700: #0D1B2A;   /* banner start */
  --navy-600: #142334;   /* prose card */
  --navy-500: #1B2838;   /* banner end, raised edges */
  --navy-450: #17293D;   /* banner far corner */

  /* Accent */
  --gold-500: #F2B600;
  --gold-400: #FFC62E;
  /* Cool accents for the banner field */
  --indigo-900: #151A38;
  --iris-glow: rgba(124, 92, 232, 0.20);
  --azure-glow: rgba(46, 108, 214, 0.16);

  --gold-glow: rgba(242, 182, 0, 0.16);
  --gold-haze: rgba(242, 182, 0, 0.055);
  --gold-wash: rgba(242, 182, 0, 0.12);

  /* Text */
  --ink-100: #FFFFFF;
  --ink-300: #E0E0E0;

  --hairline: rgba(255, 255, 255, 0.07);

  /* Type scale */
  --step-1: 1.0625rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 3vw, 3.25rem);
  --step-4: clamp(2.25rem, 1.5rem + 4vw, 4.25rem);

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --stack: clamp(2rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keeps a jump target clear of the viewport edge. */
.banner,
.categories,
.faq,
.prose h3 { scroll-margin-top: 1.5rem; }

body {
  margin: 0;
  background: var(--navy-800);
  color: var(--ink-300);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: var(--step-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Top bar ---------- */

/* NB: .topbar also carries .container, which sets padding-inline.
   Only padding-block here — a `padding` shorthand would wipe it. */
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: clamp(1.25rem, 3vw, 2rem) 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding-inline: clamp(1.5rem, 4vw, 2rem);
  border-radius: 999px;
  /* Transparent border keeps the solid pill exactly as tall as the
     outlined one, so the pair sits on a shared baseline. */
  border: 1px solid transparent;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 180ms ease;
}

.pill-solid {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 8px 22px -12px rgba(242, 182, 0, 0.55);
}

.pill-solid:hover,
.pill-solid:focus-visible {
  background: var(--gold-400);
  box-shadow: 0 12px 30px -10px rgba(242, 182, 0, 0.66);
  transform: translateY(-2px);
}

.pill-outline {
  background: transparent;
  border-color: var(--gold-500);
  color: var(--ink-100);
}

.pill-outline:hover,
.pill-outline:focus-visible {
  background: var(--gold-wash);
  border-color: var(--gold-400);
  box-shadow: 0 12px 30px -14px rgba(242, 182, 0, 0.5);
  transform: translateY(-2px);
}

/* ---------- Slide-out drawer ----------
   Pure-CSS disclosure: a visually hidden checkbox drives the panel, and
   every toggle (burger, close, backdrop) is a <label> bound to it.
   The checkbox stays keyboard-focusable, so Space opens and closes. */

.brand-row {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.875rem);
}

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

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.logo:hover { opacity: 0.85; }

.logo-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 32px;
}

.logo-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.logo-word {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--ink-100);
  white-space: nowrap;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-100);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.burger:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(242, 182, 0, 0.4);
  color: var(--gold-500);
}

/* The ring lands on the label, since the input itself is 1px. */
.nav-toggle:focus-visible + .burger {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(3, 8, 18, 0.62);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity 280ms ease, visibility 280ms;
}

.nav-toggle:checked ~ .nav-backdrop {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: min(86vw, 360px);
  padding: 1rem 1rem 1.5rem;
  background: var(--navy-600);
  border-right: 1px solid var(--hairline);
  box-shadow: 26px 0 60px -28px rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-100%);
  /* visibility keeps the closed panel's links out of the tab order —
     without it, keyboard users tab into an offscreen menu. */
  visibility: hidden;
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1), visibility 320ms;
}

.nav-toggle:checked ~ .drawer {
  transform: translateX(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
}

.drawer-title {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-100);
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-300);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.drawer-close:hover {
  background: var(--gold-wash);
  border-color: rgba(242, 182, 0, 0.4);
  color: var(--gold-500);
}

.drawer-nav,
.drawer-langs {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 0.75rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-100);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.drawer-link:hover,
.drawer-link:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-500);
}

.drawer-sep {
  height: 1px;
  margin: 1rem 0.25rem;
  background: var(--hairline);
}

.drawer-heading {
  margin: 0 0 0.5rem;
  padding-inline: 0.75rem;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-300);
  opacity: 0.65;
}

/* Compact single-line rows to spare vertical space, but the text wraps
   rather than overflowing on the narrowest phones. */
.drawer-lang {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  padding: 0.375rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.drawer-lang:hover,
.drawer-lang:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.drawer-lang[aria-current="true"] {
  background: var(--gold-wash);
}

.drawer-lang-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.375rem;
  min-width: 0;
}

.lang-sep {
  color: var(--ink-300);
  opacity: 0.4;
}

/* ---------- Heading ---------- */

.page-head {
  padding-block: clamp(2.5rem, 7vw, 4.5rem) 0;
}

.page-head h1 {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: var(--step-4);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-100);
  text-align: center;
  text-wrap: balance;
}

/* ---------- Banner ---------- */

.banner {
  position: relative;
  overflow: hidden;
  margin-top: var(--stack);
  min-height: clamp(320px, 36vw, 400px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(2rem, 5vw, 3.5rem) var(--gutter);
  border-radius: clamp(16px, 2vw, 24px);
  border: 1px solid var(--hairline);
  /* Cool iris and azure washes on opposing corners, one warm gold wash to
     tie it to the palette, over a navy ramp that starts indigo. */
  background:
    radial-gradient(95% 120% at 16% 8%, var(--iris-glow) 0%, transparent 58%),
    radial-gradient(85% 115% at 90% 92%, var(--azure-glow) 0%, transparent 60%),
    radial-gradient(75% 95% at 84% 6%, var(--gold-glow) 0%, transparent 56%),
    linear-gradient(158deg, var(--indigo-900) 0%, var(--navy-700) 52%, var(--navy-450) 100%);
  box-shadow:
    0 28px 56px -22px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

/* Thin gold rule bleeding across the top edge */
.banner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 8%, var(--gold-500) 58%, transparent 96%);
  opacity: 0.45;
}

/* ---------- Banner decoration ----------
   Three quiet layers: an abstracted wheel bleeding off the right edge,
   a hairline diagonal weave, and one soft raking light. All are held
   under 0.16 alpha so they read as depth, not pattern. */

.banner-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

/* Faint geometric weave across the whole field. */
.banner-decor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.022) 0 1px,
    transparent 1px 44px);
}

/* A single raking light, blurred so it has no visible edge. */
.banner-decor::after {
  content: "";
  position: absolute;
  top: -45%;
  left: 6%;
  width: 40%;
  height: 190%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent);
  transform: rotate(17deg);
  filter: blur(20px);
}

.decor-wheel {
  position: absolute;
  top: 50%;
  right: -96px;
  width: 372px;
  height: 372px;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .decor-wheel {
    right: -140px;
    width: 300px;
    height: 300px;
    opacity: 0.7;
  }
}

/* Two columns from 860px up: art left, offer right. Single centred
   column below that, art first. */
@media (min-width: 860px) {
  .banner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    justify-items: stretch;
  }
}

/* Both columns sit above .banner-decor, which is z-index 0. Positioned
   elements paint after in-flow content, so without this the decoration
   would cover the copy. */
.banner-art,
.banner-offer {
  position: relative;
  z-index: 1;
}

.banner-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
}

.banner-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.banner-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  text-align: center;
}

@media (min-width: 860px) {
  .banner-offer {
    align-items: flex-start;
    text-align: left;
  }
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0;
}

.offer-label {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-100);
}

.offer-amount {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--gold-500);
  /* Barely-there lift so the figure reads as the lit element. */
  text-shadow: 0 6px 26px rgba(242, 182, 0, 0.22);
}

.offer-extra {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.125rem, 2.6vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-100);
}


.btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.95rem 2.5rem;
  border-radius: 999px;
  background: var(--gold-500);
  color: var(--navy-900);
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 28px -10px rgba(242, 182, 0, 0.5);
  transition: background-color 180ms ease, box-shadow 220ms ease, transform 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold-400);
  box-shadow: 0 14px 38px -8px rgba(242, 182, 0, 0.62);
  transform: translateY(-2px);
}

/* ---------- Shimmer utility ----------
   Add `sheen` to any solid mustard button. Registering the alpha as a
   typed custom property lets the hover step ramp instead of jumping;
   browsers without @property support just switch it instantly. */

@property --sheen-alpha {
  syntax: "<number>";
  inherits: true;
  initial-value: 0.5;
}

.sheen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --sheen-alpha: 0.5;
  transition: --sheen-alpha 260ms ease;
}

/* z-index -1 paints the gloss above the gold fill but below the label,
   so the text never washes out as the light passes over it. */
.sheen::after {
  content: "";
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: 0;
  width: 45%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, var(--sheen-alpha)) 50%,
    rgba(255, 255, 255, 0) 100%);
  transform: translateX(-130%) skewX(-16deg);
  animation: sheen-sweep 3.2s ease-in-out infinite;
}

.sheen:hover,
.sheen:focus-visible {
  --sheen-alpha: 0.72;
}

/* Travels for the first 1.7s, then rests offscreen for the remainder —
   a loop with a built-in pause rather than a constant sweep. */
@keyframes sheen-sweep {
  0%, 6%    { transform: translateX(-130%) skewX(-16deg); }
  58%, 100% { transform: translateX(330%) skewX(-16deg); }
}

/* ---------- Category cards ---------- */

/* Mobile-first: one column, widening to two then four. Explicit
   breakpoints rather than auto-fit, so the row never breaks 3+1. */
.categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 2vw, 1rem);
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
}

@media (min-width: 560px) {
  .categories { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .categories { grid-template-columns: repeat(4, 1fr); }
}

.cat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
  padding: 1rem 1.125rem;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: var(--navy-700);
  box-shadow: 0 12px 28px -20px rgba(0, 0, 0, 0.7);
  text-decoration: none;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 240ms ease,
    transform 200ms ease;
}

.cat-card:hover,
.cat-card:focus-visible {
  background: var(--navy-500);
  border-color: rgba(242, 182, 0, 0.45);
  box-shadow:
    0 18px 34px -18px rgba(0, 0, 0, 0.75),
    0 10px 30px -14px rgba(242, 182, 0, 0.3);
  transform: translateY(-3px);
}

.cat-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.cat-title {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--ink-100);
}

.cat-sub {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--ink-300);
}

.cat-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}

.cat-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ---------- Prose block ---------- */

.prose-card {
  margin-top: var(--stack);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4.5rem);
  border-radius: clamp(16px, 2vw, 24px);
  border: 1px solid var(--hairline);
  background: var(--navy-600);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.55);
}

/* The reading measure is capped on the text elements, not the wrapper, so
   a full-width block dropped into the prose can span the whole column. */
.prose {
  max-width: none;
  margin-inline: 0;
}

/* ---------- Content header row ----------
   Contents control on the left, author byline on the right. */

.prose-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

/* The rail carries its own bottom margin when it stands alone; inside
   this row the wrapper owns the spacing. */
.prose-head .toc { margin-bottom: 0; }

.author {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

/* AUTHOR PHOTO GOES HERE.
   Put <img src="portrait.jpg" alt=""> inside .author-avatar and it fills
   the circle; object-fit crops it, so any square-ish source works. */
.author-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(150deg, var(--navy-500) 0%, var(--navy-700) 100%);
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--gold-500);
}

.author-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--ink-100);
}

/* ---------- Table of contents ---------- */

/* Collapsed it is a single compact line sized to its own content, and the
   open list is absolutely positioned — so neither state reflows the prose. */
.toc {
  position: relative;
  z-index: 3;
  width: fit-content;
  max-width: 100%;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.toc-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--navy-700);
  cursor: pointer;
  list-style: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.toc-summary::-webkit-details-marker { display: none; }

.toc-summary:hover,
.toc[open] .toc-summary {
  background: var(--navy-500);
  border-color: rgba(242, 182, 0, 0.4);
}

.toc-title {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink-100);
  white-space: nowrap;
}

.toc-chev {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-left: 0.125rem;
  color: var(--gold-500);
  transition: transform 220ms ease;
}

.toc-chev path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toc[open] .toc-chev { transform: rotate(180deg); }

.toc-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 5;
  min-width: 232px;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(242, 182, 0, 0.25);
  background: var(--navy-700);
  box-shadow: 0 24px 46px -20px rgba(0, 0, 0, 0.85);
  animation: toc-in 200ms ease;
}

@keyframes toc-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Where ::details-content is supported, fade the panel in AND out.
   allow-discrete holds visibility through the closing fade — a plain
   animation can only ever play on open. */
@supports selector(::details-content) {
  .toc-panel { animation: none; }

  .toc::details-content {
    opacity: 0;
    transition: opacity 220ms ease, content-visibility 220ms allow-discrete;
  }

  .toc[open]::details-content { opacity: 1; }
}

.toc-icon {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  color: var(--gold-500);
}

.toc-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.toc-title {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink-100);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc-link {
  display: flex;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  margin-inline: -0.5rem;
  border-radius: 7px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink-300);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

/* Numbered because a contents list is a real sequence — these are the
   sections in page order. */
.toc-link::before {
  counter-increment: toc;
  content: counter(toc);
  flex: 0 0 auto;
  width: 1ch;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--gold-500);
  opacity: 0.7;
}

.toc-link:hover,
.toc-link:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-100);
}

.toc-link:hover::before,
.toc-link:focus-visible::before {
  opacity: 1;
}

.prose h2,
.prose h3,
.prose p { max-width: 68ch; }

.prose h2 {
  margin: clamp(2.25rem, 4.5vw, 3rem) 0 0.875rem;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-100);
  text-wrap: balance;
  scroll-margin-top: 1.5rem;
}

.prose h3 {
  margin: clamp(1.5rem, 3vw, 2rem) 0 0.625rem;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink-100);
  text-wrap: balance;
}

.prose > :first-child { margin-top: 0; }

/* ----- Data tables ----- */

.table-wrap {
  margin-block: clamp(1.25rem, 3vw, 1.75rem);
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--navy-700);
  box-shadow: 0 14px 30px -26px rgba(0, 0, 0, 0.8);
}

.prose table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.prose th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-500);
  background: rgba(242, 182, 0, 0.07);
  border-bottom: 1px solid rgba(242, 182, 0, 0.28);
}

.prose td {
  padding: 0.6875rem 1rem;
  vertical-align: top;
  line-height: 1.5;
  color: var(--ink-300);
  border-bottom: 1px solid var(--hairline);
}

.prose td:first-child {
  color: var(--ink-100);
  font-weight: 500;
}

.prose tbody tr:last-child td { border-bottom: 0; }

.prose tbody tr:hover td { background: rgba(255, 255, 255, 0.03); }

/* ----- In-content call to action ----- */

.prose-cta {
  display: flex;
  margin-block: clamp(1.5rem, 3.5vw, 2.25rem);
}

.prose-cta .btn { margin-top: 0; }

/* The contents list is long now, so cap it and let it scroll. */
.toc-panel {
  max-height: min(360px, 60vh);
  overflow-y: auto;
}

.prose p {
  margin: 0 0 1.35rem;
  color: var(--ink-100);
  line-height: 1.7;
}

.prose p:last-child { margin-bottom: 0; }

.prose strong {
  font-weight: 600;
  color: var(--gold-500);
}

/* ---------- In-content promo ----------
   Compact restatement of the hero offer, sized to sit inside the reading
   column without becoming a second hero. */

.promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.75rem);
  margin-block: clamp(2rem, 4.5vw, 2.75rem);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(85% 130% at 14% 8%, var(--iris-glow) 0%, transparent 58%),
    radial-gradient(80% 120% at 92% 92%, var(--azure-glow) 0%, transparent 62%),
    radial-gradient(70% 100% at 88% 6%, var(--gold-glow) 0%, transparent 56%),
    linear-gradient(152deg, var(--indigo-900) 0%, var(--navy-700) 55%, var(--navy-450) 100%);
  box-shadow: 0 20px 42px -26px rgba(0, 0, 0, 0.8);
}

.promo-art {
  flex: 0 0 auto;
  width: clamp(84px, 16vw, 116px);
}

.promo-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.promo-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
  flex: 1 1 11rem;
  min-width: 0;
}

.promo-label {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-100);
}

.promo-amount {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--gold-500);
  text-shadow: 0 4px 18px rgba(242, 182, 0, 0.2);
}

.promo-extra {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  line-height: 1.2;
  color: var(--ink-100);
}

/* Trims .btn down for in-content use. Declared after .btn so it wins. */
.promo-cta {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
}

/* ---------- In-content games banner ---------- */

.games {
  position: relative;
  margin-block: clamp(1.75rem, 4vw, 2.5rem);
  padding: clamp(1.125rem, 3vw, 1.75rem);
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(90% 130% at 88% 0%, var(--gold-haze) 0%, transparent 60%),
    linear-gradient(150deg, var(--navy-700) 0%, var(--navy-500) 100%);
  box-shadow: 0 18px 38px -26px rgba(0, 0, 0, 0.75);
}

.games-label {
  margin: 0 0 clamp(0.875rem, 2vw, 1.125rem);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

/* Five across in two rows, as in the reference. No scrolling — the grid
   reflows to three then two columns instead. */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(0.625rem, 1.6vw, 0.9375rem);
}

@media (min-width: 520px) {
  .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 860px) {
  .games-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.game-card {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover,
.game-card:focus-visible { transform: translateY(-5px); }

.game-art {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 13px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 12px 26px -14px rgba(0, 0, 0, 0.85);
  transition: box-shadow 240ms ease;
}

.game-card:hover .game-art,
.game-card:focus-visible .game-art {
  box-shadow:
    inset 0 0 0 1px rgba(242, 182, 0, 0.55),
    0 18px 34px -14px rgba(0, 0, 0, 0.9),
    0 0 22px -6px rgba(242, 182, 0, 0.35);
}

/* Top gloss and floor shade, so every cover reads as a lit object
   rather than a flat swatch. */
.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.20) 0%,
    rgba(255, 255, 255, 0.02) 42%,
    rgba(0, 0, 0, 0.28) 100%);
}

/* REAL ARTWORK GOES HERE.
   Add <img class="cover-img" src="cover.jpg" alt=""> as the first child of
   .game-art and it fills the tile, covering the illustration beneath.
   Supply 600x600 or larger; the gloss, ribbon and hover all still apply. */
.cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Vector scene behind the logotype: sits below the gloss pseudo-element
   because it is an earlier child, and below the title via z-index. */
.cover-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Slot covers are dominated by their own logotype, so the title is set
   as display type over the art. */
.cover-mark {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  z-index: 1;
  padding-inline: 8%;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(0.6875rem, 2.3vw, 1rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
  color: #FFFFFF;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.4),
    0 3px 10px rgba(0, 0, 0, 0.6);
}

.cover-mark em {
  display: block;
  font-style: normal;
  color: #FFD766;
}

.cover-mark small {
  display: block;
  margin-top: 0.25em;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}

.cover-ribbon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.25rem 0.25rem;
  background: rgba(6, 15, 30, 0.82);
  color: #FFFFFF;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.game-name {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-100);
  transition: color 180ms ease;
}

.game-provider {
  font-size: 0.625rem;
  line-height: 1.3;
  color: var(--ink-300);
  opacity: 0.55;
}

.game-card:hover .game-name,
.game-card:focus-visible .game-name { color: var(--gold-500); }

/* ----- Cover art. Each is a layered radial "spotlight" over a diagonal
   base ramp, which is what gives the flat gradients depth. ----- */

.art-merge {
  background:
    radial-gradient(70% 60% at 32% 26%, #FF8AD8 0%, transparent 62%),
    radial-gradient(80% 70% at 76% 82%, #5B2BC4 0%, transparent 66%),
    linear-gradient(150deg, #C42BA8 0%, #4A1E9E 100%);
}

.art-tribes {
  background:
    radial-gradient(66% 58% at 30% 24%, #4FE0A8 0%, transparent 60%),
    radial-gradient(80% 74% at 78% 84%, #0B4A38 0%, transparent 64%),
    linear-gradient(150deg, #168560 0%, #063426 100%);
}

.art-joker {
  background:
    radial-gradient(66% 58% at 32% 24%, #FF6B5E 0%, transparent 60%),
    radial-gradient(84% 76% at 78% 86%, #4A0713 0%, transparent 66%),
    linear-gradient(150deg, #C4162E 0%, #5C0715 100%);
}

.art-moon {
  background:
    radial-gradient(64% 56% at 30% 22%, #58D8E8 0%, transparent 58%),
    radial-gradient(84% 76% at 80% 88%, #0B2560 0%, transparent 66%),
    linear-gradient(150deg, #1A6FA8 0%, #0A1E52 100%);
}

.art-sun {
  background:
    radial-gradient(58% 52% at 46% 40%, #FFE070 0%, #F2900E 46%, transparent 72%),
    radial-gradient(86% 80% at 82% 90%, #6B1C05 0%, transparent 68%),
    linear-gradient(150deg, #E8600F 0%, #7A1C06 100%);
}

.art-pachinko {
  background:
    radial-gradient(64% 58% at 30% 24%, #FF8FB0 0%, transparent 60%),
    radial-gradient(84% 76% at 80% 86%, #5C0A46 0%, transparent 66%),
    linear-gradient(150deg, #D62268 0%, #59094A 100%);
}

.art-crazy {
  background:
    radial-gradient(60% 54% at 44% 34%, #7FE0FF 0%, transparent 62%),
    radial-gradient(86% 78% at 80% 88%, #10206B 0%, transparent 66%),
    linear-gradient(150deg, #2A63D8 0%, #101A5C 100%);
}

.art-door {
  background:
    radial-gradient(62% 56% at 34% 26%, #FF7A6B 0%, transparent 58%),
    radial-gradient(86% 78% at 80% 88%, #3E0410 0%, transparent 66%),
    linear-gradient(150deg, #A81028 0%, #400612 100%);
}

.art-funky {
  background:
    radial-gradient(62% 56% at 32% 24%, #FFA0F0 0%, transparent 60%),
    radial-gradient(86% 78% at 80% 88%, #2E0A5C 0%, transparent 66%),
    linear-gradient(150deg, #9128C4 0%, #340A66 100%);
}

.art-lotto {
  background:
    radial-gradient(60% 54% at 40% 28%, #9CB8FF 0%, transparent 58%),
    radial-gradient(86% 78% at 80% 88%, #10123E 0%, transparent 66%),
    linear-gradient(150deg, #3A3FA8 0%, #14163F 100%);
}

/* ---------- FAQ ----------
   <details> again: a native accordion that is keyboard-operable and
   announces its expanded state without a line of script. */

.faq {
  margin-top: var(--stack);
}

.faq-title {
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: var(--step-2);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink-100);
  text-wrap: balance;
}

.faq-intro {
  max-width: 68ch;
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  line-height: 1.7;
  color: var(--ink-300);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: var(--navy-700);
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.7);
  transition: border-color 200ms ease, background-color 200ms ease;
}

.faq-item:hover {
  border-color: rgba(242, 182, 0, 0.32);
}

.faq-item[open] {
  background: var(--navy-600);
  border-color: rgba(242, 182, 0, 0.4);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1.125rem, 3vw, 1.5rem);
  cursor: pointer;
  list-style: none;
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.35;
  color: var(--ink-100);
  transition: color 180ms ease;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q:hover,
.faq-item[open] .faq-q {
  color: var(--gold-500);
}

.faq-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--gold-500);
}

.faq-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* The vertical stroke swings flat, turning the plus into a minus. */
.faq-icon-v {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 260ms ease;
}

.faq-item[open] .faq-icon-v {
  transform: rotate(90deg);
}

.faq-a {
  max-width: 70ch;
  margin: 0;
  padding: 0 clamp(1.125rem, 3vw, 1.5rem) clamp(1.125rem, 2.5vw, 1.375rem);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-300);
  animation: faq-in 220ms ease;
}

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsible gambling ---------- */

.rg {
  margin-top: var(--stack);
}

.rg-title {
  margin: 0 0 clamp(0.875rem, 2vw, 1.125rem);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-300);
  opacity: 0.7;
}

.rg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.625rem, 1.5vw, 0.875rem);
}

@media (min-width: 560px) {
  .rg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .rg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.rg-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 76px;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--navy-700);
  box-shadow: 0 12px 26px -22px rgba(0, 0, 0, 0.7);
  text-decoration: none;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
}

/* Only the two cards that actually navigate get a hover affordance. */
a.rg-card:hover,
a.rg-card:focus-visible {
  background: var(--navy-600);
  border-color: rgba(242, 182, 0, 0.38);
  transform: translateY(-2px);
}

.rg-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gold-wash);
  border: 1px solid rgba(242, 182, 0, 0.3);
  color: var(--gold-500);
}

.rg-icon svg {
  width: 20px;
  height: 20px;
}

.rg-icon svg path,
.rg-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rg-age {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
  color: var(--gold-500);
}

.rg-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.rg-name {
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-100);
}

.rg-sub {
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--ink-300);
  opacity: 0.75;
}

/* ---------- Footer ---------- */

footer {
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-block: clamp(2.25rem, 5vw, 3rem);
  background: var(--navy-900);
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

/* ---------- Language switcher ----------
   <details> gives a keyboard-operable disclosure with no JS. The options
   are links because switching language is navigation to a localised URL,
   not client-side state. */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lang-select {
  position: relative;
  z-index: 2;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.375rem 0.9375rem 0.375rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  list-style: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}

/* Both are needed: the pseudo-element for Safari, list-style for the rest. */
.lang-trigger::-webkit-details-marker { display: none; }

.lang-trigger:hover,
.lang-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(242, 182, 0, 0.4);
}

summary:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 22px;
  border-radius: 5px;
  background: var(--gold-wash);
  border: 1px solid rgba(242, 182, 0, 0.35);
  color: var(--gold-500);
  font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
}

.lang-name {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink-100);
}

.lang-tongue {
  font-size: 0.75rem;
  line-height: 1.25;
  color: var(--ink-300);
}

.lang-chev {
  flex: 0 0 auto;
  color: var(--gold-500);
  transition: transform 200ms ease;
}

/* Closed chevron points up, because the panel opens upward. */
.lang-select[open] .lang-chev { transform: rotate(180deg); }

.lang-panel {
  position: absolute;
  /* Opens upward — the footer sits at the page bottom, so a downward
     panel would hang off the end of the document. */
  bottom: calc(100% + 0.625rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: max(268px, 100%);
  max-height: min(340px, 60vh);
  overflow-y: auto;
  margin: 0;
  padding: 0.375rem;
  list-style: none;
  border-radius: 14px;
  border: 1px solid var(--hairline);
  background: var(--navy-600);
  box-shadow: 0 26px 50px -20px rgba(0, 0, 0, 0.8);
  text-align: left;
  animation: lang-in 180ms ease;
}

@keyframes lang-in {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 9px;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.lang-option[aria-current="true"] {
  background: var(--gold-wash);
}

.lang-text {
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
  min-width: 0;
}

.lang-check {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--gold-500);
}

.copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-100);
}

/* ---------- A11y ---------- */

a:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
  .btn:hover,
  .btn:focus-visible,
  .pill:hover,
  .pill:focus-visible,
  .cat-card:hover,
  .cat-card:focus-visible,
  .game-card:hover,
  .game-card:focus-visible,
  a.rg-card:hover,
  a.rg-card:focus-visible { transform: none; }
  .sheen::after { animation: none; opacity: 0; }
  .lang-panel,
  .toc-panel,
  .faq-a { animation: none; }
  .toc::details-content { transition: none; }
}

/* ---------- Progressive-enhancement hooks (assets/js/main.js) ----------
   Both are inert until main.js adds the class. Without JS the page
   behaves exactly as before. */

/* Background scroll lock while the drawer is open. */
html.nav-open { overflow: hidden; }

/* Contents entry for the section currently in view. */
.toc-link.is-current {
  background: var(--gold-wash);
  color: var(--ink-100);
}

.toc-link.is-current::before { opacity: 1; }
