/* ============================================================================
   PISTOLO CASINO — SHARED STYLES
   ============================================================================
   - Saturated palette closer to original (deeper royal blue + brighter gold)
   - Heavier typography (Wix Madefor Display 800-900 for headings, Inter 500+ for body)
   - Refined CTA buttons (gradient, shadow, inner highlights)
   - Mobile-first responsive with bottom-nav
   ============================================================================ */

:root {
  /* Saturated palette */
  /* Lizaro saloon/western palette — dark purple-grey + warm gold + saddle brown */
  --c-bg: #1a1422;
  --c-bg-2: #292230;
  --c-bg-3: #3a2f44;
  --c-bg-elev: #2f2638;
  --c-sidebar: #15101c;
  --c-sidebar-pattern: rgba(var(--c-accent-rgb), 0.025);

  --c-primary: #8b5a3c;
  --c-primary-bright: #c8916e;
  --c-primary-dim: #5d3d28;

  --c-cta: #f5c050;
  --c-cta-hover: #d4a040;
  --c-cta-shadow: rgba(var(--c-accent-rgb), 0.45);

  --c-accent: #f5c050;
  --c-accent-bright: #ffd470;
  --c-accent-dim: #d4a040;

  --c-text: #f0e6d6;
  --c-text-mute: #a59885;
  --c-text-dim: #7a6e5e;
  --c-text-on-cta: #1a1422;

  --c-border: rgba(var(--c-accent-rgb), 0.10);
  --c-border-strong: rgba(var(--c-accent-rgb), 0.22);
  --c-border-accent: rgba(var(--c-accent-rgb), 0.4);

  --c-danger: #f56c6c;

  /* RGB triplets for rgba() usage */
  --c-accent-rgb: 245, 192, 80;
  --c-bg-rgb: 26, 20, 34;
  --c-sidebar-rgb: 21, 16, 28;
  --c-bg-3-rgb: 58, 47, 68;
  --c-bg-elev-rgb: 63, 51, 75;
  --c-bg-dark-rgb: 34, 26, 44;
  --c-bg-deeper-rgb: 48, 38, 56;
  --c-danger-rgb: 245, 108, 108;
  --c-primary-bright-rgb: 200, 145, 110;
  --c-hero-overlay-rgb: 13, 22, 56;
  --c-shadow-dark-rgb: 15, 10, 18;
  --c-faq-bg-rgb: 22, 48, 115;
  --c-mobile-bar-bg-rgb: 15, 30, 77;

  /* White — parametric so light-text can be themed */
  --c-white: #fff;
  --c-white-rgb: 255, 255, 255;

  /* Button gradient stops — CTA */
  --c-cta-grad-from: #ffd470;
  --c-cta-grad-to: #d4a040;
  --c-cta-hover-from: #ffe080;
  --c-cta-hover-to: #c89030;

  /* Button gradient stops — Primary */
  --c-primary-grad-from: #5089ff;
  --c-primary-grad-to: #3b6dee;

  /* Typography */
  --font-display: 'Wix Madefor Display', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Radius */
  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-pill: 100px;

  /* Layout */
  --sidebar-w: 240px;
  --bottom-nav-h: 68px;
  --topbar-h: 60px;          /* mobile .topbar header height */
  --desktop-topbar-h: 64px;  /* desktop .desktop-topbar header height */

  /* Button style preset (overridden by brand palette) */
  --btn-radius: var(--r-sm);      /* default: rounded (8px) */
  --btn-padding: var(--s-4) var(--s-6);
  --btn-weight: 800;
  --btn-transform: uppercase;
  --btn-shadow: 0 6px 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;   /* clip horizontal overflow WITHOUT creating a scroll container (sticky-safe, T25) */
}

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: clip;   /* clip, not hidden — hidden breaks position:sticky on descendants (T25) */
  -webkit-font-smoothing: antialiased;        /* kill subpixel fringe/dots on dark bg (T62) */
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(ellipse at top right, rgba(var(--c-accent-rgb), 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(var(--c-accent-rgb), 0.07), transparent 60%);
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 800; }
h4 { font-size: 1.1rem; font-weight: 800; }

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--s-3);
  display: inline-block;
}

.lead {
  font-size: 1.075rem;
  color: var(--c-text-mute);
  max-width: 60ch;
  font-weight: 500;
}

p { margin-bottom: var(--s-4); }

/* ============================================================================
   BUTTONS — refined with gradients & shadows
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  font-family: var(--font-display);   /* accent display font for buttons (T62) */
  font-weight: var(--btn-weight);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: var(--btn-transform);
  transition: transform .12s, box-shadow .2s, background .2s;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-cta {
  color: var(--c-text-on-cta);
  background: linear-gradient(180deg, var(--c-cta-grad-from) 0%, var(--c-cta-grad-to) 100%);
  color: var(--c-text-on-cta);
  box-shadow:
    0 6px 16px var(--c-cta-shadow),
    inset 0 -2px 0 rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(var(--c-white-rgb), 0.25);
  border-color: rgba(var(--c-accent-rgb), 0.6);
  text-shadow: 0 1px 0 rgba(var(--c-white-rgb), 0.25);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px var(--c-cta-shadow),
    inset 0 -2px 0 rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(var(--c-white-rgb), 0.25);
  color: var(--c-text-on-cta);
}
.btn-cta:active {
  transform: translateY(0);
  box-shadow:
    0 3px 10px var(--c-cta-shadow),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.btn-primary {
  background: linear-gradient(180deg, var(--c-primary-grad-from) 0%, var(--c-primary-grad-to) 100%);
  color: var(--c-white);
  box-shadow:
    0 6px 16px rgba(var(--c-primary-bright-rgb), 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(var(--c-accent-rgb), 0.22);
  border-color: rgba(var(--c-primary-bright-rgb), 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: var(--c-white);
}
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border-strong);
}
.btn-ghost:hover {
  background: var(--c-bg-2);
  border-color: var(--c-primary-bright);
}
.btn-lg { padding: var(--s-5) var(--s-7); font-size: 1rem; }
.btn-sm { padding: var(--s-2) var(--s-4); font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ============================================================================
   APP LAYOUT  (mobile-first: single block column; desktop layout from 1025px)
   ============================================================================ */
.app.layout-sidebar,
.app.layout-topbar {
  display: block;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;   /* clip wide children (carousel) without a scroll context */
}

@media (min-width: 1025px) {
  /* On desktop let overflow be visible so position:sticky headers work
     (html/body already clip horizontal overflow). */
  .app.layout-topbar { overflow-x: visible; }
  /* Sidebar layout becomes a two-column grid only on desktop. */
  .app.layout-sidebar {
    display: grid;
    grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
    overflow-x: visible;
  }
  /* Topbar layout: the .sidebar element is the mobile drawer only — hide on desktop. */
  .app.layout-topbar .sidebar { display: none; }
  /* Sidebar layout: hamburger lives in the mobile .topbar, hidden on desktop. */
  .app.layout-sidebar .topbar-hamburger { display: none; }
}

/* ============================================================================
   SIDEBAR (desktop)
   ============================================================================ */
.sidebar {
  /* Grid item, full document height. Pixel-snapped via transform to avoid
     subpixel border rendering at fractional DPR. */
  background: var(--c-sidebar);
  background-image:
    radial-gradient(circle at 1px 1px, var(--c-sidebar-pattern) 1px, transparent 0);
  background-size: 16px 16px;
  border-right: 1px solid var(--c-border);
  z-index: 50;
  transform: translateZ(0);
  width: var(--sidebar-w);
  box-sizing: border-box;
}
.sidebar-inner {
  /* Sticky content with NATURAL height (content-driven, identical on every
     page). Sticks to top on scroll. No viewport-height dependency anywhere. */
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: var(--s-5) 0;
  box-sizing: border-box;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--c-border-strong); border-radius: 2px; }

.sidebar-logo {
  padding: 0 var(--s-5) var(--s-5);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--s-4);
}
.sidebar-logo img { height: 40px; width: auto; }

.sidebar-nav { flex: 1; padding: 0 var(--s-3); }
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-text-mute);
  transition: background .15s, color .15s;
  margin-bottom: var(--s-1);
  position: relative;
}
.sidebar-nav-item svg { width: 20px; height: 20px; flex-shrink: 0; }
.sidebar-nav-item:hover { background: var(--c-bg-2); color: var(--c-text); }
.sidebar-nav-item.active {
  background: linear-gradient(90deg, var(--c-primary-dim), var(--c-primary));
  color: var(--c-white);
}
.sidebar-nav-item.active::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--c-accent);
  border-radius: 0 2px 2px 0;
}

.sidebar-cta-block {
  padding: var(--s-4);
  margin-top: var(--s-6);
}
.sidebar-cta-block .btn { margin-bottom: var(--s-2); }
.sidebar-language {
  display: flex;
  align-items: center;
  padding: var(--s-3) var(--s-5);
  border-top: 1px solid var(--c-border);
  margin-top: var(--s-3);
}
/* Language/geo pill — shaped like the brand buttons, accent border (T57) */
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 12px;
  border: 1.5px solid var(--c-accent);
  border-radius: var(--btn-radius);
  color: var(--c-text);
  font-size: 0.82rem;
  font-weight: 700;
}
.lang-pill .lang-flag { font-size: 1.15em; line-height: 1; }
.lang-pill .lang-label { letter-spacing: 0.01em; }

/* ============================================================================
   MAIN content
   ============================================================================ */
.main {
  min-width: 0;
  max-width: 100%;
  /* NOTE: do NOT set overflow here — any overflow value makes .main a scroll
     container and breaks position:sticky on .desktop-topbar (T25).
     Horizontal overflow is already clipped at html/body level. */
}

.topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-3) var(--s-4);
  background: var(--c-sidebar);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.topbar-hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
}
.topbar-hamburger:hover { background: var(--c-bg-2); }
.topbar-logo img { height: 28px; width: auto; }
/* Text fallback shown when a brand logo image fails to load (T4) */
.logo-text-fallback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--c-text);
  white-space: nowrap;
}
.footer-about .logo-text-fallback { font-size: 1.3rem; display: block; margin-bottom: var(--s-3); }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 45;
}
.sidebar-overlay.active { display: block; }

/* ============================================================================
   HERO CAROUSEL
   ============================================================================ */
.hero {
  position: relative;
  padding: var(--s-5) var(--s-7);   /* symmetric top/bottom spacing (T30) */
}
.hero-carousel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  aspect-ratio: 21/9;
  max-height: 620px;                /* balanced height — not cramped, not dominating (T36) */
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  max-width: 1400px;
  margin: 0 auto;                   /* center, never pin to left edge (T31) */
}

/* Sprint 2: static hero — mirrors carousel sizing, no carousel chrome */
.hero-static {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  aspect-ratio: 21/9;
  max-height: 620px;
  max-width: 1400px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.hero-static img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-static::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(var(--c-bg-rgb), 0.92) 0%,
    rgba(var(--c-bg-rgb), 0.55) 45%,
    rgba(var(--c-bg-rgb), 0.1) 100%);
}
.hero-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .55s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-slide {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
}
.hero-slide video,
.hero-slide img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(var(--c-bg-rgb), 0.92) 0%,
    rgba(var(--c-bg-rgb), 0.55) 45%,
    rgba(var(--c-bg-rgb), 0.1) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: var(--s-7) var(--s-8);
  max-width: 580px;
}

/* Hero bonus pill — large like original */
.hero-bonus-pill {
  /* Translucent so the banner image shows through behind it (T40) */
  background: linear-gradient(180deg, rgba(var(--c-bg-dark-rgb), 0.55), rgba(var(--c-bg-dark-rgb), 0.42));
  border: 1px solid rgba(var(--c-white-rgb), 0.12);
  border-radius: var(--r-lg);
  padding: var(--s-4) var(--s-5);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(var(--c-white-rgb), 0.08);
  max-width: 380px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}
.hero-bonus-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary-bright), var(--c-accent));
}
.hero-bonus-pill .label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-accent);
  font-weight: 800;
  margin-bottom: var(--s-3);
}
.hero-bonus-pill .amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: var(--s-4);
  background: linear-gradient(180deg, var(--c-white), var(--c-text-mute));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-bonus-pill .btn { width: 100%; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(var(--c-hero-overlay-rgb), 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(var(--c-accent-rgb), 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background .2s, transform .2s, border-color .2s;
}
.hero-arrow:hover {
  background: rgba(var(--c-hero-overlay-rgb), 0.6);
  border-color: rgba(var(--c-white-rgb), 0.4);
  transform: translateY(-50%) scale(1.05);
}
.hero-arrow.prev { left: var(--s-4); }
.hero-arrow.next { right: var(--s-4); }
.hero-arrow svg { width: 20px; height: 20px; color: rgba(var(--c-white-rgb), 0.85); }

.hero-dots {
  position: absolute;
  bottom: var(--s-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  padding: 5px 10px;
  background: rgba(var(--c-hero-overlay-rgb), 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 999px;
}
.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(var(--c-white-rgb), 0.4);
  transition: background .2s, transform .2s, width .2s;
  cursor: pointer;
  border: none;
}
.hero-dot.active {
  background: var(--c-accent);
  transform: scale(1.1);
  width: 22px;
  border-radius: 4px;
}

/* ============================================================================
   CATEGORY PILLS
   ============================================================================ */
.category-pills-wrap {
  padding: var(--s-6) var(--s-7);
  overflow-x: auto;
  scrollbar-width: none;
}
.category-pills-wrap::-webkit-scrollbar { display: none; }
.category-pills {
  display: flex;
  gap: var(--s-3);
  min-width: max-content;
}
.category-pill {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.category-pill svg { width: 18px; height: 18px; color: var(--c-accent); flex-shrink: 0; }
.category-pill:hover {
  background: var(--c-bg-3);
  border-color: var(--c-primary-bright);
  transform: translateY(-2px);
}
.category-pill.active {
  background: linear-gradient(180deg, var(--c-primary-bright), var(--c-primary));
  border-color: var(--c-primary-bright);
  color: var(--c-white);
}
.category-pill.active svg { color: var(--c-white); }

/* ============================================================================
   CONTENT SECTIONS
   ============================================================================ */
.content-section { padding: var(--s-6) var(--s-7); }
@media (max-width: 1024px) {
  .hero, .category-pills-wrap, .content-section {
    padding-left: var(--s-5);
    padding-right: var(--s-5);
  }
}
@media (max-width: 640px) {
  .hero, .category-pills-wrap, .content-section {
    padding-left: var(--s-4);
    padding-right: var(--s-4);
  }
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--s-5);
  gap: var(--s-4);
  flex-wrap: wrap;
}
.section-head .link-all {
  font-size: 0.85rem;
  color: var(--c-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section-head .link-all:hover { color: var(--c-accent-bright); }
/* Widget section title — looks like a heading but is NOT an h2 (keeps SEO hierarchy clean) */
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-text);
}

/* ============================================================================
   STAT ROW
   ============================================================================ */
.stat-row {
  padding: var(--s-6) var(--s-7);
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--c-accent);
  letter-spacing: -0.03em;
  margin-bottom: var(--s-1);
}
.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-text-mute);
  font-weight: 800;
}
@media (max-width: 700px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-3); }
  .stat-row { padding: var(--s-4) var(--s-4); }
  .stat-num { font-size: clamp(1.3rem, 6vw, 1.8rem); margin-bottom: 0; }
  .stat-label { font-size: 9px; }
}

/* ============================================================================
   GAMES GRID
   ============================================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-3);
}
.game-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: block;
}
.game-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--c-accent);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}
.game-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.game-card img { width: 100%; height: 100%; object-fit: cover; }
.game-card .name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--s-3);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 3;
}
/* RTP badge — top-right corner */
.game-rtp {
  position: absolute;
  top: var(--s-2);
  left: var(--s-2);
  z-index: 4;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--c-accent);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(var(--c-accent-rgb), 0.45);
  border-radius: 5px;
  padding: 2px 6px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
/* Play button overlay — centered, appears on hover (desktop) / always (touch) */
.game-thumb img {
  transition: filter .28s ease, transform .28s ease;
}
/* Desktop hover: blur + dim thumbnail behind play button */
@media (hover: hover) {
  .game-card:hover .game-thumb img {
    filter: blur(5px) brightness(0.6);
    transform: scale(1.06);
  }
  .game-card:hover .game-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
/* Touch: same effect, but activated by tap (JS toggles .tapped) */
.game-card.tapped .game-thumb img {
  filter: blur(5px) brightness(0.6);
  transform: scale(1.06);
}
.game-card.tapped .game-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.game-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  z-index: 5;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-2, var(--c-accent-dim)) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(var(--c-accent-rgb), 0.18);
  opacity: 0;
  transition: opacity .24s ease, transform .24s ease;
  pointer-events: none;
}
.game-play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;            /* optical centering of the triangle */
  color: var(--c-text-on-cta);
  display: block;
}
/* Touch: slightly smaller play button */
@media (hover: none) {
  .game-play { width: 48px; height: 48px; }
  .game-play svg { width: 19px; height: 19px; }
}
@media (max-width: 1200px) { .games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ============================================================================
   EDITORIAL
   ============================================================================ */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: start;
}
.editorial-text h2 { margin-bottom: var(--s-4); }
.editorial-text p { margin-bottom: var(--s-4); font-size: 1rem; font-weight: 500; }
.editorial-text p:first-of-type { font-size: 1.15rem; line-height: 1.55; }
.editorial-text a { color: var(--c-accent); border-bottom: 1px solid currentColor; font-weight: 600; }

.editorial-aside {
  position: sticky;
  top: var(--s-5);
  padding: var(--s-6);
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  border-top: 3px solid var(--c-accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.editorial-aside .logo-area {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-border);
}
.editorial-aside .logo-area img { height: 32px; width: auto; }
.editorial-aside .rating {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  margin-bottom: var(--s-3);
  font-size: 0.95rem;
}
.editorial-aside .rating .stars { color: var(--c-accent); letter-spacing: 0.1em; }
.fact-table { width: 100%; margin: var(--s-4) 0; font-size: 0.85rem; }
.fact-table tr { border-bottom: 1px solid var(--c-border); }
.fact-table td { padding: var(--s-3) 0; }
.fact-table td:first-child {
  color: var(--c-text-mute);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
}
.fact-table td:last-child { text-align: right; font-weight: 600; }
@media (max-width: 900px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-aside { position: static; }
}

/* ============================================================================
   BONUS BLOCK
   ============================================================================ */
.bonus-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-5);
  padding: var(--s-6);
  background: linear-gradient(135deg, var(--c-bg-2), var(--c-bg-3));
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  margin-bottom: var(--s-5);
  align-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.bonus-amount-big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: var(--s-3) 0;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bonus-terms {
  display: flex;
  gap: var(--s-4);
  margin: var(--s-4) 0;
  flex-wrap: wrap;
}
.bonus-terms-item {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.88rem;
  color: var(--c-text-mute);
  font-weight: 600;
}
.bonus-terms-item::before { content: '✓'; color: var(--c-cta); font-weight: 900; font-size: 1.1em; }
.bonus-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/12;
  background: var(--c-bg-3);
}
.bonus-visual img { width: 100%; height: 100%; object-fit: cover; }
.bonus-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
}
.bonus-sub {
  padding: var(--s-4);
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.bonus-sub-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--s-3);
  background: rgba(var(--c-accent-rgb), 0.15);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bonus-sub-icon svg { width: 22px; height: 22px; color: var(--c-accent); }
.bonus-sub h4 { margin-bottom: var(--s-1); font-size: 0.95rem; }
.bonus-sub .amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--c-accent);
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
}
.bonus-sub p { font-size: 0.82rem; color: var(--c-text-mute); margin-bottom: 0; font-weight: 500; }
@media (max-width: 800px) {
  .bonus-main { grid-template-columns: 1fr; }
  .bonus-sub-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   REVIEWS
   ============================================================================ */
.reviews-meta {
  display: flex;
  gap: var(--s-5);
  align-items: center;
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.reviews-meta .big-rating {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--c-accent);
}
.reviews-meta .stars {
  color: var(--c-accent);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}
.reviews-meta .count { color: var(--c-text-mute); font-size: 0.88rem; font-weight: 600; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
}
.review-card {
  padding: var(--s-5);
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.review-card .stars {
  color: var(--c-accent);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--s-3);
}
.review-card blockquote {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: var(--s-3);
  font-style: italic;
  font-weight: 500;
}
.review-card .author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-border);
}
.review-card .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary-bright), var(--c-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--c-white);
  font-size: 0.82rem;
}
.review-card .author-info { font-size: 0.82rem; }
.review-card .author-info .name { font-weight: 700; }
.review-card .author-info .location { color: var(--c-text-mute); font-size: 0.76rem; font-weight: 500; }
@media (max-width: 800px) { .review-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   PROS / CONS
   ============================================================================ */
.proscons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.proscons-card {
  padding: var(--s-5);
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}
.proscons-card h4 {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-border);
}
.proscons-card.pros h4 { color: var(--c-cta); }
.proscons-card.cons h4 { color: var(--c-danger); }
.proscons-card ul li {
  padding: var(--s-2) 0;
  padding-left: var(--s-5);
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
}
.proscons-card.pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-cta);
  font-weight: 900;
}
.proscons-card.cons li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--c-danger);
  font-weight: 900;
}
@media (max-width: 700px) { .proscons-grid { grid-template-columns: 1fr; } }

/* ============================================================================
   PAYMENTS
   ============================================================================ */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-4);
}
.payment-card {
  padding: var(--s-5);
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  text-align: center;
  transition: transform .2s, border-color .2s;
}
.payment-card:hover { transform: translateY(-2px); border-color: var(--c-accent); }
.payment-card .pm-icon {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
}
.payment-card .pm-icon svg { width: 36px; height: 36px; color: var(--c-accent); }
.payment-card .pm-name {
  font-weight: 800;
  margin-bottom: var(--s-2);
  font-family: var(--font-display);
  font-size: 0.92rem;
}
.payment-card .pm-speed {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 800;
}
@media (max-width: 800px) { .payments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============================================================================
   FAQ
   ============================================================================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: var(--s-4) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.faq-q::after {
  content: '+';
  font-size: 1.6rem;
  color: var(--c-accent);
  font-weight: 500;
  transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  color: var(--c-text-mute);
  font-weight: 500;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: var(--s-4); }

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
  border-top: 1px solid var(--c-border);
  background: var(--c-bg-2);
  padding: var(--s-7) var(--s-7) var(--s-5);
  margin-top: var(--s-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}
.footer-col h5 {
  font-family: var(--font-display);   /* T64: stronger, clearer column headings */
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  margin-bottom: var(--s-3);
  font-weight: 800;
}
.footer-col ul li { padding: var(--s-1) 0; font-size: 0.9rem; }
.footer-col ul li a {
  color: var(--c-text);            /* brighter than mute for readability (T64) */
  font-weight: 600;
  transition: color .18s ease, padding-left .18s ease;
}
.footer-col ul li a:hover { color: var(--c-accent); padding-left: 3px; }
.footer-about img.footer-logo { height: 36px; width: auto; margin-bottom: var(--s-3); }
.footer-about p {
  font-size: 0.9rem;
  color: var(--c-text-mute);
  margin: var(--s-3) 0;
  max-width: 36ch;
  font-weight: 500;
  line-height: 1.6;
}
.footer-licenses {
  display: flex;
  gap: var(--s-2);
  margin: var(--s-3) 0;
  flex-wrap: wrap;
  align-items: center;
}
.license-badge {
  padding: var(--s-1) var(--s-3);
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  transition: border-color .18s ease, color .18s ease;
}
.license-badge:hover { border-color: rgba(var(--c-accent-rgb), 0.4); color: var(--c-text); }
/* Footer trust + payment badges (unified across all brands) */
.footer-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  margin-bottom: var(--s-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.trust-group { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.ft-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  transition: color .2s ease;
}
/* All three badges same box + same 24×24 viewBox → aligned, no clipping (T70) */
.ft-badge svg { width: 26px; height: 26px; display: block; }
/* Fixed semantic trust colours for ALL brands (not palette-dependent) */
.ft-age    { color: #e23b3b; }   /* 18+ red */
.ft-shield { color: #2ecc71; }   /* verified green */
.ft-lock   { color: #3a86ff; }   /* secure blue */
.trust-pay { gap: var(--s-3); }
.pay-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 30px;
  padding: 0 var(--s-2);
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--c-text-mute);
}
.pay-badge svg { width: 28px; height: 18px; color: var(--c-text-mute); }
.footer-bottom {
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--c-text-mute);
  flex-wrap: wrap;
  gap: var(--s-3);
  font-weight: 500;
}
.responsible-gambling {
  font-size: 0.8rem;
  color: var(--c-text-mute);
  margin: var(--s-3) 0;
  line-height: 1.6;
  font-weight: 600;
}
.responsible-gambling a { color: var(--c-accent); }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
  .site-footer { padding-left: var(--s-5); padding-right: var(--s-5); }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   MOBILE BOTTOM NAV
   ============================================================================ */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-h);
  background: var(--c-sidebar);
  border-top: 1px solid var(--c-border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 60;
  align-items: center;
  justify-content: space-around;
  padding: 0 var(--s-2);
}
.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: var(--s-2) var(--s-1);
  color: var(--c-text-mute);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color .15s;
}
.bottom-nav-item svg { width: 22px; height: 22px; }
.bottom-nav-item.active { color: var(--c-accent); }
.bottom-nav-item:hover { color: var(--c-text); }

.bottom-nav-cta {
  flex: 0 0 auto;
  position: relative;
  margin-top: -18px;   /* protrude less so it doesn't collide with bonus bar (T32) */
}
.bottom-nav-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: linear-gradient(180deg, var(--c-cta-grad-from) 0%, var(--c-cta-grad-to) 100%);
  border-radius: 50%;
  box-shadow:
    0 8px 20px rgba(var(--c-accent-rgb), 0.5),
    0 0 0 5px var(--c-sidebar),
    inset 0 -2px 0 rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(var(--c-white-rgb), 0.3);
}
.bottom-nav-cta a:hover {
  background: linear-gradient(180deg, var(--c-cta-hover-from) 0%, var(--c-cta-hover-to) 100%);
}
.bottom-nav-cta svg { width: 30px; height: 30px; color: var(--c-sidebar); }
.bottom-nav-cta-label {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-cta);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ============================================================================
   RESPONSIVE: sidebar hides below 1024px
   ============================================================================ */
@media (max-width: 1024px) {
  /* Both layouts collapse to a single column with a fixed off-canvas drawer
     and an identical mobile .topbar header. */
  .app, .app.layout-sidebar, .app.layout-topbar { display: block; grid-template-columns: 1fr; }
  .desktop-topbar { display: none; }   /* desktop topbar never shown on mobile */
  .topbar { display: flex; }            /* unified mobile header for BOTH layouts */
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    transition: transform .25s ease-out;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.5);
    z-index: 100;
  }
  /* Inner is static inside the mobile drawer (sticky only matters on desktop) */
  .sidebar-inner {
    position: static;
    height: auto;
  }
  .sidebar.open { transform: translateX(0); }
  .bottom-nav { display: flex; }
  /* bottom spacing reserved inside footer padding (T63), not body */
  .hero { padding-top: var(--s-4); }
  .hero-carousel { aspect-ratio: 16/12; }
  .hero-static { aspect-ratio: 16/12; }
  .hero-slide-content {
    padding: var(--s-5);
    max-width: 100%;
    justify-content: flex-end;
  }
  .hero-slide::before {
    background: linear-gradient(180deg,
      rgba(var(--c-bg-rgb), 0.15) 0%,
      rgba(var(--c-bg-rgb), 0.45) 60%,
      rgba(var(--c-bg-rgb), 0.92) 100%);
  }
  .hero-arrow { width: 38px; height: 38px; }
  .hero-arrow.prev { left: var(--s-2); }
  .hero-arrow.next { right: var(--s-2); }
  .hero-bonus-pill .amount { font-size: 1.4rem; }
}

@media (max-width: 600px) {
  h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .stat-row { padding: var(--s-5) var(--s-4); }
}

/* ============================================================================
   PAGE HEADER — simple header for technical pages (contacts/rg/privacy)
   ============================================================================ */
.page-header {
  padding: var(--s-7) var(--s-7) var(--s-6);
  background:
    radial-gradient(ellipse at top right, rgba(var(--c-accent-rgb), 0.18), transparent 60%),
    linear-gradient(180deg, var(--c-bg-2), transparent);
  border-bottom: 1px solid var(--c-border);
  max-width: 1100px;
  margin: 0 auto;
}
.page-header .eyebrow { color: var(--c-accent); }
.page-header h1 {
  margin-bottom: var(--s-3);
  color: var(--c-white);
}
.page-header .lead { font-size: 1.15rem; max-width: 70ch; }

/* ============================================================================
   ARTICLE — content from Claude API (h2-block auto-wrap)
   ============================================================================
*/
.article {
  padding: var(--s-6) var(--s-7) var(--s-7);
  max-width: 1100px;
  margin: 0 auto;
}

.article-block {
  padding: var(--s-6);
  margin-bottom: var(--s-4);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;   /* clip watermark so it never spills past the block */
  background: linear-gradient(180deg, rgba(var(--c-bg-3-rgb), 0.5), rgba(var(--c-bg-dark-rgb), 0.6));
  border: 1px solid var(--c-border);
}

/* Flex block header: [stripe] [h2] [icon] all aligned on the first line (T39/T69) */
.block-head {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  position: relative;
  z-index: 1;
}
.block-head .block-stripe {
  flex: 0 0 auto;
  width: 4px;
  align-self: stretch;            /* matches the h2 height (1 or 2 lines) */
  min-height: 1.1em;
  margin-top: 0.18em;
  background: linear-gradient(180deg, var(--c-accent), var(--c-accent-dim));
  border-radius: 2px;
}
.block-head h2 {
  flex: 1 1 auto;
  margin: 0;
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  letter-spacing: -0.02em;
  scroll-margin-top: 90px;  /* anchor offset under sticky header + nav */
}
.block-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.block-icon svg { width: 22px; height: 22px; }

/* ============================================================================
   BLOCK TYPE VARIANTS — each h2-section gets unique visual based on content
   ============================================================================ */

/* editorial — pure text, gentle background */
.block-type-editorial {
  background: linear-gradient(180deg, rgba(var(--c-bg-3-rgb), 0.55), rgba(var(--c-bg-dark-rgb), 0.65));
  border-left: 3px solid var(--c-primary-bright);
}
.block-type-editorial .block-icon {
  background: linear-gradient(135deg, rgba(var(--c-accent-rgb), 0.18), rgba(var(--c-accent-rgb), 0.06));
  border: 1px solid rgba(var(--c-accent-rgb), 0.25);
}
.block-type-editorial .block-icon svg { color: var(--c-primary-bright); }

/* data — table-focused, with golden accent header */
.block-type-data {
  background:
    radial-gradient(ellipse at top right, rgba(var(--c-accent-rgb), 0.08), transparent 50%),
    linear-gradient(180deg, rgba(var(--c-bg-elev-rgb), 0.5), rgba(var(--c-bg-deeper-rgb), 0.6));
  border-left: 3px solid var(--c-accent);
}
.block-type-data .block-icon {
  background: linear-gradient(135deg, rgba(var(--c-accent-rgb), 0.2), rgba(var(--c-accent-rgb), 0.05));
  border: 1px solid rgba(var(--c-accent-rgb), 0.3);
}
.block-type-data .block-icon svg { color: var(--c-accent); }

/* steps — process/instructions, with primary blue accent */
.block-type-steps {
  background:
    radial-gradient(ellipse at top left, rgba(var(--c-accent-rgb), 0.1), transparent 50%),
    linear-gradient(180deg, rgba(var(--c-bg-3-rgb), 0.55), rgba(var(--c-bg-dark-rgb), 0.65));
  border-left: 3px solid var(--c-primary-bright);
}
.block-type-steps .block-icon {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-bright));
  border: 1px solid rgba(var(--c-accent-rgb), 0.4);
}
.block-type-steps .block-icon svg { color: var(--c-white); }

/* features — list-based, with green accent */
.block-type-features {
  background:
    radial-gradient(ellipse at bottom right, rgba(var(--c-accent-rgb), 0.08), transparent 50%),
    linear-gradient(180deg, rgba(var(--c-bg-3-rgb), 0.55), rgba(var(--c-bg-dark-rgb), 0.65));
  border-left: 3px solid var(--c-cta);
}
.block-type-features .block-icon {
  background: linear-gradient(135deg, rgba(var(--c-accent-rgb), 0.18), rgba(var(--c-accent-rgb), 0.05));
  border: 1px solid rgba(var(--c-accent-rgb), 0.25);
}
.block-type-features .block-icon svg { color: var(--c-cta); }

/* faq — match the framed icon style of the other block types */
.block-type-faq .block-icon {
  background: linear-gradient(135deg, rgba(var(--c-accent-rgb), 0.18), rgba(var(--c-accent-rgb), 0.06));
  border: 1px solid rgba(var(--c-accent-rgb), 0.25);
}
.block-type-faq .block-icon svg { color: var(--c-accent); }

/* faq is handled below (special accordion treatment) */

/* H3 inside blocks */
.article-block h3 {
  font-size: 1.12rem;
  margin: var(--s-5) 0 var(--s-3);
  color: var(--c-accent);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Paragraphs */
.article-block p {
  margin-bottom: var(--s-4);
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.65;
  font-size: 0.97rem;
}
.article-block p:last-child { margin-bottom: 0; }

.article-block h2 + p {
  font-size: 1.02rem;
  color: rgba(var(--c-white-rgb), 0.92);
}

/* Anchor links */
.article-block a {
  color: var(--c-accent);
  font-weight: 600;
  border-bottom: 1px dashed var(--c-accent);
  padding: 0 3px;
  transition: background .15s, color .15s;
  border-radius: 2px;
}
.article-block a:hover {
  color: var(--c-accent-bright);
  background: rgba(var(--c-accent-rgb), 0.12);
}

/* Unordered lists */
.article-block ul {
  margin: var(--s-3) 0;
  padding-left: 0;
  display: grid;
  gap: var(--s-2);
}
.article-block ul li {
  padding: var(--s-3) var(--s-4) var(--s-3) calc(var(--s-5) + 4px);
  position: relative;
  font-weight: 500;
  line-height: 1.5;
  list-style: none;
  background: rgba(var(--c-bg-rgb), 0.4);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
}
.article-block ul li::before {
  content: '';
  position: absolute;
  left: var(--s-3);
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(var(--c-accent-rgb), 0.4);
}

/* features block — two-column list grid on wider screens */
.block-type-features ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-2);
}

/* Ordered lists — numbered cards */
.article-block ol {
  margin: var(--s-3) 0;
  padding-left: 0;
  counter-reset: step-counter;
  display: grid;
  gap: var(--s-3);
}
.article-block ol li {
  list-style: none;
  counter-increment: step-counter;
  position: relative;
  padding: var(--s-4) var(--s-4) var(--s-4) calc(var(--s-5) + 30px);
  background: rgba(var(--c-bg-rgb), 0.55);
  border: 1px solid rgba(var(--c-accent-rgb), 0.15);
  border-radius: var(--r-md);
  font-weight: 500;
  line-height: 1.55;
  font-size: 0.95rem;
}
.article-block ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: var(--s-3);
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--c-primary-bright), var(--c-primary));
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
}

/* Tables */
/* Scroll wrapper around tables — horizontal scroll instead of overflow/break (T68) */
.article-block .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--s-4) 0;
  border-radius: var(--r-md);
}
.article-block .table-wrap table { margin: 0; }
.article-block table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--s-4) 0;
  background: rgba(var(--c-sidebar-rgb), 0.5);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.article-block thead {
  /* High-contrast header in brand CTA colour so it clearly stands out (T49) */
  background: linear-gradient(180deg, var(--c-cta), var(--c-cta-hover));
}
.article-block th {
  padding: var(--s-3) var(--s-4);
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-on-cta);
  border-bottom: 2px solid rgba(var(--c-white-rgb), 0.15);
}
.article-block tbody tr {
  border-bottom: 1px solid rgba(var(--c-accent-rgb), 0.06);
}
.article-block tbody tr:nth-child(even) { background: rgba(var(--c-bg-3-rgb), 0.25); }
.article-block tbody tr:last-child { border-bottom: none; }
.article-block td {
  padding: var(--s-3) var(--s-4);
  font-size: 0.93rem;
  font-weight: 500;
}
.article-block td:first-child { font-weight: 700; color: var(--c-text); }
.article-block td:last-child { color: var(--c-accent); font-weight: 700; }

/* ============================================================================
   PAGE NAV PILLS — on-page anchor navigation under hero
   ============================================================================ */
.page-nav-wrap {
  background:
    linear-gradient(180deg, rgba(var(--c-sidebar-rgb), 0.92), rgba(var(--c-bg-rgb), 0.95));
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-3) var(--s-7);
  position: sticky;
  top: var(--desktop-topbar-h);   /* stick right under the sticky desktop header (T26) */
  z-index: 30;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 0;
}
/* In sidebar layout there is no top header on desktop → pin to viewport top */
.app.layout-sidebar .page-nav-wrap { top: 0; }
@media (max-width: 1024px) {
  /* Both layouts use the mobile .topbar header → pin under it */
  .app.layout-sidebar .page-nav-wrap,
  .app.layout-topbar .page-nav-wrap { top: var(--topbar-h); }
}
.page-nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: var(--s-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.page-nav::-webkit-scrollbar { display: none; }

.page-nav-pill {
  padding: 8px 16px;
  background: rgba(var(--c-bg-3-rgb), 0.5);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0;
  color: var(--c-text-mute);
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: background .15s, color .15s, border-color .15s;
}
.page-nav-pill:hover {
  background: rgba(var(--c-accent-rgb), 0.18);
  color: var(--c-white);
  border-color: var(--c-primary-bright);
}
.page-nav-pill.active {
  background: linear-gradient(180deg, var(--c-primary-bright), var(--c-primary));
  color: var(--c-white);
  border-color: var(--c-primary-bright);
  box-shadow: 0 4px 12px rgba(var(--c-primary-bright-rgb), 0.4);
}

/* ============================================================================
   PAGE HEADER — simple header for technical pages (contacts/rg/privacy)
   ============================================================================ */
.page-header {
  padding: var(--s-7) var(--s-7) var(--s-6);
  background:
    radial-gradient(ellipse at top right, rgba(var(--c-accent-rgb), 0.18), transparent 60%),
    linear-gradient(180deg, var(--c-bg-2), transparent);
  border-bottom: 1px solid var(--c-border);
  max-width: 1100px;
  margin: 0 auto;
}
.page-header .eyebrow { color: var(--c-accent); }
.page-header h1 {
  margin-bottom: var(--s-3);
  color: var(--c-white);
}
.page-header .lead { font-size: 1.15rem; max-width: 70ch; }

/* ============================================================================
   PAGE HERO — full-width image background for content pages
   ============================================================================ */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--c-bg-2);
  border-bottom: 1px solid var(--c-border-strong);
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--c-bg-rgb), 0.35) 0%, rgba(var(--c-bg-rgb), 0.5) 45%, rgba(var(--c-bg-rgb), 0.94) 100%),
    radial-gradient(ellipse at left bottom, rgba(var(--c-accent-rgb), 0.22), transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--s-7) var(--s-7) var(--s-6);
}
.page-hero-eyebrow {
  color: var(--c-accent);
  margin-bottom: var(--s-3);
  display: inline-block;
}
.page-hero-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  margin-bottom: var(--s-3);
  color: var(--c-white);
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 720px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  line-height: 1.15;
}
.page-hero-lead {
  font-size: 1rem;
  color: rgba(var(--c-white-rgb), 0.9);
  font-weight: 500;
  line-height: 1.5;
  max-width: 60ch;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.page-hero-lead p { margin: 0; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--s-3);
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(var(--c-white-rgb), 0.7); transition: color .15s; }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb-sep { color: rgba(var(--c-white-rgb), 0.4); font-weight: 700; }
.breadcrumb-current { color: var(--c-accent); font-weight: 600; }

/* Stat row below hero */
.page-hero-stats {
  max-width: 1100px;
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-3);
  padding: 0 var(--s-7);
}
.page-hero-stat {
  padding: var(--s-4) var(--s-5);
  background: linear-gradient(180deg, var(--c-bg-2), var(--c-bg-3));
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  box-shadow: 0 8px 24px rgba(var(--c-shadow-dark-rgb), 0.4);
}
.page-hero-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--c-accent);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.1;
}
.page-hero-stat-label {
  font-size: 0.74rem;
  color: var(--c-text-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

@media (max-width: 1024px) {
  /* Page hero — cover crop centered (equal trim L/R), no letterbox */
  .page-hero {
    min-height: 280px;
    align-items: flex-end;
  }
  .page-hero-img {
    object-fit: cover;
    object-position: 50% 50%;
  }
  .page-hero::after {
    background:
      linear-gradient(180deg, rgba(var(--c-bg-rgb), 0.3) 0%, rgba(var(--c-bg-rgb), 0.55) 50%, rgba(var(--c-bg-rgb), 0.95) 100%);
  }
  .page-hero-content { padding: var(--s-5) var(--s-5) var(--s-4); align-self: flex-end; }
  .page-hero-title { font-size: clamp(1.3rem, 4.5vw, 1.7rem); margin-bottom: var(--s-3); }
  .page-hero-lead { font-size: 0.9rem; }
  .page-hero-stats {
    margin-top: -20px;
    padding: 0 var(--s-5);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-2);
  }

  /* page nav: tighter spacing, position below sticky topbar */
  .page-nav-wrap {
    padding: 10px var(--s-5);
    top: var(--topbar-h);
  }
  .page-nav-pill { padding: 7px 12px; font-size: 0.76rem; }

  /* block-icon smaller on mobile */
  .block-icon { width: 34px; height: 34px; }
  .block-icon svg { width: 17px; height: 17px; }
  .block-head { gap: var(--s-2); }
  .block-head h2 { font-size: 1.15rem; }
  .block-head .block-stripe { width: 3px; }

  /* features grid single column on mobile */
  .block-type-features ul { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .page-hero { min-height: 260px; }
  .page-hero-content { padding: var(--s-4); }
  .page-hero-lead { display: none; }  /* lead hidden on phone to reduce text density */
  .page-hero-stats { padding: 0 var(--s-4); }
  .page-hero-stat { padding: var(--s-3) var(--s-4); }
  .page-hero-stat-num { font-size: 1rem; }
  .page-hero-stat-label { font-size: 0.66rem; letter-spacing: 0.04em; }
}

/* ============================================================================
   PROMO BANNER STRIP (between article blocks — real CDN images)
   ============================================================================ */
.promo-strip {
  margin: var(--s-5) 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 1;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
}
.promo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--c-bg-rgb), 0.4) 0%, transparent 50%);
  pointer-events: none;
}
@media (max-width: 640px) {
  .promo-strip { aspect-ratio: 3 / 2; }
}

/* ============================================================================
   FAQ block — clean accordion (no circles, just plus)
   ============================================================================ */
.article-block.faq-block {
  background: linear-gradient(180deg, rgba(var(--c-bg-elev-rgb), 0.5), rgba(var(--c-faq-bg-rgb), 0.55));
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-cta);
}

.faq-block .faq-q {
  width: 100%;
  text-align: left;
  padding: var(--s-4) var(--s-5) var(--s-4) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--c-text);
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  transition: color .15s;
}
.faq-block .faq-q:hover { color: var(--c-accent); }
.faq-block .faq-q::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-accent);
  flex-shrink: 0;
  transition: transform .25s ease;
  line-height: 1;
  width: 20px;
  text-align: center;
}
.faq-block .faq-item {
  border-bottom: 1px solid rgba(var(--c-white-rgb), 0.06);
}
.faq-block .faq-item:last-child { border-bottom: none; }
.faq-block .faq-item.open .faq-q::after {
  transform: rotate(45deg);
}
.faq-block .faq-item.open .faq-q { color: var(--c-accent); }
.faq-block .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
}
.faq-block .faq-item.open .faq-a {
  max-height: 600px;
  padding-bottom: var(--s-4);
}
.faq-block .faq-a p {
  margin: 0;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(var(--c-white-rgb), 0.85);
}

/* ============================================================================
   ENRICHMENT BLOCKS — shell-rendered rich content (providers, reviews, etc)
   ============================================================================ */
.enrichment-block {
  /* Match article-block vertical rhythm: equal top/bottom + same bottom gap (T27) */
  padding: var(--s-6) var(--s-7);
  max-width: 1100px;
  margin: 0 auto var(--s-4);
}
.enrichment-head {
  margin-bottom: var(--s-5);
}
.enrichment-head .eyebrow { color: var(--c-accent); }
.enrichment-head h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
  margin: var(--s-2) 0 var(--s-2);
  color: var(--c-white);
}
.enrichment-sub {
  font-size: 0.95rem;
  color: var(--c-text-mute);
  margin: 0;
  line-height: 1.55;
  max-width: 60ch;
}

/* Provider cards (logos + game count) */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-3);
}
.provider-card {
  padding: var(--s-5);
  background: linear-gradient(180deg, var(--c-bg-2), rgba(var(--c-bg-3-rgb), 0.6));
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.provider-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-3px);
}
.provider-card-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--s-3);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.provider-card-logo svg { width: 100%; height: 100%; }
.provider-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--c-white);
}
.provider-card-count {
  font-size: 0.82rem;
  color: var(--c-accent);
  font-weight: 600;
}

/* Reviews — rating summary + testimonial cards */
.rating-summary {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-3);
  flex-wrap: wrap;
}
.rating-stars-big {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--c-accent);
  filter: drop-shadow(0 2px 8px rgba(var(--c-accent-rgb), 0.4));
}
.rating-summary-text { color: var(--c-text); font-size: 0.95rem; }
.rating-summary-text strong { color: var(--c-accent); font-family: var(--font-display); font-size: 1.1rem; }

/* Overall rating stars — bigger, brighter, accent glow (T28). All in palette. */
.reviews-overall {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-3);
}
.reviews-overall .v3-star,
.bcard-rating .v3-star {
  filter: drop-shadow(0 1px 4px rgba(var(--c-accent-rgb), 0.55));
}
.reviews-overall strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-accent);
}
.bcard-rating .bcard-stars { display: inline-flex; gap: 1px; }
.reviews-overall .bcard-stars { display: inline-flex; gap: 2px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-3);
}
.review-card {
  padding: var(--s-5);
  background: rgba(var(--c-bg-rgb), 0.5);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.review-stars {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--c-accent);
}
.review-quote {
  margin: 0;
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(var(--c-white-rgb), 0.92);
  border-left: 2px solid var(--c-accent);
  padding-left: var(--s-3);
}
.review-author {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-border);
}
.review-author-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--c-white);
}
.review-author-loc { font-size: 0.78rem; color: var(--c-text-mute); }

/* Pros / Cons green + red cards */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.pros-card, .cons-card {
  padding: var(--s-5);
  border-radius: var(--r-md);
  border: 1px solid;
}
.pros-card {
  background:
    radial-gradient(ellipse at top right, rgba(var(--c-accent-rgb), 0.1), transparent 60%),
    rgba(var(--c-accent-rgb), 0.05);
  border-color: rgba(var(--c-accent-rgb), 0.35);
}
.cons-card {
  background:
    radial-gradient(ellipse at top right, rgba(var(--c-danger-rgb), 0.08), transparent 60%),
    rgba(var(--c-danger-rgb), 0.04);
  border-color: rgba(var(--c-danger-rgb), 0.35);
}
.pros-cons-head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px dashed currentColor;
}
.pros-card .pros-cons-head { color: rgba(var(--c-accent-rgb), 0.4); }
.cons-card .pros-cons-head { color: rgba(var(--c-danger-rgb), 0.4); }
.pros-cons-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pros-cons-icon svg { width: 16px; height: 16px; }
.pros-card .pros-cons-icon { background: rgba(var(--c-accent-rgb), 0.18); color: var(--c-cta); }
.cons-card .pros-cons-icon { background: rgba(var(--c-danger-rgb), 0.18); color: var(--c-danger); }
.pros-cons-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--c-white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pros-cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pros-cons-list li {
  padding: 8px 0 8px 28px;
  font-size: 0.94rem;
  color: var(--c-text);
  position: relative;
  line-height: 1.5;
}
.pros-card .pros-cons-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 18px;
  height: 18px;
  background: rgba(var(--c-accent-rgb), 0.18);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2320c95f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}
.cons-card .pros-cons-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 18px;
  height: 18px;
  background: rgba(var(--c-danger-rgb), 0.18);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23f56c6c' stroke-width='3.5' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* VIP tier crown */
.vip-tier-crown {
  width: 36px;
  height: 36px;
  margin: 0 auto var(--s-2);
  color: var(--tier-color, var(--c-accent));
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}
.vip-tier-crown svg { width: 100%; height: 100%; }

/* Rating stars (SVG) */
.rating-stars-big {
  display: inline-flex;
  gap: 3px;
  color: var(--c-accent);
  filter: drop-shadow(0 2px 8px rgba(var(--c-accent-rgb), 0.3));
}
.rating-stars-big svg { width: 22px; height: 22px; }

/* Review card star row */
.review-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c-accent);
}
.review-stars svg { width: 16px; height: 16px; }

/* Payment method cards */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-3);
}
.payment-card {
  padding: var(--s-5);
  background: linear-gradient(180deg, var(--c-bg-2), rgba(var(--c-bg-3-rgb), 0.6));
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: border-color .2s, transform .2s;
}
.payment-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
}
.payment-card-logo {
  width: 56px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: var(--s-3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--c-white-rgb), 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.payment-card-logo svg { width: 100%; height: 100%; color: var(--c-white); }
.payment-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-white);
  margin-bottom: 4px;
}
.payment-card-desc {
  font-size: 0.85rem;
  color: var(--c-text-mute);
  margin-bottom: var(--s-3);
  line-height: 1.45;
}
.payment-card-foot {
  display: flex;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--c-border);
}
.payment-card-meta { flex: 1; min-width: 0; }
.payment-card-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  font-weight: 600;
  margin-bottom: 2px;
}
.payment-card-meta strong {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--c-accent);
  font-size: 0.92rem;
}

/* VIP tier cards */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-3);
}
.vip-card {
  padding: var(--s-5);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent),
    linear-gradient(180deg, var(--c-bg-2), rgba(var(--c-bg-3-rgb), 0.5));
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--tier-color, var(--c-accent));
  border-radius: var(--r-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Equal-height cards with the perk pinned to the bottom (T65) */
  display: flex;
  flex-direction: column;
}
.vip-card .vip-tier-perk { margin-top: auto; }
.vip-tier-cashback-empty { color: var(--c-text-dim); }
.vip-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--tier-color, var(--c-accent)) 0%, transparent 70%);
  opacity: 0.12;
  pointer-events: none;
}
.vip-tier-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--tier-color, var(--c-accent));
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.vip-tier-req {
  font-size: 0.8rem;
  color: var(--c-text-mute);
  margin-bottom: var(--s-3);
}
.vip-tier-cashback {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--c-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.vip-tier-cashback-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-text-mute);
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.vip-tier-perk {
  font-size: 0.85rem;
  color: var(--c-text);
  line-height: 1.45;
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-border);
}

/* Generic feature cards (used for app features etc) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-3);
}
.feature-card {
  padding: var(--s-5);
  background: linear-gradient(180deg, var(--c-bg-2), rgba(var(--c-bg-3-rgb), 0.5));
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.feature-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(var(--c-accent-rgb), 0.16), rgba(var(--c-accent-rgb), 0.04));
  border: 1px solid rgba(var(--c-accent-rgb), 0.22);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-3);
  color: var(--c-accent);
}
.feature-card-icon svg { width: 26px; height: 26px; }
.feature-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-white);
  margin-bottom: var(--s-2);
}
.feature-card-desc {
  font-size: 0.9rem;
  color: var(--c-text-mute);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1024px) {
  .enrichment-block { padding-left: var(--s-5); padding-right: var(--s-5); }
}
@media (max-width: 640px) {
  .enrichment-block { padding-left: var(--s-4); padding-right: var(--s-4); }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pros-cons-grid { grid-template-columns: 1fr; }
  .vip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-tier-cashback { font-size: 1.8rem; }
}

/* ============================================================================
   RELATED PAGES BLOCK
   ============================================================================ */
.related-pages {
  padding: var(--s-7) var(--s-7);
  border-top: 1px solid var(--c-border);
  margin-top: var(--s-6);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.related-pages .eyebrow { color: var(--c-accent); }
.related-pages h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: var(--s-5);
  letter-spacing: -0.02em;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-3);
}
.related-card {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: linear-gradient(135deg, var(--c-bg-2), rgba(var(--c-bg-3-rgb), 0.6));
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: border-color .2s, transform .2s;
}
.related-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
}
.related-card-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(var(--c-accent-rgb), 0.16), rgba(var(--c-accent-rgb), 0.04));
  border: 1px solid rgba(var(--c-accent-rgb), 0.22);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.related-card-icon svg { width: 20px; height: 20px; color: var(--c-accent); }
.related-card-title {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 2px;
  font-family: var(--font-display);
}
.related-card-hint, .related-card-desc {
  font-size: 0.78rem;
  color: var(--c-text-mute);
  font-weight: 500;
}
.related-card-text {
  display: flex;
  flex-direction: column;
}

/* ============================================================================
   SCROLL-TO-TOP BUTTON
   ============================================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 88px;   /* above the full-width bonus bar (T29/T38) */
  right: 24px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--c-primary-bright), var(--c-primary));
  border: 1px solid rgba(var(--c-white-rgb), 0.15);
  color: var(--c-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 8px 24px rgba(var(--c-primary-bright-rgb), 0.4);
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover {
  background: linear-gradient(180deg, var(--c-primary-bright), var(--c-primary-bright));
}
.scroll-top-btn svg { width: 22px; height: 22px; }

/* ============================================================================
   MOBILE BONUS BAR — sticky above bottom-nav
   ============================================================================ */
.mobile-bonus-bar {
  /* Sticky welcome-bonus bar, full width at the bottom on ALL screens (T38) */
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  padding: 12px clamp(16px, 4vw, 48px);
  background:
    radial-gradient(ellipse at top right, rgba(var(--c-accent-rgb), 0.25), transparent 60%),
    linear-gradient(180deg, rgba(var(--c-mobile-bar-bg-rgb), 0.95), rgba(var(--c-sidebar-rgb), 0.98));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(var(--c-accent-rgb), 0.3);
  align-items: center;
  gap: 16px;
}
/* On desktop the bar content is centered to a max width so it isn't stretched edge-to-edge */
.mobile-bonus-bar-info,
.mobile-bonus-bar-btn { z-index: 1; }
@media (min-width: 1025px) {
  .mobile-bonus-bar { justify-content: center; gap: 24px; }
  .mobile-bonus-bar-info { flex: 0 1 auto; }
  /* Reserve space for the fixed bar INSIDE the footer's own background, so no
     body-bg strip appears between footer and bar (T63). */
  .site-footer { padding-bottom: calc(var(--s-5) + 76px); }
}
.mobile-bonus-bar-info {
  flex: 1;
  min-width: 0;
}
.mobile-bonus-bar-eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 2px;
}
.mobile-bonus-bar-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--c-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-bonus-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: linear-gradient(180deg, var(--c-cta), var(--c-cta-hover));
  color: var(--c-text-on-cta);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--btn-radius);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow:
    0 0 0 0 rgba(var(--c-accent-rgb), 0.7),
    inset 0 1px 0 rgba(var(--c-white-rgb), 0.3),
    0 4px 16px rgba(var(--c-accent-rgb), 0.4);
  animation: pulseBtn 2s infinite;
}
@keyframes pulseBtn {
  0%   { box-shadow: 0 0 0 0 rgba(var(--c-accent-rgb), 0.7), inset 0 1px 0 rgba(var(--c-white-rgb), 0.3), 0 4px 16px rgba(var(--c-accent-rgb), 0.4); }
  70%  { box-shadow: 0 0 0 14px rgba(var(--c-accent-rgb), 0), inset 0 1px 0 rgba(var(--c-white-rgb), 0.3), 0 4px 16px rgba(var(--c-accent-rgb), 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(var(--c-accent-rgb), 0), inset 0 1px 0 rgba(var(--c-white-rgb), 0.3), 0 4px 16px rgba(var(--c-accent-rgb), 0.4); }
}

/* Sprint 2: pulsing CTA on hero banner (same effect as CLAIM NOW bar) */
.hero-bonus-pill .btn-cta {
  animation: pulseBtn 2s infinite;
}


/* ============================================================================
   MOBILE: topbar 2 buttons, semi-transparent hero plate, responsive tables
   ============================================================================ */
@media (max-width: 1024px) {
  .topbar-actions {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .topbar-actions .btn-login {
    padding: 7px 12px;
    background: transparent;
    color: var(--c-accent);
    border: 1.5px solid var(--c-accent);
    font-weight: 700;
    font-size: 0.72rem;
    border-radius: var(--r-sm);
    transition: background .15s, color .15s;
    white-space: nowrap;
  }
  .topbar-actions .btn-login:hover {
    background: var(--c-accent);
    color: var(--c-bg);
  }
  .topbar-actions .btn-cta {
    padding: 7px 12px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  /* Mobile bonus bar shown, sits directly above the bottom-nav (T32) */
  .mobile-bonus-bar { display: flex; bottom: var(--bottom-nav-h); padding: 8px 12px; gap: 10px; }
  /* Let the bonus text use full width and wrap instead of being clipped (T32) */
  .mobile-bonus-bar-text { white-space: normal; font-size: 0.82rem; line-height: 1.15; }
  .mobile-bonus-bar-eyebrow { font-size: 8px; }
  .mobile-bonus-bar-btn { padding: 8px 12px; font-size: 0.72rem; }
  /* Reserve space for fixed bonus-bar + bottom-nav inside the footer's own bg,
     so no body-bg strip shows between footer and the bars (T63). */
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(var(--s-5) + var(--bottom-nav-h) + 64px); }

  /* Scroll-top button above BOTH bottom-nav and bonus-bar so it's never hidden (T29) */
  .scroll-top-btn {
    bottom: calc(var(--bottom-nav-h) + 72px);
    right: 16px;
    z-index: 50;   /* above bonus-bar (49) */
  }

  /* Hero on mobile — compact wide, centered, symmetric padding (T31/T33) */
  .hero-carousel,
  .hero-static {
    aspect-ratio: 16 / 9;
    max-height: 240px;
    min-height: 180px;
    width: 100%;
    margin: 0 auto;
  }
  .hero {
    padding: var(--s-4) var(--s-4);
  }
  .hero-slide video,
  .hero-slide img.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 50%;  /* keep brand mascot/focal on right visible */
  }
  .hero-slide-content {
    padding: var(--s-3) 56px;
    justify-content: flex-end;
    align-items: center;
  }
  .hero-bonus-pill {
    background: rgba(var(--c-sidebar-rgb), 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--c-accent-rgb), 0.25);
    padding: 8px 12px;
    max-width: 86%;
    width: auto;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  /* Lift pill above the dots row so they don't overlap */
  .hero-slide-content {
    padding: var(--s-2) 40px 32px;
    justify-content: flex-end;
  }
  /* Tighten dots to bottom edge so pill has clear space */
  .hero-dots {
    bottom: 6px;
    padding: 3px 8px;
  }
  .hero-dot {
    width: 6px;
    height: 6px;
  }
  .hero-bonus-pill .label {
    font-size: 9px !important;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
    display: block;
  }
  .hero-bonus-pill .amount {
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }
  .hero-bonus-pill .btn-lg {
    padding: 8px 16px !important;
    font-size: 0.78rem !important;
  }
  .hero-bonus-pill .label { font-size: 9px; letter-spacing: 0.08em; }
  .hero-bonus-pill .amount { font-size: 1.02rem; margin-bottom: var(--s-2); line-height: 1.25; }
  .hero-bonus-pill .btn-lg { padding: 9px 22px; font-size: 0.82rem; }
  .hero-slide::before {
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(var(--c-bg-rgb), 0.1) 40%,
      rgba(var(--c-bg-rgb), 0.5) 100%);
  }
  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }
  .hero-arrow { width: 36px; height: 36px; }
  .hero-arrow svg { width: 16px; height: 16px; }

  .page-header { padding-left: var(--s-5); padding-right: var(--s-5); }
  .article { padding-left: var(--s-5); padding-right: var(--s-5); }
  .article-block { padding: var(--s-5); }
  .related-pages { padding-left: var(--s-5); padding-right: var(--s-5); }
}
@media (max-width: 640px) {
  .page-header { padding-left: var(--s-4); padding-right: var(--s-4); }
  .article { padding-left: var(--s-4); padding-right: var(--s-4); }
  .related-pages { padding-left: var(--s-4); padding-right: var(--s-4); }
  .article-block { padding: var(--s-4); }
  .block-head h2 { font-size: 1.2rem; }

  /* Compact table on small screens — stays as table, just smaller */
  .article-block table {
    font-size: 0.74rem;
    margin: var(--s-3) 0;
    min-width: 100%;            /* allow it to be wider than wrapper → wrapper scrolls (T68) */
  }
  .article-block th {
    padding: 8px 7px;
    font-size: 0.66rem;
    letter-spacing: 0.02em;
    white-space: nowrap;        /* keep headers on one line */
  }
  .article-block td {
    padding: 8px 7px;
    overflow-wrap: break-word;  /* wrap long words at boundaries, don't split mid-word (T68) */
    word-break: normal;
    line-height: 1.35;
  }
  .article-block td:first-child { font-weight: 600; }
  .article-block td:last-child { font-size: 0.72rem; }

  /* Ordered list — small step circles */
  .article-block ol li { padding-left: 56px; padding-right: var(--s-3); }
  .article-block ol li::before { width: 26px; height: 26px; font-size: 0.75rem; left: var(--s-3); }

  .mobile-bonus-bar-btn { padding: 9px 13px; font-size: 0.74rem; }
  .mobile-bonus-bar-text { font-size: 0.82rem; }
}


/* ============================================================================
   Inner-page hero (page_hero) — compact mobile
   ========================================================================= */
@media (max-width: 768px) {
  .page-hero {
    min-height: 200px !important;
    max-height: 280px !important;
    padding: var(--s-4) var(--s-3) !important;
  }
  .page-hero-img,
  .page-hero-bg-art {
    object-position: 60% 50%;
  }
  .page-hero-title {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
  }
  .page-hero-eyebrow {
    font-size: 11px !important;
  }
  .page-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: var(--s-3) !important;
  }
  .page-hero-stat-num {
    font-size: 1.2rem !important;
  }
  .page-hero-stat-label {
    font-size: 10px !important;
  }
}


/* ============================================================================
   SPRINT 2 — Desktop topbar layout
   ========================================================================= */
.desktop-topbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 60;
  background: var(--c-sidebar);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.desktop-topbar-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--s-3) var(--s-5);
}
.desktop-topbar .topbar-hamburger {
  display: none;   /* hidden on desktop; shown on mobile */
  background: none;
  border: none;
  color: var(--c-text);
  cursor: pointer;
  padding: 6px;
}
.desktop-topbar .topbar-logo img {
  display: block;
  height: 38px;
  width: auto;
}
.topbar-nav {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex: 1;
  justify-content: center;   /* nav centered between logo and auth (T21) */
}
.topbar-nav-link {
  padding: 8px 14px;
  border-radius: var(--r-md);
  color: var(--c-text-mute);
  font-family: var(--font-display);   /* display font, bolder, uppercase like reference (T62) */
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.topbar-nav-link:hover {
  color: var(--c-text);
  background: var(--c-bg-3);
}
.topbar-nav-link.active {
  color: var(--c-accent);
  background: var(--c-bg-3);
}
.desktop-topbar .topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}
.desktop-topbar .btn-login {
  padding: var(--s-2) var(--s-4);
  background: transparent;
  color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.desktop-topbar .btn-login:hover { background: var(--c-accent); color: var(--c-bg); }

/* Mobile: desktop-topbar collapses — show hamburger, hide inline nav */
@media (max-width: 900px) {
  .desktop-topbar .topbar-hamburger { display: inline-flex; }
  .desktop-topbar .topbar-nav { display: none; }
  .desktop-topbar-inner {
    gap: var(--s-3);
    padding: var(--s-3) var(--s-4);
    justify-content: space-between;
  }
  .desktop-topbar .topbar-logo { flex: 1; text-align: center; }
  .desktop-topbar .topbar-logo img { margin: 0 auto; height: 34px; }
}

/* Drawer nav without logo (topbar layout) gets top breathing room */
.drawer-nav-top { margin-top: var(--s-6); padding-top: var(--s-4); }

/* ============================================================================
   SPRINT 2 P3: watermark background + callout from blockquote
   ============================================================================ */
/* Large faded icon watermark behind each block */
.block-watermark {
  position: absolute;
  top: 50%;
  right: var(--s-5);
  transform: translateY(-50%);
  width: 130px;
  height: 130px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  color: var(--c-accent);
}
.block-watermark svg { width: 100%; height: 100%; }
/* Keep all real content above the watermark */
.article-block > *:not(.block-watermark) {
  position: relative;
  z-index: 1;
}
/* Callout — styled blockquote for tips/important notes */
.article-block .callout {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  margin: var(--s-4) 0;
  padding: var(--s-4);
  background: linear-gradient(135deg, rgba(var(--c-accent-rgb), 0.1), rgba(var(--c-accent-rgb), 0.03));
  border: 1px solid rgba(var(--c-accent-rgb), 0.25);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--r-md);
}
.callout-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--c-accent);
}
.callout-icon svg { width: 100%; height: 100%; }
.callout-body { font-size: 0.95rem; line-height: 1.6; }
.callout-body :first-child { margin-top: 0; }
.callout-body :last-child { margin-bottom: 0; }