/* ==========================================================================
   1xBet Bolivia — Design System
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Design tokens ---------- */
:root {
  /* palette */
  --c-bg: #060911;
  --c-bg-alt: #0a0f1c;
  --c-surface: #0f1830;
  --c-surface-2: #141f3d;
  --c-surface-3: #182548;
  --c-border: rgba(148, 172, 219, .14);
  --c-border-strong: rgba(148, 172, 219, .28);

  --c-blue-500: #2f6bff;
  --c-blue-400: #5c8bff;
  --c-blue-300: #8facff;
  --c-blue-600: #1a4fe0;
  --c-blue-900: #0c1c47;

  --c-green-500: #1fd968;
  --c-green-400: #57e896;
  --c-green-600: #0fae51;
  --c-green-900: #08301c;

  --c-white: #f5f8ff;
  --c-mist: #c4cee6;
  --c-muted: #8b96b8;
  --c-muted-2: #626d8c;

  --c-amber: #ffb43d;
  --c-red: #ff5c72;

  --grad-primary: linear-gradient(135deg, var(--c-blue-500), var(--c-green-500));
  --grad-hero: radial-gradient(circle at 80% 20%, rgba(47,107,255,.35), transparent 55%),
               radial-gradient(circle at 10% 90%, rgba(31,217,104,.18), transparent 50%),
               linear-gradient(180deg, #060911 0%, #080d1a 60%, #060911 100%);

  /* type */
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* spacing scale */
  --space-xs: .5rem;
  --space-sm: .875rem;
  --space-md: 1.5rem;
  --space-lg: clamp(2rem, 4vw, 3.5rem);
  --space-xl: clamp(3.5rem, 8vw, 6.5rem);

  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-md: 0 20px 40px -20px rgba(0,0,0,.55);
  --shadow-lg: 0 30px 70px -30px rgba(0,0,0,.65);
  --shadow-glow-blue: 0 0 0 1px rgba(47,107,255,.4), 0 20px 50px -20px rgba(47,107,255,.45);
  --shadow-glow-green: 0 0 0 1px rgba(31,217,104,.35), 0 20px 50px -20px rgba(31,217,104,.4);

  --ease: cubic-bezier(.16,.8,.28,1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--c-bg);
  color: var(--c-mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-white);
  line-height: 1.15;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { max-width: 68ch; }
strong { color: var(--c-white); font-weight: 700; }
a { transition: color .18s var(--ease); }

:focus-visible {
  outline: 2px solid var(--c-green-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--c-green-500); color: #04120a;
  padding: .6rem 1rem; z-index: 200; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
main { display: block; }
section { padding-block: var(--space-xl); position: relative; }
section.section-tight { padding-block: var(--space-lg); }
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--c-green-400);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-green-400); box-shadow: 0 0 12px var(--c-green-400);
}
.lede { color: var(--c-mist); font-size: 1.05rem; }

.grid { display: grid; gap: var(--space-md); }
@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  padding: .95rem 1.7rem; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--grad-primary); color: #051006;
  box-shadow: var(--shadow-glow-green);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(31,217,104,.5), 0 26px 60px -20px rgba(31,217,104,.55); }
.btn--ghost {
  background: rgba(255,255,255,.04); color: var(--c-white);
  border-color: var(--c-border-strong);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255,255,255,.09); border-color: var(--c-blue-400); }
.btn--block { width: 100%; }
.btn--sm { padding: .7rem 1.25rem; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,9,17,.7);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-border);
  background: rgba(6,9,17,.92);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .85rem;
}
.brand { display: flex; align-items: center; font-family: var(--font-display); }
.brand img { height: 36px; width: auto; }

.nav-primary { display: none; }
.nav-primary__list { display: flex; align-items: center; gap: 1.9rem; }
.nav-primary__list a {
  font-size: .93rem; font-weight: 600; color: var(--c-mist);
  position: relative; padding-block: .3rem;
}
.nav-primary__list a:hover { color: var(--c-white); }
.nav-primary__list a[aria-current="page"] { color: var(--c-green-400); }
.nav-primary__list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--c-green-400); border-radius: 2px;
}
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05); border: 1px solid var(--c-border);
}
.nav-toggle span { width: 20px; height: 2px; background: var(--c-white); margin-inline: auto; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; top: 66px; z-index: 90;
  background: rgba(6,9,17,.98); backdrop-filter: blur(10px);
  padding: var(--space-md); overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-mobile.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-mobile__list { display: flex; flex-direction: column; gap: .3rem; }
.nav-mobile__list a {
  display: block; padding: .95rem .3rem; font-size: 1.05rem; font-weight: 700;
  color: var(--c-white); border-bottom: 1px solid var(--c-border);
}
.nav-mobile__list a[aria-current="page"] { color: var(--c-green-400); }
.nav-mobile .btn { margin-top: var(--space-md); }

@media (min-width: 960px) {
  .nav-primary { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding-block: .9rem;
  font-size: .82rem; color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-green-400); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--c-muted-2); }
.breadcrumbs li[aria-current] { color: var(--c-mist); }

/* ---------- Hero ---------- */
.hero { background: var(--grad-hero); padding-block: clamp(2.5rem, 7vw, 5rem) var(--space-xl); overflow: hidden; }
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(31,217,104,.12); border: 1px solid rgba(31,217,104,.35);
  color: var(--c-green-400); font-weight: 700; font-size: .82rem;
  padding: .5rem .9rem; border-radius: var(--radius-pill); margin-bottom: 1.1rem;
}
.hero h1 { margin-bottom: 1rem; }
.hero__lede { font-size: 1.1rem; margin-bottom: 1.7rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.3rem; font-size: .85rem; color: var(--c-muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__figure {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--c-border);
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero__figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .8rem 1.1rem; font-size: .78rem; color: var(--c-mist);
  background: linear-gradient(180deg, transparent, rgba(3,5,10,.85));
}

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); background: var(--c-bg-alt); }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.2rem, 4vw, 2.6rem); padding-block: 1.4rem; }
.trust-strip__label { font-size: .78rem; color: var(--c-muted-2); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.trust-strip img { height: 26px; width: auto; opacity: .82; filter: grayscale(15%); }

/* ---------- Stat counters ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); border-radius: var(--radius-md); overflow: hidden; }
@media (min-width: 720px) { .stat-grid { grid-template-columns: repeat(4,1fr); } }
.stat-cell { background: var(--c-surface); padding: clamp(1.4rem,3vw,2rem) 1.2rem; text-align: left; }
.stat-cell__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem,3.4vw,2.4rem); color: var(--c-white); display: block; }
.stat-cell__num .unit { color: var(--c-green-400); }
.stat-cell__label { font-size: .85rem; color: var(--c-muted); margin-top: .3rem; }

/* ---------- Cards (asymmetric, anti-template) ---------- */
.card {
  background: linear-gradient(165deg, var(--c-surface), var(--c-surface-2));
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: clamp(1.4rem, 3vw, 1.9rem);
}
.card h3 { margin-bottom: .55rem; }

.feature-row { display: grid; gap: var(--space-md); }
@media (min-width: 860px) {
  .feature-row { grid-template-columns: repeat(6, 1fr); }
  .feature-row .card:nth-child(1) { grid-column: span 3; }
  .feature-row .card:nth-child(2) { grid-column: span 3; }
  .feature-row .card:nth-child(3) { grid-column: span 2; }
  .feature-row .card:nth-child(4) { grid-column: span 2; }
  .feature-row .card:nth-child(5) { grid-column: span 2; }
}
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(47,107,255,.14); color: var(--c-blue-300);
}
.card__icon svg { width: 24px; height: 24px; }

/* ---------- Pros / Cons ---------- */
.balance {
  display: grid; gap: var(--space-md);
}
@media (min-width: 860px) { .balance { grid-template-columns: 1.1fr .9fr; } }
.balance__panel { border-radius: var(--radius-md); padding: clamp(1.5rem,3vw,2.1rem); border: 1px solid var(--c-border); }
.balance__panel--pro { background: linear-gradient(165deg, rgba(31,217,104,.12), var(--c-surface)); border-color: rgba(31,217,104,.28); }
.balance__panel--con { background: linear-gradient(165deg, rgba(255,92,114,.09), var(--c-surface)); border-color: rgba(255,92,114,.22); }
.balance__title { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.balance__list li { display: flex; gap: .7rem; padding-block: .55rem; border-top: 1px solid var(--c-border); font-size: .95rem; }
.balance__list li:first-child { border-top: none; }
.balance__list li::before { flex-shrink: 0; font-family: var(--font-display); font-weight: 800; }
.balance__panel--pro .balance__list li::before { content: "+"; color: var(--c-green-400); }
.balance__panel--con .balance__list li::before { content: "–"; color: var(--c-red); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--radius-md); }
.data-table { min-width: 560px; font-size: .92rem; }
.data-table th, .data-table td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--c-border); }
.data-table thead th {
  background: var(--c-surface-3); color: var(--c-white); font-family: var(--font-display);
  font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; position: sticky; top: 0;
}
.data-table tbody tr:nth-child(odd) { background: rgba(255,255,255,.015); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table td.is-positive { color: var(--c-green-400); font-weight: 700; }
.data-table .cell-brand { font-weight: 800; color: var(--c-white); }
.table-note { font-size: .78rem; color: var(--c-muted-2); padding: .7rem 1.1rem; }

/* ---------- Live activity ---------- */
.live-panel { border: 1px solid var(--c-border); border-radius: var(--radius-md); background: var(--c-surface); overflow: hidden; }
.live-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--c-border); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-green-400); box-shadow: 0 0 0 0 rgba(31,217,104,.6); animation: pulse 1.8s infinite; display: inline-block; margin-right: .5rem; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,217,104,.55); }
  70% { box-shadow: 0 0 0 8px rgba(31,217,104,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,217,104,0); }
}
#live-feed tr { animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.live-panel__foot { padding: .8rem 1.3rem; font-size: .76rem; color: var(--c-muted-2); border-top: 1px solid var(--c-border); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--space-md); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { position: relative; padding: 1.6rem 1.5rem 1.5rem 3.6rem; border: 1px solid var(--c-border); border-radius: var(--radius-md); background: var(--c-surface); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1.4rem; top: 1.5rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-primary); color: #04120a; font-family: var(--font-display); font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}

/* ---------- Game cards ---------- */
.game-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; }
@media (min-width: 640px) { .game-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 960px) { .game-grid { grid-template-columns: repeat(4,1fr); } }
.game-card {
  border: 1px solid var(--c-border); border-radius: var(--radius-md);
  background: var(--c-surface); overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.game-card:hover { transform: translateY(-4px); border-color: var(--c-blue-400); }
.game-card__figure { aspect-ratio: 1/1; background: #0c1330; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.game-card__figure img { width: 100%; height: 100%; object-fit: contain; }
.game-card__body { padding: .9rem 1rem 1.1rem; }
.game-card__body h3 { font-size: .98rem; margin-bottom: .25rem; }
.game-card__body p { font-size: .82rem; color: var(--c-muted); margin: 0; }
.game-card__tag {
  display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: var(--radius-pill); margin-bottom: .5rem;
  background: rgba(47,107,255,.16); color: var(--c-blue-300); letter-spacing: .04em;
}

/* ---------- FAQ (native details/summary) ---------- */
.faq-list { border-top: 1px solid var(--c-border); }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.25rem .2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 700; color: var(--c-white); font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; font-size: 1.3rem; color: var(--c-green-400);
  transition: transform .2s var(--ease); font-weight: 400;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 .2rem 1.35rem; color: var(--c-mist); font-size: .95rem; max-width: 72ch; }

/* ---------- Rating / editorial review ---------- */
.rating-summary { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.5rem,4vw,3rem); }
.rating-summary__score { text-align: center; }
.rating-summary__score strong { display: block; font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; color: var(--c-white); }
.rating-summary__stars { color: var(--c-amber); letter-spacing: .12em; font-size: 1.1rem; }
.rating-bars { flex: 1; min-width: 240px; display: grid; gap: .65rem; }
.rating-bar { display: grid; grid-template-columns: 9rem 1fr 2.2rem; align-items: center; gap: .8rem; font-size: .85rem; }
.rating-bar__track { height: 8px; border-radius: var(--radius-pill); background: var(--c-surface-3); overflow: hidden; }
.rating-bar__fill { height: 100%; background: var(--grad-primary); border-radius: var(--radius-pill); }

/* ---------- Testimonials ---------- */
.quote-row { display: grid; gap: var(--space-md); }
@media (min-width: 860px) { .quote-row { grid-template-columns: repeat(3,1fr); } }
.quote-card { border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 1.6rem; background: var(--c-surface); display: flex; flex-direction: column; gap: 1rem; }
.quote-card:nth-child(2) { background: var(--c-surface-2); }
.quote-card p { font-size: .95rem; color: var(--c-mist); margin: 0; }
.quote-card cite { font-size: .8rem; color: var(--c-muted); font-style: normal; display: flex; align-items: center; gap: .5rem; }
.quote-card cite::before { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-primary); flex-shrink: 0; }

/* ---------- CTA banners ---------- */
.cta-banner {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(120deg, var(--c-blue-900), var(--c-green-900));
  border: 1px solid var(--c-border-strong);
  padding: clamp(2rem,5vw,3.2rem);
  display: grid; gap: 1.6rem; align-items: center;
}
@media (min-width: 860px) { .cta-banner { grid-template-columns: 1.4fr .6fr; } }
.cta-banner h2 { margin-bottom: .6rem; }
.cta-banner p { color: var(--c-mist); margin-bottom: 0; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-banner--image { background-size: cover; background-position: center; }
.cta-banner--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(4,8,18,.94) 30%, rgba(4,8,18,.55)); }
.cta-banner--image > * { position: relative; z-index: 1; }
.cta-banner--image img.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* ---------- TOC (GEO helper) ---------- */
.toc { border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 1.3rem 1.5rem; background: var(--c-surface); }
.toc summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--c-white); list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { margin-top: .9rem; display: grid; gap: .5rem; counter-reset: toc; }
.toc a { font-size: .9rem; color: var(--c-mist); }
.toc a:hover { color: var(--c-green-400); }

/* ---------- Author box ---------- */
.author-box { display: flex; gap: 1.1rem; align-items: center; border: 1px solid var(--c-border); border-radius: var(--radius-md); padding: 1.3rem; background: var(--c-surface); }
.author-box__avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-primary); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: #04120a; font-size: 1.2rem;
}
.author-box__name { color: var(--c-white); font-weight: 700; font-size: .95rem; }
.author-box__role { font-size: .8rem; color: var(--c-muted); }
.author-box p.author-box__bio { font-size: .85rem; margin: .4rem 0 0; color: var(--c-mist); }

/* ---------- Responsible gaming ---------- */
.rg-note {
  display: flex; gap: .9rem; align-items: flex-start;
  border: 1px solid rgba(255,180,61,.3); background: rgba(255,180,61,.07);
  border-radius: var(--radius-md); padding: 1.2rem 1.4rem; font-size: .85rem; color: var(--c-mist);
}
.rg-note img { width: 34px; height: 34px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-bg-alt); border-top: 1px solid var(--c-border); padding-block: var(--space-xl) var(--space-md); }
.footer-grid { display: grid; gap: var(--space-lg); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: .9rem; }
.footer-brand p { font-size: .88rem; color: var(--c-muted); }
.footer-col h4 { color: var(--c-white); margin-bottom: 1rem; font-size: .92rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { font-size: .88rem; color: var(--c-muted); }
.footer-col a:hover { color: var(--c-green-400); }
.footer-badges { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; margin-top: 1.2rem; }
.footer-badges img { height: 22px; width: auto; opacity: .75; }
.footer-bottom {
  margin-top: var(--space-lg); padding-top: 1.4rem; border-top: 1px solid var(--c-border);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .78rem; color: var(--c-muted-2);
}
.footer-bottom .legal-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  padding: .7rem .9rem; background: rgba(6,9,17,.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-border);
  display: flex; gap: .7rem; align-items: center;
  transform: translateY(120%); transition: transform .25s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta span { font-size: .82rem; color: var(--c-mist); flex: 1; }
@media (min-width: 960px) { .mobile-cta { display: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--c-border); border: none; margin-block: var(--space-lg); }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { font-size: .78rem; padding: .35rem .8rem; border-radius: var(--radius-pill); border: 1px solid var(--c-border); color: var(--c-mist); }
.lcp-fallback { background: #0c1330; }
