/* ==========================================================================
   JILISS CASINO PHILIPPINES — MASTER DESIGN SYSTEM & UI/UX STYLESHEET
   Brand Visual Identity: JILISS Crimson (#E51B24) & Imperial Gold (#FFB800)
   Designed for High-End Philippine iGaming UX & Mobile-First Performance
   ========================================================================== */

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

:root {
  /* Brand Primary & Accents */
  --primary: #E51B24;
  --primary-light: #FF2E3B;
  --primary-dark: #B31018;
  --primary-glow: rgba(229, 27, 36, 0.45);
  --primary-subtle: rgba(229, 27, 36, 0.12);

  --gold: #FFB800;
  --gold-light: #FFD23F;
  --gold-dark: #D49200;
  --gold-glow: rgba(255, 184, 0, 0.35);
  --gold-subtle: rgba(255, 184, 0, 0.12);

  /* Philippine E-Wallet Brand Accents */
  --gcash-blue: #007DFE;
  --gcash-glow: rgba(0, 125, 254, 0.3);
  --maya-green: #00D084;
  --maya-glow: rgba(0, 208, 132, 0.3);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Surfaces & Backgrounds */
  --bg-darkest: #07090E;
  --bg-base: #0B0E14;
  --bg-surface: #121722;
  --bg-elevated: #182030;
  --bg-card: rgba(18, 23, 34, 0.85);
  --bg-card-hover: rgba(24, 32, 48, 0.95);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(255, 184, 0, 0.35);
  --border-primary: rgba(229, 27, 36, 0.35);

  /* Typography Colors */
  --text-main: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Typography Scales */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 0 25px rgba(255, 184, 0, 0.25);
  --shadow-crimson: 0 0 25px rgba(229, 27, 36, 0.3);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base 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-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(229, 27, 36, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 100% 40%, rgba(255, 184, 0, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 0% 80%, rgba(229, 27, 36, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

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

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

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   DYNAMIC CASINO ATMOSPHERE & MOTION BACKGROUNDS
   ========================================================================== */

.casino-bg-motion {
  position: relative;
  overflow: hidden;
}

.casino-bg-motion::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(229, 27, 36, 0.15) 0%, rgba(255, 184, 0, 0.08) 35%, transparent 70%);
  animation: rotateAmbient 25s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes rotateAmbient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.shimmer-sweep {
  position: relative;
  overflow: hidden;
}

.shimmer-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-20deg);
  animation: shimmerSweep 6s infinite;
}

@keyframes shimmerSweep {
  0% { left: -150%; }
  30% { left: 150%; }
  100% { left: 150%; }
}

/* ==========================================================================
   HEADER & NAVIGATION BAR (MAX 6 CATEGORY TABS WITH DROPDOWNS)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(229, 27, 36, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

/* Logo */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transition: transform var(--transition-fast);
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: scale(1.04);
}

/* Desktop Navigation (Max 6 Tabs) */
.header-nav {
  display: none;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link .dropdown-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
  color: var(--gold);
}

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

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: rgba(18, 23, 34, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-top: 2px solid var(--primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 100;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  color: var(--gold);
  background: rgba(255, 184, 0, 0.08);
  padding-left: 1.5rem;
}

.dropdown-link .dropdown-badge {
  margin-left: auto;
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--primary-subtle);
  color: var(--primary-light);
  font-weight: 700;
}

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

.btn-header-login {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-header-login:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-main);
}

.btn-header-join {
  position: relative;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #FF414D 100%);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px var(--primary-glow);
  transition: all var(--transition-fast);
  overflow: hidden;
}

.btn-header-join:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--primary-glow);
  filter: brightness(1.1);
}

/* Mobile Hamburger Toggle */
.btn-mobile-toggle, .mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.btn-mobile-toggle span, .mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.btn-mobile-toggle:hover, .mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold);
}

@media (min-width: 1024px) {
  .btn-mobile-toggle, .mobile-menu-btn {
    display: none;
  }
}

/* ==========================================================================
   OFF-CANVAS MOBILE DRAWER & BOTTOM STICKY NAVIGATION BAR
   ========================================================================== */

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.mobile-drawer-content {
  width: 82%;
  max-width: 320px;
  height: 100%;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-medium);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
}

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

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

.btn-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-drawer-close:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-light);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 0.5rem;
}

.mobile-nav-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.mobile-sub-list {
  padding-left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.mobile-sub-link {
  display: block;
  padding: 0.45rem 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Mobile Sticky Bottom Nav & Action Bar */
.mobile-bottom-nav, .mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(11, 14, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 999;
  padding: 0 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-bottom-nav, .mobile-action-bar {
    display: none;
  }
}

.bottom-nav-item, .mobile-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  flex: 1;
}

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

.bottom-nav-icon, .mobile-action-item .action-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-action-item .action-label {
  font-size: 0.72rem;
}

.mobile-action-item.highlight-action {
  background: linear-gradient(135deg, var(--primary) 0%, #FF3D4C 100%);
  color: #fff !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 12px var(--primary-glow);
  padding: 0.4rem 0.75rem;
  transform: translateY(-4px);
}

@media (max-width: 1023px) {
  body {
    padding-bottom: 74px;
  }
  .site-footer {
    padding-bottom: 95px !important;
  }
}

/* ==========================================================================
   HERO SECTIONS (CASINO-THEMED WITH UNCAPTIONED FEATURED IMAGE)
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  background: linear-gradient(180deg, rgba(229, 27, 36, 0.08) 0%, rgba(11, 14, 20, 0.6) 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-breadcrumbs a:hover {
  color: var(--gold);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.95rem;
  }
}

/* Uncaptioned Featured Image */
.hero-featured-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(229, 27, 36, 0.15);
  border: 1px solid var(--border-medium);
  margin-top: 1.5rem;
  background: var(--bg-surface);
}

.hero-featured-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform var(--transition-normal);
}

.hero-featured-wrap:hover .hero-featured-img {
  transform: scale(1.01);
}

/* ==========================================================================
   E-E-A-T AUTHOR BYLINE & TRUST BADGES
   ========================================================================== */

.author-byline-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(18, 23, 34, 0.7);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.85rem;
}

.author-details {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--gold);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--gold);
}

.author-name {
  font-weight: 700;
  color: var(--text-main);
}

.author-role {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.author-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   RESPONSIVE 3X2 CARD GRID & SIBLING ROTATION MODULE
   ========================================================================== */

.grid-3x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3x2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.casino-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.casino-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), var(--shadow-gold);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-elevated);
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.card-floating-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.card-rtp-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(229, 27, 36, 0.9);
  color: #fff;
}

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

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  transition: color var(--transition-fast);
}

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

.card-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-card-read {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-card-read:hover {
  color: var(--gold-light);
  gap: 0.55rem;
}

/* ==========================================================================
   MEDIA BUNDLE SPOTLIGHT COMPONENT
   ========================================================================== */

.media-bundle {
  background: linear-gradient(135deg, rgba(18, 23, 34, 0.9) 0%, rgba(26, 34, 48, 0.85) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (min-width: 900px) {
  .media-bundle {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
}

.media-bundle-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
}

.media-bundle-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.spec-box {
  background: rgba(11, 14, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
}

.spec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-light);
}

/* ==========================================================================
   INTERACTIVE COMPARISON TABLES & CHECKLISTS
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  margin: 1.5rem 0;
}

.casino-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.casino-table th {
  background: var(--bg-elevated);
  font-family: var(--font-heading);
  color: var(--text-main);
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  border-bottom: 2px solid var(--border-gold);
  white-space: nowrap;
}

.casino-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.casino-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
}

/* Step-by-Step Interactive Guide Cards */
.step-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

@media (min-width: 768px) {
  .step-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
}

.step-card-content h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.step-card-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ACCORDION & INTERACTIVE FAQS
   ========================================================================== */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2.5rem;
}

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

.faq-item:hover, .faq-item.open {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
}

.faq-chevron {
  font-size: 0.85rem;
  color: var(--gold);
  transition: transform var(--transition-normal);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 350px;
  padding-bottom: 1.25rem;
}

/* ==========================================================================
   BUTTONS, BADGES & INTERACTION TOKENS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #FF3D4C 100%);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--primary-glow);
  filter: brightness(1.1);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #000;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--gold-glow);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-large {
  padding: 0.95rem 2.25rem;
  font-size: 1.05rem;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--text-main);
}

/* Tabs */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-light);
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* Pagination Controls */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.page-btn.active, .page-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold-light);
}

/* ==========================================================================
   FOOTER & COMPLIANCE
   ========================================================================== */

.site-footer {
  background: #06080C;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -0.4rem;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 0.35rem;
}

/* Compliance 21+ Banner */
.footer-compliance-bar {
  background: rgba(18, 23, 34, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.compliance-21-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--primary);
  color: var(--primary-light);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.compliance-text {
  flex-grow: 1;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

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

.payment-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   CONTENT LAYOUT, SCANNABILITY, SPACING & MOBILE-FIRST TYPOGRAPHY
   ========================================================================== */

.page-main {
  padding: 3rem 0 4.5rem;
}

@media (max-width: 768px) {
  .page-main {
    padding: 1.75rem 0 3.5rem;
  }
}

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

/* Quick Summary & Intent Fulfillment Box */
.quick-summary-box {
  background: rgba(18, 23, 34, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.75rem 0 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 184, 0, 0.1);
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.summary-header .summary-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.summary-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0;
}

.summary-text {
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.summary-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .summary-specs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.spec-pill {
  background: rgba(11, 14, 20, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spec-pill span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-pill strong {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--gold-light);
  font-weight: 700;
}

/* Early Contextual Return Callout Box */
.early-hub-return-box {
  margin: 1.75rem 0 2.25rem;
  padding: 1rem 1.35rem;
  background: rgba(255, 184, 0, 0.08);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.early-hub-return-box strong {
  color: var(--gold);
}

.early-hub-return-box a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.early-hub-return-box a:hover {
  color: #fff;
}

/* Article Body Typography & Spacing */
.article-content-body {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-secondary);
}

.article-content-body p {
  margin-bottom: 1.4rem;
  line-height: 1.78;
}

.article-content-body strong {
  color: var(--text-main);
  font-weight: 700;
}

.article-content-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.article-content-body a:hover {
  color: var(--gold-light);
}

.article-content-body h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 3.25rem;
  margin-bottom: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.article-content-body h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--primary);
}

.article-content-body h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.article-content-body hr.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
  margin: 3rem 0;
}

@media (max-width: 768px) {
  .article-content-body {
    font-size: 1rem;
    line-height: 1.72;
  }
  .article-content-body p {
    margin-bottom: 1.25rem;
  }
  .article-content-body h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 0.95rem;
  }
  .article-content-body h3 {
    font-size: 1.2rem;
    margin-top: 1.85rem;
    margin-bottom: 0.75rem;
  }
}

/* In-Content Figures & Images */
.in-content-figure, .content-image-box {
  margin: 2.5rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-md);
}

.in-content-figure .content-img,
.content-image-box .content-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.in-content-figure .image-caption,
.content-image-box .image-caption {
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(11, 14, 20, 0.85);
  border-top: 1px solid var(--border-subtle);
  font-style: italic;
  text-align: center;
  line-height: 1.5;
}

/* Styled Lists */
.styled-list {
  margin: 1.25rem 0 1.85rem;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

ol.styled-list {
  counter-reset: styled-counter;
}

ol.styled-list > li {
  position: relative;
  padding-left: 2.75rem;
  line-height: 1.68;
  counter-increment: styled-counter;
}

ol.styled-list > li::before {
  content: counter(styled-counter);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--primary-glow);
}

ul.styled-list > li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.68;
}

ul.styled-list > li::before {
  content: '▸';
  position: absolute;
  left: 0.25rem;
  top: 0;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: bold;
}

/* Responsive GFM Comparison Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.casino-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.casino-table th {
  background: var(--bg-elevated);
  font-family: var(--font-heading);
  color: var(--gold-light);
  padding: 0.95rem 1.15rem;
  font-weight: 700;
  border-bottom: 2px solid var(--border-gold);
  white-space: nowrap;
}

.casino-table td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  line-height: 1.55;
}

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

.casino-table tr:hover td {
  background: rgba(255, 184, 0, 0.04);
  color: var(--text-main);
}

/* Mid-Content Conversion Box */
.promo-box {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.12) 0%, rgba(229, 27, 36, 0.12) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  text-align: center;
  margin: 3.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 27, 36, 0.15);
}

.promo-box h3 {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.promo-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.promo-box .btn {
  min-width: 220px;
}

@media (max-width: 640px) {
  .promo-box {
    padding: 1.75rem 1.25rem;
    margin: 2.75rem 0;
  }
  .promo-box h3 {
    font-size: 1.25rem;
  }
  .promo-box .btn {
    width: 100%;
  }
}

/* Section Spacing for FAQs and Sibling 3x2 Grid */
.spoke-faq-section {
  margin: 3.5rem 0 2.5rem;
}

.spoke-faq-section .section-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.silo-crosslinks-section {
  margin-top: 3.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border-subtle);
}

.silo-crosslinks-section .section-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

@media (max-width: 768px) {
  .spoke-faq-section .section-header h2,
  .silo-crosslinks-section .section-header h2 {
    font-size: 1.45rem;
  }
}

