/* ============================================================
   SiteButcher v2.4 — generated stylesheet (block system)
   Style preset: Royal Velvet
   Brand: Betfinal
   ============================================================ */


/* === _base/styles/_variables.css.j2 === */

/* ============================================================
   CSS variables — generated from palette + style preset
   ============================================================ */
:root {
  /* Colors from palette */
  --primary:       #d4af37;
  --accent:        #4b0082;
  --bg:            #0c0612;
  --bg-elev:       #18121e;
  --text:          #f5f0e6;
  --text-muted:    #9a8fa8;
  --border:        #45404b;
  --primary-rgb:   212, 175, 55;
  --accent-rgb:    75, 0, 130;

  /* Typography */
  --font-heading:  'Cinzel', Georgia, serif;
  --font-body:     'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.15);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.25);
  --shadow-lg:   0 24px 60px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 32px rgba(var(--accent-rgb), 0.35);

  /* Transitions */
  --tr-fast:  0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-base:  0.3s  cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow:  0.6s  cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-8:  3rem;
  --sp-10: 4rem;
  --sp-12: 6rem;

  /* Section vertical rhythm — legacy used 60-120px; clamped 48-80px gives 96-160px gaps */
  --section-pad-y: clamp(3rem, 7vw, 5rem);
}

/* === _base/styles/_reset.css.j2 === */

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, video, picture { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea { font: inherit; color: inherit; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.site-body {
  font-family: var(--font-body);
  /* Subtle dotted-grid texture overlay — adds tactile depth so bg isn't dead-flat.
     Two layers: small dots at 28px grid + var(--bg) base. Opacity 0.025 = nearly invisible
     but materially changes how "dead" the bg reads. */
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.022) 1px, transparent 1.2px) 0 0 / 28px 28px,
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(var(--accent-rgb), 0.06) 0%, transparent 60%),
    var(--bg);
  background-attachment: fixed, fixed, fixed;
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  font-feature-settings: 'kern', 'liga', 'calt';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Selection */
::selection {
  background: rgba(var(--accent-rgb), 0.35);
  color: var(--text);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* RTL refinements */
[dir="rtl"] {
  letter-spacing: 0;
}

/* === _base/styles/_typography.css.j2 === */

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 var(--sp-3);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
h4 { font-size: clamp(1.05rem, 2.4vw, 1.25rem); }

p, li {
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 1em;
}
p:last-child, li:last-child { margin-bottom: 0; }

strong, b {
  color: var(--text);
  font-weight: 700;
  text-shadow: 0 0 14px rgba(var(--primary-rgb), 0.5);
}
em, i { font-style: italic; }

small { font-size: 0.85em; color: var(--text-muted); }

a {
  color: var(--primary);
  transition: color var(--tr-fast);
}
a:hover { color: var(--text); }

/* Inline prose lists */
.prose ul, .prose ol {
  margin: 0 0 1em;
  padding-inline-start: 1.5em;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose ul li, .prose ol li { display: list-item; }
.prose blockquote {
  margin: 1em 0;
  padding-inline-start: 1.5em;
  border-inline-start: 3px solid var(--accent);
  font-style: italic;
  color: var(--text-muted);
}
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}
.prose code {
  background: var(--bg-elev);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.9em;
}

/* ============================================================
   DESIGN DNA — applies universally to all 30+ styles via vars
   ============================================================ */

/* Section title eyebrow: gradient bar (60×4px) above every H2.
   This is the small "—" line that makes every section feel intentional. */
.section-title,
.fcta-headline {
  position: relative;
  text-align: center;
}
.section-title::before,
.fcta-headline::before {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 0 auto var(--sp-4);
  border-radius: 2px;
}

/* Left-aligned heading variants (text_image, hero, faq) — bar left-aligned */
.ti-heading,
.fcta-headline,
.hero-headline {
  position: relative;
}
.ti-heading::before,
.hero-headline::before {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin-bottom: var(--sp-4);
  border-radius: 2px;
}
[dir="rtl"] .ti-heading::before,
[dir="rtl"] .hero-headline::before {
  margin-inline: 0 auto 0 0; /* keep on the right */
}

/* Hero headline — gradient text + colored drop-shadow glow.
   Only applies on hero_split where bg is solid (works visually).
   On hero_fullbleed text sits on image — text-shadow is used instead. */
.block-hero_split .hero-headline {
  background: linear-gradient(135deg, var(--text) 35%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(var(--primary-rgb), 0.35));
  /* The ::before bar still uses solid color because pseudo-elements don't
     inherit background-clip:text. It stays visible. */
}

/* Bigger, more cinematic h1 + h2 — premium feel */
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem,  4.5vw, 3.2rem); letter-spacing: -0.015em; }

/* === _base/styles/_container.css.j2 === */

/* ============================================================
   Container + responsive helpers
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.container-sm { max-width: 720px; }
.container-md { max-width: 960px; }
.container-lg { max-width: 1440px; }

/* Block wrapper — every block uses this for consistent vertical rhythm */
.block-section {
  padding-block: var(--section-pad-y);
  position: relative;
}

.block-section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.block-section--loose { padding-block: clamp(4rem, 10vw, 8rem); }

/* ============================================================
   SECTION RHYTHM — alternating backgrounds + top accent
   Goal: every section visually distinct, not just every other one.
   ============================================================ */

/* Even sections — subtle tinted lift (more visible than before) */
.block-section:nth-of-type(even) {
  background:
    linear-gradient(180deg,
      rgba(var(--primary-rgb), 0.04) 0%,
      rgba(var(--primary-rgb), 0.10) 50%,
      rgba(var(--primary-rgb), 0.04) 100%
    );
}

/* Odd sections — subtle accent-tinted lift (different from even, slightly less bright) */
.block-section:nth-of-type(odd):not(:first-of-type) {
  background:
    linear-gradient(180deg,
      transparent 0%,
      rgba(var(--accent-rgb), 0.04) 50%,
      transparent 100%
    );
}

/* Section dividers — gradient line between adjacent sections */
.block-section + .block-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(220px, 36vw, 420px);
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--accent-rgb), 0.30) 30%,
    rgba(var(--primary-rgb), 0.50) 50%,
    rgba(var(--accent-rgb), 0.30) 70%,
    transparent
  );
  pointer-events: none;
  opacity: 0.85;
}

/* ============================================================
   POST-HERO TIGHTENING — avoid "dead zone" between hero fade-out
   and the first content section. Hero already fades into var(--bg),
   so the section right after it doesn't need full --section-pad-y top.
   ============================================================ */
.block-hero_fullbleed + .block-section,
.block-hero_split + .block-section,
.block-hero_minimal + .block-section {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

/* final_cta typically has heavy bottom padding; footer follows.
   Trim final_cta bottom padding so footer hugs it close. */
.block-final_cta {
  padding-bottom: clamp(2.5rem, 6vw, 4rem) !important;
}
.block-final_cta + .block-footer {
  margin-top: 0 !important;
}

/* Section heading helper — used by most blocks */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-3);
  font-weight: 600;
}

.section-title {
  text-align: center;
  margin-bottom: var(--sp-3);
}
.section-intro {
  max-width: 720px;
  margin: 0 auto var(--sp-8);
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Responsive helpers */
.hide-mobile { display: initial; }
.hide-desktop { display: none; }

@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .hide-desktop { display: initial; }
}

/* === _base/styles/_cta.css.j2 === */

/* ============================================================
   CTA buttons — shared across all blocks
   Legacy design DNA: triple-layered shadow + inset highlight + colored glow
   ============================================================ */
.cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  background: linear-gradient(135deg, var(--primary), rgba(var(--primary-rgb), 0.85));
  color: var(--bg);
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: transform var(--tr-fast), box-shadow var(--tr-base);
  /* THREE shadows layered: depth + glass-highlight + colored halo */
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 32px rgba(var(--primary-rgb), 0.40);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 0 56px rgba(var(--primary-rgb), 0.65);
  color: var(--bg);
}

.cta:active {
  transform: translateY(0);
}

/* Size variants */
.cta-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.cta-md {
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
}

.cta-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.cta-xl {
  padding: 1.3rem 3rem;
  font-size: 1.25rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
}

/* Color variants */
.cta-primary {
  background: linear-gradient(135deg, var(--primary), rgba(var(--primary-rgb), 0.85));
}

/* Accent variant — for secondary heroes or feature CTAs */
.cta-accent {
  background: linear-gradient(135deg, var(--accent), rgba(var(--accent-rgb), 0.85));
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 32px rgba(var(--accent-rgb), 0.40);
}
.cta-accent:hover {
  box-shadow:
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 0 56px rgba(var(--accent-rgb), 0.65);
}

.cta-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: none;
}
.cta-secondary:hover {
  background: var(--bg-elev);
  border-color: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.cta-ghost {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
  padding-inline: 0;
}
.cta-ghost:hover {
  color: var(--text);
  transform: none;
  box-shadow: none;
}

/* Arrow icon */
.cta-arrow {
  display: inline-block;
  transition: transform var(--tr-fast);
  font-size: 1.1em;
}
.cta:hover .cta-arrow {
  transform: translateX(4px);
}
[dir="rtl"] .cta:hover .cta-arrow {
  transform: translateX(-4px);
}

/* === block: header === */

/* Block: header */
.block-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Dark glass — fades from solid-ish at top to translucent at bottom.
     Hard-coded rgb(0,0,0) because all 30 styles are dark-theme based. */
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  /* No solid border — use a gradient pseudo-element below */
  border-bottom: none;
  transition: background var(--tr-base);
}

/* Subtle accent gradient line at bottom of header — replaces hard border */
.block-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(var(--accent-rgb), 0.35) 30%,
    rgba(var(--primary-rgb), 0.45) 50%,
    rgba(var(--accent-rgb), 0.35) 70%,
    transparent 100%
  );
  opacity: 0.7;
  pointer-events: none;
}

.block-header .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  padding-block: var(--sp-4);
  min-height: 64px;
}

.block-header .brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  transition: color var(--tr-fast);
  flex-shrink: 0;
}
.block-header .brand-logo:hover { color: var(--accent); }

.block-header .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: var(--shadow-sm);
}

.block-header .brand-name {
  letter-spacing: -0.01em;
}

.block-header .main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex: 1;
  justify-content: center;
}

.block-header .nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--tr-fast);
  position: relative;
}
.block-header .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  inset-inline: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--tr-fast);
}
.block-header .nav-link:hover { color: var(--text); }
.block-header .nav-link:hover::after { transform: scaleX(1); }

.block-header .header-cta-group {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.block-header .lang-switch {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all var(--tr-fast);
}
.block-header .lang-switch:hover {
  color: var(--text);
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .block-header .main-nav { display: none; }
  .block-header .header-row { gap: var(--sp-3); }
  .block-header .brand-name { display: none; }
}

/* === block: hero_fullbleed === */

/* Block: hero_fullbleed */
.block-hero_fullbleed {
  position: relative;
  min-height: clamp(620px, 86vh, 820px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.block-hero_fullbleed .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* PRIMARY layer: strong dark fade — dominates regardless of palette.
       Stronger at top (was 0.30) to ensure hero image is always readable
       and palette halos can't create a "wash" of a saturated primary color. */
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.65) 55%,
      var(--bg) 100%
    ),
    /* Subtle accent halo — reduced from 0.25 → 0.10 to prevent wash on
       high-saturation accents (e.g. vhs_distorted cyan, asian_neon hot pink). */
    radial-gradient(ellipse at top left,
      rgba(var(--accent-rgb), 0.10) 0%,
      transparent 55%
    ),
    /* Subtle primary halo — reduced from 0.20 → 0.08. With high-saturation
       primaries (e.g. vhs red #ff2d55), even modest opacity creates wash. */
    radial-gradient(ellipse 70% 50% at bottom right,
      rgba(var(--primary-rgb), 0.08) 0%,
      transparent 60%
    );
  z-index: 1;
}

.block-hero_fullbleed .hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-block: var(--sp-12);
}

.block-hero_fullbleed .hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.block-hero_fullbleed .hero-subhead {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  margin-bottom: var(--sp-5);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.block-hero_fullbleed .hero-body {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: var(--sp-6);
  max-width: 600px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.block-hero_fullbleed .hero-body p {
  color: rgba(255, 255, 255, 0.92);
}

.block-hero_fullbleed .hero-cta {
  margin-top: var(--sp-3);
}

[dir="rtl"] .block-hero_fullbleed .hero-overlay {
  background: linear-gradient(225deg,
    rgba(var(--primary-rgb), 0.85) 0%,
    rgba(var(--primary-rgb), 0.50) 60%,
    rgba(var(--primary-rgb), 0.75) 100%
  );
}

@media (max-width: 768px) {
  .block-hero_fullbleed { min-height: 480px; }
  .block-hero_fullbleed .hero-content { padding-block: var(--sp-10); }
}

/* === block: image_gallery === */

/* Block: image_gallery */
.block-image_gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.block-image_gallery .gallery-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.block-image_gallery .gallery-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  background: var(--bg-elev);
  box-shadow: var(--shadow-md);
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}

.block-image_gallery .gallery-image-wrap:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.block-image_gallery .gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

.block-image_gallery .gallery-image-wrap:hover img {
  transform: scale(1.04);
}

.block-image_gallery .gallery-caption {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .block-image_gallery .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .block-image_gallery .gallery-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
}

/* === block: text_centered === */

/* Block: text_centered */
.block-text_centered .tc-content {
  text-align: center;
}

.block-text_centered .tc-heading {
  margin-bottom: var(--sp-5);
}

.block-text_centered .tc-body {
  text-align: start;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
}

.block-text_centered .tc-body p {
  margin-bottom: 1.2em;
}
.block-text_centered .tc-body p:last-child { margin-bottom: 0; }

/* === block: text_image_right === */

/* Block: text_image_right */
.block-text_image_right .ti-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.block-text_image_right .ti-text {
  order: 1;
}

.block-text_image_right .ti-image {
  order: 2;
}

[dir="rtl"] .block-text_image_right .ti-text { order: 2; }
[dir="rtl"] .block-text_image_right .ti-image { order: 1; }

.block-text_image_right .ti-heading {
  margin-bottom: var(--sp-4);
}

.block-text_image_right .ti-body {
  color: var(--text);
  margin-bottom: var(--sp-5);
}
.block-text_image_right .ti-body p {
  margin-bottom: 1em;
}

.block-text_image_right .ti-cta {
  margin-top: var(--sp-3);
}

.block-text_image_right .ti-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 880px) {
  .block-text_image_right .ti-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .block-text_image_right .ti-image { order: 1; }
  .block-text_image_right .ti-text { order: 2; }
  [dir="rtl"] .block-text_image_right .ti-image { order: 1; }
  [dir="rtl"] .block-text_image_right .ti-text { order: 2; }
}

/* === block: games_carousel === */

/* Block: games_carousel */
.block-games_carousel .games-banner {
  position: relative;
  margin-bottom: var(--sp-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 360px;
}

.block-games_carousel .games-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 360px;
}

.block-games_carousel .games-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(var(--primary-rgb), 0.5) 100%);
  pointer-events: none;
}

.block-games_carousel .games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.block-games_carousel .game-card {
  position: relative;
  padding: var(--sp-5);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--tr-base), border-color var(--tr-base), box-shadow var(--tr-base);
  overflow: hidden;
}

.block-games_carousel .game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 32px rgba(var(--accent-rgb), 0.18);
}

.block-games_carousel .game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.08), transparent 70%);
  opacity: 0;
  transition: opacity var(--tr-base);
}

.block-games_carousel .game-card:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.block-games_carousel .game-card:hover::before { opacity: 1; }

.block-games_carousel .game-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--bg);
  border-radius: 12px;
  margin-bottom: var(--sp-3);
  position: relative;
  z-index: 1;
}

.block-games_carousel .game-name {
  font-size: 1.1rem;
  margin: 0 0 var(--sp-2);
  color: var(--text);
  position: relative;
  z-index: 1;
}

.block-games_carousel .game-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

.block-games_carousel .games-cta-row {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-3);
}

/* === block: stats_row === */

/* Block: stats_row */
.block-stats_row {
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
}

.block-stats_row .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-5);
}

.block-stats_row .stat-card {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  position: relative;
  background: rgba(var(--primary-rgb), 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--tr-base), border-color var(--tr-base), background var(--tr-base);
  overflow: hidden;
  isolation: isolate;
}

/* Top accent line */
.block-stats_row .stat-card::before {
  content: '';
  position: absolute;
  inset-inline: var(--sp-6);
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.55;
  transition: opacity var(--tr-base);
}

.block-stats_row .stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--primary-rgb), 0.45);
  background: rgba(var(--primary-rgb), 0.08);
}

.block-stats_row .stat-card:hover::before {
  opacity: 1;
}

.block-stats_row .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  /* primary is guaranteed bright (brief contract); accent can be dark */
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
  /* Subtle accent glow on the number for that "neon" feel */
  text-shadow: 0 0 24px rgba(var(--primary-rgb), 0.35);
}

.block-stats_row .stat-label {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: var(--sp-1);
  letter-spacing: 0.02em;
}

.block-stats_row .stat-sublabel {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .block-stats_row .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
  }
  .block-stats_row .stat-card { padding: var(--sp-5) var(--sp-3); }
}

/* === block: quote_callout === */

/* Block: quote_callout */
.block-quote_callout .quote-card {
  position: relative;
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  border-block: 1px solid var(--border);
  margin: 0;
}

.block-quote_callout .quote-mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--accent);
  margin-bottom: var(--sp-3);
  opacity: 0.55;
  font-style: italic;
  user-select: none;
}

.block-quote_callout .quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  line-height: 1.45;
  color: var(--text);
  font-style: italic;
  margin: 0 0 var(--sp-5);
  letter-spacing: -0.01em;
  max-width: 700px;
  margin-inline: auto;
}

.block-quote_callout .quote-attribution {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* === block: faq_accordion === */

/* Block: faq_accordion */
.block-faq_accordion .faq-heading {
  margin-bottom: var(--sp-8);
}

.block-faq_accordion .faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.block-faq_accordion .faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--tr-base), box-shadow var(--tr-base);
}
.block-faq_accordion .faq-item:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
}
.block-faq_accordion .faq-item[open] {
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: var(--shadow-sm);
}

.block-faq_accordion .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  list-style: none;
  user-select: none;
  transition: color var(--tr-fast);
}
.block-faq_accordion .faq-question::-webkit-details-marker { display: none; }
.block-faq_accordion .faq-question:hover { color: var(--primary); }

.block-faq_accordion .faq-q-text { flex: 1; }

.block-faq_accordion .faq-q-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform var(--tr-base), background var(--tr-base);
  flex-shrink: 0;
  line-height: 1;
}

.block-faq_accordion .faq-item[open] .faq-q-icon {
  transform: rotate(45deg);
  background: rgba(var(--accent-rgb), 0.1);
}

.block-faq_accordion .faq-answer {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.block-faq_accordion .faq-answer p { margin: 0 0 0.8em; }
.block-faq_accordion .faq-answer p:last-child { margin-bottom: 0; }

/* === block: final_cta === */

/* Block: final_cta */
.block-final_cta {
  background:
    radial-gradient(circle at 30% 50%, rgba(var(--accent-rgb), 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(var(--primary-rgb), 0.20) 0%, transparent 50%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.block-final_cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.block-final_cta .fcta-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  position: relative;
  z-index: 1;
}

.block-final_cta .fcta-headline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 800px;
}

.block-final_cta .fcta-subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0;
  line-height: 1.6;
}

.block-final_cta .fcta-button {
  margin-top: var(--sp-3);
  animation: fcta-pulse 3s ease-in-out infinite;
}

@keyframes fcta-pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.25);
  }
  50% {
    box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.45), var(--shadow-glow);
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .block-final_cta .fcta-button {
    animation: none;
  }
}

/* === block: footer === */

/* Block: footer — compact */
.block-footer {
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at top, rgba(var(--accent-rgb), 0.05) 0%, transparent 70%),
    var(--bg-elev);
  padding-block: var(--sp-6) var(--sp-4);
  margin-top: 0;
  overflow: hidden;
}

/* Top ornament — SUBTLE soft gradient, no harsh line */
.block-footer .footer-top-ornament {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(var(--accent-rgb), 0.15) 25%,
    rgba(var(--primary-rgb), 0.20) 50%,
    rgba(var(--accent-rgb), 0.15) 75%,
    transparent 100%
  );
  opacity: 0.6;
  pointer-events: none;
}

/* Main grid: brand block + link groups */
.block-footer .footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.08);
  align-items: start;
}

/* Brand block */
.block-footer .footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  max-width: 28ch;
}

.block-footer .footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--text);
  width: fit-content;
}

.block-footer .footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--bg);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255,255,255,0.20);
}

.block-footer .footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.block-footer .footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: var(--sp-1) 0 0;
  font-style: italic;
}

/* Link groups (max 2) */
.block-footer .footer-links {
  display: flex;
  gap: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.block-footer .footer-link-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  min-width: 140px;
}

.block-footer .footer-group-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin: 0 0 var(--sp-1);
  position: relative;
  padding-bottom: var(--sp-1);
}

.block-footer .footer-group-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}
[dir="rtl"] .block-footer .footer-group-title::after {
  background: linear-gradient(270deg, var(--primary), transparent);
}

.block-footer .footer-link-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  list-style: none;
  padding: 0;
  margin: 0;
}

.block-footer .footer-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--tr-fast), padding var(--tr-fast);
  display: inline-block;
  padding-block: 2px;
}
.block-footer .footer-link:hover {
  color: var(--primary);
  padding-inline-start: 4px;
}
[dir="rtl"] .block-footer .footer-link:hover {
  padding-inline-start: 0;
  padding-inline-end: 4px;
}

/* Bottom row — 18+ + copyright + inline disclaimer */
.block-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-4);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.block-footer .footer-bottom-left {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.block-footer .footer-age-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #c62828, #8e0000);
  color: white;
  font-weight: 800;
  font-size: 0.7rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255,255,255,0.20);
  letter-spacing: -0.02em;
}

.block-footer .footer-copyright {
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.block-footer .footer-disclaimer-inline {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
  flex: 1 1 60ch;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 700px) {
  .block-footer .footer-main {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  .block-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}