/* ============================================================================
   Diwa Win Casino — site.css
   Playful + vibrant · gold + crimson + Indian tricolor on warm cream.
   SINGLE SHARED CONTENT WIDTH: every bounded element shares --container (1200px)
   with 1.5rem gutters. Cards/grids/lists/dividers/FAQ fill the column — no
   tighter "readable" widths. Section heads may keep an inner max-width.
   ============================================================================ */

/* ---- Tokens ---------------------------------------------------------------
   Palette: "Emerald felt & Gold" — dominant emerald green + single locked gold
   accent + warm ivory surfaces + deep-forest ink. Playful, vibrant, casino.  */
:root {
  /* Brand green (structural / dominant) */
  --brand:        #0F7A57;
  --brand-dark:   #0A5A40;
  --brand-light:  #CDE7DB;
  --brand-bright: #17B98A;   /* jade pop — used sparingly */

  /* Gold — the single locked accent */
  --accent:       #E0A82E;
  --accent-deep:  #B7841C;
  --accent-soft:  #F4E7C4;
  --accent-warm:  #F2CB63;

  /* Indian tricolor (logo signature — kept for the kicker rule only) */
  --india-green:  #0F7A57;
  --india-saffron:#FF9933;

  --bg:           #F4F1E7;
  --bg-card:      #FFFFFF;
  --bg-elevated:  #FFFFFF;
  --bg-panel:     #07231A;   /* deep forest — header/footer (not pure black) */
  --bg-panel-2:   #0C3327;

  --text:         #13241E;
  --text-muted:   #55655C;
  --text-dim:     #8A978E;
  --text-on-dark: #EAF3EC;

  --border:       #E4DFD1;
  --border-strong:#CFC7B2;
  --border-soft:  #EDE8DA;

  /* Typography — Bricolage Grotesque (display) + Plus Jakarta Sans (body).
     Emphasis via italic of the SAME family (no mixed serif). */
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Radius */
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --card-radius: 18px;

  /* Shadows (green-tinted, two-layer) */
  --shadow-soft:       0 2px 8px rgba(8,40,28,.06);
  --shadow-card:       0 6px 20px rgba(8,40,28,.09), 0 2px 6px rgba(8,40,28,.06);
  --shadow-card-hover: 0 18px 42px rgba(8,40,28,.17), 0 6px 14px rgba(8,40,28,.10);
  --shadow-cta:        0 10px 24px rgba(224,168,46,.34);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: 1.5rem;
  --header-top-h: 2.25rem;
  --header-main-h: 4.6rem;
  --header-h: calc(var(--header-top-h) + var(--header-main-h));

  /* Signature gradients */
  --grad-brand: linear-gradient(135deg, var(--brand-bright) 0%, var(--brand) 55%, var(--brand-dark) 100%);
  --grad-gold:  linear-gradient(135deg, #F4D278 0%, var(--accent) 52%, var(--accent-deep) 100%);
  --grad-emgold:linear-gradient(120deg, var(--brand) 0%, #14936B 45%, var(--accent) 120%);
  --grad-tricolor: linear-gradient(90deg, var(--india-saffron) 0%, #ffffff 50%, var(--india-green) 100%);
}

/* ---- Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  counter-reset: img-div;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 88% -6%, rgba(227,160,8,.16), transparent 60%),
    radial-gradient(900px 560px at -8% 8%, rgba(194,36,57,.08), transparent 58%),
    var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(2.15rem, 5.2vw, 3.5rem); font-weight: 620; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--text-muted); }

/* ---- Shared content column ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 40px top + 40px bottom => 80px between two adjacent sections */
.section { padding-block: 40px; position: relative; }
.section--tight { padding-block: 28px; }

.section-head { margin-bottom: 2.4rem; }
.section-head .kicker { margin-bottom: .85rem; }
.section-head h2 { margin-bottom: .85rem; }
/* Section head text may keep an inner max-width for typographic comfort; the
   section container, card backgrounds and grids still span the full column. */
.section-head p { max-width: 62ch; }
.section-head--center { text-align: center; }
.section-head--center p { margin-inline: auto; }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand-dark);
}
.kicker::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--grad-tricolor);
}
.section-head--center .kicker { justify-content: center; }

.highlight {
  font-family: var(--font-heading); font-weight: 800; color: var(--accent-deep);
  position: relative; white-space: nowrap; padding-inline: .04em;
}
.highlight::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .42em;
  background: linear-gradient(90deg, rgba(224,168,46,.42), rgba(224,168,46,.16));
  border-radius: 3px; z-index: -1;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: .82rem 1.55rem; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  min-height: 44px; text-align: center;
}
.btn-primary {
  color: #13241E; background: var(--grad-gold);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(224,168,46,.42); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  color: var(--text); background: var(--bg-elevated);
  border: 1.5px solid var(--border-strong); box-shadow: var(--shadow-soft);
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand-dark); }
.btn-ghost { color: var(--text-on-dark); border: 1.5px solid rgba(251,241,225,.28); }
.btn-ghost:hover { background: rgba(251,241,225,.10); border-color: var(--brand); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* ============================================================================
   HEADER — redesigned: deep-forest bars, gold accents, gold hairline underline
   ============================================================================ */
.site-header { position: sticky; top: 0; z-index: 100; }

/* Trust strip */
.topbar {
  background: linear-gradient(90deg, var(--bg-panel), var(--bg-panel-2) 55%, var(--bg-panel));
  color: rgba(234,243,236,.72); font-size: .78rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-top-h); gap: 1rem; }
.topbar-trust { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; letter-spacing: .02em; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(224,168,46,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,168,46,.55); } 70% { box-shadow: 0 0 0 8px rgba(224,168,46,0); } 100% { box-shadow: 0 0 0 0 rgba(224,168,46,0); } }
.topbar-links { display: flex; gap: 1.3rem; }
.topbar-links a { position: relative; color: rgba(234,243,236,.64); transition: color .16s ease; }
.topbar-links a:hover { color: var(--accent); }

/* Main navbar */
.navbar {
  position: relative; background: var(--bg-panel);
  transition: box-shadow .25s ease;
  box-shadow: 0 1px 0 rgba(234,243,236,.06);
}
.navbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-gold); opacity: .55; }
.navbar-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-main-h); }
.site-header.is-scrolled .navbar { box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.site-header.is-scrolled .navbar-inner { min-height: calc(var(--header-main-h) - .6rem); }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: 10px; }
.brand img { height: 44px; width: auto; object-fit: contain; border-radius: 8px; }

.primary-nav { position: relative; display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.primary-nav a {
  position: relative; color: rgba(234,243,236,.86); font-weight: 600; font-size: .92rem;
  padding: .58rem .85rem; border-radius: var(--r-pill); transition: color .16s ease, background .16s ease;
}
.primary-nav a:hover { color: var(--accent-warm); background: rgba(224,168,46,.10); }
.primary-nav a.active { color: var(--accent); }
.nav-indicator {
  position: absolute; bottom: 6px; height: 3px; border-radius: 3px;
  background: var(--grad-gold); opacity: 0;
  transition: left .3s cubic-bezier(.4,0,.2,1), width .3s cubic-bezier(.4,0,.2,1), opacity .2s ease;
  pointer-events: none;
}
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-cta { padding: .66rem 1.35rem; }

.burger { display: none; width: 44px; height: 44px; position: relative; border-radius: var(--r-sm); }
.burger span { position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--text-on-dark); border-radius: 2px; transition: transform .28s ease, opacity .2s ease; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================================
   HERO — media-forward: casino backdrop + floating game tiles
   ============================================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.6rem, 5.5vw, 4.5rem) clamp(4.5rem, 8vw, 6.5rem); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 26%, rgba(244,241,231,.82) 48%, rgba(244,241,231,.28) 74%, rgba(7,35,26,.28) 100%),
    linear-gradient(0deg, var(--bg), transparent 46%);
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(1.6rem, 3.5vw, 3.5rem); align-items: center; }

.hero-content .kicker { margin-bottom: 1.1rem; }
.hero-content h1 { margin-bottom: 1.1rem; }
.hero-content .lead { font-size: 1.1rem; max-width: 44ch; margin-bottom: 1.7rem; color: var(--text-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero-proof { display: inline-flex; align-items: center; gap: .8rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-pill); padding: .45rem 1rem .45rem .55rem; box-shadow: var(--shadow-soft); }
.hero-proof .stack { display: inline-flex; }
.hero-proof .chip { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg-card); margin-left: -10px; background: var(--grad-gold); }
.hero-proof .chip:first-child { margin-left: 0; }
.hero-proof .chip:nth-child(2) { background: var(--grad-brand); }
.hero-proof .chip:nth-child(3) { background: linear-gradient(135deg, var(--accent-warm), var(--accent-deep)); }
.hero-proof .text { font-size: .85rem; color: var(--text-muted); }
.hero-proof .text strong { color: var(--text); }

/* Hero art — floating game tiles + welcome chip over the casino backdrop */
.hero-art { position: relative; min-height: 400px; }
.hero-tile {
  position: absolute; width: 116px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 34px rgba(8,40,28,.34); border: 2px solid rgba(255,255,255,.5);
  background: #0c1a14; will-change: transform;
}
.hero-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-tile--a { left: 2%;  top: 6%;  transform: rotate(-9deg);  z-index: 3; animation: floaty 6s ease-in-out infinite; }
.hero-tile--b { left: 38%; top: 30%; transform: rotate(4deg);   z-index: 4; width: 132px; animation: floaty 7s ease-in-out infinite .6s; }
.hero-tile--c { right: 3%; top: 12%; transform: rotate(11deg);  z-index: 2; animation: floaty 6.6s ease-in-out infinite 1.2s; }
.hero-tile--d { left: 16%; bottom: 4%; transform: rotate(6deg); z-index: 3; width: 104px; animation: floaty 7.4s ease-in-out infinite .3s; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero-chip {
  position: absolute; right: 6%; bottom: 2%; z-index: 6;
  width: 122px; height: 122px; border-radius: 50%;
  background: var(--grad-gold); color: #13241E; box-shadow: var(--shadow-cta);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  border: 3px dashed rgba(19,36,30,.28);
}
.hero-chip .num { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.hero-chip .lbl { font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-top: .25rem; }
.hero-spark { position: absolute; color: var(--accent); opacity: .85; animation: twinkle 3s infinite ease-in-out; z-index: 5; }
.hero-spark--a { top: 2%; left: 44%; font-size: 1.4rem; }
.hero-spark--b { top: 52%; right: 2%; font-size: 1rem; animation-delay: .8s; }
.hero-spark--c { bottom: 20%; left: 6%; font-size: 1.2rem; animation-delay: 1.5s; }
@keyframes twinkle { 0%,100% { transform: scale(1); opacity: .45; } 50% { transform: scale(1.25); opacity: 1; } }

/* Hero-bridge stat strip — normal flow, overlaps hero */
.hero-bridge { margin-top: -3.25rem; position: relative; z-index: 5; }
.hero-stats-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden;
}
.hero-stat { padding: 1.4rem 1.3rem; text-align: center; border-right: 1px solid var(--border-soft); position: relative; }
.hero-stat::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--grad-emgold); opacity: 0; transition: opacity .2s; }
.hero-stat:hover::before { opacity: 1; }
.hero-stat:last-child { border-right: none; }
.hero-stat .num { font-family: var(--font-heading); font-size: clamp(1.4rem,2.5vw,1.95rem); font-weight: 800; letter-spacing: -.01em; color: var(--brand-dark); line-height: 1; }
.hero-stat .lbl { font-size: .8rem; color: var(--text-muted); margin-top: .45rem; font-weight: 600; }

/* ============================================================================
   GAMES SHOWCASE — asymmetric "casino floor" mosaic
   ============================================================================ */
.games-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.games-head .games-head-text { max-width: 60ch; }
.games-head h2 { margin: .7rem 0 .5rem; }
.games-head p { color: var(--text-muted); }
.games-head .games-cta { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--brand-dark); white-space: nowrap; padding-bottom: .3rem; }
.games-head .games-cta:hover { color: var(--accent-deep); }
.games-head .games-cta::after { content: "→"; transition: transform .18s ease; }
.games-head .games-cta:hover::after { transform: translateX(4px); }

.games-mosaic {
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr;
  grid-auto-flow: dense; gap: .75rem;
}
.game-card {
  position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden;
  background: #0c1a14; border: 1px solid var(--border);
  box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease;
  display: block;
}
.game-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game-card.is-feature { grid-column: span 2; grid-row: span 2; }
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); z-index: 2; }
.game-card:hover img { transform: scale(1.07); }
.game-card .game-tag {
  position: absolute; top: .5rem; left: .5rem; z-index: 2;
  font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: var(--r-pill);
  background: rgba(7,35,26,.72); color: var(--accent-warm); backdrop-filter: blur(4px);
}
.game-card .game-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.4rem .7rem .55rem;
  background: linear-gradient(0deg, rgba(7,35,26,.92), rgba(7,35,26,.55) 55%, transparent);
  color: #fff; transform: translateY(101%); transition: transform .25s ease;
}
.game-card:hover .game-meta, .game-card.is-feature .game-meta { transform: none; }
.game-card .game-name { display: block; font-family: var(--font-heading); font-weight: 700; font-size: .9rem; line-height: 1.15; }
.game-card.is-feature .game-name { font-size: 1.4rem; }
.game-card .game-play { display: block; margin-top: .3rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-warm); }

/* ============================================================================
   UNIVERSAL CARD
   ============================================================================ */
.card, .plain-card, .support-card, .floor-tile, .bento-tile, .security-tile,
.rewards-tile, .rich-tile, .split-layout, .feature-check-list--plain,
.image-divider, .intro-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-card);
  position: relative;
}
.card::before, .floor-tile::before, .bento-tile::before, .security-tile::before,
.rewards-tile::before, .plain-card::before, .support-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--grad-emgold); border-radius: var(--card-radius) var(--card-radius) 0 0;
}
.card-watermark, .wm {
  position: absolute; right: .7rem; bottom: -.6rem; font-family: var(--font-heading);
  font-weight: 800; font-size: 5rem; line-height: 1; color: rgba(224,168,46,.14);
  pointer-events: none; user-select: none; transition: color .3s ease; z-index: 0;
}
.floor-tile:hover .wm, .bento-tile:hover .wm, .card:hover .card-watermark { color: rgba(15,122,87,.14); }

/* Generic content typography inside builder cards */
.rich-text > * + * { margin-top: 1rem; }
.rich-text p { color: var(--text-muted); }
.rich-text a { color: var(--brand-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(227,160,8,.4); }

/* ============================================================================
   BUILDER SECTION LAYOUTS
   ============================================================================ */

/* Intro block (leftover lede paragraphs) — full width editorial card */
.intro-block { padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 4vw, 3rem); text-align: center; }
/* Breathing room when an intro-block sits directly above a grid (screenshot 1). */
.intro-block + .floor-grid,
.intro-block + .bento-floor,
.intro-block + .security-grid,
.intro-block + .rewards-bento,
.intro-block + .table-wrap { margin-top: clamp(1.4rem, 2.6vw, 2.1rem); }
.intro-block p { font-size: 1.08rem; color: var(--text-muted); }
.intro-block p + p { margin-top: 1rem; }

/* Plain card (paragraphs only) — full width editorial card, centered text */
.plain-card { padding: clamp(1.8rem, 3.5vw, 2.8rem); }
.plain-card .plain-card-body { max-width: none; }
.plain-card .plain-card-body > * + * { margin-top: 1.1rem; }

/* Floor grid (H3 subsections) — column count from item count (R3) */
.floor-grid { display: grid; gap: 1.4rem; }
.floor-grid--cols-1 { grid-template-columns: 1fr; }
.floor-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.floor-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.floor-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.floor-tile { padding: 1.8rem 1.7rem; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.floor-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.floor-tile h3 { margin-bottom: .7rem; position: relative; z-index: 1; }
.floor-tile p { position: relative; z-index: 1; }
.floor-tile p + p { margin-top: .8rem; }
.floor-tile ul { position: relative; z-index: 1; margin-top: .9rem; display: grid; gap: .5rem; }
.floor-tile ul li { position: relative; padding-left: 1.4rem; color: var(--text-muted); font-size: .95rem; }
.floor-tile ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-gold); }

/* Rich floor grid (H3 tiles with H4 / lists) — 1 column full width, sub-cards + bold dividers (R4b) */
.floor-grid--rich { grid-template-columns: 1fr; gap: 1.5rem; }
.rich-tile { padding: clamp(1.8rem, 3vw, 2.4rem); }
.rich-tile > h3 { margin-bottom: 1rem; }
.rich-tile > p { margin-bottom: 1rem; }
.rich-tile h4 {
  font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-dark); border-top: 2px solid var(--brand); padding-top: 1rem; margin-top: 1.6rem; margin-bottom: 1rem;
}
.rich-tile ul { display: grid; gap: .7rem; margin-top: .4rem; }
.rich-tile ul li {
  background: var(--bg); border: 1px solid var(--border-soft); border-radius: var(--r-md);
  padding: 1rem 1.15rem 1rem 1.45rem; position: relative; color: var(--text-muted); font-size: .96rem;
}
.rich-tile ul li::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--grad-brand); }
.rich-tile ul li strong { color: var(--text); }
.rich-tile p + p { margin-top: .9rem; }

/* Split layout (list + paragraphs + image) — full width, 2-col */
.split-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; overflow: hidden; }
.split-layout .split-body { padding: clamp(1.8rem, 3.5vw, 2.8rem); }
.split-layout .split-body h3 { margin: 1.4rem 0 .7rem; }
.split-layout .split-body h3:first-child { margin-top: 0; }
.split-layout .split-body p + p { margin-top: .8rem; }
.split-layout .split-media { position: relative; min-height: 320px; background: var(--grad-gold); }
.split-layout .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-list { display: grid; gap: .7rem; margin: 1rem 0; }
.split-list li, .feature-check-list li {
  position: relative; padding-left: 2.1rem; color: var(--text-muted); font-size: .97rem;
}
.split-list li strong, .feature-check-list li strong { color: var(--text); }
.split-list li::before, .feature-check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--grad-gold); color: #fff; font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(227,160,8,.3);
}

/* Feature check-list plain (list + paragraphs, no image) — golden panel, full width */
.feature-check-list--plain {
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  background: linear-gradient(160deg, #FCF7E6, #F4ECD3);
  border-left: 5px solid var(--accent);
}
.feature-check-list--plain::before { display: none; }
.feature-check-list--plain h3 { margin: 1.3rem 0 .7rem; }
.feature-check-list--plain h3:first-child { margin-top: 0; }
.feature-check-list { display: grid; gap: .8rem; margin: 1.1rem 0; }
.feature-check-list--plain p + p { margin-top: .8rem; }

/* Image divider — contained editorial figure, 2-col, NOT full-bleed (R5b) */
.image-divider {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem);
  padding: clamp(1.4rem, 2.5vw, 2rem); align-items: stretch;
}
.image-divider::before { display: none; }
.image-divider .id-figure { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border); aspect-ratio: 4 / 3; }
.image-divider .id-figure img { width: 100%; height: 100%; object-fit: cover; }
.image-divider .id-aside { display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.image-divider .id-num { counter-increment: img-div; font-family: var(--font-heading); font-size: clamp(3rem,7vw,5rem); font-weight: 660; line-height: 1; color: var(--brand-light); }
.image-divider .id-num::before { content: counter(img-div, decimal-leading-zero); }
.image-divider .id-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-dark); }
.image-divider .id-title { font-size: 1.3rem; }

/* ============================================================================
   HOMEPAGE BESPOKE SECTIONS
   ============================================================================ */

/* Bento floor */
.bento-floor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.bento-tile { padding: 1.9rem 1.8rem; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.bento-tile h3 { margin-bottom: .6rem; position: relative; z-index: 1; }
.bento-tile .tile-lead { font-weight: 600; color: var(--text); }
.bento-tile p, .bento-tile ul { position: relative; z-index: 1; }
.bento-tile p + p { margin-top: .7rem; }
.bento-tile ul { margin-top: .9rem; display: grid; gap: .5rem; }
.bento-tile ul li { position: relative; padding-left: 1.4rem; color: var(--text-muted); font-size: .94rem; }
.bento-tile ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-gold); }

/* Security grid — art-deco 4-up */
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.security-grid--3 { grid-template-columns: repeat(3, 1fr); }
.security-tile { padding: 1.7rem 1.5rem; text-align: left; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.security-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.security-tile .deco-num { font-family: var(--font-heading); font-style: italic; font-weight: 600; color: var(--brand-light); font-size: 2.4rem; line-height: 1; margin-bottom: .5rem; }
.security-tile h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.security-tile p { font-size: .92rem; }

/* Rewards bento — welcome card top-left, VIP strip full-width bottom */
.rewards-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.rewards-tile { padding: 1.8rem 1.7rem; overflow: hidden; }
.rewards-tile h3 { margin-bottom: .6rem; }
.rewards-tile p + p { margin-top: .7rem; }
.rewards-tile ul { margin-top: .9rem; display: grid; gap: .5rem; }
.rewards-tile ul li { position: relative; padding-left: 1.4rem; color: var(--text-muted); font-size: .94rem; }
.rewards-tile ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-gold); }
.rewards-welcome { grid-column: span 1; background: linear-gradient(155deg, #0C3327, #07231A); color: var(--text-on-dark); }
.rewards-welcome::before { height: 5px; }
.rewards-welcome h3 { color: #fff; }
.rewards-welcome p { color: rgba(234,243,236,.82); }
.rewards-span { grid-column: 1 / -1; background: linear-gradient(120deg, #FCF7E6, #F4ECD3); border-left: 5px solid var(--accent); }
.rewards-span::before { display: none; }

/* Support card — editorial closing with oversized italic watermark */
.support-card { padding: clamp(2rem, 4vw, 3.2rem); overflow: hidden; text-align: center; }
.support-card .wm-big { position: absolute; right: -1rem; bottom: -2.5rem; font-family: var(--font-heading); font-weight: 800; letter-spacing: -.02em; font-size: clamp(6rem, 16vw, 12rem); color: rgba(15,122,87,.08); line-height: 1; pointer-events: none; z-index: 0; }
.support-card > * { position: relative; z-index: 1; }
.support-card h3 { margin: 1.2rem 0 .7rem; text-align: left; }
.support-card h3:first-of-type { margin-top: 0; }
.support-card .support-body { text-align: left; }
.support-card .support-body > * + * { margin-top: 1rem; }

/* Data table (homepage deposit/withdrawal) */
.table-wrap { overflow-x: auto; border-radius: var(--card-radius); border: 1px solid var(--border); box-shadow: var(--shadow-card); background: var(--bg-card); }
table.data-table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .92rem; }
table.data-table thead th { background: var(--bg-panel); color: var(--text-on-dark); font-family: var(--font-body); font-weight: 700; text-align: left; padding: .9rem 1rem; font-size: .82rem; letter-spacing: .03em; }
table.data-table tbody td { padding: .85rem 1rem; border-top: 1px solid var(--border-soft); color: var(--text-muted); }
table.data-table tbody tr:nth-child(even) { background: #FFFBF2; }
table.data-table tbody td:first-child { font-weight: 700; color: var(--text); }

/* ============================================================================
   FAQ
   ============================================================================ */
.faq-list { display: grid; gap: .9rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); transition: box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.faq-item[open] { box-shadow: var(--shadow-card); border-color: var(--border-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; font-family: var(--font-heading); font-weight: 600; font-size: 1.08rem; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--brand); border-radius: 2px; transition: transform .25s ease; }
.faq-icon::before { top: 12px; left: 4px; right: 4px; height: 2.5px; }
.faq-icon::after { left: 12px; top: 4px; bottom: 4px; width: 2.5px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 1.4rem 1.25rem; }
.faq-answer p { color: var(--text-muted); }
.faq-answer p + p { margin-top: .7rem; }

/* ============================================================================
   PAGE HERO (inner pages)
   ============================================================================ */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.4rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); background: linear-gradient(180deg, rgba(227,160,8,.08), transparent); }
/* Inner page-hero sits over a faint backdrop image → keep content above the
   scrim (positioned container) and use a soft scrim for contrast. */
.page-hero .container { position: relative; z-index: 1; }
.page-hero .hero-bg img { opacity: .10; }
.page-hero .hero-bg::after { background: linear-gradient(180deg, rgba(251,244,233,.58), rgba(251,244,233,.72) 60%, var(--bg) 92%); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .82rem; color: var(--text-dim); margin-bottom: 1.1rem; }
.breadcrumb a { color: var(--brand-dark); font-weight: 600; }
.breadcrumb span.sep { color: var(--border-strong); }
.page-hero h1 { max-width: 20ch; margin-bottom: .9rem; }
.page-hero .page-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 60ch; }
.page-meta { font-size: .84rem; color: var(--text-dim); margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.page-meta .page-meta-author { font-weight: 700; color: var(--brand-dark); }

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer { position: relative; margin-top: clamp(4rem, 8vw, 7rem); }

/* Overlapping "join" band */
.footer-join {
  position: relative; overflow: hidden; z-index: 2; transform: translateY(2.5rem);
  background: linear-gradient(120deg, #0C3327 0%, var(--brand) 60%, #14936B 100%);
  color: var(--text-on-dark); border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3.1rem) clamp(1.8rem, 4vw, 3.4rem);
  box-shadow: 0 24px 60px rgba(8,40,28,.34);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem;
  border: 1px solid rgba(224,168,46,.28);
}
.footer-join::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% -20%, rgba(224,168,46,.28), transparent 60%); pointer-events: none; }
.footer-join-wm { position: absolute; right: -.5rem; bottom: -2.6rem; font-family: var(--font-heading); font-weight: 800; letter-spacing: -.03em; font-size: clamp(5rem, 13vw, 9.5rem); color: rgba(255,255,255,.08); line-height: 1; pointer-events: none; }
.footer-join-text { position: relative; z-index: 1; }
.footer-join-kicker { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-warm); margin-bottom: .5rem; }
.footer-join-text h2 { color: #fff; margin-bottom: .5rem; }
.footer-join-text p { color: rgba(234,243,236,.9); max-width: 46ch; }
.footer-join-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .8rem; }
.footer-join .btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.footer-join .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Footer body */
.footer-body { position: relative; background: var(--bg-panel); color: var(--text-on-dark); padding-block: calc(2.5rem + 2.5rem) clamp(1.5rem, 3vw, 2.2rem); }
.footer-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad-gold); opacity: .4; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.2rem; padding-top: 1rem; }
.footer-brand .brand img { height: 48px; width: auto; border-radius: 8px; }
.footer-tagline { color: rgba(234,243,236,.68); font-size: .92rem; margin-top: 1rem; max-width: 34ch; }
.payment-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.payment-pills span { font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .35rem .7rem; border-radius: var(--r-pill); background: rgba(234,243,236,.07); border: 1px solid rgba(234,243,236,.14); color: rgba(234,243,236,.82); }
.footer-col h4 { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; color: #fff; margin-bottom: 1rem; position: relative; padding-bottom: .55rem; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--grad-gold); }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { color: rgba(234,243,236,.7); font-size: .92rem; transition: color .16s ease, padding-left .16s ease; }
.footer-col a:hover { color: var(--accent); padding-left: 5px; }

.footer-trust { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.4rem; padding-block: 1.4rem; border-top: 1px solid rgba(234,243,236,.1); border-bottom: 1px solid rgba(234,243,236,.1); }
.footer-trust span { font-size: .76rem; font-weight: 700; letter-spacing: .05em; padding: .42rem .9rem; border-radius: var(--r-pill); background: rgba(224,168,46,.08); border: 1px solid rgba(224,168,46,.2); color: var(--accent-warm); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-top: 1.4rem; font-size: .82rem; color: rgba(234,243,236,.58); }
.footer-bottom .rg-note { max-width: 60ch; }

/* ============================================================================
   404
   ============================================================================ */
.err-404 { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.err-404 .glyph { font-family: var(--font-heading); font-weight: 800; letter-spacing: -.03em; font-size: clamp(8rem, 22vw, 16rem); line-height: .9; background: var(--grad-emgold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.err-404 h1 { margin: .5rem 0 .8rem; }
.err-404 p { max-width: 44ch; margin: 0 auto 1.6rem; }
.err-404 .err-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ============================================================================
   MOTION — reveal on scroll
   ============================================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot, .hero-spark, .hero-tile { animation: none !important; }
}

/* ============================================================================
   MOBILE NAV OVERLAY
   ============================================================================ */
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: rgba(7,35,26,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; flex-direction: column; padding: 5.5rem 1.5rem 2rem; opacity: 0; pointer-events: none; transition: opacity .3s ease; overflow-y: auto; }
.mobile-nav-inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); display: flex; flex-direction: column; }
body.nav-open .mobile-nav { opacity: 1; pointer-events: auto; }
.mobile-nav a { color: var(--text-on-dark); font-family: var(--font-heading); font-size: 1.55rem; font-weight: 600; padding: .7rem 0; border-bottom: 1px solid rgba(234,243,236,.1); transform: translateY(14px); opacity: 0; transition: transform .4s ease, opacity .4s ease, color .16s ease; }
body.nav-open .mobile-nav a { transform: none; opacity: 1; }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-util { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.2rem; }
.mobile-nav-util a { font-family: var(--font-body); font-size: 1rem; color: rgba(234,243,236,.7); border: none; padding: .3rem 0; }
.mobile-nav .mobile-cta { margin-top: 1.8rem; text-align: center; }
body.nav-open { overflow: hidden; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1100px) {
  .footer-cols { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .primary-nav, .nav-cta.desktop-only { display: none; }
  .burger { display: block; }
  .nav-indicator { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { min-height: 320px; order: -1; }
  .hero-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid var(--border-soft); }
  .floor-grid--cols-3, .floor-grid--cols-4, .bento-floor, .rewards-bento { grid-template-columns: repeat(2, 1fr); }
  .split-layout { grid-template-columns: 1fr; }
  .split-layout .split-media { min-height: 240px; order: -1; }
  .image-divider { grid-template-columns: 1fr; }
  .image-divider .id-aside { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .games-mosaic { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-join { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  :root { --gutter: 1.15rem; }
  .topbar-links { display: none; }
  .floor-grid--cols-2, .floor-grid--cols-3, .floor-grid--cols-4,
  .bento-floor, .rewards-bento, .security-grid { grid-template-columns: 1fr; }
  .rewards-welcome, .rewards-span { grid-column: 1 / -1; }
  .hero-stats-strip { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-join-actions .btn-primary, .footer-join-actions .btn-ghost { width: 100%; }
  .games-mosaic { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.05rem; }
  .games-mosaic { grid-template-columns: repeat(2, 1fr); }
}
