/* ==========================================================================
   JL111 Design System & Component Library (jl111.it.com)
   Theme: Authentic Rank 1 Google PH Dark Neon Luxury (Imperial Gold & Emerald)
   Standard: Philippine iGaming E-E-A-T & PAGCOR Compliance UI
   Container Framework: Full-Width Modern Responsive (Max 1200px)
   ========================================================================== */

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

:root {
  /* Dynamic Brand Color Tokens from brand_palette.json */
  --brand-primary: #0A1118;
  --brand-secondary: #F5C042;
  --brand-secondary-hover: #FFD56B;
  --brand-secondary-gradient: linear-gradient(135deg, #F5C042 0%, #D49B28 50%, #B8860B 100%);
  --brand-crimson: #8B1A1A;
  --brand-cta: #00E676;
  --brand-cta-hover: #00C853;
  --brand-cta-glow: 0 0 20px rgba(0, 230, 118, 0.4);

  /* Surface & Background Tokens */
  --surface-bg: #0A1118;
  --surface-card: #131E29;
  --surface-elevated: #1A2A3A;
  --surface-muted: #0F1722;
  --surface-glass: rgba(19, 30, 41, 0.88);

  /* Borders & Dividers */
  --border-subtle: #233647;
  --border-strong: #334B61;
  --border-gold: rgba(245, 192, 66, 0.4);
  --border-gold-subtle: rgba(245, 192, 66, 0.18);

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-gold: #F5C042;
  --text-dark: #0A1118;

  /* Multi-Color Provider Colorways */
  --provider-jili-bg: #E11D48;
  --provider-jili-accent: #F59E0B;
  --provider-jili-border: rgba(225, 29, 72, 0.35);

  --provider-pg-bg: #8B5CF6;
  --provider-pg-accent: #FB923C;
  --provider-pg-border: rgba(139, 92, 246, 0.35);

  --provider-live-bg: #2563EB;
  --provider-live-accent: #E2E8F0;
  --provider-live-border: rgba(37, 99, 235, 0.35);

  --provider-fish-bg: #06B6D4;
  --provider-fish-accent: #14B8A6;
  --provider-fish-border: rgba(6, 182, 212, 0.35);

  --provider-table-bg: #10B981;
  --provider-table-accent: #EA580C;
  --provider-table-border: rgba(16, 185, 129, 0.35);

  /* Fonts */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout & Spacing */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-floating: 0 20px 40px -15px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 4px 20px rgba(245, 192, 66, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Reset (Strict 0px horizontal overflow)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--surface-bg);
  color: var(--text-secondary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* ==========================================================================
   Typography & Hierarchy
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.15rem;
  font-size: 1rem;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, #131E29 0%, #1A2A3A 50%, #131E29 100%);
  border-bottom: 1px solid var(--border-gold-subtle);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  text-align: center;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.announcement-badge {
  background: var(--brand-crimson);
  color: #FFFFFF;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.announcement-link {
  color: var(--brand-secondary);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   Site Header & Desktop Horizontal Navigation (Phpark Benchmark Framework)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 17, 24, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.65rem 0;
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

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

/* Desktop Horizontal Nav with Dropdowns */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.85rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.45rem 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.dropdown-arrow {
  font-size: 0.72rem;
  transition: transform 0.2s ease;
  display: inline-block;
  opacity: 0.8;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--surface-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
}

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

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

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.15s ease;
  text-decoration: none;
}

.dropdown-link:hover {
  background: rgba(245, 192, 66, 0.08);
  color: var(--brand-secondary);
  padding-left: 1.45rem;
}

.dropdown-tag {
  background: #E11D48;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.btn-ghost-sm, .btn-nav-login {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1.15rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-ghost-sm:hover, .btn-nav-login:hover {
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
  background: rgba(245, 192, 66, 0.06);
}

.btn-gold-sm, .btn-nav-register {
  background: var(--brand-cta);
  color: var(--text-dark);
  border: 1px solid var(--brand-cta);
  padding: 0.45rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.35);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-gold-sm:hover, .btn-nav-register:hover {
  background: var(--brand-cta-hover);
  box-shadow: 0 0 22px rgba(0, 230, 118, 0.6);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle, .mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 1023px) {
  .mobile-nav-toggle, .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile Drawer Overlay & Panel (Phpark Benchmark Framework) */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(85vw, 340px);
  height: 100%;
  background: var(--surface-bg);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -5px 0 35px rgba(0, 0, 0, 0.9);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  z-index: 2005;
}

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

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

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.drawer-close-btn:hover {
  color: var(--brand-secondary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-item {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
  color: var(--brand-secondary);
  background: rgba(245, 192, 66, 0.08);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3.5rem 0;
  background: radial-gradient(circle at 50% 20%, rgba(245, 192, 66, 0.08) 0%, rgba(10, 17, 24, 0) 70%), var(--surface-bg);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  margin-bottom: 2.75rem;
}

@media (max-width: 991px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

@media (max-width: 991px) {
  .hero-text-col {
    align-items: center;
  }
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 192, 66, 0.12);
  border: 1px solid var(--border-gold-subtle);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--brand-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-dual-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .hero-dual-cta {
    justify-content: center;
  }
}

.hero-visual-col {
  width: 100%;
}

.hero-visual-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-floating);
  overflow: hidden;
  text-align: center;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 192, 66, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-featured-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal);
}

.hero-visual-card:hover .hero-featured-img {
  transform: scale(1.02);
}

.jackpot-meter-box {
  margin-top: 1rem;
  background: rgba(10, 17, 24, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jackpot-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--brand-secondary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.jackpot-amount {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(245, 192, 66, 0.5);
}

.btn-primary-action {
  background: var(--brand-cta);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--brand-cta-glow);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-primary-action:hover {
  background: var(--brand-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.6);
}

.btn-secondary-action {
  background: var(--surface-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-secondary-action:hover {
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
  background: var(--surface-elevated);
}

/* Feature Grid / Trust Bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 192, 66, 0.12);
}

@media (max-width: 991px) {
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .trust-bar {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  transition: all var(--transition-fast);
}

.trust-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  background: var(--surface-elevated);
}

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

.trust-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Filter Chips & Category Tabs
   ========================================================================== */
.filter-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 1.5rem;
}

.filter-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip:hover, .filter-chip.active {
  background: var(--brand-secondary);
  color: var(--text-dark);
  border-color: var(--brand-secondary);
}

/* ==========================================================================
   Interactive Game Grid & Cards (Multi-Color Provider Theming)
   ========================================================================== */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.game-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  position: relative;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-floating);
}

/* Provider Colorway Variations */
.game-card[data-provider="jili"] {
  border-color: var(--provider-jili-border);
}
.game-card[data-provider="jili"] .provider-badge {
  background: var(--provider-jili-bg);
  color: #FFFFFF;
}

.game-card[data-provider="pg-soft"] {
  border-color: var(--provider-pg-border);
}
.game-card[data-provider="pg-soft"] .provider-badge {
  background: var(--provider-pg-bg);
  color: #FFFFFF;
}

.game-card[data-provider="live"] {
  border-color: var(--provider-live-border);
}
.game-card[data-provider="live"] .provider-badge {
  background: var(--provider-live-bg);
  color: #FFFFFF;
}

.game-card[data-provider="fishing"] {
  border-color: var(--provider-fish-border);
}
.game-card[data-provider="fishing"] .provider-badge {
  background: var(--provider-fish-bg);
  color: var(--text-dark);
}

.game-card[data-provider="table"], .game-card[data-provider="sports"] {
  border-color: var(--provider-table-border);
}
.game-card[data-provider="table"] .provider-badge, .game-card[data-provider="sports"] .provider-badge {
  background: var(--provider-table-bg);
  color: #FFFFFF;
}

.card-media-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0A1118;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-normal);
}

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

.card-badges-top {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.provider-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.rtp-tag {
  background: rgba(10, 17, 24, 0.75);
  backdrop-filter: blur(4px);
  color: var(--brand-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold-subtle);
}

.card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.card-meta {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-actions-row {
  margin-top: auto;
  display: flex;
  gap: 0.6rem;
}

.card-btn-play {
  flex: 1;
  background: var(--brand-cta);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-pill);
  text-align: center;
  transition: all var(--transition-fast);
}

.card-btn-play:hover {
  background: var(--brand-cta-hover);
}

.card-btn-guide {
  flex: 1;
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-pill);
  text-align: center;
  transition: all var(--transition-fast);
}

.card-btn-guide:hover {
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
}

/* ==========================================================================
   Content Sections, Typography, Spacing & Visual Cards
   ========================================================================== */
.content-section, .editorial-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.content-prose, .prose {
  max-width: 920px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.content-prose p, .prose p {
  margin-bottom: 1.5rem;
}

.content-prose h2, .prose h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
  color: #FFFFFF;
}

.content-prose h2::after, .prose h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--brand-secondary-gradient);
  border-radius: var(--radius-pill);
}

.content-prose h3, .prose h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: var(--brand-secondary);
}

.content-prose ul, .content-prose ol, .prose ul, .prose ol {
  margin: 1.25rem 0 1.75rem 1.75rem;
  color: var(--text-secondary);
}

.content-prose li, .prose li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.styled-list {
  margin: 1.25rem 0 1.75rem 2rem;
  padding: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

ul.styled-list {
  list-style-type: disc;
}

ul.styled-list li {
  margin-bottom: 0.75rem;
  padding-left: 0.35rem;
}

ul.styled-list li::marker {
  color: var(--brand-secondary);
}

ol.styled-list {
  list-style-type: decimal;
}

ol.styled-list li {
  margin-bottom: 0.75rem;
  padding-left: 0.35rem;
}

ol.styled-list li::marker {
  color: var(--brand-secondary);
  font-weight: 700;
}

.content-prose blockquote, .prose blockquote, .info-callout {
  background: rgba(245, 192, 66, 0.06);
  border-left: 4px solid var(--brand-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.75rem;
  margin: 2.25rem 0;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
}

.editorial-image-wrapper {
  margin: 3rem 0;
  text-align: center;
  background: var(--surface-card);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold-subtle);
  box-shadow: var(--shadow-card);
}

.body-featured-img {
  max-width: 600px;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

.image-caption-tag {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* E-E-A-T Verified Author Card */
.eeat-author-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--surface-card);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 3.5rem 0 2rem;
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .eeat-author-card {
    flex-direction: column;
    text-align: center;
  }
}

.author-avatar-wrap img {
  border-radius: var(--radius-pill);
  border: 2px solid var(--brand-secondary);
  object-fit: cover;
}

.author-name-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

@media (max-width: 640px) {
  .author-name-title {
    justify-content: center;
  }
}

.author-verified-badge {
  background: rgba(0, 230, 118, 0.15);
  color: var(--brand-cta);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.author-bio-snippet {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

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

@media (max-width: 640px) {
  .author-trust-pills {
    justify-content: center;
  }
}

.trust-pill {
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  background: var(--surface-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.styled-table th {
  background: var(--surface-elevated);
  color: var(--text-primary);
  font-weight: 700;
  text-align: left;
  padding: 0.9rem 1.15rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.styled-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

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

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

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

.faq-card:hover {
  border-color: var(--border-gold-subtle);
}

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

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

/* ==========================================================================
   5-Column Silo Directory & Site Footer
   ========================================================================== */
.site-footer {
  background: #060B10;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

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

.silo-column-title {
  color: var(--brand-secondary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

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

.silo-link {
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.silo-link:hover {
  color: var(--brand-secondary);
  padding-left: 4px;
}

/* Footer Compliance Row */
.footer-compliance-box {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.badge-21-plus {
  background: var(--brand-crimson);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

/* ==========================================================================
   21+ Age Gate Modal (Accessible semantic dialog)
   ========================================================================== */
.age-gate-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 17, 24, 0.95);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.age-gate-modal {
  background: var(--surface-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-floating);
}

.age-gate-icon {
  background: var(--brand-crimson);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1.75rem;
  width: 68px;
  height: 68px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.age-gate-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

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

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

.btn-confirm-age {
  flex: 1;
  background: var(--brand-cta);
  color: var(--text-dark);
  font-weight: 800;
  padding: 0.85rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-confirm-age:hover {
  background: var(--brand-cta-hover);
}

.btn-exit-age {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 1rem;
}

/* ==========================================================================
   Mobile Responsive Rules
   ========================================================================== */
@media (max-width: 1024px) {
  .silo-directory {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .silo-directory {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .hero-section {
    padding: 2.5rem 0 2rem;
  }
  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .silo-directory {
    grid-template-columns: 1fr;
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
  .card-actions-row {
    flex-direction: column;
  }
}
