/* ==========================================================================
   MILYON88 LUXURY CASINO DESIGN SYSTEM
   Modern, Interactive, Mobile-First iGaming UI/UX
   Built to strict compliance with /gambling-website-ui-ux-designer guidelines
   ========================================================================== */

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

/* --- Design Tokens & Variables --- */
:root {
  /* Colors */
  --bg-darkest: #07090e;
  --bg-main: #0b0f19;
  --bg-surface: #121826;
  --bg-surface-elevated: #1a2236;
  --bg-glass: rgba(18, 24, 38, 0.78);
  --bg-glass-elevated: rgba(26, 34, 54, 0.88);
  --bg-glass-gold: rgba(251, 191, 36, 0.08);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(251, 191, 36, 0.28);
  --border-gold-glow: rgba(251, 191, 36, 0.6);
  --border-cyan: rgba(6, 182, 212, 0.35);

  /* Accents & Brand */
  --gold-300: #fde68a;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-gradient: linear-gradient(135deg, #ffe066 0%, #f59e0b 50%, #b45309 100%);
  --gold-gradient-hover: linear-gradient(135deg, #fffbeb 0%, #fbbf24 50%, #d97706 100%);
  --gold-glow: 0 0 24px rgba(245, 158, 11, 0.35);

  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-gradient: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  --cyan-glow: 0 0 20px rgba(6, 182, 212, 0.35);

  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --ruby-500: #f43f5e;
  --purple-500: #8b5cf6;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-subheading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-gold: #fbbf24;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border-subtle);
  --shadow-card-hover: 0 20px 44px -8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(251, 191, 36, 0.2);

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

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

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

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

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

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

ul, ol {
  list-style: none;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-wrapper {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.section-wrapper.compact {
  padding: 50px 0;
}

/* --- Flashy Casino Container Backgrounds --- */
.bg-flashy-1 {
  background: radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.07) 0%, transparent 45%),
              linear-gradient(180deg, var(--bg-darkest) 0%, var(--bg-main) 50%, var(--bg-darkest) 100%);
}

.bg-flashy-2 {
  background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.09) 0%, transparent 45%),
              radial-gradient(circle at 20% 70%, rgba(245, 158, 11, 0.07) 0%, transparent 40%),
              var(--bg-main);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.bg-flashy-3 {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-main) 0%, #0d121f 100%);
}

.bg-flashy-mesh {
  background: 
    radial-gradient(ellipse at top right, rgba(251, 191, 36, 0.12), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(6, 182, 212, 0.1), transparent 50%),
    linear-gradient(135deg, #090d16 0%, #0e1424 50%, #070a10 100%);
}

/* Subtle Animated Shimmer for Flashy Containers */
@keyframes casinoShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bg-shimmer-trim {
  position: relative;
}
.bg-shimmer-trim::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), var(--cyan-400), transparent);
  background-size: 200% 200%;
  animation: casinoShimmer 6s linear infinite;
}

/* --- Hero Containers (First Container on Every Page) --- */
.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  isolation: isolate;
  border-bottom: 1px solid var(--border-gold);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(7, 9, 14, 0.72) 0%, 
    rgba(11, 15, 25, 0.90) 65%, 
    var(--bg-darkest) 100%);
  z-index: 1;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.15) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-400);
  font-family: var(--font-subheading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-500);
  box-shadow: 0 0 10px var(--emerald-500);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Hero Typography */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.hero-description {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 760px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Hero Quick Stats Row */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 36px;
  max-width: 800px;
}

.stat-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

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

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-subheading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.015em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.6;
}

.title-line {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  margin: 14px auto 0 auto;
}

/* --- Buttons & Interactive Triggers --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-subheading);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0b0f19;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(245, 158, 11, 0.5);
  color: #000000;
}

.btn-outline-gold {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-400);
}

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-400);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-cyan {
  background: var(--cyan-gradient);
  color: #061e2b;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(6, 182, 212, 0.5);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

/* --- 3x2 Grid Box System (Mandatory 6-Item Matrix) --- */
.grid-box-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 24px;
}

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

@media (max-width: 640px) {
  .grid-box-3x2 {
    grid-template-columns: 1fr;
  }
}

/* Game Placecard Component */
.game-placecard {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

/* Card Image Wrapper */
.placecard-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-darkest);
}

.placecard-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.game-placecard:hover .placecard-image-wrap img {
  transform: scale(1.08);
}

/* Card Badges */
.card-provider-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.card-rtp-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Hover Overlay with Action Buttons */
.placecard-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 3;
  padding: 20px;
}

.game-placecard:hover .placecard-overlay {
  opacity: 1;
}

/* Card Content Body */
.placecard-body {
  padding: 18px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(180deg, var(--bg-surface) 0%, #151d2e 100%);
}

.placecard-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.game-placecard:hover .placecard-title {
  color: var(--gold-400);
}

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

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

.meta-value {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- Pagination Controls --- */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.page-btn:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-gold);
  color: var(--gold-400);
}

.page-btn.active {
  background: var(--gold-gradient);
  color: #0b0f19;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.page-btn.nav-btn {
  width: auto;
  padding: 0 18px;
}

/* --- Interactive Filter Tabs --- */
.filter-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-subheading);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  border-color: var(--border-gold);
  color: #ffffff;
}

.filter-tab.active {
  background: var(--gold-gradient);
  color: #0b0f19;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

/* --- Card & Content Bundles --- */
.content-bundle-card {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 32px;
}

.content-bundle-card.gold-trim {
  border: 1px solid var(--border-gold);
}

.content-bundle-card.gold-trim::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

/* Split 2-Column Bundle */
.bundle-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 860px) {
  .bundle-split-grid {
    grid-template-columns: 1fr;
  }
}

/* Featured Image Container (Strictly No Caption) */
.featured-image-box {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
  background-color: #000000;
}

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

/* Contextual Image Container with Alt & Border */
.contextual-image-box {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-md);
  margin: 28px 0;
}

.contextual-image-box img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* --- Promo & Bonus Cards --- */
.promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.promo-card {
  background: linear-gradient(180deg, #151e30 0%, #0e1422 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.2);
}

.promo-tag {
  display: inline-block;
  background: var(--gold-gradient);
  color: #07090e;
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  align-self: flex-start;
}

.promo-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 8px;
}

.promo-title {
  font-family: var(--font-subheading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 12px;
}

.promo-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.promo-terms-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.promo-terms-row span:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- Natural E-E-A-T Author & Reviewer Block --- */
.eeat-author-card {
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.95) 0%, rgba(26, 34, 54, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.eeat-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}

.author-meta-info h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald-400);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.author-role {
  font-size: 0.875rem;
  color: var(--gold-400);
  font-weight: 600;
}

.eeat-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* --- Interactive FAQ Accordion --- */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.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.active {
  border-color: var(--border-gold);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-subheading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-item:hover .faq-question-btn {
  color: var(--gold-400);
}

.faq-icon-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  transition: transform var(--transition-normal), background-color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--gold-400);
  color: #0b0f19;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer-panel {
  padding-bottom: 22px;
}

/* --- Comparison & Data Tables --- */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  margin: 30px 0;
  box-shadow: var(--shadow-sm);
}

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

.custom-table th {
  background: #141c2e;
  color: var(--gold-300);
  font-family: var(--font-subheading);
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 2px solid var(--border-gold);
  white-space: nowrap;
}

.custom-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.custom-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
}

/* --- Header & Navigation Bar --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: rgba(7, 9, 14, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 9, 14, 0.96);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* Desktop Navigation Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-subheading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-400);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-btn span {
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

/* Mobile Slide-In Drawer */
.mobile-drawer {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 9, 14, 0.98);
  backdrop-filter: blur(20px);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  z-index: 999;
  overflow-y: auto;
}

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

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover {
  color: var(--gold-400);
}

/* --- Footer & Compliance Elements --- */
.site-footer {
  background: #05070a;
  border-top: 1px solid var(--border-gold);
  padding: 70px 0 30px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-col p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 380px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-400);
  margin-top: 6px;
  border-radius: var(--radius-full);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--gold-400);
  transform: translateX(3px);
}

/* Compliance & Responsible Gaming 21+ Strip */
.footer-compliance-strip {
  background: #090c12;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 768px) {
  .footer-compliance-strip {
    flex-direction: column;
    text-align: center;
  }
}

.age-gate-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  color: #ef4444;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compliance-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.compliance-text strong {
  color: #ffffff;
}

/* Payment Methods Strip */
.payments-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 30px;
}

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

.footer-copyright {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --- Functional Form Cards --- */
.functional-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-subheading);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: #090d16;
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.quick-chip-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.chip-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-btn:hover, .chip-btn.selected {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold-400);
  color: var(--gold-400);
}

/* --- Language Switcher (EN-FL / Bilingual Engine) --- */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(18, 24, 38, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 3px 6px;
  gap: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.lang-btn {
  font-family: var(--font-subheading);
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: transparent;
  line-height: 1;
}

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

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

.lang-divider {
  color: var(--border-subtle);
  font-size: 0.625rem;
  user-select: none;
}

