/* ==========================================================================
   JL86 AUTHENTIC BRAND DESIGN SYSTEM & RESPONSIVE UI FRAMEWORK
   Derived from Rank 1 Competitor Audit (brand_palette.json)
   Incorporating /casino-design-system and /ace58-ui-guidance
   ========================================================================== */

:root {
  /* --- 1. DYNAMIC BRAND COLOR TOKENS --- */
  --brand-primary: #990012;             /* Rank 1 Competitor Primary: Deep Crimson Ruby */
  --brand-primary-hover: #BD0017;
  --brand-primary-gradient: linear-gradient(135deg, #BD0017 0%, #7A000E 100%);
  --brand-secondary: #F5C042;           /* Rank 1 Competitor Secondary: Imperial Gold */
  --brand-secondary-hover: #FFD56B;
  --brand-secondary-gradient: linear-gradient(135deg, #F5C042 0%, #D49B28 50%, #B8860B 100%);
  --brand-cta: #00E676;                 /* High-CTR Action Color: Emerald Cash Green */
  --brand-cta-hover: #00C853;
  --brand-cta-glow: rgba(0, 230, 118, 0.45);
  --brand-cta-text: #052410;
  
  /* --- SURFACES & BACKGROUNDS --- */
  --surface-bg: #0B0C10;                /* Ultra-Dark Obsidian Canvas */
  --surface-card: #13151D;              /* Elevated Card Surface */
  --surface-elevated: #1A1D27;          /* Higher Tier Elevated Surface */
  --surface-overlay: rgba(11, 12, 16, 0.85);
  
  /* --- BORDERS & ACCENTS --- */
  --border-subtle: #252A38;
  --border-strong: #374151;
  --border-ruby: rgba(229, 57, 53, 0.35);
  --border-gold: rgba(245, 192, 66, 0.35);
  --border-emerald: rgba(0, 230, 118, 0.35);
  
  /* --- TEXT & CONTRAST --- */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-gold: #F5C042;
  --text-ruby: #FF5252;
  --text-emerald: #00E676;

  /* --- 2. MULTI-COLOR PROVIDER THEMING --- */
  /* JILI Games: Crimson / Amber */
  --jili-primary: #E11D48;
  --jili-accent: #F59E0B;
  --jili-border: rgba(225, 29, 72, 0.35);
  --jili-bg-subtle: rgba(225, 29, 72, 0.12);

  /* PG Soft Games: Electric Violet / Neon Orange */
  --pg-primary: #8B5CF6;
  --pg-accent: #FB923C;
  --pg-border: rgba(139, 92, 246, 0.35);
  --pg-bg-subtle: rgba(139, 92, 246, 0.12);

  /* Live Casino: Royal Deep Blue / Platinum */
  --live-primary: #2563EB;
  --live-accent: #E2E8F0;
  --live-border: rgba(37, 99, 235, 0.35);
  --live-bg-subtle: rgba(37, 99, 235, 0.12);

  /* Arcade & Fishing: Aqua Teal / Cyan */
  --fishing-primary: #06B6D4;
  --fishing-accent: #14B8A6;
  --fishing-border: rgba(6, 182, 212, 0.35);
  --fishing-bg-subtle: rgba(6, 182, 212, 0.12);

  /* Table & Sabong: Emerald Green / Fiery Orange */
  --sabong-primary: #10B981;
  --sabong-accent: #EA580C;
  --sabong-border: rgba(16, 185, 129, 0.35);
  --sabong-bg-subtle: rgba(16, 185, 129, 0.12);

  /* --- SPACING & TYPOGRAPHY --- */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(0, 230, 118, 0.3);
  --container-max: 1200px;
}

/* --- RESET & GLOBAL STANDARDS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  background-color: var(--surface-bg);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--surface-bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- CONTAINER FRAMEWORK (STRICT 0px HORIZONTAL OVERFLOW) --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* --- SITE HEADER & DESKTOP NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 12, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 12px rgba(245, 192, 66, 0.25);
}

.brand-name {
  display: none;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.4rem;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    gap: 0.35rem;
  }
}

@media (min-width: 1200px) {
  .main-nav {
    gap: 0.65rem;
  }
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
  transition: all 0.15s ease;
  text-decoration: none;
}

@media (min-width: 1200px) {
  .nav-link {
    font-size: 0.92rem;
    padding: 0.45rem 0.7rem;
  }
}

.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

/* Green pill active state matching Image 1 */
.nav-link.active {
  color: #00E676;
  background: rgba(0, 230, 118, 0.14);
  border: 1px solid rgba(0, 230, 118, 0.32);
  font-weight: 700;
}

/* Dropdown arrow stays inline */
.dropdown-arrow {
  font-size: 0.62rem;
  transition: transform 0.2s ease;
  margin-left: 0.15rem;
  opacity: 0.7;
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: #13151D;
  border: 1px solid rgba(245, 192, 66, 0.25);
  border-radius: 10px;
  padding: 0.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 15px rgba(245, 192, 66, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 1000;
  pointer-events: none;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.7rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-link:hover {
  color: #FFFFFF;
  background: rgba(245, 192, 66, 0.12);
}

.dropdown-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #E11D48;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.header-actions .btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* --- BUTTONS & DUAL CTAS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--brand-cta);
  color: var(--brand-cta-text);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.btn-primary:hover {
  background: var(--brand-cta-hover);
  box-shadow: 0 6px 20px var(--brand-cta-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
}

.btn-ruby {
  background: var(--brand-primary-gradient);
  color: #FFFFFF;
  border: 1px solid var(--border-ruby);
  box-shadow: 0 4px 15px rgba(153, 0, 18, 0.35);
}

.btn-ruby:hover {
  background: var(--brand-primary-hover);
  box-shadow: 0 6px 20px rgba(189, 0, 23, 0.5);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--brand-secondary-gradient);
  color: #0B0C10;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 192, 66, 0.3);
}

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

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

/* Mobile Drawer Hamburger Button */
.drawer-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}

@media (min-width: 992px) {
  .drawer-toggle {
    display: none;
  }
}

.drawer-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* --- MOBILE DRAWER NAVIGATION --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.mobile-drawer.active {
  visibility: visible;
  opacity: 1;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--surface-card);
  border-left: 1px solid var(--border-subtle);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

.drawer-nav-link:hover, .drawer-nav-link.active {
  background: rgba(245, 192, 66, 0.1);
  color: var(--brand-secondary);
}

.drawer-footer-actions {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding: 3.5rem 0 4rem;
  background: radial-gradient(circle at 50% 10%, rgba(153, 0, 18, 0.25) 0%, rgba(11, 12, 16, 1) 75%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 192, 66, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--brand-secondary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title span.highlight-gold {
  background: var(--brand-secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.highlight-ruby {
  color: var(--text-ruby);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-badge-item strong {
  color: var(--text-primary);
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-ruby);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 30px rgba(153, 0, 18, 0.2);
}

.hero-visual-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(11, 12, 16, 0.95) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

/* --- QUICK STATS TICKER --- */
.stats-bar {
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.25rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-secondary);
  line-height: 1.2;
}

.stat-val.green {
  color: var(--brand-cta);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* --- SECTION HEADERS --- */
.section {
  padding: 4rem 0;
}

.section-header {
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .section-header.flex-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-secondary);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

/* --- INTERACTIVE CATEGORY FILTER CHIPS --- */
.filter-chips {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 2rem;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  text-decoration: none;
}

.filter-chip.active {
  background: var(--brand-primary-gradient);
  color: #FFFFFF;
  border-color: var(--border-ruby);
  box-shadow: 0 2px 10px rgba(153, 0, 18, 0.4);
  text-decoration: none;
}

.hero-card-badge {
  display: none !important;
}

/* --- MULTI-COLOR PROVIDER GAME CARD GRID --- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.game-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

/* Provider-Specific Theming Variations */
.game-card.theme-jili {
  border-color: var(--jili-border);
}
.game-card.theme-jili:hover {
  box-shadow: 0 12px 25px rgba(225, 29, 72, 0.2);
}

.game-card.theme-pg {
  border-color: var(--pg-border);
}
.game-card.theme-pg:hover {
  box-shadow: 0 12px 25px rgba(139, 92, 246, 0.2);
}

.game-card.theme-live {
  border-color: var(--live-border);
}
.game-card.theme-live:hover {
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.2);
}

.game-card.theme-fishing {
  border-color: var(--fishing-border);
}
.game-card.theme-fishing:hover {
  box-shadow: 0 12px 25px rgba(6, 182, 212, 0.2);
}

.game-card.theme-sabong {
  border-color: var(--sabong-border);
}
.game-card.theme-sabong:hover {
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.2);
}

.game-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card-img {
  transform: scale(1.05);
}

.game-badges-top {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.provider-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.provider-badge.badge-jili {
  background: var(--jili-primary);
  color: #FFFFFF;
}

.provider-badge.badge-pg {
  background: var(--pg-primary);
  color: #FFFFFF;
}

.provider-badge.badge-live {
  background: var(--live-primary);
  color: #FFFFFF;
}

.provider-badge.badge-fishing {
  background: var(--fishing-primary);
  color: #0B0C10;
}

.provider-badge.badge-sabong {
  background: var(--sabong-primary);
  color: #0B0C10;
}

.rtp-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.75);
  color: var(--brand-secondary);
  border: 1px solid rgba(245, 192, 66, 0.4);
}

.game-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.85rem;
}

.game-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.game-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.game-meta-item strong {
  color: var(--text-secondary);
}

.game-card-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: auto;
}

/* --- PAYMENT METHODS CAROUSEL / GRID --- */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.payment-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.payment-badge-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.payment-specs-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.payment-specs-list li {
  display: flex;
  justify-content: space-between;
}

.payment-specs-list strong {
  color: var(--text-primary);
}

/* --- CONTENT PROSE & GUIDES --- */
.prose {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  color: var(--text-primary);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h1 { font-size: 2.25rem; margin-top: 0; }
.prose h2 { font-size: 1.75rem; border-bottom: 1px solid var(--border-subtle); padding-bottom: 0.5rem; }
.prose h3 { font-size: 1.35rem; color: var(--brand-secondary); }

.prose p { margin-bottom: 1.25rem; }

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose li { margin-bottom: 0.5rem; }

.prose a {
  color: var(--brand-secondary);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--brand-secondary-hover);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--surface-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.prose th, .prose td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.prose th {
  background: var(--surface-elevated);
  color: var(--text-primary);
  font-weight: 600;
}

/* --- FAQ ACCORDION --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--brand-secondary);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* --- FOOTER SILO DIRECTORY (5-COLUMN MODERN ARCHITECTURE) --- */
.site-footer {
  background: #07080A;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-directory {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-directory {
    grid-template-columns: repeat(5, 1fr);
  }
}

.directory-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-secondary);
  margin-bottom: 1.15rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.directory-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.directory-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.directory-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* --- COMPLIANCE & RESPONSIBLE GAMING BAR --- */
.compliance-bar {
  background: var(--surface-card);
  border: 1px solid var(--border-ruby);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .compliance-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.compliance-badge-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #E53935;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  flex-shrink: 0;
}

.compliance-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.compliance-text strong {
  color: var(--text-primary);
}

.compliance-helpline {
  font-size: 0.85rem;
  color: var(--text-gold);
  margin-top: 0.25rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-badges-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-badge-item {
  height: 28px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-badge-item:hover {
  opacity: 1;
}

/* --- STICKY MOBILE BOTTOM NAVIGATION --- */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(19, 21, 29, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bonus-info {
  display: flex;
  flex-direction: column;
}

.mobile-bonus-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.mobile-bonus-amount {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-secondary);
}

/* --- 21+ AGE GATE ACCESSIBLE DIALOG --- */
.age-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.age-gate-modal.active {
  display: flex;
}

.age-gate-card {
  background: var(--surface-card);
  border: 1px solid var(--border-ruby);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.age-gate-icon {
  width: 64px;
  height: 64px;
  background: #E53935;
  color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 900;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 3px solid #FFFFFF;
}

.age-gate-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.age-gate-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.age-gate-actions {
  display: flex;
  gap: 1rem;
}

.age-gate-actions .btn {
  flex: 1;
}

/* --- COMPARISON TABLE & STEP FLOW STYLES (MATCHING IMAGE 3) --- */
.comparison-card-table {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  border: 1px solid rgba(245, 192, 66, 0.2);
  background: var(--surface-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.comparison-card-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.comparison-card-table th {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 2px solid var(--border-subtle);
}

.comparison-card-table th.col-browser {
  color: var(--text-secondary);
  width: 44%;
}

.comparison-card-table th.col-vs {
  text-align: center;
  color: var(--brand-secondary);
  width: 12%;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.comparison-card-table th.col-app {
  color: var(--brand-cta);
  background: rgba(0, 230, 118, 0.08);
  border-bottom: 2px solid rgba(0, 230, 118, 0.35);
  width: 44%;
}

.comparison-card-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

.comparison-card-table td.vs-divider {
  text-align: center;
  font-size: 0.95rem;
}

.comparison-card-table td.app-advantage {
  color: #FFFFFF;
  font-weight: 600;
  background: rgba(0, 230, 118, 0.04);
}

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

.icon-cross, .cross-icon {
  color: #EF4444;
  font-weight: 800;
  margin-right: 0.5rem;
}

.icon-check, .check-icon {
  color: var(--brand-cta);
  font-weight: 800;
  margin-right: 0.5rem;
}

/* Step Flow Progression Bar */
.step-flow-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow-x: auto;
  white-space: nowrap;
}

.step-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  flex-shrink: 0;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-secondary-gradient);
  color: #0B0C10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.step-arrow {
  color: var(--brand-secondary);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Prose Tables */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
}

.prose th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-weight: 700;
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--border-subtle);
  font-size: 0.92rem;
}

.prose td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

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

.prose tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* --- E-E-A-T AUTHOR & VERIFIED CASINO ANALYST CARD --- */
.eeat-author-card {
  background: var(--surface-card);
  border: 1px solid rgba(245, 192, 66, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 3rem 0 1.5rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

@media (max-width: 640px) {
  .eeat-author-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
  }
  .author-avatar-wrap {
    margin: 0 auto;
  }
  .author-trust-pills {
    justify-content: center;
  }
}

.author-avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  border: 2px solid var(--brand-secondary);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(245, 192, 66, 0.35);
  background: #0B0C10;
}

.author-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-info-wrap {
  display: flex;
  flex-direction: column;
}

.author-name-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.author-verified-badge {
  background: var(--brand-cta);
  color: #0B0C10;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
}

.author-bio-snippet {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.author-trust-pills {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.trust-pill {
  font-size: 0.72rem;
  color: var(--brand-secondary);
  background: rgba(245, 192, 66, 0.08);
  border: 1px solid rgba(245, 192, 66, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* --- CASHIER PIPELINE DASHBOARD (Image 1 Modernization) --- */
.cashier-pipeline-board {
  background: linear-gradient(135deg, rgba(20, 22, 30, 0.95) 0%, rgba(11, 12, 16, 0.98) 100%);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pipeline-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pipeline-icon {
  font-size: 1.5rem;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.3);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--brand-cta);
}

.pipeline-title {
  margin: 0 !important;
  font-size: 1.1rem !important;
  font-weight: 700;
  color: #FFFFFF !important;
  border: none !important;
  padding: 0 !important;
}

.pipeline-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pipeline-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-cta);
  background: rgba(0, 230, 118, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 230, 118, 0.25);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-cta);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-cta);
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.pipeline-tracks {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pipeline-track {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  transition: all var(--transition-normal);
}

.pipeline-track:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(245, 192, 66, 0.2);
}

.track-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.track-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFFFFF;
}

.track-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.track-deposit .track-tag {
  background: rgba(0, 230, 118, 0.15);
  color: var(--brand-cta);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.track-withdraw .track-tag {
  background: rgba(245, 192, 66, 0.15);
  color: var(--brand-secondary);
  border: 1px solid rgba(245, 192, 66, 0.3);
}

.track-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  position: relative;
}

.step-card {
  background: rgba(11, 12, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 230, 118, 0.35);
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.step-counter {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.step-icon {
  font-size: 1.15rem;
}

.step-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.step-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.step-card.step-success {
  border-color: rgba(0, 230, 118, 0.35);
  background: linear-gradient(145deg, rgba(11, 12, 16, 0.8) 0%, rgba(0, 230, 118, 0.06) 100%);
}

.step-card.step-success .step-counter {
  color: var(--brand-cta);
}

.step-card.step-success .step-label {
  color: var(--brand-cta);
}

@media (max-width: 820px) {
  .track-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .track-steps {
    grid-template-columns: 1fr;
  }
}

/* --- BREADCRUMB TRAIL (Clean navigation without the word "Breadcrumbs:") --- */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.85rem 0 1.25rem 0;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

.breadcrumb-trail a {
  color: var(--brand-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.breadcrumb-trail a:hover {
  color: var(--brand-cta);
  text-decoration: underline;
}


