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

:root {
  /* Core Casino Palette based on Official BYBET Logo */
  --bg-dark: #060913;
  --bg-darker: #03050a;
  --bg-surface: #0c1222;
  --bg-card: rgba(16, 24, 44, 0.88);
  --bg-card-hover: rgba(24, 36, 68, 0.95);
  
  --border: rgba(245, 158, 11, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-emerald: rgba(16, 185, 129, 0.3);
  
  /* Primary Royal Gold */
  --primary: #f59e0b;
  --primary-light: #fbbf24;
  --primary-dark: #d97706;
  --primary-glow: rgba(245, 158, 11, 0.35);
  
  /* Secondary Emerald Glow */
  --secondary: #10b981;
  --secondary-light: #34d399;
  --secondary-dark: #059669;
  --secondary-glow: rgba(16, 185, 129, 0.35);

  /* Cyan & Ruby Highlights */
  --accent-cyan: #06b6d4;
  --accent-ruby: #ef4444;

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
  --shadow-emerald: 0 0 25px rgba(16, 185, 129, 0.25);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 18px 45px rgba(0, 0, 0, 0.85);

  /* Container width */
  --container-max: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  padding-bottom: 75px;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

/* Animations */
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); }
  50% { box-shadow: 0 0 30px rgba(245, 158, 11, 0.45); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}

h3 {
  font-size: 1.35rem;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  color: #cbd5e1;
}

a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: #ffffff;
}

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

/* Header & Glassmorphism Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 19, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.brand-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(245, 158, 11, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #000000;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Primary Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  line-height: 1;
  text-align: center;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
}

.btn-md {
  font-size: 0.95rem;
  padding: 0.75rem 1.65rem;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 0.95rem 2.15rem;
  box-shadow: var(--shadow-gold);
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #05070d !important;
  border: 1px solid #fbbf24;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
  color: #000000 !important;
}

.btn-secondary {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399 !important;
  border: 1px solid var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary);
  color: #05070d !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-emerald);
}

.btn-outline {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: rgba(245, 158, 11, 0.08);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.2s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  flex-direction: column;
  background: rgba(8, 12, 24, 0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-bottom: 2px solid var(--primary);
  gap: 1rem;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   CASINO HERO CONTAINER (First Container with Casino Backdrop)
   ========================================================================== */
.casino-hero {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.casino-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.18) 0%, transparent 65%),
    linear-gradient(180deg, rgba(6, 9, 19, 0.75) 0%, rgba(6, 9, 19, 0.95) 100%);
  pointer-events: none;
}

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

.hero-content {
  max-width: 900px;
}

/* Trust Badges & Floating Pills */
.trust-badges-bar {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.25rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(16, 24, 44, 0.85);
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.badge-emerald {
  border-color: var(--secondary);
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
}

.badge-danger {
  border-color: #ef4444;
  color: #f87171;
  background: rgba(239, 68, 68, 0.12);
}

/* Hero Quick Stats Bar */
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  background: rgba(12, 18, 34, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
  .hero-stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1.1;
}

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

/* ==========================================================================
   CONTAINER SECTIONS WITH FLASHY CASINO AMBIANCE
   ========================================================================== */
.casino-section {
  padding: 4.25rem 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

@media (max-width: 768px) {
  .casino-section {
    padding: 2.75rem 0;
  }
}

.section-accent-dark {
  background: 
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #070c18 0%, #03060d 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-accent-felt {
  background: 
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.16) 0%, transparent 65%),
    radial-gradient(circle at 85% 90%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #05161c 0%, #030810 100%);
  border-top: 1px solid rgba(16, 185, 129, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-accent-gold {
  background: 
    radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.16) 0%, transparent 65%),
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #10162a 0%, #050812 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-accent-vip {
  background: 
    radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.12) 0%, transparent 70%),
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
    linear-gradient(135deg, #0a0f22 0%, #03050a 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}

.casino-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
  opacity: 0.75;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header p {
  font-size: 1.05rem;
  max-width: 800px;
}

/* ==========================================================================
   3x2 INTERACTIVE GRID BOX & PLACECARDS (Strictly 3x2 with Pagination)
   ========================================================================== */
.grid-3x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

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

/* Placecard Component */
.placecard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
  position: relative;
}

.placecard:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-card-hover), 0 0 20px rgba(245, 158, 11, 0.2);
}

.placecard-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020408;
}

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

.placecard:hover .placecard-media img {
  transform: scale(1.08);
}

.placecard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(6, 9, 19, 0.85);
  border: 1px solid var(--primary);
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  text-transform: uppercase;
}

.placecard-rtp {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.9);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.placecard-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.placecard-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.placecard-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

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

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

.pagination-btn {
  background: rgba(16, 24, 44, 0.8);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination-btn.active {
  background: var(--primary);
  color: #05070d;
  border-color: var(--primary-light);
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   FUNCTIONAL STEP-BY-STEP WORKFLOW CARDS
   ========================================================================== */
.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   IMAGE & MEDIA CONTAINERS (Featured & Contextual)
   ========================================================================== */
.featured-image-frame {
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: #020408;
}

.featured-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.contextual-image-frame {
  margin: 2.25rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0a0e1c;
  box-shadow: var(--shadow-card);
}

.contextual-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.contextual-caption {
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  background: rgba(6, 9, 19, 0.95);
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   LUXURY COMPARISON TABLES & SUMMARY BOXES
   ========================================================================== */
.luxury-table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  text-align: left;
}

th {
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-light);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  color: #e2e8f0;
  font-size: 0.92rem;
}

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

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.summary-callout {
  background: rgba(16, 24, 44, 0.85);
  border-left: 4px solid var(--primary);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-card);
}

.summary-callout ul {
  list-style: none;
  padding: 0;
}

.summary-callout li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  color: #cbd5e1;
}

.summary-callout li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   FAQ ACCORDIONS
   ========================================================================== */
.faq-accordion-group {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-accordion-item.active {
  border-color: var(--primary);
}

.faq-accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-accordion-trigger:hover {
  color: var(--primary-light);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-accordion-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-accordion-content {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-accordion-item.active .faq-accordion-content {
  display: block;
}

/* ==========================================================================
   E-E-A-T AUTHOR BOX & FACT-CHECK STAMP
   ========================================================================== */
.author-e-e-a-t-box {
  background: linear-gradient(135deg, rgba(16, 24, 44, 0.9) 0%, rgba(12, 18, 34, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 3rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  position: relative;
}

.author-e-e-a-t-box::after {
  content: 'E-E-A-T VERIFIED';
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--secondary);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-emerald);
}

.author-avatar-badge {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #05070d;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px var(--primary-glow);
}

.author-bio-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.author-credentials {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.author-bio-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ==========================================================================
   FOOTER COMPLIANCE & NAVIGATION
   ========================================================================== */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 4rem 0 3rem;
  color: var(--text-muted);
  position: relative;
}

@media (max-width: 1023px) {
  .site-footer {
    padding-bottom: 6.5rem; /* Ensure clearance for sticky mobile dock */
  }
}

.footer-top-brand-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-top-brand-row {
    flex-direction: row;
    align-items: center;
  }
}

.footer-brand-info {
  max-width: 520px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-trust-payment-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.payment-badges-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
}

.payment-badge-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 24, 44, 0.9);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.pay-badge.gcash {
  border-color: #007dfe;
  color: #60a5fa;
}

.pay-badge.maya {
  border-color: #00d665;
  color: #34d399;
}

.pay-badge.instapay {
  border-color: #f59e0b;
  color: #fbbf24;
}

.pay-badge.ssl {
  border-color: var(--secondary);
  color: var(--secondary-light);
}

/* 5-Column Navigation Grid */
.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

.footer-col h5 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.15rem;
  position: relative;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-col h5::after {
  content: '';
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  margin-top: 0.35rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

/* Responsible Gaming Compliance Box */
.footer-responsible-gaming-box {
  background: rgba(12, 18, 34, 0.9);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
  .footer-responsible-gaming-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

.rg-badge-pill {
  flex-shrink: 0;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.rg-content strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.rg-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.rg-content a {
  color: var(--primary-light);
  text-decoration: underline;
}

/* Bottom Disclaimer & Copyright */
.footer-bottom-disclaimer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-legal-disclaimer {
  font-size: 0.8rem;
  color: var(--text-subtle);
  max-width: 960px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-bottom: 0;
}

/* ==========================================================================
   STICKY MOBILE BOTTOM DOCK
   ========================================================================== */
.mobile-bottom-dock {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: rgba(6, 9, 19, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-bottom-dock {
    display: none;
  }
}

.dock-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  gap: 3px;
  width: 20%;
  transition: color 0.2s ease;
}

.dock-action svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.dock-action:hover, .dock-action.active {
  color: var(--primary);
}

.dock-action-prominent {
  color: #05070d !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-md);
  padding: 0.4rem 0.2rem;
  box-shadow: var(--shadow-gold);
}

.dock-action-prominent svg {
  fill: #05070d;
}
