/* ==========================================================================
   OKBet Philippines Modern & Interactive Casino UI/UX Design System
   Aesthetic: Flashy, Modern, Electric Casino Vibe with Glassmorphism & Gold
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-main: #090c15;
  --bg-canvas: #0e1322;
  --bg-card: rgba(18, 24, 43, 0.85);
  --bg-card-hover: rgba(26, 35, 64, 0.95);
  --bg-elevated: #161e36;
  --bg-glass: rgba(20, 28, 50, 0.72);
  --bg-dark-overlay: linear-gradient(180deg, rgba(9, 12, 21, 0.75) 0%, rgba(9, 12, 21, 0.95) 100%);
  
  /* Brand & Accents */
  --primary-azure: #00d2ff;
  --primary-blue: #1e88e5;
  --gradient-primary: linear-gradient(135deg, #00d2ff 0%, #1e88e5 100%);
  
  --gold-glow: #ffd700;
  --gold-amber: #f59e0b;
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #f59e0b 50%, #d97706 100%);
  
  --emerald-win: #00e676;
  --emerald-dark: #10b981;
  --gradient-emerald: linear-gradient(135deg, #00e676 0%, #10b981 100%);
  
  --crimson-hot: #ff1744;
  --purple-vip: #a855f7;
  --gradient-vip: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  
  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8492a6;
  --text-dark: #0f172a;
  
  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow-gold: rgba(255, 215, 0, 0.35);
  --border-glow-cyan: rgba(0, 210, 255, 0.35);
  --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.45);
  --shadow-glow-gold: 0 0 25px rgba(255, 215, 0, 0.35);
  --shadow-glow-cyan: 0 0 25px rgba(0, 210, 255, 0.35);
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Layout */
  --max-width: 1240px;
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Dual Language Visibility Rules */
html[lang="en"] .lang-fil {
  display: none !important;
}
html[lang="en"] .lang-en {
  display: block;
}
html[lang="en"] span.lang-en, html[lang="en"] a.lang-en {
  display: inline;
}

html[lang="fil"] .lang-en {
  display: none !important;
}
html[lang="fil"] .lang-fil {
  display: block;
}
html[lang="fil"] span.lang-fil, html[lang="fil"] a.lang-fil {
  display: inline;
}

/* Flashy Casino Particle & Ambient Lights */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0, 210, 255, 0.15) 0%, rgba(245, 158, 11, 0.1) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

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

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.2rem; }

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

a {
  color: var(--primary-azure);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #67e8f9;
  text-decoration: none;
}

/* Casino Ambient Section Backgrounds */
.section-casino {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.section-casino.flashy-glow {
  background: linear-gradient(180deg, rgba(14, 19, 34, 0.95) 0%, rgba(9, 12, 21, 0.98) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-casino.flashy-gold {
  background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.12) 0%, rgba(9, 12, 21, 0.98) 75%);
}

.section-casino.flashy-purple {
  background: radial-gradient(circle at 50% 20%, rgba(168, 85, 247, 0.12) 0%, rgba(9, 12, 21, 0.98) 75%);
}

/* Hero First Container (With Casino Image Background) */
.hero-casino-container {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 90px 0 60px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.hero-casino-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 21, 0.7) 0%, rgba(9, 12, 21, 0.92) 85%, #090c15 100%);
  z-index: 1;
}

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

/* Glassmorphism Cards */
.casino-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.casino-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow-gold);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.25);
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  min-height: 48px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-gold {
  background: var(--gradient-gold);
  color: #0f172a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-gold);
  color: #000;
}

.btn-azure {
  background: var(--gradient-primary);
  color: #0f172a;
  font-weight: 800;
}

.btn-azure:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-cyan);
  color: #000;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--primary-azure);
  color: #fff;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
  min-height: 40px;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.badge-gold {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.badge-emerald {
  background: rgba(0, 230, 118, 0.15);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.4);
}

.badge-cyan {
  background: rgba(0, 210, 255, 0.15);
  color: #00d2ff;
  border: 1px solid rgba(0, 210, 255, 0.4);
}

.badge-hot {
  background: linear-gradient(135deg, #ff1744 0%, #f43f5e 100%);
  color: #fff;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 23, 68, 0.6); }
  50% { box-shadow: 0 0 18px rgba(255, 23, 68, 0.9); }
}

/* ==========================================================================
   3x2 Grid Box System (Exactly 6 Cards per Page + Pagination)
   ========================================================================== */
.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

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

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

/* Placecard Game / Article Item */
.placecard {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

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

.placecard-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.placecard-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.placecard-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.placecard-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.placecard-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.placecard-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Pagination Control */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 30px 0;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-azure);
  border-color: var(--primary-azure);
}

.page-btn.active {
  background: var(--gradient-gold);
  color: #0f172a;
  border-color: var(--gold-glow);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 12, 21, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 72px;
  display: flex;
  align-items: center;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher Selector */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 3px;
  cursor: pointer;
  user-select: none;
}

.lang-btn {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--gradient-primary);
  color: #0f172a;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 6px;
}

@media (max-width: 991px) {
  .nav-desktop {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
}

/* Off-Canvas Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: #0d1222;
  border-left: 1px solid var(--border-subtle);
  z-index: 201;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}

.mobile-drawer.active {
  right: 0;
}

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

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

.drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sticky Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(9, 12, 21, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  z-index: 99;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  body {
    padding-bottom: 70px;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  flex: 1;
}

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

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
}

.bottom-nav-item.highlight-deposit {
  color: #0f172a;
  transform: translateY(-8px);
}

.bottom-nav-item.highlight-deposit .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.5);
  border: 2px solid #fff;
}

/* ==========================================================================
   21+ Age Gate Modal
   ========================================================================== */
.age-gate-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.age-gate-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.age-gate-box {
  background: #101628;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow-gold);
}

.age-gate-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 23, 68, 0.15);
  border: 2px solid #ff1744;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #ff1744;
}

/* ==========================================================================
   Interactive FAQ Accordion (Clean Dark Theme, High Contrast & Responsive)
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.faq-item {
  background: linear-gradient(180deg, #131d31 0%, #0d1424 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
  width: 100%;
}

.faq-item:hover {
  border-color: rgba(234, 179, 8, 0.5) !important;
}

.faq-item.active {
  border-color: var(--gold-glow) !important;
  background: linear-gradient(180deg, #1a2744 0%, #10192e 100%) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 215, 0, 0.2) !important;
}

.faq-question {
  width: 100% !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 18px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  cursor: pointer !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  color: #ffffff !important;
  text-align: left !important;
  user-select: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

.faq-question span {
  color: #ffffff !important;
  text-align: left !important;
  line-height: 1.45 !important;
  flex-grow: 1 !important;
}

.faq-question:hover,
.faq-question:hover span {
  color: var(--gold-glow) !important;
}

.faq-item.active .faq-question,
.faq-item.active .faq-question span {
  color: var(--gold-glow) !important;
}

.faq-icon {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--gold-glow) !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease !important;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg) !important;
  color: var(--primary-azure) !important;
}

.faq-chevron {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease !important;
  fill: var(--gold-glow) !important;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg) !important;
  fill: var(--primary-azure) !important;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
  color: #cbd5e1 !important;
}

.faq-answer p {
  color: #cbd5e1 !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  padding-bottom: 20px !important;
}

.faq-answer a {
  color: var(--gold-glow) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px !important;
  max-height: 800px !important;
}

/* ==========================================================================
   E-E-A-T Author & Reviewer Credential Box
   ========================================================================== */
.eeat-box {
  background: rgba(16, 23, 42, 0.75);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 40px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

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

.eeat-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--emerald-win);
  object-fit: cover;
  flex-shrink: 0;
}

.eeat-content h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eeat-badge {
  color: var(--emerald-win);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ==========================================================================
   Interactive Turnover Calculator Widget
   ========================================================================== */
.calc-widget {
  background: linear-gradient(135deg, rgba(20, 28, 54, 0.95) 0%, rgba(13, 18, 36, 0.98) 100%);
  border: 1px solid var(--border-glow-gold);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  margin: 35px 0;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

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

.calc-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.calc-field input, .calc-field select {
  width: 100%;
  height: 48px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0 16px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.calc-field input:focus, .calc-field select:focus {
  outline: none;
  border-color: var(--gold-glow);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.calc-result-box {
  background: rgba(255, 215, 0, 0.08);
  border: 1px dashed rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin-top: 15px;
}

.calc-result-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-glow);
}

/* ==========================================================================
   Compliance & Responsible Gaming Footer
   ========================================================================== */
.site-footer {
  background: #06080e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  position: relative;
  z-index: 10;
}

.footer-compliance-banner {
  background: rgba(255, 23, 68, 0.08);
  border: 1px solid rgba(255, 23, 68, 0.25);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.footer-21-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid #ff1744;
  color: #ff1744;
  font-weight: 900;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

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

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

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

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

.footer-links a:hover {
  color: var(--primary-azure);
}

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

/* Helper Utilities */
.text-gold { color: var(--gold-glow); }
.text-cyan { color: var(--primary-azure); }
.text-emerald { color: var(--emerald-win); }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }

/* ==========================================================================
   CASINO PREMIER TABLES (RESPONSIVE & LUXURY STYLING)
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glow-gold);
  background: linear-gradient(180deg, #131d31 0%, #0c1220 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(234, 179, 8, 0.2);
}

.casino-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
  text-align: left;
  color: #e2e8f0;
}

.casino-table thead th {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.18) 0%, rgba(15, 23, 42, 0.95) 100%);
  color: var(--gold-glow);
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px 20px;
  border-bottom: 2px solid rgba(234, 179, 8, 0.35);
  white-space: nowrap;
}

.casino-table thead th:first-child {
  border-top-left-radius: calc(var(--radius-lg) - 1px);
}

.casino-table thead th:last-child {
  border-top-right-radius: calc(var(--radius-lg) - 1px);
}

.casino-table tbody tr {
  transition: background-color 0.2s ease;
}

.casino-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.casino-table tbody tr:hover {
  background: rgba(234, 179, 8, 0.08);
}

.casino-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
  line-height: 1.5;
}

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

.casino-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: calc(var(--radius-lg) - 1px);
}

.casino-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: calc(var(--radius-lg) - 1px);
}

.casino-table td strong {
  color: #ffffff;
  font-weight: 600;
}

.casino-table .table-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.casino-table .table-badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.casino-table .table-badge-gold {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.casino-table .table-badge-red {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.casino-table .table-badge-blue {
  background: rgba(0, 210, 255, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(0, 210, 255, 0.3);
}



/* ==========================================================================
   Responsive Grid Framework & Mobile Optimization
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.bento-grid, .scorecard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .bento-grid, .scorecard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 540px) {
  .bento-grid, .scorecard-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.guides-grid, .reviews-grid, .steps-grid, .calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .guides-grid, .reviews-grid, .steps-grid, .calc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .guides-grid, .reviews-grid, .steps-grid, .calc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.footer-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 30px !important;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Mobile Hero, Header & CTAs Adjustments */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  body {
    padding-bottom: 74px !important;
  }

  .site-header {
    height: 60px !important;
  }

  .header-inner {
    padding: 0 10px !important;
    gap: 6px !important;
    height: 100% !important;
  }

  .brand-logo img {
    height: 30px !important;
    max-width: 105px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  .header-actions {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .header-actions .btn-glass {
    display: none !important; /* Hide redundant Log In button on mobile (already in drawer & bottom bar) */
  }

  .lang-switcher {
    padding: 2px !important;
    gap: 2px !important;
    flex-shrink: 0 !important;
  }

  .lang-btn {
    font-size: 11px !important;
    padding: 3px 6px !important;
  }

  .header-actions .btn-gold,
  .header-actions .btn-promo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    padding: 6px 12px !important;
    height: 32px !important;
    min-height: unset !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.2 !important;
    border-radius: var(--radius-full) !important;
  }

  .hamburger-btn {
    font-size: 1.3rem !important;
    padding: 4px !important;
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .hero-casino-container {
    padding: 36px 0 30px !important;
    min-height: auto !important;
  }

  .hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .hero-cta-group .btn {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    white-space: normal !important;
    padding: 14px 20px !important;
  }

  .jackpot-counter-box {
    width: 100% !important;
    padding: 16px !important;
  }

  .jackpot-counter-box .jackpot-amount {
    font-size: clamp(1.4rem, 6vw, 2.2rem) !important;
    word-break: break-all !important;
  }

  .container {
    padding: 0 14px !important;
  }
}

/* Micro-screen adjustments (<= 480px) */
@media (max-width: 480px) {
  .brand-logo img {
    height: 26px !important;
    max-width: 85px !important;
  }

  .header-actions .btn-gold,
  .header-actions .btn-promo {
    font-size: 10.5px !important;
    padding: 5px 8px !important;
  }

  .lang-btn {
    font-size: 10px !important;
    padding: 2px 4px !important;
  }
}
