/* style.css — GENERATED by build.mjs: base template + brand override + resolved identity tokens.
 * Never edit this file; edit src/override.css or re-run emit-brand-tokens.sh. */

/* ============================ 1/3 BASE TEMPLATE ============================ */
/* departments/creative/style-library/templates/aggressive-casino.css */
/*
 * ============================================================================
 * AGGRESSIVE CASINO — Parametrized CSS Base Template
 * ============================================================================
 *
 * High-saturation conversion machine: near-black canvas, saturated red,
 * electric yellow, neon glow, condensed display type, sticky CTA energy.
 * Built for paid-traffic landings and impulse sign-up flows.
 *
 * Use case: hard-sell casino landings, welcome-bonus pages, paid-campaign
 * funnels, urgency-driven promo pages.
 *
 * CUSTOMIZATION — Override on :root per satellite:
 *
 *   --brand-accent         Saturated red (default: #e10b1f)
 *   --brand-accent-2       Electric yellow (default: #ffce00)
 *   --brand-bg-0           Near-black (default: #0a0a0a)
 *   --brand-bg-1           Surface 1 (default: #141416)
 *   --brand-font-display   Condensed display (default: 'Roboto Condensed')
 *   --brand-font-body      Body (default: 'Inter')
 *
 * FONTS — SELF-HOSTED ONLY (origin-integrity, QA gate external_origin):
 *   copy woff2 from departments/creative/style-library/fonts/ into the
 *   satellite's assets/fonts/ + link its generated assets/css/fonts.css
 *   (tool: departments/developers/tools/fonts/apply-selfhosted-fonts.sh).
 *   NEVER load fonts.googleapis.com / fonts.gstatic.com — fail-deploy.
 *   Families for this style:
 *   - Roboto Condensed (700;800;900)
 *   - Inter (400;500;600;700;800)
 *   - Optional Bebas Neue for marquee
 * ============================================================================
 */

:root {
  --brand-accent: #e10b1f;
  --brand-accent-hi: #ff2235;
  --brand-accent-2: #ffce00;
  --brand-accent-2-hi: #ffe04a;
  --brand-bg-0: #0a0a0a;
  --brand-bg-1: #141416;
  --brand-bg-2: #1d1d20;
  --brand-bg-3: #2a2a2e;
  --brand-font-display: 'Roboto Condensed';
  --brand-font-body: 'Inter';

  /* Internal aliases */
  --bg-0: var(--brand-bg-0);
  --bg-1: var(--brand-bg-1);
  --bg-2: var(--brand-bg-2);
  --bg-3: var(--brand-bg-3);
  --accent-1: var(--brand-accent);
  --accent-2: var(--brand-accent-2);
  --accent-hover: var(--brand-accent-hi);
  --accent-2-hover: var(--brand-accent-2-hi);
  --accent-dim: rgba(225, 11, 31, 0.14);
  --accent-2-dim: rgba(255, 206, 0, 0.14);
  --accent-glow: rgba(225, 11, 31, 0.45);
  --accent-2-glow: rgba(255, 206, 0, 0.45);

  /* WCAG-AAA body text on #0a0a0a (~9:1) */
  --text-0: #ffffff;
  --text-1: #d4d6db;   /* clears 9:1 on #0a0a0a */
  --text-2: #8a8d96;   /* micro only */

  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(255, 206, 0, 0.4);

  --radius: 8px;
  --radius-sm: 4px;
  --radius-pill: 100px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: var(--brand-font-display), 'Arial Narrow', sans-serif;
  --font-body: var(--brand-font-body), system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
/* scroll-padding-top: шапка sticky, и переход по #anchor ставит цель под неё —
   заголовок секции уезжает за верхний край (замер 2026-08-17 на
   gold-casino-play: «GOLD CASINO: ПОПОЛНЕНИЕ СЧЁТА» срезан при переходе по
   «Платежи»). Ни один из четырёх шаблонов правила не нёс — промах общий для
   парка, поэтому чинится здесь, а не в сателлите. 96px — высота шапки с
   запасом на перенос навигации во вторую строку. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-1);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}
/* Radial neon halo on body */
body::before {
  content: ""; position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, var(--accent-dim), transparent 70%),
    radial-gradient(ellipse 50% 30% at 80% 100%, var(--accent-2-dim), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.25s var(--ease), text-shadow 0.25s var(--ease);
}
a:hover {
  color: var(--accent-2-hover);
  text-shadow: 0 0 8px var(--accent-2-glow);
}
img { display: block; max-width: 100%; height: auto; }

/* === Layout === */
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

/* === TOPBAR — bold black bar with red underline === */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--accent-1);
  padding: 14px 0;
  box-shadow: 0 4px 28px rgba(225, 11, 31, 0.18);
}
.topbar .container {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-0);
  line-height: 1;
}
.brand-mark a { color: inherit; }
.brand-mark .accent { color: var(--accent-1); }

.nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.nav a {
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-1);
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
}
.nav a:hover {
  color: var(--text-0);
  background: var(--accent-dim);
  text-shadow: none;
}
.nav a[aria-current=page] {
  color: var(--bg-0);
  background: var(--accent-2);
  text-shadow: none;
}

/* === Buttons — neon pulse === */
.btn, .cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.btn-primary, .cta {
  background: var(--accent-2);
  color: #0a0a0a;
  box-shadow: 0 0 0 0 var(--accent-2-glow), 0 6px 20px rgba(255, 206, 0, 0.35);
  animation: pulse-yellow 2.4s var(--ease) infinite;
}
.btn-primary:hover, .cta:hover {
  background: var(--accent-2-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 32px var(--accent-2-glow), 0 8px 28px rgba(255, 206, 0, 0.5);
  color: #0a0a0a;
}
.btn-primary:active, .cta:active { transform: scale(0.97); }

.btn-secondary {
  background: transparent;
  color: var(--accent-1);
  border-color: var(--accent-1);
}
.btn-secondary:hover {
  background: var(--accent-1);
  color: var(--text-0);
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn:focus-visible, .cta:focus-visible { outline: 3px solid var(--accent-2-hover); outline-offset: 3px; }

@keyframes pulse-yellow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-2-glow), 0 6px 20px rgba(255, 206, 0, 0.35); }
  50% { box-shadow: 0 0 0 8px transparent, 0 8px 28px rgba(255, 206, 0, 0.5); }
}

/* === HERO — full-bleed glow === */
.hero, .hero--diagonal {
  position: relative; overflow: hidden;
  padding: 96px 0 112px;
  min-height: min(560px, 72vh);
}
/* Boxed variant: hero is exactly content-block width, not full-bleed. */
.hero--boxed { max-width: var(--container-max, 1200px); margin: 24px auto; border-radius: var(--radius, 16px); }
.hero::before, .hero--diagonal::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 70% 50%, var(--accent-dim), transparent 70%),
    linear-gradient(160deg, var(--bg-0) 30%, #160606 100%);
  z-index: 0;
}
.hero::after, .hero--diagonal::after {
  content: ""; position: absolute;
  top: -30%; right: -10%; width: 60%; height: 160%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  filter: blur(70px);
  z-index: 0;
}
.hero-art {
  position: absolute; top: 0; bottom: 0; right: 0;
  width: 72%; z-index: 1;
  pointer-events: none;
}
.hero-art img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
  opacity: 1;
}
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right,
    var(--bg-0) 0%,
    var(--bg-0) 14%,
    rgba(10, 10, 10, 0.85) 34%,
    rgba(10, 10, 10, 0.35) 60%,
    transparent 85%);
  pointer-events: none;
}

.hero-body { position: relative; z-index: 2; max-width: 600px; }

.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 7px 18px;
  background: var(--accent-2-dim);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero-body h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-0);
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.hero-body h1 .accent { color: var(--accent-1); }
.hero-body h1 .highlight {
  color: var(--accent-2);
  text-shadow: 0 0 32px var(--accent-2-glow);
}

.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-1);
  max-width: 48ch;
  font-weight: 500;
  margin-bottom: 30px;
}

/* Big-number stat strip */
.stat-strip { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.stat-chip {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 22px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-1);
  border-radius: var(--radius-sm);
  min-width: 130px;
}
.stat-chip strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--accent-2);
  line-height: 1;
}
.stat-chip span {
  font-size: 0.68rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* === Content === */
main { padding: 50px 0 80px; position: relative; z-index: 1; }
section { margin: 40px auto; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-0);
  letter-spacing: -0.005em;
  margin: 48px 0 20px;
  line-height: 1.05;
}
h2 .accent { color: var(--accent-1); }
h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-0);
  letter-spacing: 0.01em;
  margin: 28px 0 10px;
}

p { margin-bottom: 1em; max-width: 65ch; }

/* === Cards === */
.card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: all 0.3s var(--ease);
}
.card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hi);
  box-shadow: 0 14px 40px rgba(225, 11, 31, 0.18);
}
.card:hover::before { opacity: 1; }
.card-image {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover;
}
.card-body { padding: 22px 24px; }
.card-body h3 { margin-top: 0; }
.card-body p { font-size: 0.92rem; color: var(--text-1); margin-bottom: 14px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 36px 0;
}

/* === Offer cards — promo tiles === */
.offer-card {
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.offer-card .badge {
  display: inline-block;
  background: var(--accent-1);
  color: var(--text-0);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.offer-card .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--accent-2);
  line-height: 1;
  text-shadow: 0 0 24px var(--accent-2-glow);
}

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-1);
  color: var(--text-1);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0;
  font-size: 0.92rem;
  border: 1px solid var(--border);
}
thead { background: var(--bg-2); }
th {
  padding: 14px 18px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  border-bottom: 2px solid var(--accent-1);
}
td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-0);
  vertical-align: top;
}
tbody tr { transition: background 0.25s var(--ease); }
tbody tr:hover { background: var(--accent-dim); }
tbody tr:last-child td { border-bottom: none; }
table a { color: var(--accent-2); font-weight: 700; }

/* === Sticky CTA bar === */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  background: linear-gradient(90deg, var(--accent-1) 0%, #b00917 100%);
  padding: 12px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: 0 -8px 28px rgba(225, 11, 31, 0.4);
}
.sticky-cta p {
  margin: 0; color: var(--text-0); font-weight: 700;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em;
}
.sticky-cta .btn-primary { animation: none; padding: 10px 22px; font-size: 0.88rem; }

/* === Footer === */
.footer, footer {
  border-top: 2px solid var(--accent-1);
  padding: 48px 0 32px;
  margin-top: 70px;
  background: #050505;
  position: relative;
  z-index: 1;
}
.footer .container, footer .container {
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: space-between;
  font-size: 0.85rem; color: var(--text-2);
}
.footer a, footer a { color: var(--text-1); font-weight: 600; }
.footer a:hover, footer a:hover { color: var(--accent-2); }

.age-note {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-1);
  text-align: center;
  padding: 14px;
  border: 2px solid var(--accent-1);
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

/* === Responsive === */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .topbar .container { gap: 10px; }
  .nav a { padding: 6px 10px; font-size: 0.78rem; }
  .hero, .hero--diagonal { padding: 56px 0 72px; min-height: auto; overflow: hidden; }
  .hero-body h1 { font-size: 2.2rem; }
  /* pf-mobile-hero v3 — узкий экран получает портретный кадр целиком.
     Прежнее правило ужимало арт до половины ширины и гасило прозрачностью:
     это десктопный editorial-split, втиснутый в телефон. Замер на
     1win-com-play (390px): кадр 828×1104 рисовался полосой 226px при
     opacity 0.45. Тот же маркер ставит пайплайн доставки ассетов, поэтому
     сателлит, собранный по этому шаблону, второй копии блока не получит. */
  .hero-art {
    position: relative;
    inset: auto;
    width: 100%;
    right: auto;
    opacity: 1;
    margin-bottom: 20px;
  }
  .hero-art img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 34vh;
    object-fit: cover;
    object-position: center;
  }
  /* Боковая маска рассчитана на горизонтальный кадр; вертикальному она
     закрывает половину композиции. */
  .hero-art::after {
    background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.75) 100%);
  }
  /* No horizontal page scroll: wide tables scroll INSIDE themselves, never the page. */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; white-space: nowrap; }
  .pillars { grid-template-columns: 1fr; }
  .stat-chip { min-width: 100px; padding: 12px 14px; }
  .stat-chip strong { font-size: 1.4rem; }
  .offer-card .amount { font-size: 2rem; }
  th, td { padding: 10px 12px; font-size: 0.82rem; }
}
@media (max-width: 480px) {
  .topbar { padding: 10px 0; }
  .brand-mark { font-size: 1.3rem; }
  h2 { font-size: 1.7rem; }
  .sticky-cta { flex-direction: column; padding: 10px 14px; }
  .sticky-cta p { text-align: center; font-size: 0.85rem; }
}

/* === Motion === */
@media (prefers-reduced-motion: reduce) {
  .btn-primary, .cta { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes slam-in {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .hero-body { animation: slam-in 0.6s var(--ease) both; }
  .stat-chip:nth-child(1) { animation: slam-in 0.5s 0.1s var(--ease) both; }
  .stat-chip:nth-child(2) { animation: slam-in 0.5s 0.2s var(--ease) both; }
  .stat-chip:nth-child(3) { animation: slam-in 0.5s 0.3s var(--ease) both; }
}

/* === Utilities === */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-accent { color: var(--accent-1); }
.text-highlight { color: var(--accent-2); }
.text-muted { color: var(--text-2); font-size: 0.85rem; }

/* === Scroll-reveal (SSR-safe: visible by default, JS opts in) === */
/* Default (no-JS / crawler / OG snapshot / screenshot / pre-JS) = fully visible. */
.fade-in-up, .reveal { opacity: 1; transform: none; }
/* Hidden start state applies ONLY after JS adds .js-anim to <html>. */
html.js-anim .fade-in-up, html.js-anim .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
}
html.js-anim .fade-in-up.visible, html.js-anim .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html.js-anim .fade-in-up, html.js-anim .reveal { opacity: 1; transform: none; transition: none; }
}
/* Reveal JS MUST run `document.documentElement.classList.add('js-anim')` BEFORE
   wiring the IntersectionObserver. NEVER ship .fade-in-up defaulting to opacity:0. */

/* === Mobile burger nav (checkbox hack — works without JS) ===
 * Markup contract (site-builder emits this on EVERY page header):
 *   <input type="checkbox" id="nav-toggle" class="nav-toggle" aria-hidden="true">  (sibling BEFORE .nav)
 *   <label for="nav-toggle" class="nav-burger" aria-label="Открыть меню"><span></span><span></span><span></span></label>
 * Progressive enhancement JS unchecks #nav-toggle when a nav link is tapped. */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 40px; padding: 9px 10px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm, 4px);
}
.nav-burger span {
  display: block; height: 2px; width: 100%;
  background: var(--text-0, #ffffff); border-radius: 2px;
  transition: transform 0.25s var(--ease, ease), opacity 0.25s var(--ease, ease);
}
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Official brand logo in the header (sourced from brand assets, never generated) */
.brand-mark img { height: 40px; width: auto; display: block; }

@media (max-width: 768px) {
  .topbar .container { justify-content: space-between; }
  .nav-burger { display: flex; margin-left: 4px; }
  .topbar .nav { display: none; }
  .nav-toggle:checked ~ .nav {
    display: flex; flex-direction: column;
    flex: 1 1 100%; order: 10;
    gap: 4px; padding: 12px 0 4px; margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-toggle:checked ~ .nav a { padding: 12px 10px; font-size: 0.95rem; }
}

/* === Sticky mobile CTA dock (≤768px — thumb zone) ===
 *
 * ONE canonical class across the estate: `sticky-mobile-cta`. The estate had
 * five spellings of this component (`sticky-mobile-cta`, `sticky-cta`,
 * `vx-sticky`, `sticky-mobile`, `mobile-cta`), which is precisely why no gate
 * could see whether a satellite had one. Do not rename it.
 *
 * Why the dock exists: measured on 1win-com-review (390×844, 2026-08-10) the
 * hub ran 5.8 screens with 4.4 of them carrying no money CTA, and the only
 * always-visible one was a 91×37px pill in the header — under the 48px tap
 * floor and 784px from the bottom of the screen, i.e. outside thumb reach.
 *
 * Gate: qa `cta_coverage` (migration 120) requires `position: fixed` +
 * `bottom: 0` for this class INSIDE a `max-width: 768px` media query, plus a
 * `body { padding-bottom }` in the same block — without it the bar covers the
 * end of the document, which is where the footer disclaimer and the
 * responsible-gaming block live.
 *
 * NEVER put an "18+" marker inside this element: the age marker belongs to the
 * footer disclaimer / RG block / age-gate dialog only (check-age-marker.sh).
 * The dock carries the money CTA — the navbar keeps the low-commitment entry
 * action, so the two must not repeat the same hard label.
 */
.sticky-mobile-cta { display: none; }

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* env() keeps the bar above the iOS home indicator; the fallback keeps it
       correct on every browser that does not implement safe-area insets. */
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  /* Tap-target floor. Lighthouse's tap-targets audit does NOT enforce size on
     an isolated button (it fails only crowded ones), so the floor is declared
     here and graded structurally by cta_coverage. */
  .sticky-mobile-cta .cta,
  .sticky-mobile-cta .cta-btn,
  .sticky-mobile-cta .btn,
  .sticky-mobile-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    min-height: 48px;
    text-align: center;
  }

  /* Compensate for the fixed bar — the footer disclaimer must stay reachable. */
  body { padding-bottom: 76px; }
}


/* ======================= 2/3 SATELLITE OVERRIDE =========================== */
/* override.css — eldorado-casino-brand
 *
 * Merged AFTER departments/creative/style-library/templates/aggressive-casino.css
 * and BEFORE the resolved identity tokens. It only does three things:
 *   1. repoints the base template's internal aliases onto the CANONICAL
 *      --brand-* tokens (the canon is never bent to the template);
 *   2. styles the satellite's own ecb-* components + the contract classes
 *      (review-*, unverified, rg-block) the base does not know about;
 *   3. fixes two defects the base carries for THIS satellite's assets.
 *
 * It is never shipped alone: an override-only style.css renders an unstyled page.
 */

/* ---------------------------------------------------------------------------
 * 1. Alias repointing — base aliases follow the resolved identity, not vice versa
 * ------------------------------------------------------------------------- */
:root {
  --accent-1: var(--brand-primary);          /* signature mid-gold */
  --accent-2: var(--brand-accent);           /* bright gold highlight */
  --accent-hover: var(--brand-accent);
  --accent-2-hover: #fdeaa6;                 /* template-local hover TINT of the
                                                canonical --brand-accent; the base
                                                pointed this at a brighter yellow.
                                                NOT a canonical token. */
  --accent-dim: rgba(233, 151, 25, 0.14);
  --accent-2-dim: rgba(249, 218, 101, 0.14);
  --accent-glow: rgba(233, 151, 25, 0.45);
  --accent-2-glow: rgba(249, 218, 101, 0.45);

  --bg-0: var(--brand-bg);                   /* dominant dark medallion field */
  --bg-1: #2a2608;
  --bg-2: #37310c;
  --bg-3: #443c10;
  --border: rgba(249, 218, 101, 0.12);
  --border-hi: rgba(249, 218, 101, 0.42);

  --text-0: var(--brand-text);
  --text-1: #ded9c9;                          /* >12:1 on --brand-bg */
  --text-2: #a49c84;                          /* captions only, never body */

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --ecb-verified: #2fbf71;
}

body { background: var(--bg-0); }

/* The base paints the topbar and its glow from the template's red accent. */
.topbar {
  background: rgba(32, 29, 3, 0.95);
  border-bottom: 2px solid var(--accent-1);
  box-shadow: 0 4px 28px rgba(233, 151, 25, 0.16);
}

/* Base hover puts --text-0 (white) on the bright gold fill = 1.38:1, unreadable.
 * Dark brand ink on gold is 7.19:1. */
.btn-secondary:hover { color: var(--brand-bg); }

/* ---------------------------------------------------------------------------
 * 2a. Header — official brand mark as an IMAGE (a text-only mark is fail-deploy)
 * ------------------------------------------------------------------------- */
.topbar-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; text-decoration: none; }
/* The asset is SQUARE (512x512) and the <img> declares 512/512, so the browser
 * reserves the right ratio; the drawn size belongs here, in CSS. */
.brand-mark img { height: 40px; width: auto; display: block; }
.brand-mark-text { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; color: var(--text-0); white-space: nowrap; }
.topbar-cta { padding: 9px 20px; font-size: 0.82rem; }

/* ---------------------------------------------------------------------------
 * 2b. Hero + body rhythm
 * ------------------------------------------------------------------------- */
.ecb-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ecb-body { padding: 8px 0 56px; }
.ecb-section { padding: 30px 0 6px; scroll-margin-top: 88px; }
.ecb-section h2 { margin-bottom: 14px; }
.ecb-section h3 { margin: 22px 0 10px; color: var(--accent-2); font-size: 1.08rem; }
.ecb-section p { max-width: 74ch; }

.ecb-steps { margin: 4px 0 6px; padding-left: 22px; max-width: 74ch; }
.ecb-steps li { margin-bottom: 8px; line-height: 1.6; }

.ecb-table-wrap { margin: 18px 0; }
.ecb-cta-band {
  display: flex; justify-content: center;
  margin: 26px 0 6px; padding: 22px 18px;
  background: linear-gradient(135deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
}

/* Claims-hygiene marker — estate-wide contract class, never randomized. */
.unverified {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--bg-0);
  background: var(--accent-2);
  border-radius: var(--radius-sm);
  padding: 1px 7px;
  white-space: nowrap;
  vertical-align: baseline;
}

/* ---------------------------------------------------------------------------
 * 2c. Reviews — class names are a spec contract (review-header/-rating/-text)
 * ------------------------------------------------------------------------- */
.ecb-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.review-item {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-1);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.review-header { font-family: var(--font-display); font-weight: 600; color: var(--text-0); letter-spacing: 0.02em; }
.review-rating { font-size: 0.85rem; font-weight: 700; color: var(--accent-2); margin: 4px 0 8px; }
.review-text { color: var(--text-1); line-height: 1.65; font-size: 0.95rem; }
.ecb-disclosure { color: var(--text-2); font-size: 0.87rem; line-height: 1.6; }

/* ---------------------------------------------------------------------------
 * 2d. FAQ — <details>/<summary>, works with JS disabled
 * ------------------------------------------------------------------------- */
.ecb-faq { margin: 16px 0 4px; max-width: 82ch; }
.ecb-faq details {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.ecb-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 46px 14px 18px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-0);
}
.ecb-faq summary::-webkit-details-marker { display: none; }
.ecb-faq summary::after {
  /* CSS escape, never an HTML entity — an entity here renders as literal text. */
  content: "\002B";
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--accent-2); font-size: 1.2rem; font-weight: 700;
}
.ecb-faq details[open] summary::after { content: "\2212"; }
.ecb-faq details[open] summary { border-bottom: 1px solid var(--border); }
.ecb-faq details p { padding: 14px 18px 16px; margin: 0; color: var(--text-1); }

/* ---------------------------------------------------------------------------
 * 2e. Verdict + editorial score (the AggregateRating basis, visible on page)
 * ------------------------------------------------------------------------- */
.ecb-verdict { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; margin: 12px 0 6px; }
.ecb-score {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 132px; padding: 18px 22px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
}
.ecb-score strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--accent-2); }
.ecb-score span { font-size: 0.82rem; color: var(--text-2); margin-top: 4px; }
.ecb-verdict .ecb-table-wrap { flex: 1 1 320px; margin: 0; }

/* ---------------------------------------------------------------------------
 * 2f. Responsible-gaming block — an allowed 18+ zone (age_marker_zones)
 * ------------------------------------------------------------------------- */
.rg-block { border-top: 1px solid var(--border); margin-top: 30px; }
.rg-block ul { list-style: none; padding-left: 0; margin: 14px 0; max-width: 74ch; }
.rg-block li { position: relative; padding-left: 26px; margin-bottom: 9px; line-height: 1.6; }
.rg-block li::before {
  /* CSS escape for the check mark — an HTML entity here renders as literal text
   * (operator feedback #67: "&#10003;" printed as overlapping glyphs). */
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--ecb-verified); font-weight: 700;
}
.footer .ecb-copy { color: var(--text-2); font-size: 0.85rem; }

/* ---------------------------------------------------------------------------
 * 3. Defect fixes for THIS satellite's assets
 * ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Mobile hero: the base template's `pf-mobile-hero v3` block already draws
   * the frame the right way — full-bleed, aspect-ratio 4/3, max-height 34vh,
   * object-fit cover — and ecb-hero-top-mobile.webp is generated for exactly
   * that shape (slot hero-mobile, 4:3). Do NOT override it here: the previous
   * "SHAPE AGREEMENT" rule (aspect-ratio 3/4, width auto, margin auto) shrank
   * a 3:4 portrait into a 228x304 card floating in a 390px hero — measured
   * 2026-08-26. A hero image is either full-bleed or boxed, never in between. */

  /* The full-bleed mobile band sits directly under the sticky topbar: the base
   * template stacks main padding (50px) + section margin (40px) + hero padding
   * (56px) = 146px of empty gradient above the image on a 390px phone, which
   * pushed the H1 to the bottom of the first screen. */
  main { padding-top: 0; }
  .hero { margin-top: 0; padding-top: 0; }
  .hero-art { margin-bottom: 24px; }
  /* Composition, not shape: the 4:3 frame keeps the mask centred; on tablets the
   * 34vh cap turns the band into ~2.2:1, so bias the window down to keep the
   * mask base and the chips inside it (the light shaft above is expendable). */
  .hero-art img { object-position: center 60%; }
  .ecb-reviews { grid-template-columns: 1fr; }
  .ecb-hero-actions .btn { width: 100%; }
  .brand-mark-text { display: none; }
  .ecb-verdict { flex-direction: column; }
  .ecb-score { width: 100%; }
}

@media (max-width: 480px) {
  .ecb-cta-band { padding: 16px 12px; }
}


/* ================= 3/3 RESOLVED IDENTITY TOKENS (LAST) ==================== */
/* ============================================================================
 * CANONICAL IDENTITY TOKENS — generated, do not hand-edit the values.
 *   emit-brand-tokens.sh eldorado-casino-brand
 *   source: GET /api/sites/eldorado-casino-brand/visual-identity (mcp-server/identity resolver,
 *   the same one the visual_identity QA gate grades against)
 * policy: subject_brand | identity brand: eldorado-casino | money recipient: —
 * Must be the LAST :root declaring these tokens — the gate reads the final one.
 * ========================================================================= */
:root {
  /* --brand-* — identity brand (eldorado-casino) */
  --brand-accent: #f9da65;
  --brand-bg: #201d03;
  --brand-primary: #e99719;
  --brand-secondary: #894b0b;
  --brand-text: #ffffff;

  /* --cta-* — money recipient (—); swapping the affiliate repaints these only */
}
