/* ==========================================================================
   5DJLBet Design System & UI Architecture
   Compliant with /casino-design-system and /ace58-ui-guidance
   Authentic Palette from brand_palette.json (Champagne Gold / Obsidian Dark)
   ========================================================================== */

:root {
  /* Dynamic Brand Color Tokens (brand_palette.json) */
  --brand-primary: #ca8a04;
  --brand-primary-light: #fde68a;
  --brand-primary-dark: #92400e;
  --brand-secondary: #00b14f;
  --brand-cta: #ca8a04;
  --brand-cta-hover: #fde68a;
  --brand-cta-text: #18181b;

  /* Surfaces & Containers */
  --surface-bg: #18181b;
  --surface-card: #27272a;
  --surface-card-hover: #323238;
  --surface-card-light: #1f1f23;
  --surface-border: #3f3f46;
  --surface-border-gold: rgba(202, 138, 4, 0.4);
  --surface-navbar: #0f0f11;
  --surface-footer: #0c0c0e;
  --surface-overlay: rgba(0, 0, 0, 0.82);

  /* Typography Colors */
  --text-primary: #fafafa;
  --text-secondary: #d4d4d8;
  --text-muted: #a1a1aa;
  --text-inverse: #18181b;

  /* Status & Payment Accents */
  --color-gcash: #00b14f;
  --color-maya: #111116;
  --color-grabpay: #00b14f;
  --color-warning: #f59e0b;
  --color-danger-age21: #dc2626;
  --color-info-bank: #1a73e8;

  /* Multi-Studio Provider Theming (Colorway Badges) */
  --provider-jili-bg: #e11d48;
  --provider-jili-border: #f59e0b;
  --provider-fc-bg: #d97706;
  --provider-fc-border: #059669;
  --provider-pragmatic-bg: #ea580c;
  --provider-pragmatic-border: #7c3aed;
  --provider-pgsoft-bg: #8b5cf6;
  --provider-pgsoft-border: #fb923c;
  --provider-live-bg: #2563eb;
  --provider-live-border: #e2e8f0;
  --provider-arcade-bg: #06b6d4;
  --provider-arcade-border: #14b8a6;

  /* Layout & Sizing Tokens */
  --container-max: 1200px;
  --header-height: 72px;
  --bottom-nav-height: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  /* Typography Stacks */
  --font-heading: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 20px rgba(202, 138, 4, 0.3);
  --shadow-gold: 0 4px 18px rgba(202, 138, 4, 0.25);
}

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

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

body {
  background-color: var(--surface-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--brand-primary-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-primary-light);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-top: 2rem; margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); margin-top: 1.5rem; margin-bottom: 0.75rem; }

/* Responsive Container Framework */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   Header & Desktop Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--surface-navbar);
  border-bottom: 2px solid var(--surface-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

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

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand-primary-light);
  letter-spacing: 0.05em;
}

.brand-logo-text span {
  color: var(--brand-secondary);
}

/* Desktop Nav Menu */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary-light);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 110;
}

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

.dropdown-item {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--surface-card-hover);
  color: var(--brand-primary-light);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-size: 0.95rem;
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #b47803 100%);
  color: var(--brand-cta-text);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: var(--brand-primary-light);
  color: var(--brand-cta-text);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-primary-light);
  border: 2px solid var(--brand-primary);
}

.btn-secondary:hover {
  background: rgba(202, 138, 4, 0.15);
  color: #fff;
  border-color: var(--brand-primary-light);
}

.btn-success {
  background: var(--brand-secondary);
  color: #ffffff;
}

.btn-success:hover {
  background: #00d65f;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  min-height: 36px;
}

/* Hamburger Toggle for Mobile */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--surface-border);
  color: var(--brand-primary-light);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-nav-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* ==========================================================================
   Mobile Slide-out Navigation Drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--surface-overlay);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background-color: var(--surface-navbar);
  border-right: 2px solid var(--brand-primary);
  z-index: 210;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

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

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

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
}

.drawer-close-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.drawer-menu {
  list-style: none;
  padding: 1rem 0;
  flex: 1;
}

.drawer-link {
  display: block;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
  border-left: 3px solid transparent;
  transition: all var(--transition-fast);
}

.drawer-link:hover, .drawer-link.active {
  background-color: var(--surface-card);
  color: var(--brand-primary-light);
  border-left-color: var(--brand-primary);
}

.drawer-actions {
  padding: 1.25rem;
  border-top: 1px solid var(--surface-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   Hero Section & Trust Strip
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0f0f11 0%, #1c1408 40%, #2d1f02 70%, #18181b 100%);
  border-bottom: 3px solid var(--brand-primary);
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(253, 230, 138, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(202, 138, 4, 0.15);
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--brand-primary-light);
  text-shadow: 0 2px 20px rgba(202, 138, 4, 0.4);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-stats-card {
  background: var(--surface-card);
  border: 2px solid var(--surface-border-gold);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

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

.stat-box {
  text-align: center;
  padding: 0.75rem;
  background-color: var(--surface-card-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brand-primary-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Trust Strip */
.trust-strip {
  background-color: #0f0f11;
  border-bottom: 1px solid var(--surface-border);
  padding: 1rem 0;
}

.trust-strip-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.trust-icon {
  color: var(--brand-secondary);
  font-size: 1.1rem;
}

/* ==========================================================================
   Interactive 3x2 Game Grid & Studio Filter Chips
   ========================================================================== */
.games-section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0.5rem auto 0;
}

/* Filter Chips Bar */
.filter-chips-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-chip {
  background-color: var(--surface-card);
  border: 1px solid var(--surface-border);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.filter-chip:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary-light);
  background-color: var(--surface-card-hover);
}

.filter-chip.active {
  background: var(--brand-primary);
  color: var(--brand-cta-text);
  border-color: var(--brand-primary);
  box-shadow: 0 2px 10px rgba(202, 138, 4, 0.4);
}

/* 3x2 Game Grid Container */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Game Card Anatomy */
.game-card {
  background-color: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(202, 138, 4, 0.2);
}

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

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

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

/* Provider Colorway Badges */
.provider-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border-width: 1.5px;
  border-style: solid;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.badge-jili {
  background-color: var(--provider-jili-bg);
  border-color: var(--provider-jili-border);
  color: #ffffff;
}

.badge-fc {
  background-color: var(--provider-fc-bg);
  border-color: var(--provider-fc-border);
  color: #ffffff;
}

.badge-pragmatic {
  background-color: var(--provider-pragmatic-bg);
  border-color: var(--provider-pragmatic-border);
  color: #ffffff;
}

.badge-pgsoft {
  background-color: var(--provider-pgsoft-bg);
  border-color: var(--provider-pgsoft-border);
  color: #ffffff;
}

.badge-live {
  background-color: var(--provider-live-bg);
  border-color: var(--provider-live-border);
  color: #ffffff;
}

.badge-arcade {
  background-color: var(--provider-arcade-bg);
  border-color: var(--provider-arcade-border);
  color: #ffffff;
}

/* Game Info & Tags */
.game-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.game-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag-rtp {
  background-color: rgba(0, 177, 79, 0.15);
  color: var(--brand-secondary);
  border: 1px solid rgba(0, 177, 79, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.tag-volatility {
  background-color: rgba(202, 138, 4, 0.15);
  color: var(--brand-primary-light);
  border: 1px solid rgba(202, 138, 4, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* Game Actions (Dual CTAs) */
.game-actions-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.6rem;
  margin-top: auto;
}

/* Client-Side Pagination */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.page-btn {
  background-color: var(--surface-card);
  border: 1px solid var(--surface-border);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-btn:hover {
  background-color: var(--surface-card-hover);
  color: var(--brand-primary-light);
  border-color: var(--brand-primary);
}

.page-btn.active {
  background-color: var(--brand-primary);
  color: var(--brand-cta-text);
  border-color: var(--brand-primary);
}

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

/* ==========================================================================
   Content Sections, Cards & Guide Article Layouts
   ========================================================================== */
.content-section {
  padding: 4rem 0;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-content {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 1.4rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.4rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.article-content th {
  background-color: var(--surface-navbar);
  color: var(--brand-primary-light);
  font-family: var(--font-heading);
}

/* Specification Card */
.spec-card {
  background-color: var(--surface-card);
  border: 1px solid var(--surface-border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

/* Step-by-Step Payment Cards */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.step-card {
  background-color: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

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

.faq-item:hover {
  border-color: var(--brand-primary);
}

.faq-header {
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 0;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-smooth);
  fill: var(--brand-primary-light);
}

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

.faq-body {
  padding: 0 1.4rem 1.25rem;
  color: var(--text-secondary);
  display: none;
  font-size: 0.98rem;
  line-height: 1.7;
}

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

/* ==========================================================================
   5-Column Silo Directory & Footer
   ========================================================================== */
.site-footer {
  background-color: var(--surface-footer);
  border-top: 3px solid var(--brand-primary);
  padding-top: 4.5rem;
  padding-bottom: 5rem;
  margin-top: auto;
}

.silo-directory-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.silo-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--brand-primary-light);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.silo-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--brand-primary);
}

.silo-links-list {
  list-style: none;
}

.silo-links-list li {
  margin-bottom: 0.65rem;
}

.silo-links-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.silo-links-list a:hover {
  color: var(--brand-primary-light);
  padding-left: 4px;
}

/* Responsible Gaming & Compliance Footer Block */
.compliance-footer-block {
  border-top: 1px solid var(--surface-border);
  padding-top: 2rem;
  margin-top: 2rem;
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.age-warning-box {
  background-color: rgba(220, 38, 38, 0.12);
  border: 1px solid var(--color-danger-age21);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.age-21-badge {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-danger-age21);
  line-height: 1;
}

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

.payment-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.payment-badge-img {
  height: 32px;
  width: auto;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  padding: 2px 8px;
}

.legal-fineprint {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
}

/* ==========================================================================
   Sticky Mobile Bottom Navigation
   ========================================================================== */
.sticky-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background-color: rgba(15, 15, 17, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--surface-border);
  z-index: 95;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
  padding: 0 1rem;
}

.mobile-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: var(--font-heading);
  gap: 2px;
}

.mobile-nav-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.mobile-nav-item.active {
  color: var(--brand-primary-light);
}

.mobile-cta-btn {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #b47803 100%);
  color: var(--brand-cta-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   21+ Age Gate Modal
   ========================================================================== */
.age-gate-modal {
  position: fixed;
  inset: 0;
  background-color: var(--surface-overlay);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.age-gate-modal.active {
  opacity: 1;
  visibility: visible;
}

.age-gate-card {
  background-color: var(--surface-card);
  border: 2px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-glow);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.age-gate-modal.active .age-gate-card {
  transform: scale(1);
}

.age-gate-icon {
  font-size: 3.5rem;
  color: var(--color-danger-age21);
  margin-bottom: 1rem;
}

.age-gate-title {
  font-size: 1.75rem;
  color: var(--brand-primary-light);
  margin-bottom: 0.75rem;
}

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

.age-gate-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .silo-directory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav, .header-actions {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .sticky-mobile-nav {
    display: block;
  }
  body {
    padding-bottom: var(--bottom-nav-height);
  }
  .compliance-grid {
    grid-template-columns: 1fr;
  }
  .silo-directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .game-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-section {
    padding: 3rem 0 2rem;
  }
}

@media (max-width: 480px) {
  .silo-directory-grid {
    grid-template-columns: 1fr;
  }
  .age-gate-buttons {
    flex-direction: column;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Editorial Featured Visual Banner (1 Image Per URL)
   ========================================================================== */
.article-featured-media {
  margin: 1.5rem 0 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--surface-border-gold);
  background-color: var(--surface-card);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.article-featured-media:hover {
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.article-featured-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 440px;
  background-color: #0d0d0f;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.article-featured-caption {
  padding: 0.85rem 1.25rem;
  background-color: var(--surface-navbar);
  border-top: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.article-featured-caption strong {
  color: var(--brand-primary-light);
}

.article-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-secondary);
  background: rgba(0, 177, 79, 0.15);
  border: 1px solid rgba(0, 177, 79, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}
