/* ==========================================================================
   EM777 PHILIPPINES DESIGN SYSTEM & STYLESHEET
   Brand: EM777 (em777phil.ph)
   Theme: High-Energy Modern Luxury Casino
   Skill Framework: /gambling-website-ui-ux-designer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Dark Casino Luxury */
  --bg-primary: #070b14;
  --bg-secondary: #0d1424;
  --bg-surface: #131c31;
  --bg-surface-elevated: #1a2540;
  --bg-glass: rgba(19, 28, 49, 0.85);
  --bg-glass-card: rgba(26, 37, 64, 0.7);

  /* Accents & Brand Colors */
  --gold-primary: #f59e0b;
  --gold-light: #fbbf24;
  --gold-dark: #b45309;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);

  --emerald-primary: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);
  --cyan-primary: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.3);
  --ruby-primary: #ef4444;
  --ruby-glow: rgba(239, 68, 68, 0.3);
  --purple-accent: #8b5cf6;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #070b14;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.35);
  --border-cyan: rgba(6, 182, 212, 0.3);
  --border-focus: #f59e0b;

  /* Typography Scale */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale (8px baseline) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

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

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --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 20px rgba(245, 158, 11, 0.25);
  --shadow-cyan: 0 0 20px rgba(6, 182, 212, 0.25);
  --shadow-neon: 0 0 15px rgba(251, 191, 36, 0.4), 0 0 30px rgba(245, 158, 11, 0.2);

  /* Layout */
  --container-max-width: 1240px;
  --header-height: 76px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Base Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin-bottom: var(--space-3);
}

p {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  font-size: 1rem;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}

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

ul, ol {
  margin-left: var(--space-6);
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
}

li {
  margin-bottom: var(--space-2);
}

/* --------------------------------------------------------------------------
   3. FLASHY CASINO BACKGROUNDS & CONTAINER WRAPPERS
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  width: 100%;
}

.section-padding {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

/* Flashy Casino Container Backgrounds */
.casino-bg-glow {
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
              var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.casino-bg-shimmer {
  position: relative;
  background: linear-gradient(135deg, #090e1a 0%, #111a2f 50%, #080c16 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.15);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  overflow: hidden;
}

.casino-bg-shimmer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.06) 0%, transparent 60%);
  animation: casinoPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes casinoPulse {
  0% { transform: scale(0.9) translate(-2%, -2%); opacity: 0.5; }
  100% { transform: scale(1.1) translate(2%, 2%); opacity: 0.9; }
}

/* Dynamic Casino Mesh Grid */
.casino-mesh-grid {
  position: relative;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

/* --------------------------------------------------------------------------
   4. FIRST CONTAINER: CASINO HERO (MANDATORY REQUIREMENT)
   Every first container has a casino-related background image with an overlay
   -------------------------------------------------------------------------- */
.hero-casino-container {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-12);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 2px solid var(--border-gold);
  overflow: hidden;
}

.hero-casino-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(7, 11, 20, 0.82) 0%, 
    rgba(7, 11, 20, 0.88) 60%, 
    rgba(7, 11, 20, 0.98) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

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

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge-live .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--ruby-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--ruby-primary);
  animation: pulseLight 1.5s infinite;
}

@keyframes pulseLight {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-headline {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.hero-title {
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

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

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  max-width: 780px;
}

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

/* --------------------------------------------------------------------------
   5. LIVE JACKPOT TICKER & STATS BAR
   -------------------------------------------------------------------------- */
.jackpot-ticker-bar {
  background: linear-gradient(90deg, #111a2f 0%, #1f2a48 50%, #111a2f 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  box-shadow: var(--shadow-gold);
  margin-top: var(--space-6);
}

.jackpot-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.jackpot-counter {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.6);
}

.jackpot-pill {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-primary);
  color: var(--emerald-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   6. BUTTONS & INTERACTIVE PILLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  border: none;
  min-height: 48px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(251, 191, 36, 0.6);
  color: var(--text-inverse);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
}

.btn-secondary:hover {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
  transform: translateY(-2px);
}

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

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  min-height: 38px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  min-height: 52px;
}

/* --------------------------------------------------------------------------
   7. HEADER & NAVIGATION BAR
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 20, 0.96);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

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

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-2) var(--space-1);
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Language Switcher Toggle */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 2px 4px;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  line-height: 1;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  box-shadow: 0 1px 6px rgba(245, 158, 11, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 1.5rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 290px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-gold);
  z-index: 1100;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.is-open {
  right: 0;
}

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

.drawer-close {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

.drawer-nav {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.drawer-nav a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding: 8px 0;
}

.drawer-nav a:hover {
  color: var(--gold-light);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* --------------------------------------------------------------------------
   8. MOBILE BOTTOM STICKY BAR (THUMB-FRIENDLY NAVIGATION)
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(7, 11, 20, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold);
  z-index: 999;
  padding: 0 var(--space-4);
}

.bottom-bar-items {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}

.bottom-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none !important;
  gap: 3px;
  flex: 1;
}

.bottom-bar-btn.active, .bottom-bar-btn:hover {
  color: var(--gold-light);
}

.bottom-bar-btn svg {
  width: 20px;
  height: 20px;
}

.bottom-bar-cta {
  background: var(--gold-gradient);
  color: var(--text-inverse) !important;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transform: translateY(-8px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
}

/* --------------------------------------------------------------------------
   9. STRICT 3x2 GRID BOX & INTERACTIVE PAGINATION (MANDATORY REQUIREMENT)
   Strictly 3 columns x 2 rows (6 cards max per view) with pagination
   -------------------------------------------------------------------------- */
.grid-3x2-wrapper {
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  min-height: 480px;
}

/* Category Filter Tabs */
.filter-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.filter-tab-btn {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab-btn:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-gold);
  color: #fff;
}

.filter-tab-btn.active {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

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

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.game-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #0b1120;
}

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

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

.game-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.badge-hot { background: var(--ruby-primary); color: #fff; box-shadow: 0 2px 6px var(--ruby-glow); }
.badge-new { background: var(--cyan-primary); color: var(--text-inverse); }
.badge-rtp { background: rgba(0, 0, 0, 0.75); border: 1px solid var(--border-gold); color: var(--gold-light); }

.game-provider-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.game-card-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-card-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-1);
  color: #fff;
}

.game-card-category {
  font-size: 0.8rem;
  color: var(--gold-light);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.game-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
}

.game-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* Pagination Controls */
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.page-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 40px;
  text-align: center;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--border-gold);
  color: #fff;
  background: var(--bg-surface-elevated);
}

.page-btn.active {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

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

/* --------------------------------------------------------------------------
   10. CARD & CONTENT BUNDLES (PROMOTIONS, REVIEWS, PERSONAS)
   -------------------------------------------------------------------------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.promo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.promo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

.promo-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.promo-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  margin-bottom: var(--space-3);
}

.promo-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-2);
}

.promo-rollover {
  font-size: 0.85rem;
  color: var(--emerald-primary);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

/* Player Persona Review Cards */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.review-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.star-rating {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}

.reviewer-header {
  margin-bottom: var(--space-3);
}

.reviewer-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

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

.review-quote {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. IMAGE & MEDIA ELEMENTS (FEATURED & CONTEXTUAL)
   -------------------------------------------------------------------------- */
.featured-image-wrapper {
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  position: relative;
}

.featured-image-wrapper img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.contextual-image-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin: var(--space-8) 0;
  box-shadow: var(--shadow-sm);
}

.contextual-image-card img {
  border-radius: var(--radius-sm);
  width: 100%;
  object-fit: cover;
}

.contextual-image-caption {
  margin-top: var(--space-2);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   12. STEPPER & TABBED WALKTHROUGHS
   -------------------------------------------------------------------------- */
.stepper-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.stepper-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  position: relative;
  display: flex;
  flex-direction: column;
}

.stepper-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--text-inverse);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
}

.stepper-title {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
  color: #fff;
}

/* --------------------------------------------------------------------------
   13. TABLES & DIAGNOSTIC MATRICES
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: var(--space-6) 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

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

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

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

.casino-table tr:hover td {
  background: rgba(245, 158, 11, 0.03);
}

/* --------------------------------------------------------------------------
   14. ACCORDION (INTERACTIVE FAQs)
   -------------------------------------------------------------------------- */
.faq-accordion {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

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

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

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

.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-light);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  display: none;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* --------------------------------------------------------------------------
   15. E-E-A-T TRUST & COMPLIANCE BLOCKS
   -------------------------------------------------------------------------- */
.eeat-trust-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-10) 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-6);
}

.author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  object-fit: cover;
}

.author-info {
  flex: 1;
  min-width: 240px;
}

.author-role {
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.author-name {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}

.eeat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-primary);
  color: var(--emerald-primary);
}

/* --------------------------------------------------------------------------
   16. GLOBAL FOOTER (E-E-A-T & RESPONSIBLE GAMBLING)
   -------------------------------------------------------------------------- */
.site-footer {
  background: #04070d;
  border-top: 2px solid var(--border-gold);
  padding-top: var(--space-16);
  padding-bottom: calc(var(--space-16) + 50px);
  color: var(--text-secondary);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: var(--space-4);
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-2);
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-nav {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

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

/* Compliance Badges & Responsible Gaming */
.footer-compliance-bar {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-6) 0;
  margin-bottom: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.badge-21-plus {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid var(--ruby-primary);
  border-radius: var(--radius-md);
  padding: 10px 18px;
}

.badge-21-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ruby-primary);
  line-height: 1;
}

.badge-21-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.payment-methods-strip {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.payment-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: justify;
  margin-bottom: var(--space-6);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   17. ARTICLE & SPOKE POST SPECIFIC STYLES
   -------------------------------------------------------------------------- */
.article-header {
  margin-bottom: var(--space-8);
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.toc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin: var(--space-6) 0;
}

.toc-title {
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.toc-list {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.toc-list a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.toc-list a:hover {
  color: var(--gold-primary);
}

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

.article-content h2 {
  margin-top: var(--space-10);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-subtle);
}

.article-content h3 {
  margin-top: var(--space-6);
  color: var(--gold-light);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
}

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

.breadcrumbs span {
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 66px;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-bottom-bar {
    display: block;
  }

  .hero-casino-container {
    min-height: 400px;
    padding: calc(var(--header-height) + var(--space-4)) 0 var(--space-8);
  }

  .grid-3x2 {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: 110px; /* Room for sticky bottom bar */
  }

  .stepper-container {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
