/* ==========================================================================
   New Casino ID (https://newcasinoid.com)
   Part 5 & Part 6 Production Stylesheet — Zero Framework, Zero Slop
   Palette: Obsidian Near-Black (#08080A), Panel (#101014), Line (#232329),
            Coral (#F4795B -> #D95B3D), Gold (#E8B44A), Cream (#F5EFE6), Muted (#A0A0AC)
   ========================================================================== */

:root {
  --bg: #08080A;
  --bg-2: #101014;
  --bg-3: #17171D;
  --line: #232329;
  --coral: #F4795B;
  --coral-deep: #D95B3D;
  --on-coral: #08080A;
  --gold: #E8B44A;
  --cream: #F5EFE6;
  --muted: #A0A0AC;
  --live: #E23B3B;
  --whatsapp: #25D366;
  --on-whatsapp: #051B0C;

  --font-display: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --font-condensed: 'Barlow Condensed', 'Impact', system-ui, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Caveat', 'Brush Script MT', cursive;

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 999px;

  --ease-velvet: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-med: 220ms;

  --container: 1320px;
}

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

html {
  background-color: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg);
  color: var(--cream);
  min-height: 100dvh;
  overflow-x: hidden;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 118px;
  }
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-velvet), border-color var(--dur-fast) var(--ease-velvet), background-color var(--dur-fast) var(--ease-velvet), transform var(--dur-fast) var(--ease-velvet);
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

/* Accessibility Focus Ring — 3px solid gold */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--gold);
  color: #08080A;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.num,
.tabular {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (max-width: 767px) {
  .container {
    padding-inline: 16px;
  }
}

/* ==========================================================================
   Buttons & Interactive Targets (Minimum 44x44px, Dark Ink on Coral >= 7.6:1)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-velvet), background var(--dur-fast) var(--ease-velvet), border-color var(--dur-fast) var(--ease-velvet);
}

.btn-coral {
  background: linear-gradient(180deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: var(--on-coral);
  border-color: var(--coral);
}

.btn-coral:hover {
  background: var(--coral);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--bg-2);
  color: var(--cream);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: var(--bg-3);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--on-whatsapp);
  border-color: var(--whatsapp);
  font-weight: 800;
}

.btn-whatsapp:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* ==========================================================================
   1. Header — Black Bar, Crown Crest + Wordmark, Nav, Search, Login, Join Now
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.brand-crest {
  width: 34px;
  height: 28px;
  color: var(--gold);
  flex-shrink: 0;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  line-height: 1;
}

.brand-wordmark .accent-id {
  color: var(--coral);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--cream);
}

.nav-link:hover {
  color: var(--coral);
  background: var(--bg-2);
}

.nav-link.is-active {
  background: linear-gradient(180deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: var(--on-coral);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold);
}

.header-phone-pill:hover {
  border-color: var(--gold);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--cream);
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.mobile-only-btn {
  display: none;
}

@media (max-width: 1120px) {
  .header-phone-pill {
    display: none;
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-actions .btn {
    display: none;
  }
  .mobile-only-btn {
    display: inline-flex;
  }
  .header-inner {
    min-height: 60px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
  }
  .brand-logo {
    justify-self: center;
  }
}

/* Mobile Off-Canvas Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}

.mobile-drawer.is-open {
  display: block;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.82);
}

.drawer-panel {
  position: relative;
  z-index: 1;
  width: min(320px, 86vw);
  height: 100dvh;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 20px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--bg);
  font-weight: 600;
}

.drawer-nav a:hover {
  border-color: var(--coral);
}

.drawer-contact {
  margin-top: auto;
  padding: 16px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   2. Hero Section — Warm Coral-to-Gold Glow, H1, Host Art/Motion, Trust Row
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 68% 42%, rgba(244, 121, 91, 0.22) 0%, rgba(232, 180, 74, 0.14) 34%, rgba(8, 8, 10, 0) 68%),
    var(--bg);
}

.hero-frame {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 24px;
  padding-block: 40px 28px;
}

.hero-media-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-media-backdrop picture,
.hero-media-backdrop img,
.hero-media-backdrop video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-media-backdrop img {
  animation: heroDrift 12s ease-in-out infinite alternate;
}

.hero-media-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #08080A 0%, rgba(8, 8, 10, 0.94) 38%, rgba(8, 8, 10, 0.35) 68%, rgba(8, 8, 10, 0.18) 100%);
}

@keyframes heroDrift {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.04);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.8vw, 4.35rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-wrap: balance;
}

.hero-h1 .accent-id {
  color: var(--coral);
}

.hero-h1 .sr-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--gold);
  margin-top: 6px;
}

.hero-tagline {
  font-family: var(--font-condensed);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

.hero-categories {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

.hero-subline {
  font-size: 1rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-subline strong {
  color: var(--cream);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.hero-cta-primary {
  min-height: 50px;
  padding-inline: 28px;
  font-size: 1.02rem;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(16, 16, 20, 0.85);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-label {
  font-size: 0.82rem;
  line-height: 1.25;
  color: var(--cream);
  font-weight: 600;
}

.hero-phone-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-phone-strip a {
  color: var(--gold);
  font-weight: 700;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-stage-right {
  position: relative;
  z-index: 2;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-script-callout {
  font-family: var(--font-script);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  line-height: 1.05;
  color: var(--cream);
  transform: rotate(-8deg);
  text-align: center;
  padding: 12px 18px;
  text-shadow: 0 4px 18px rgba(8, 8, 10, 0.95);
}

.eeat-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.eeat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

/* Mobile Hero Spec — Matches Phone Mock-Up */
@media (max-width: 767px) {
  .hero-frame {
    grid-template-columns: 1fr;
    min-height: 460px;
    padding-top: 230px;
    padding-bottom: 24px;
    text-align: center;
  }

  .hero-media-backdrop::after {
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.12) 0%, rgba(8, 8, 10, 0.68) 46%, #08080A 82%, #08080A 100%);
  }

  .hero-copy {
    align-items: center;
  }

  .hero-cta-row {
    width: 100%;
    flex-direction: column;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .hero-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    width: 100%;
  }

  .hero-stage-right {
    display: none;
  }

  .hero-phone-strip {
    justify-content: center;
  }

  .eeat-badge-row {
    justify-content: center;
  }
}

/* ==========================================================================
   3. Game Rail — 8 Desktop Image Tiles + 6 Mobile Icon Tiles
   ========================================================================== */
.rail-section {
  padding-block: 24px 18px;
}

.desktop-game-rail {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.rail-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 10px 8px;
  transition: transform var(--dur-fast) var(--ease-velvet), border-color var(--dur-fast) var(--ease-velvet);
}

.rail-tile:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.rail-tile picture,
.rail-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rail-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.08) 0%, rgba(8, 8, 10, 0.55) 60%, rgba(8, 8, 10, 0.94) 100%);
}

.rail-tile-label {
  position: relative;
  z-index: 2;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cream);
  text-align: center;
}

/* Mobile 6-Tile Icon Rail (Matches Phone Mock-Up) */
.mobile-icon-rail {
  display: none;
}

@media (max-width: 1024px) {
  .desktop-game-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .desktop-game-rail {
    display: none;
  }

  .mobile-icon-rail {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 10px 8px;
  }

  .mobile-rail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 56px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cream);
    text-align: center;
  }

  .mobile-rail-thumb {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
  }

  .mobile-rail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ==========================================================================
   4. Three Feature Cards — LIVE CASINO · SLOTS · TABLE GAMES
   ========================================================================== */
.feature-trio-section {
  padding-block: 12px 24px;
}

.feature-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.promo-feature-card {
  position: relative;
  min-height: 210px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-feature-card:hover {
  border-color: var(--gold);
}

.card-media-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.card-media-bg picture,
.card-media-bg img,
.card-media-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.card-media-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.82) 48%, rgba(8, 8, 10, 0.22) 100%);
}

.card-foreground {
  position: relative;
  z-index: 2;
  max-width: 62%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.card-title-italic {
  font-family: var(--font-condensed);
  font-style: italic;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cream);
}

.card-subtitle-caps {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
}

.card-cta-wrap {
  position: relative;
  z-index: 2;
  margin-top: 14px;
}

@media (max-width: 960px) {
  .feature-trio-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. Progressive Jackpots Band — Gold Coin Panorama & 4 Indian-Grouped Tiers
   ========================================================================== */
.jackpot-section {
  padding-block: 8px 24px;
}

.jackpot-band {
  position: relative;
  border-radius: var(--radius-card);
  border: 1px solid var(--gold);
  background:
    radial-gradient(circle at 30% 50%, rgba(232, 180, 74, 0.22) 0%, rgba(8, 8, 10, 0) 65%),
    var(--bg-2);
  overflow: hidden;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2.3fr);
  align-items: center;
  gap: 20px;
}

.jackpot-media-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.48;
}

.jackpot-media-bg picture,
.jackpot-media-bg img,
.jackpot-media-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jackpot-media-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.68) 45%, rgba(8, 8, 10, 0.82) 100%);
}

.jackpot-intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.jackpot-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jackpot-crown {
  width: 44px;
  height: 36px;
  color: var(--gold);
  flex-shrink: 0;
}

.jackpot-kicker {
  display: block;
  font-family: var(--font-condensed);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}

.jackpot-heading {
  font-family: var(--font-condensed);
  font-style: italic;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
}

.jackpot-sub {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}

.jackpot-tiers-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.jackpot-tier-box {
  background: rgba(8, 8, 10, 0.86);
  border: 1px solid rgba(232, 180, 74, 0.45);
  border-radius: var(--radius-card);
  padding: 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier-label {
  font-family: var(--font-condensed);
  font-style: italic;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
}

.tier-label strong {
  color: var(--gold);
}

.tier-value {
  font-size: clamp(1.15rem, 1.6vw, 1.42rem);
  font-weight: 800;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.jackpot-caption {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

@media (max-width: 1024px) {
  .jackpot-band {
    grid-template-columns: 1fr;
  }
  .jackpot-tiers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .jackpot-tiers-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   6. Popular Games — Header Row + 8 Tiles (2-Column Grid on Mobile)
   ========================================================================== */
.popular-section {
  padding-block: 16px 28px;
}

.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.section-bar-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--cream);
}

.flame-icon {
  width: 22px;
  height: 22px;
  color: var(--coral);
}

.section-bar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cream);
}

.view-all-link:hover {
  color: var(--coral);
}

.popular-carousel-wrap {
  position: relative;
}

.popular-games-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 10px 8px;
  transition: transform var(--dur-fast) var(--ease-velvet), border-color var(--dur-fast) var(--ease-velvet);
}

.game-card:hover {
  transform: translateY(-2px);
  border-color: var(--coral);
}

.game-card picture,
.game-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.05) 0%, rgba(8, 8, 10, 0.45) 58%, rgba(8, 8, 10, 0.92) 100%);
}

.game-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cream);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
}

.game-card-title {
  position: relative;
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cream);
  text-align: center;
}

@media (max-width: 1120px) {
  .popular-games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .popular-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   7. Bottom Trio — EXCLUSIVE PROMOTIONS · VIP CLUB · 24/7 SUPPORT
   ========================================================================== */
.bottom-trio-section {
  padding-block: 8px 48px;
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   8. Long-Form Editorial Section (~1,050px Down, 3,400+ Words, 66ch Measure)
   ========================================================================== */
.editorial-section {
  padding-block: 96px;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 767px) {
  .editorial-section {
    padding-block: 56px;
  }
}

.editorial-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

@media (max-width: 1024px) {
  .editorial-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

.toc-sidebar {
  position: sticky;
  top: 92px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
}

@media (max-width: 1024px) {
  .toc-sidebar {
    position: static;
  }
}

.toc-heading {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-list a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--muted);
}

.toc-list a:hover {
  color: var(--cream);
  background: var(--bg-3);
}

.toc-cta-box {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose-column {
  max-width: 66ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream);
}

@media (max-width: 767px) {
  .prose-column {
    font-size: 1rem;
  }
}

.prose-block + .prose-block {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.prose-column h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--cream);
  margin-bottom: 16px;
  text-wrap: balance;
}

.prose-column h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.42rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--gold);
  margin-top: 28px;
  margin-bottom: 12px;
  text-wrap: balance;
}

.prose-column p {
  margin-bottom: 16px;
  color: var(--cream);
  text-wrap: pretty;
}

.prose-column ul,
.prose-column ol {
  margin-bottom: 20px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prose-column li {
  color: var(--cream);
}

.prose-column strong {
  color: var(--gold);
  font-weight: 700;
}

.prose-column a:not(.btn) {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.steps-list {
  list-style: none;
  padding-left: 0 !important;
  display: grid;
  gap: 14px;
}

.step-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
}

.step-number {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
  margin-bottom: 4px;
}

/* Interactive Bankroll & RTP Session Calculator */
.calc-widget {
  background: var(--bg-2);
  border: 1px solid var(--gold);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-block: 28px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .calc-widget {
    padding: 16px 12px;
  }
}

.calc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 6px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  min-width: 0;
}

@media (max-width: 640px) {
  .calc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}

.calc-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  word-break: break-word;
}

.calc-field input,
.calc-field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  min-width: 0;
}

@media (max-width: 640px) {
  .calc-results {
    grid-template-columns: minmax(0, 1fr);
  }
}

.calc-stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 12px;
  min-width: 0;
  box-sizing: border-box;
}

.calc-stat-label {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.calc-stat-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* Comparison Table */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin-block: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg-2);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.comparison-table th {
  background: var(--bg-3);
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* FAQ Accordion / List */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--cream);
  font-size: 1.08rem;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Author Box */
.author-box {
  margin-top: 40px;
  padding: 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.author-box strong {
  color: var(--cream);
}

/* ==========================================================================
   9. Pre-Footer CTA Banner — Casino Floor at Night, "Your table is open."
   ========================================================================== */
.prefooter-section {
  padding-block: 56px;
  border-bottom: 1px solid var(--line);
}

.prefooter-banner {
  position: relative;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 48px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.prefooter-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.prefooter-bg picture,
.prefooter-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prefooter-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.78) 55%, rgba(8, 8, 10, 0.65) 100%);
}

.prefooter-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.prefooter-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 8px;
}

.prefooter-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* ==========================================================================
   10. Footer — Crest, Nav Links, Inline SVG Payment Marks, 18+, Phone
   ========================================================================== */
.site-footer {
  background: var(--bg);
  padding-block: 36px 48px;
}

.footer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--coral);
}

.payment-marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding-inline: 10px;
  border-radius: 6px;
  background: #FFFFFF;
  color: #08080A;
  font-size: 0.75rem;
  font-weight: 800;
}

.footer-bottom-bar {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--muted);
}

.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 800;
}

/* ==========================================================================
   11. Mobile App Shell — Sticky WhatsApp Bar + 5-Item Bottom Bar + Entry Popup
   ========================================================================== */
.mobile-sticky-shell {
  display: none;
}

@media (max-width: 767px) {
  .mobile-sticky-shell {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mobile-wa-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 14px;
    background: linear-gradient(90deg, #0D2A18 0%, #101014 100%);
    border-bottom: 1px solid var(--line);
  }

  .mobile-wa-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    border-radius: var(--radius-btn);
    background: var(--whatsapp);
    color: var(--on-whatsapp);
    font-weight: 800;
    font-size: 0.92rem;
  }

  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--bg-2);
  }

  .bottom-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 56px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
  }

  .bottom-tab.is-active {
    color: var(--gold);
    font-weight: 700;
  }
}

/* Mobile Entry Popup Dialog */
.entry-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(8, 8, 10, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.entry-popup-backdrop.is-open {
  display: flex;
}

.entry-popup-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--bg-2);
  border: 1px solid var(--gold);
  border-radius: var(--radius-card);
  padding: 28px 22px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.popup-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.popup-wa-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid var(--whatsapp);
  color: var(--whatsapp);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.popup-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--cream);
}

.popup-copy {
  font-size: 0.94rem;
  color: var(--muted);
}

/* ==========================================================================
   12. Reduced Motion Gate — Kills All Motion & Video Loops
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-media-backdrop img {
    animation: none !important;
  }

  video.ambient-loop {
    display: none !important;
  }
}
