/* ==========================================================================
   JLJL33 MOBILE APP-SHELL DESIGN SYSTEM
   Signature Grey Casino Palette Architecture
   Reverse-Engineered & Enhanced from jl-bet.ph & ACE58 UI Tokens
   Target Domain: jljl33bet.org | Promo: https://e5q7w3k.com?ch=72681
   ========================================================================== */

:root {
  /* Body & App-Shell Foundations */
  --bg-backdrop: #1a1a1a;
  --bg: #2b2b2b;
  --surface: #383838;
  --surface2: #444444;
  --surface-card: #343434;
  --surface-hover: #4a4a4a;
  
  /* Borders & Dividers */
  --border: #4a4a4a;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-focus: #FFB800;

  /* Typography & Text Tokens */
  --text: #f0f0f0;
  --text-muted: #a0a0aa;
  --text-dark: #121212;

  /* Accent & Gradients */
  --gold: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
  --gold-hover: linear-gradient(135deg, #FFE033 0%, #FFC84A 100%);
  --gold-solid: #FFB800;
  --cta-red: #E02424;
  --cta-red-hover: #C81E1E;
  --cta-green: #00C853;
  --accent-cyan: #06B6D4;

  /* Multi-Studio Provider Theming Badges */
  --badge-jili-bg: #E11D48;
  --badge-jili-accent: #F59E0B;
  --badge-fc-bg: #D97706;
  --badge-fc-accent: #059669;
  --badge-pp-bg: #EA580C;
  --badge-pp-accent: #7C3AED;
  --badge-pg-bg: #8B5CF6;
  --badge-pg-accent: #FB923C;
  --badge-live-bg: #2563EB;
  --badge-live-accent: #E2E8F0;

  /* Dimensions & Spacing */
  --shell-max-w: 430px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
  --radius-shell: 20px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;

  /* Elevation Shadows */
  --shadow-shell: 0 0 35px rgba(0, 0, 0, 0.95);
  --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 4px 15px rgba(255, 184, 0, 0.4);
  --shadow-red: 0 4px 15px rgba(224, 36, 36, 0.4);
}

/* Base Reset & Desktop Background */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-backdrop);
}

body {
  background-color: var(--bg-backdrop);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* ==========================================================================
   APP-SHELL CONTAINER (Max 430px Native Mobile Shell Simulation)
   ========================================================================== */
.app-shell {
  width: 100%;
  max-width: var(--shell-max-w);
  background-color: var(--bg);
  min-height: 100vh;
  box-shadow: var(--shadow-shell);
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 74px; /* Space for fixed bottom navigation */
}

/* ==========================================================================
   HEADER COMPONENT (Sticky Top Header .hdr)
   STRICT DOM RULE: NO <h1>-<h6> IN HEADER!
   ========================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(43, 43, 43, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hdr-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr-logo-link {
  display: flex;
  align-items: center;
}

.hdr-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.hdr-brand-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-solid);
  background: rgba(255, 184, 0, 0.12);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 184, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-login {
  background: var(--surface2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: var(--surface-hover);
  color: #fff;
}

.btn-register {
  background: var(--cta-red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-red);
  transition: all 0.2s ease;
}

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

/* ==========================================================================
   TOP NOTIFICATION / MARQUEE TICKER BAR
   STRICT DOM RULE: NO <h1>-<h6> IN NOTIFICATION BAR!
   ========================================================================== */
.ticker-bar {
  background: #222222;
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-icon {
  color: var(--gold-solid);
  font-size: 13px;
  flex-shrink: 0;
}

.ticker-content {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   HERO CONTAINER (First Content Container)
   MUST FEATURE IMMERSIVE CASINO BACKGROUND + DARK OVERLAY
   FIRST HEADING <h1> LIVES HERE!
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #222222;
  background-image: linear-gradient(180deg, rgba(43,43,43,0.5) 0%, rgba(35,35,35,0.92) 80%, #2b2b2b 100%), url('/assets/images/hero-banner.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 24px 16px 20px 16px;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.badge-21plus {
  background: rgba(225, 29, 72, 0.2);
  color: #ff4d6d;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(225, 29, 72, 0.4);
}

.badge-verified {
  background: rgba(0, 200, 83, 0.18);
  color: #22c55e;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

/* <h1> STRICT DOM FIRST HEADING */
.hero-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 13.5px;
  color: #d1d5db;
  line-height: 1.48;
  margin-bottom: 16px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-cta-group {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.btn-hero-primary {
  flex: 1;
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 14px;
  padding: 13px 16px;
  border-radius: var(--radius-pill);
  text-align: center;
  box-shadow: var(--shadow-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease;
}

.btn-hero-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: var(--surface2);
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
  padding: 13px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-secondary:hover {
  background: var(--surface-hover);
}

/* Quick Trust Metrics Pills */
.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  padding: 8px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-metric-item {
  text-align: center;
}

.metric-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-solid);
  display: block;
}

.metric-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   MEGA JACKPOT POOL BOX & LIVE WINS TICKER (Image 3 Component)
   ========================================================================== */
.jackpot-container {
  padding: 16px 14px 10px 14px;
}

.jackpot-pool-box {
  background: linear-gradient(135deg, #241400 0%, #3d2300 50%, #1f1200 100%);
  border: 1.5px solid #FFB800;
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.25), inset 0 0 15px rgba(255, 184, 0, 0.15);
}

.jackpot-pool-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.jackpot-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.jackpot-badge-icon {
  font-size: 18px;
}

.jackpot-label {
  font-size: 13px;
  font-weight: 800;
  color: #FFD700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.jackpot-digits {
  font-size: 28px;
  font-weight: 900;
  font-family: 'SF Pro Display', -apple-system, system-ui, monospace;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFD700 60%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.jackpot-subnote {
  font-size: 11px;
  color: #FBBF24;
  font-weight: 600;
}

/* Live Real-Time Wins Ticker */
.live-wins-bar {
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.live-wins-icon {
  color: #10B981;
  font-size: 12px;
  animation: pulse-dot 1.5s infinite;
}

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

.live-wins-content {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.live-wins-content .win-player {
  color: #fff;
  font-weight: 700;
}

.live-wins-content .win-amt {
  color: #10B981;
  font-weight: 800;
}

.live-wins-content .win-game {
  color: #FFB800;
  font-weight: 700;
}

/* Quick Category Navigation Grid (2 rows x 4 columns = 8 cards) */
.quick-category-section {
  padding: 8px 14px 14px 14px;
}

.quick-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.quick-cat-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
}

.quick-cat-card:hover {
  background: var(--surface-hover);
  border-color: var(--gold-solid);
  transform: translateY(-2px);
}

.quick-cat-icon {
  font-size: 22px;
  margin-bottom: 4px;
  display: block;
}

.quick-cat-title {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.quick-cat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--cta-red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 5px rgba(224, 36, 36, 0.4);
}

/* ==========================================================================
   INTERACTIVE 3x2 GAME GRID CONTAINER
   3 Columns x 2 Rows = 6 Items Per Page + Category Chips + Pagination
   ========================================================================== */
.games-section {
  padding: 18px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-tag {
  font-size: 11px;
  color: var(--gold-solid);
  font-weight: 600;
}

/* Category Filter Chips */
.filter-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.chip-btn.active, .chip-btn:hover {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold-solid);
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.3);
}

/* 3x2 Grid Box: 3 cols x 2 rows = 6 items per page */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 14px;
}

/* Game Placecard */
.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

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

.game-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #1e1e1e;
  overflow: hidden;
}

.game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Multi-Studio Provider Theming Badges */
.studio-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.badge-jili {
  background: var(--badge-jili-bg);
  color: #ffffff;
  border: 1px solid var(--badge-jili-accent);
}

.badge-fc {
  background: var(--badge-fc-bg);
  color: #ffffff;
  border: 1px solid var(--badge-fc-accent);
}

.badge-pp {
  background: var(--badge-pp-bg);
  color: #ffffff;
  border: 1px solid var(--badge-pp-accent);
}

.badge-pg {
  background: var(--badge-pg-bg);
  color: #ffffff;
  border: 1px solid var(--badge-pg-accent);
}

.badge-live {
  background: var(--badge-live-bg);
  color: #ffffff;
  border: 1px solid var(--badge-live-accent);
}

.rtp-pill {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.75);
  color: #4ade80;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}

.game-info {
  padding: 7px 6px 6px 6px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

/* Dual Buttons on Every Game Placecard */
.game-dual-btns {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}

/* Button A (Gold Gradient): Play Now -> Promo Link */
.btn-play-now {
  background: var(--gold);
  color: var(--text-dark);
  font-size: 10.5px;
  font-weight: 800;
  padding: 5px 4px;
  border-radius: 6px;
  text-align: center;
  transition: opacity 0.15s ease;
  box-shadow: 0 2px 6px rgba(255, 184, 0, 0.3);
}

.btn-play-now:hover {
  background: var(--gold-hover);
  color: #000;
}

/* Button B (Ghost / Outline): Read Guide -> Internal Spoke Link */
.btn-read-guide {
  background: transparent;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 4px;
  border-radius: 6px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.15s ease;
}

.btn-read-guide:hover {
  color: #ffffff;
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

/* Grid Pagination Controls */
.grid-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 4px;
}

.btn-page {
  background: var(--surface2);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: background 0.15s ease;
}

.btn-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-page:not(:disabled):hover {
  background: var(--surface-hover);
  color: #fff;
}

.page-indicator {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   CONTENT / ARTICLE BODY CONTAINER
   (Formatted Markdown with High-Contrast Typography, Callouts & Images)
   ========================================================================== */
.content-body {
  padding: 20px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg);
}

.content-body h2 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 22px 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}

.content-body h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gold-solid);
  margin: 16px 0 8px 0;
}

.content-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 12px 0 6px 0;
}

.content-body p {
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 12px;
}

.content-body ul, .content-body ol {
  font-family: inherit;
  padding-left: 22px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: #e0e0e0;
}

.content-body li {
  font-family: inherit;
  margin-bottom: 8px;
  line-height: 1.55;
  color: #e0e0e0;
}

.content-body li > ul, .content-body li > ol {
  margin-top: 6px;
  margin-bottom: 6px;
  padding-left: 18px;
}

.content-body strong {
  color: #ffffff;
  font-weight: 700;
}

.content-body code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-solid);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.table-wrap, .table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  -webkit-overflow-scrolling: touch;
}

.content-table, .table-responsive table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.content-table th, .table-responsive table th {
  background: #202020;
  color: var(--gold-solid);
  padding: 10px 10px;
  font-weight: 800;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 11px;
}

.content-table td, .table-responsive table td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  vertical-align: middle;
}

.content-table tbody tr:nth-child(even), .table-responsive table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.content-table tbody tr:hover, .table-responsive table tbody tr:hover {
  background: rgba(255, 184, 0, 0.06);
}

.content-table tr:last-child td, .table-responsive table tr:last-child td {
  border-bottom: none;
}

/* Inline Graphic Showcase */
.media-container {
  margin: 16px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.media-image {
  width: 100%;
  height: auto;
  display: block;
}

.media-caption {
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 7px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-subtle);
  font-style: italic;
}

/* Callout Alert Boxes */
.callout {
  padding: 12px 14px;
  border-radius: 10px;
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.5;
  border-left: 4px solid var(--gold-solid);
  background: rgba(255, 184, 0, 0.08);
}

.callout-title {
  font-weight: 700;
  color: var(--gold-solid);
  margin-bottom: 4px;
  font-size: 13.5px;
}

.callout-success {
  border-left-color: var(--cta-green);
  background: rgba(0, 200, 83, 0.08);
}
.callout-success .callout-title {
  color: #4ade80;
}

/* FAQ Accordion Section */
.faq-wrap {
  margin-top: 20px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-header {
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--surface);
}

.faq-header:hover {
  background: var(--surface2);
}

.faq-icon {
  font-size: 14px;
  color: var(--gold-solid);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 14px 12px 14px;
  font-size: 13px;
  color: #cccccc;
  line-height: 1.55;
  display: none;
}

.faq-item.active .faq-content {
  display: block;
}

/* ==========================================================================
   COMPLIANCE COMPONENTS (NON-NEGOTIABLE E-E-A-T & RESPONSIBLE GAMING)
   ========================================================================== */
/* Author E-E-A-T Block */
.eeat-author-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin: 18px 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-solid);
  flex-shrink: 0;
  background: #252525;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.author-meta {
  flex: 1;
}

.author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.author-title {
  font-size: 11px;
  color: var(--gold-solid);
  margin-bottom: 4px;
}

.author-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Payment & Security Trust Badges */
.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
}

.trust-badge-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 10px;
  font-size: 11px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trust-badge-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

/* Mandatory Responsible Gaming Footer Block */
.responsible-gaming-block {
  background: #222222;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin: 20px 0 10px 0;
  text-align: center;
}

.rg-title {
  font-size: 13px;
  font-weight: 800;
  color: #ff4d6d;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rg-text {
  font-size: 11.5px;
  color: #a0a0aa;
  line-height: 1.45;
  margin-bottom: 10px;
}

.rg-helplines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 8px;
  font-size: 11px;
  color: #d1d5db;
}

.rg-helplines strong {
  color: var(--gold-solid);
}

/* Site Footer */
.site-footer {
  padding: 16px 14px 24px 14px;
  text-align: center;
  font-size: 11px;
  color: #71717a;
  background: #1f1f1f;
  border-top: 1px solid var(--border-subtle);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-link {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--gold-solid);
}

.footer-legal {
  line-height: 1.5;
  max-width: 380px;
  margin: 0 auto;
}

/* ==========================================================================
   FIXED BOTTOM NAVIGATION (.bottom-nav)
   EXACTLY 5 STICKY TABS FIXED TO THE BOTTOM OF THE 430px SHELL
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell-max-w);
  height: 64px;
  background: rgba(35, 35, 35, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 60;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
}

.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.15s ease;
  padding: 4px 0;
  position: relative;
}

.nav-tab:hover, .nav-tab.active {
  color: var(--gold-solid);
}

.nav-icon {
  font-size: 18px;
  margin-bottom: 2px;
}

.nav-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.nav-tab.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 2px;
  background: var(--gold-solid);
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   21+ AGE GATE MODAL
   STRICT DOM RULE: NO <h1>-<h6> TAGS IN AGE GATE MODAL!
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #2b2b2b;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 20px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  animation: modalScale 0.2s ease-out;
}

@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-badge {
  display: inline-block;
  background: rgba(225, 29, 72, 0.2);
  color: #ff4d6d;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(225, 29, 72, 0.4);
  margin-bottom: 12px;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 13px;
  color: #c4c4cc;
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 10px;
}

.modal-btn-confirm {
  flex: 1;
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 13.5px;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
}

.modal-btn-exit {
  flex: 1;
  background: var(--surface2);
  color: var(--text);
  font-weight: 600;
  font-size: 13.5px;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   CONTENT CTA BUTTON GROUPS (Matched to Header Login & Register Pill Design)
   ========================================================================== */
.hero-cta-group,
.content-cta-group,
.content-cta-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  flex-wrap: wrap;
}

.content-cta-box {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 16px 14px;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.content-cta-box p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

/* Base button styles matching header Login & Register */
.btn,
.content-body a.btn,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
  text-align: center;
}

/* Primary CTA: Glowing Red Pill Button (like Header Register) */
.btn-primary,
.content-body a.btn-primary {
  background: var(--cta-red);
  color: #ffffff !important;
  box-shadow: var(--shadow-red);
  border: none;
}

.btn-primary:hover,
.content-body a.btn-primary:hover {
  background: var(--cta-red-hover);
  transform: translateY(-1px);
  color: #ffffff !important;
}

/* Secondary CTA: Sleek Dark Grey Pill Button (like Header Login) */
.btn-secondary,
.content-body a.btn-secondary {
  background: var(--surface2);
  color: var(--text) !important;
  border: 1px solid var(--border);
}

.btn-secondary:hover,
.content-body a.btn-secondary:hover {
  background: var(--surface-hover);
  color: #ffffff !important;
  border-color: #666666;
  transform: translateY(-1px);
}

/* In-text CTA Promo Links */
.btn-link-promo {
  display: inline-flex;
  align-items: center;
  background: var(--cta-red);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  margin: 0 4px;
  box-shadow: var(--shadow-red);
  vertical-align: middle;
}

.btn-link-promo:hover {
  background: var(--cta-red-hover);
  color: #ffffff !important;
}
