/* ==========================================================================
   JILI18BET DESIGN SYSTEM & THEME
   Tailored for Philippine iGaming Market & Modern Gambling UX
   Compliant with /gambling-website-ui-ux-designer & casino-design-system
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-main: #0a0414;
  --bg-surface: #120924;
  --bg-surface-elevated: #1a0f33;
  --bg-surface-hover: #26164a;
  --bg-overlay: rgba(10, 4, 20, 0.88);

  --gold-300: #fef08a;
  --gold-400: #fde047;
  --gold-500: #ffd700;
  --gold-600: #eab308;
  --gold-700: #ca8a04;
  --gold-glow: 0 0 20px rgba(255, 215, 0, 0.4);

  --accent-cyan: #06b6d4;
  --accent-cyan-glow: 0 0 15px rgba(6, 182, 212, 0.4);
  --accent-emerald: #10b981;
  --accent-emerald-glow: 0 0 15px rgba(16, 185, 129, 0.4);
  --accent-crimson: #ef4444;
  --accent-purple: #8b5cf6;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-gold: #ffd700;

  --border-subtle: rgba(255, 215, 0, 0.15);
  --border-highlight: rgba(255, 215, 0, 0.35);
  --border-glass: rgba(255, 255, 255, 0.08);

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  /* Typography Scale */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows & Glassmorphism */
  --glass-bg: rgba(26, 15, 51, 0.72);
  --glass-border: 1px solid rgba(255, 215, 0, 0.2);
  --glass-blur: blur(12px);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.25);
}

/* Base Styles & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Casino Canvas & Ambient Glow */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(255, 215, 0, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}

/* Container Constraint */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  position: relative;
  z-index: 1;
}

/* Offset for smooth scrolling under sticky header */
section[id],
.tab-pane,
.faq-section[id],
[id] {
  scroll-margin-top: 85px;
}

/* ==========================================================================
   HEADER & NAVIGATION TEMPLATE
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 4, 20, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border-bottom-color: var(--border-highlight);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-md);
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-sm);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-400);
  background: rgba(255, 215, 0, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: var(--gold-500);
  box-shadow: var(--gold-glow);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--gold-500);
  color: #0d0519;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* CTA Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 50%, #d97706 100%);
  color: #0b0416;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  filter: brightness(1.08);
}

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

.btn-secondary:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: var(--gold-500);
  color: var(--gold-400);
  transform: translateY(-2px);
}

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

.btn-pulse {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
  50% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.7); }
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* ==========================================================================
   FIRST CONTAINER: CASINO HERO (MANDATORY CASINO IMAGE BG)
   ========================================================================== */
.casino-hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0 var(--space-2xl);
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 2px solid var(--border-subtle);
}

/* Dark gradient overlay for text readability & casino vignette */
.casino-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 4, 20, 0.6) 0%,
    rgba(10, 4, 20, 0.85) 60%,
    rgba(10, 4, 20, 0.98) 100%
  ),
  radial-gradient(circle at 75% 30%, rgba(255, 215, 0, 0.15), transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid #ef4444;
  color: #fca5a5;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.hero-title {
  font-family: var(--font-family-display);
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-title .text-gold {
  color: var(--gold-400);
  background: linear-gradient(135deg, #fff275 0%, #ffd700 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-xl);
  max-width: 680px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-bg);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
}

.hero-stat-item h4 {
  font-size: 1.5rem;
  color: var(--gold-400);
  font-weight: 800;
  line-height: 1.2;
}

.hero-stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   FLASHY CASINO CONTAINER BACKGROUNDS & CONTAINERS
   ========================================================================== */
.section-wrapper {
  padding: var(--space-3xl) 0;
  position: relative;
  border-bottom: 1px solid var(--border-glass);
}

/* Flashy Container Variants */
.section-bg-neon {
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15) 0%, rgba(10, 4, 20, 0.95) 75%),
              linear-gradient(180deg, #0e051c 0%, #07020e 100%);
}

.section-bg-gold {
  background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 60%),
              #0d0619;
}

.section-bg-dark {
  background: #090312;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-xs);
  padding: 4px 12px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-family-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

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

/* ==========================================================================
   3x2 GRID BOX & PLACECARDS (MANDATORY 3x2 THEN PAGINATION)
   ========================================================================== */
.grid-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.category-filter-tabs {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--bg-surface);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  max-width: 100%;
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-tab.active,
.filter-tab:hover {
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold-400);
}

.filter-tab.active {
  background: var(--gold-500);
  color: #0e051a;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.35);
}

/* Exactly 3x2 Grid Box */
.games-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

/* Game Placecard Component */
.game-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: var(--shadow-card);
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.25);
}

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

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

.game-card:hover .game-thumb-wrap img {
  transform: scale(1.08);
}

.game-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  z-index: 2;
  text-transform: uppercase;
}

.game-overlay-actions {
  position: absolute;
  inset: 0;
  background: rgba(10, 4, 20, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 3;
  backdrop-filter: blur(4px);
}

.game-card:hover .game-overlay-actions {
  opacity: 1;
}

.game-card-body {
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-surface);
}

.game-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.game-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.game-rtp-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Pagination Component */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.page-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.page-btn:hover,
.page-btn.active {
  background: var(--gold-500);
  color: #0f061d;
  border-color: var(--gold-500);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.page-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   UI COMPONENTS & LAYOUT PATTERNS
   Card & Content Bundles, Interactive Grids, Media Elements
   ========================================================================== */

/* Promotions & Bonus Showcase Cards */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.promo-card {
  background: linear-gradient(145deg, #180d32 0%, #100720 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.promo-badge {
  align-self: flex-start;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.promo-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-xs);
}

.promo-highlight {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-400);
  margin-bottom: var(--space-sm);
  line-height: 1.1;
}

.promo-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.promo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Payment Methods Grid */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
}

.payment-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.2s ease;
}

.payment-card:hover {
  border-color: var(--gold-500);
  background: var(--bg-surface-elevated);
}

.payment-icon {
  font-size: 2rem;
  color: var(--gold-400);
  margin-bottom: var(--space-sm);
}

.payment-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.payment-speed {
  font-size: 0.85rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

.payment-limit {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Persona Player Reviews (E-E-A-T Framework) */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.persona-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.persona-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.persona-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold-400);
  font-size: 1.2rem;
}

.persona-meta h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.persona-meta span {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.persona-stars {
  color: var(--gold-400);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.persona-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}

.persona-footer {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* E-E-A-T Comparison Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
}

.casino-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 600px;
}

.casino-table th {
  background: #180c2f;
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 2px solid var(--border-subtle);
}

.casino-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.casino-table tr:hover td {
  background: var(--bg-surface-elevated);
}

/* Interactive FAQ Accordion Component */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--gold-500);
}

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

.faq-icon {
  font-size: 1.25rem;
  color: var(--gold-400);
  transition: transform 0.3s ease;
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-content {
  max-height: 500px;
  padding: 0 var(--space-lg) var(--space-lg);
}

/* E-E-A-T Author & Reviewer Box */
.author-box {
  background: var(--glass-bg);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0b0416;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.author-info h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.author-info .author-role {
  font-size: 0.85rem;
  color: var(--gold-400);
  font-weight: 600;
  margin-bottom: 6px;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   POST / GUIDE PAGE TEMPLATE STYLES
   ========================================================================== */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-2xl);
  padding: var(--space-3xl) 0;
}

.post-main {
  min-width: 0;
}

.post-featured-media {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.post-featured-media img {
  width: 100%;
  height: auto;
  display: block;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.post-body h2 {
  font-family: var(--font-family-display);
  font-size: 1.8rem;
  color: #ffffff;
  margin: var(--space-2xl) 0 var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-glass);
}

.post-body h3 {
  font-size: 1.35rem;
  color: var(--gold-400);
  margin: var(--space-xl) 0 var(--space-sm);
}

.post-body p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.post-body ul, .post-body ol {
  margin: var(--space-md) 0 var(--space-lg) var(--space-xl);
  color: var(--text-secondary);
  font-size: 1rem;
}

.post-body li {
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

.post-contextual-media {
  margin: var(--space-2xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-glow);
}

.post-contextual-media img {
  width: 100%;
  height: auto;
  display: block;
}

.media-caption {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-surface);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sidebar Styles */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--gold-500);
}

/* ==========================================================================
   FUNCTIONAL PAGE STYLES (TABS, FORMS, APK DOWNLOAD)
   ========================================================================== */
.functional-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.functional-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.functional-tab-btn.active,
.functional-tab-btn:hover {
  background: var(--gold-500);
  color: #0b0416;
  border-color: var(--gold-500);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step By Step Guide Box */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.step-card {
  display: flex;
  gap: var(--space-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: #0d0519;
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: var(--space-xs);
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER TEMPLATE (RESPONSIBLE GAMING 21+, COMPLIANCE & LINKS)
   ========================================================================== */
.site-footer {
  background: #05020a;
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: var(--space-md);
  max-width: 380px;
}

.footer-heading {
  font-family: var(--font-family-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-md);
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold-500);
  margin-top: 6px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

/* Compliance & Responsible Gaming Bar */
.footer-compliance-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.age-badge-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.age-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 2px solid #ef4444;
  color: #ef4444;
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compliance-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.5;
}

.compliance-logos {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.compliance-logo-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
}

.compliance-logo-pill:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-glass);
  font-size: 0.8rem;
  color: #64748b;
}

/* Mobile Bottom Navigation Bar (App Experience) */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(10, 4, 20, 0.96);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--border-subtle);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  gap: 3px;
  transition: all 0.2s ease;
  min-width: 48px;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--gold-400);
}

.bottom-nav-icon {
  font-size: 1.25rem;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (MOBILE FIRST & TABLET ADJUSTMENTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .games-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .post-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }
  .main-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: #0d0619;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.9);
  }
  .main-nav.open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  .nav-link {
    width: 100%;
    font-size: 1.05rem;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .games-grid-3x2 {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 64px; /* Space for mobile bottom nav */
  }
}

/* ==========================================================================
   INTERACTIVE SITEMAP & TOPICAL SILO STYLES
   ========================================================================== */
.sitemap-search-wrap {
  max-width: 640px;
  margin: var(--space-xl) auto 0;
  position: relative;
}

.sitemap-search-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.sitemap-search-input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
}

.sitemap-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: var(--gold-400);
  pointer-events: none;
}

.silo-block {
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  position: relative;
  transition: border-color 0.3s ease;
}

.silo-block:hover {
  border-color: var(--border-subtle);
}

.silo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.silo-title-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.silo-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-400);
}

.silo-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.silo-hub-link {
  font-size: 0.85rem;
  color: var(--gold-400);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
}

.silo-hub-link:hover {
  text-decoration: underline;
}

.silo-count-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.sitemap-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-md);
}

.sitemap-card {
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.sitemap-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-500);
  background: var(--bg-surface-hover);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 215, 0, 0.15);
}

.sitemap-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.sitemap-card-title {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.sitemap-card:hover .sitemap-card-title {
  color: var(--gold-400);
}

.intent-pill {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  letter-spacing: 0.4px;
}

.intent-transactional {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.intent-commercial {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.intent-informational {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.intent-trust {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.sitemap-card-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.sitemap-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-xs);
}

.sitemap-card-url {
  color: var(--gold-400);
  font-family: monospace;
}

/* ==========================================================================
   SILO & HUB-SPOKE INTERNAL LINKING STYLES
   ========================================================================== */
.breadcrumb-nav {
  background: rgba(11, 4, 22, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-list a {
  color: var(--gold-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.breadcrumb-list .sep {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.breadcrumb-list .current {
  color: var(--text-secondary);
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* In-Content Silo Navigation Box */
.silo-cluster-box {
  background: linear-gradient(145deg, rgba(26, 12, 46, 0.8), rgba(45, 20, 80, 0.6));
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.silo-cluster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.silo-cluster-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.silo-cluster-hub-link {
  color: var(--gold-400);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  transition: all 0.2s ease;
}

.silo-cluster-hub-link:hover {
  background: var(--gold-500);
  color: #0b0416;
}

.silo-spokes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.silo-spoke-item a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.silo-spoke-item a:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold-500);
  color: var(--gold-400);
  transform: translateX(3px);
}

.silo-spoke-bullet {
  color: var(--gold-400);
  font-size: 1rem;
}

/* Sidebar Sister Spokes */
.sidebar-silo-spokes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-silo-spokes li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  transition: all 0.2s ease;
}

.sidebar-silo-spokes li a:hover {
  color: var(--gold-400);
  background: rgba(255, 215, 0, 0.08);
  border-color: rgba(255, 215, 0, 0.3);
}

.sidebar-silo-spokes li a.active {
  color: var(--gold-400);
  border-color: var(--gold-500);
  background: rgba(255, 215, 0, 0.12);
  font-weight: 700;
}

/* Table links on Homepage */
.table-link {
  color: var(--gold-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.table-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Game Title & Guide link on Category / Hub cards */
.game-title-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.game-title-link:hover {
  color: var(--gold-400);
}

.game-guide-text-link {
  display: inline-block;
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
  text-decoration: none;
}

.game-guide-text-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

