/* ============================================================
   Casino Compass — core stylesheet
   Themes (color) + font pairings switch via data-attributes on .site
   ============================================================ */

/* ---------- TOKENS (default = Gold Coast) ---------- */
:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --surface-2: #f4efe4;
  --ink: #15302c;
  --ink-2: #4f615c;
  --ink-3: #8a978f;
  --line: #e7e0d2;
  --line-2: #efe9dd;
  --accent: #0e6e5c;
  --accent-strong: #0a5447;
  --accent-ink: #ffffff;
  --accent-soft: #e6f1ee;
  --gold: #cf9b32;
  --gold-soft: #f7eed6;
  --star-empty: #e3dcc9;
  --good: #2f8a5b;
  --good-soft: #e7f3ec;
  --bad: #c2503f;
  --bad-soft: #f8eae6;
  --hero-a: #103b35;
  --hero-b: #1d6b5b;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20,40,36,.06), 0 1px 3px rgba(20,40,36,.05);
  --shadow: 0 4px 14px rgba(20,40,36,.07), 0 2px 6px rgba(20,40,36,.05);
  --shadow-lg: 0 18px 48px rgba(16,40,36,.16), 0 6px 18px rgba(16,40,36,.08);
  --maxw: 1200px;
  --font-head: 'Newsreader', Georgia, serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --head-weight: 600;
  --head-spacing: -0.015em;
}

/* ---------- COLOR THEMES ---------- */
.site[data-theme="sunset"] {
  --bg: #fdf5ef;
  --surface: #ffffff;
  --surface-2: #f8ebe2;
  --ink: #2c1530;
  --ink-2: #6a5560;
  --ink-3: #a691a0;
  --line: #f0ddd2;
  --line-2: #f6e7dd;
  --accent: #db5a35;
  --accent-strong: #be4524;
  --accent-soft: #fbe7df;
  --gold: #e0992f;
  --gold-soft: #fbeed5;
  --star-empty: #efdfd2;
  --good: #2f8a5b;
  --good-soft: #e9f3ec;
  --bad: #c2503f;
  --bad-soft: #f9e9e4;
  --hero-a: #3a1430;
  --hero-b: #c2452a;
}
.site[data-theme="navy"] {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #eaeff8;
  --ink: #0f1f3d;
  --ink-2: #4a5874;
  --ink-3: #8893ab;
  --line: #dde4f0;
  --line-2: #e8edf6;
  --accent: #1763c9;
  --accent-strong: #114c9d;
  --accent-soft: #e4eefb;
  --gold: #d4a02f;
  --gold-soft: #f6ecd2;
  --star-empty: #d7deec;
  --good: #1f8a5b;
  --good-soft: #e4f2ea;
  --bad: #c2503f;
  --bad-soft: #f8e9e6;
  --hero-a: #0c1c3c;
  --hero-b: #1763c9;
}

/* ---------- FONT PAIRINGS ---------- */
.site[data-font="confident"] {
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Libre Franklin', system-ui, sans-serif;
  --head-weight: 800;
  --head-spacing: -0.025em;
}
.site[data-font="sharp"] {
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --head-weight: 600;
  --head-spacing: -0.02em;
}

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #d9d4c8; }
.site {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
}
.app-scroll { scroll-behavior: smooth; }
html { scroll-behavior: smooth; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-spacing); line-height: 1.12; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
a { color: inherit; cursor: pointer; text-decoration: none; }
img { max-width: 100%; display: block; }
/* on-brand placeholder tint for empty image slots */
image-slot { background: linear-gradient(145deg, var(--surface-2), var(--accent-soft)); border-radius: var(--radius); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.sec-head { margin-bottom: 28px; }
.sec-head-center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.sec-title { font-size: clamp(26px, 3.4vw, 38px); }
.sec-sub { color: var(--ink-2); font-size: 18px; margin-top: 12px; max-width: 60ch; }
.sec-head-center .sec-sub { margin-left: auto; margin-right: auto; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body); font-weight: 700; border: none; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--accent) 55%, transparent); }
.btn-primary:hover { background: var(--accent-strong); box-shadow: 0 10px 22px -6px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-gold { background: linear-gradient(180deg, var(--gold), color-mix(in srgb, var(--gold) 78%, #000)); color: #3a2a06; box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--gold) 55%, transparent); }
.btn-gold:hover { filter: brightness(1.04); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-soft { background: var(--accent-soft); color: var(--accent-strong); }
.btn-soft:hover { background: color-mix(in srgb, var(--accent-soft) 80%, var(--accent)); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-md { padding: 12px 22px; font-size: 15px; }
.btn-lg { padding: 15px 28px; font-size: 16.5px; }
.btn-full { width: 100%; }

/* ---------- ICON BUTTON ---------- */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: none; background: transparent; color: var(--ink-2); cursor: pointer; transition: background .15s; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- PILLS / BADGES ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .01em; }
.pill-neutral { background: var(--surface-2); color: var(--ink-2); }
.pill-accent { background: var(--accent-soft); color: var(--accent-strong); }
.pill-gold { background: var(--gold-soft); color: #8a6517; }
.pill-good { background: var(--good-soft); color: var(--good); }
.rank-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px; font-family: var(--font-head); font-weight: 700; font-size: 16px; background: var(--surface-2); color: var(--ink-2); }
.rank-badge.rank-top { background: linear-gradient(145deg, var(--gold), color-mix(in srgb, var(--gold) 72%, #000)); color: #3a2a06; box-shadow: var(--shadow-sm); }

/* ---------- STARS / SCORE ---------- */
.stars { display: inline-flex; gap: 1px; }
.star { display: inline-block; line-height: 0; }
.scorebadge { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(circle at 30% 25%, var(--hero-b), var(--hero-a)); color: #fff; box-shadow: var(--shadow); }
.scorebadge-num { font-family: var(--font-head); font-weight: 700; }

/* ---------- BRAND ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--accent); }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 21px; color: var(--ink); letter-spacing: var(--head-spacing); white-space: nowrap; }
.brand-text { flex-shrink: 0; }
.brand { flex-shrink: 0; }
.brand-locale { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-mark, .brand-light { color: var(--gold); }

/* ---------- CASINO LOGO ---------- */
.casino-logo { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.02em; box-shadow: var(--shadow-sm); flex-shrink: 0; }

/* ---------- HEADER ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--ink); color: #fff; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-trust { display: inline-flex; align-items: center; gap: 7px; opacity: .92; }
.topbar-trust svg { color: var(--gold); }
.header-main { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled .header-main { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-desktop { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 9px 14px; border-radius: 9px; transition: all .15s; position: relative; }
.nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-link.is-active { color: var(--accent); }
.nav-link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-mobile { display: none; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 0; }
.nav-mobile-link { padding: 13px 28px; font-weight: 600; color: var(--ink); }
.nav-mobile-link.is-active { color: var(--accent); }

/* ---------- RG BADGE ---------- */
.rg-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.rg-21 { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 20px; border-radius: 5px; background: var(--gold); color: #3a2a06; font-weight: 800; font-size: 11.5px; padding: 0 5px; }
.rg-text { opacity: .82; }
.rg-compact .rg-text { display: none; }

/* ---------- PAGE LAYOUT ---------- */
.page { padding-bottom: 0; }
.section { padding: 56px 0; }
.section-tight { padding: 40px 0; }

/* ============================================================
   HERO  (3 layout variants via .hero[data-hero])
   ============================================================ */
.hero { position: relative; overflow: hidden; }

/* breadcrumb */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); padding: 16px 0 0; }
.crumbs a:hover { color: var(--accent); }
.crumbs svg { opacity: .5; }

/* -- Variant A: Split (text left / hero card right) -- */
.hero-split .hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 44px 0 52px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--accent); }
.hero-intro { font-size: 19px; color: var(--ink-2); margin-top: 20px; max-width: 52ch; }
.hero-meta { display: flex; align-items: center; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--ink); }
.hero-stat span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.hero-stat-div { width: 1px; height: 36px; background: var(--line); }
.hero-trust-row { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual image-slot { width: 100%; height: 420px; box-shadow: var(--shadow-lg); }
.hero-float { position: absolute; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.hero-float-tl { top: 22px; left: -22px; }
.hero-float-br { bottom: 24px; right: -18px; }
.hero-float small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.hero-float strong { font-family: var(--font-head); font-size: 17px; }

/* -- Variant B: Centered editorial -- */
.hero-centered { text-align: center; padding: 8px 0 0; }
.hero-centered .hero-inner { max-width: 820px; margin: 0 auto; padding: 40px 0 36px; }
.hero-centered h1 { font-size: clamp(36px, 6vw, 64px); }
.hero-centered .hero-intro { margin: 22px auto 0; }
.hero-centered .hero-trust-row { justify-content: center; }
.hero-centered .hero-banner { margin-top: 36px; }
.hero-banner image-slot { width: 100%; height: 320px; box-shadow: var(--shadow-lg); }

/* -- Variant C: Full-bleed image w/ overlay -- */
.hero-bleed { color: #fff; }
.hero-bleed .hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bleed .hero-bg image-slot { width: 100%; height: 100%; }
.hero-bleed .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, color-mix(in srgb, var(--hero-a) 92%, transparent) 0%, color-mix(in srgb, var(--hero-a) 70%, transparent) 48%, color-mix(in srgb, var(--hero-a) 30%, transparent) 100%); }
.hero-bleed .hero-inner { position: relative; z-index: 1; max-width: 640px; padding: 88px 0 96px; }
.hero-bleed h1 { color: #fff; font-size: clamp(36px, 5.4vw, 60px); }
.hero-bleed .hero-intro { color: rgba(255,255,255,.9); }
.hero-bleed .hero-kicker { background: rgba(255,255,255,.16); color: #fff; }
.hero-bleed .hero-stat strong { color: #fff; }
.hero-bleed .hero-stat span { color: rgba(255,255,255,.7); }
.hero-bleed .hero-stat-div { background: rgba(255,255,255,.25); }
.hero-bleed .crumbs, .hero-bleed .crumbs a { color: rgba(255,255,255,.75); }

/* gradient fallback inside hero image slots */
.hero-scene { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 78% 8%, color-mix(in srgb, var(--gold) 42%, transparent), transparent 55%),
  linear-gradient(150deg, var(--hero-a), var(--hero-b)); }
.hero-scene::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.4px); background-size: 22px 22px; opacity: .5; }

/* trust chips row */
.trustchips { display: flex; gap: 18px; flex-wrap: wrap; }
.trustchip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.trustchip svg { color: var(--accent); }
.hero-bleed .trustchip { color: rgba(255,255,255,.92); }
.hero-bleed .trustchip svg { color: var(--gold); }

/* ---------- CATEGORY CHIPS ---------- */
.catbar { display: flex; gap: 12px; flex-wrap: wrap; }
.catchip { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 14.5px; color: var(--ink); box-shadow: var(--shadow-sm); transition: all .15s; cursor: pointer; }
.catchip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.catchip svg { color: var(--accent); }
