/* ==========================================================================
   888PHP Mobile App Shell Design System (Reverse-Engineered from jl-bet.ph)
   Compliant with [casino-design-system] & [ace58-ui-guidance]
   Tokens: --primary, --accent, --surface, --bg, --bg-outer
   Target: WCAG 2.2 AA Accessibility & Native App Touch Mechanics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  /* ---------------- Core Extracted Brand Tokens ---------------- */
  --primary: #1F7AED;                 /* Dominant Electric Blue */
  --primary-hover: #1565C0;
  --primary-light: rgba(31, 122, 237, 0.15);
  
  --accent: #F9BB22;                  /* Warm High-Conversion Gold */
  --accent-hover: #E5A817;
  --accent-glow: rgba(249, 187, 34, 0.4);

  --surface: #101A43;                 /* Card & Surface Layer */
  --surface-elevated: #1F2D52;
  --surface-hover: #263B6B;
  
  --bg: #0C132F;                      /* App Base Canvas */
  --bg-void: #02040A;                 /* Deep Contrast Void */
  --bg-outer: #1a1a1a;                /* Desktop Viewport Outer Canvas */

  /* Semantic & Trust Palette */
  --cyan: #21C7F3;                    /* Secondary Neon Cyan */
  --gold-glow: #FFB853;
  --color-success: #3EE89A;           /* Payment Verified Green */
  --color-warning: #FF9800;           /* 21+ Age Badge Warning */
  --color-danger: #FD2F2F;            /* Hot Promo Red */
  --color-border: #1E3A6E;
  --color-border-glow: rgba(33, 199, 243, 0.35);

  /* Typography Colors */
  --color-text-main: #FFFFFF;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #C8D6EC;
  --color-text-muted: #8A99AD;
  --color-text-inverse: #0C132F;

  /* Aliases for backwards compatibility */
  --color-primary: var(--primary);
  --color-primary-hover: var(--primary-hover);
  --color-secondary: var(--accent);
  --color-secondary-hover: var(--accent-hover);
  --color-accent: var(--accent);
  --color-accent-hover: var(--accent-hover);
  --color-cyan: var(--cyan);
  --color-gold: var(--gold-glow);
  --color-bg-void: var(--bg-void);
  --color-bg-base: var(--bg);
  --color-surface-card: var(--surface);
  --color-surface-elevated: var(--surface-elevated);
  --color-surface-hover: var(--surface-hover);

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #1F7AED 0%, #21C7F3 100%);
  --gradient-cta: linear-gradient(135deg, #F9BB22 0%, #FF8F00 100%);
  --gradient-card: linear-gradient(180deg, #101A43 0%, #0C132F 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(31, 122, 237, 0.25) 0%, transparent 70%);

  /* Typography Scales (Rank 1 Search: Inter + Plus Jakarta Sans) */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.8125rem;  /* 13px */
  --text-base: 0.9375rem;/* 15px */
  --text-md: 1.000rem;   /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.250rem;   /* 20px */
  --text-2xl: 1.500rem;  /* 24px */

  /* Layout, Radius & Elevation */
  --container-max: 1200px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 8px 24px rgba(2, 4, 10, 0.7);
  --shadow-cta: 0 4px 16px rgba(249, 187, 34, 0.45);
  --shadow-floating: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* ---------------- Global Resets ---------------- */
*, *::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);
  background-color: var(--bg-outer); /* Desktop outer canvas #1a1a1a */
  color: var(--color-text-main);
  line-height: 1.55;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

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

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

/* ==========================================================================
   1. Mobile App Shell Layout (Desktop centered max 430px vs Full Mobile)
   ========================================================================== */

.app-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(31, 122, 237, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 100% 40%, rgba(33, 199, 243, 0.1) 0%, transparent 45%);
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  padding-bottom: 76px; /* Reserved clearance for sticky .bottom-nav */
  overflow-x: hidden;
}

@media (max-width: 430px) {
  body {
    background-color: var(--bg);
  }
  .app-shell {
    max-width: 100%;
    box-shadow: none;
  }
}

.shell-container {
  width: 100%;
  padding: 0 14px;
}

/* Compatibility container for full-width views */
.container {
  width: 100%;
  padding: 0 14px;
  margin: 0 auto;
}

/* ==========================================================================
   2. Sticky Header (.hdr)
   ========================================================================== */

.hdr {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 60px;
  background: rgba(16, 26, 67, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

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

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

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

.hdr-btn-login {
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.hdr-btn-login:hover, .hdr-btn-login:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--cyan);
  outline: 2px solid var(--cyan);
}

.hdr-btn-register {
  padding: 6px 16px;
  background: var(--gradient-cta);
  color: #0c132f;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(249, 187, 34, 0.4);
  transition: all 0.2s ease;
}

.hdr-btn-register:hover, .hdr-btn-register:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(249, 187, 34, 0.6);
  outline: 2px solid #fff;
}

/* ==========================================================================
   3. Notification & 21+ Disclaimer (Strictly Zero Heading Tags)
   ========================================================================== */

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(249, 187, 34, 0.14);
  color: var(--accent);
  border: 1px solid rgba(249, 187, 34, 0.35);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pill-badge-red {
  background: rgba(253, 47, 47, 0.16);
  color: #ff5252;
  border-color: rgba(253, 47, 47, 0.35);
}

.pill-badge-green {
  background: rgba(62, 232, 154, 0.14);
  color: var(--color-success);
  border-color: rgba(62, 232, 154, 0.35);
}

.pill-badge-cyan {
  background: rgba(33, 199, 243, 0.14);
  color: var(--cyan);
  border-color: rgba(33, 199, 243, 0.35);
}

.notification-bar {
  background: rgba(16, 26, 67, 0.95);
  border-bottom: 1px solid var(--color-border);
  padding: 8px 14px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-bar p {
  margin: 0;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.75rem;
}

.disclaimer-banner {
  background: rgba(12, 19, 47, 0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin: 14px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.disclaimer-banner p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   4. Hero Section & Heading Architecture (Strictly <h1> First)
   ========================================================================== */

.hero-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  margin: 16px 0;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(33, 199, 243, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

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

.hero-lead {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.hero-sublead {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-banner-frame {
  margin-top: 14px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(30, 58, 110, 0.4);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 26, 67, 0.7);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.trust-item .icon {
  color: var(--color-success);
  font-weight: 800;
}

/* ==========================================================================
   5. Interactive 3x2 Game Grids
   ========================================================================== */

.section {
  margin: 24px 0;
}

.section-header {
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.section-desc {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

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

.game-card-3x2:hover, .game-card-3x2:focus-within {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(33, 199, 243, 0.2);
}

.game-card-3x2-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #02040a;
}

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

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

.game-card-3x2-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(2, 4, 10, 0.85);
  backdrop-filter: blur(4px);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(249, 187, 34, 0.4);
  z-index: 2;
}

.game-card-3x2-rtp {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(14, 159, 110, 0.9);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}

.game-card-3x2-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 8px;
}

.game-card-3x2-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-3x2-provider {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.game-card-3x2-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 4px;
}

.btn-play-gold {
  background: var(--gradient-cta);
  color: #0c132f;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 0;
  text-align: center;
  border-radius: var(--radius-sm);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 36px;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(249, 187, 34, 0.3);
}

.btn-play-gold:hover, .btn-play-gold:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 187, 34, 0.5);
  outline: 2px solid #fff;
}

.btn-guide-outline {
  background: rgba(31, 45, 82, 0.4);
  color: var(--cyan);
  border: 1px solid var(--cyan);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 6px 0;
  text-align: center;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-guide-outline:hover, .btn-guide-outline:focus-visible {
  background: rgba(33, 199, 243, 0.15);
  color: #fff;
  outline: 2px solid var(--cyan);
}

/* ==========================================================================
   6. General Button & Component Primitives (WCAG 2.2 AA Focus)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 44px; /* Touch target minimum */
}

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary-cta {
  background: var(--gradient-cta);
  color: #02040A;
  box-shadow: var(--shadow-cta);
}

.btn-primary-cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(249, 187, 34, 0.6);
}

.btn-outline {
  background: rgba(31, 45, 82, 0.6);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  background: var(--surface-elevated);
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8125rem;
  min-height: 36px;
}

/* Category Cards */
.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

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

.category-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-icon-wrapper {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(2, 4, 10, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.category-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.category-info p {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.category-links {
  display: flex;
  gap: 8px;
}

.category-links .btn {
  flex: 1;
}

/* Promo Cards */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.promo-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.promo-banner {
  aspect-ratio: 16 / 7;
  background: #02040A;
}

.promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
}

.promo-desc {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

/* Guide Cards */
.guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.guide-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.guide-card p {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.guide-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.step-num {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stat Grid (Spoke Pages) */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.stat-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.stat-val {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* E-E-A-T Author Block */
.author-card {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.author-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
}

.author-meta h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.author-role {
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 600;
}

.author-bio {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.faq-question {
  width: 100%;
  padding: 14px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 2px solid var(--cyan);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--cyan);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  display: none;
  padding: 0 14px 14px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item.active .faq-answer {
  display: block;
  padding-top: 12px;
}

/* ==========================================================================
   7. Responsible Gaming & Compliance Footer
   ========================================================================== */

.responsible-box {
  background: rgba(2, 4, 10, 0.6);
  border: 1px solid rgba(249, 187, 34, 0.35);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.age-badge {
  background: var(--accent);
  color: #02040A;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.responsible-text p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 4px;
}

.responsible-text a {
  color: var(--cyan);
  text-decoration: underline;
}

.footer {
  background: rgba(2, 4, 10, 0.95);
  border-top: 1px solid var(--color-border);
  padding: 24px 0 16px;
  margin-top: 32px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.775rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.footer-links-col {
  margin-bottom: 16px;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

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

.footer-links a {
  font-size: 0.775rem;
  color: var(--color-text-muted);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  margin-top: 16px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   8. Fixed Bottom Bar (.bottom-nav)
   ========================================================================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 64px;
  background: rgba(16, 26, 67, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 1000;
  padding: 0 4px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

@media (max-width: 430px) {
  .bottom-nav {
    left: 0;
    transform: none;
    max-width: 100%;
  }
}

.bottom-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  height: 100%;
  gap: 3px;
  transition: all 0.2s ease;
  text-decoration: none;
  min-height: 48px;
  position: relative;
}

.bottom-nav-tab:hover, .bottom-nav-tab:focus-visible {
  color: var(--color-text-main);
  outline: none;
}

.bottom-nav-tab.active {
  color: var(--cyan);
}

.bottom-nav-tab.active::before {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 3px;
  background: var(--cyan);
  border-radius: 0 0 4px 4px;
}

.bottom-nav-tab .tab-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.bottom-nav-tab-highlight {
  color: var(--accent);
}

/* ==========================================================================
   9. Age-Gate Modal Component (#age-gate-modal)
   ========================================================================== */

.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.age-gate-card {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);
}

.age-gate-icon {
  font-size: 2.5rem;
  margin-bottom: 6px;
}

.age-gate-heading {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin: 10px 0 8px;
}

.age-gate-card p {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-bottom: 18px;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
