/* ==========================================================================
   ACE58 DESIGN SYSTEM & CASINO LUXURY THEME TOKENS
   Target Market: Philippines (GCash/Maya, PAGCOR, 21+ Responsible Gaming)
   Palette: Deep Velvet Emerald (#060e0a, #0b1a13, #194c38) & Gold (#facf20, #ffd700)
   ========================================================================== */

:root {
  /* Surface Tokens */
  --bg-base: #060e0a;
  --bg-surface: #0b1a13;
  --bg-card: #0f241a;
  --bg-card-elevated: #153325;
  --bg-glass: rgba(15, 36, 26, 0.75);
  --bg-glass-heavy: rgba(8, 20, 14, 0.92);
  
  /* Brand Emerald Tokens */
  --emerald-primary: #00b870;
  --emerald-hover: #00e58f;
  --emerald-muted: #194c38;
  --emerald-deep: #071910;
  --emerald-glow: rgba(0, 184, 112, 0.35);

  /* High-Roller Gold Tokens */
  --gold-primary: #facf20;
  --gold-hover: #ffe259;
  --gold-dark: #d99b00;
  --gold-glow: rgba(250, 207, 32, 0.35);

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #FFF2A3 0%, #FACF20 50%, #D99B00 100%);
  --grad-emerald: linear-gradient(135deg, #00E58F 0%, #00B870 50%, #0B5A39 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(21, 51, 37, 0.9) 0%, rgba(11, 26, 19, 0.95) 100%);
  --grad-hero: radial-gradient(circle at 50% 20%, rgba(0, 184, 112, 0.18) 0%, rgba(6, 14, 10, 0.98) 75%);

  /* Text & Border Tokens */
  --text-primary: #ffffff;
  --text-secondary: #9cb3a7;
  --text-muted: #647d70;
  --text-gold: #facf20;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-emerald: rgba(0, 184, 112, 0.28);
  --border-gold: rgba(250, 207, 32, 0.35);

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

  /* Typography */
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 1px rgba(0, 184, 112, 0.15);
  --shadow-gold: 0 4px 20px rgba(250, 207, 32, 0.3);
  --shadow-emerald: 0 4px 20px rgba(0, 184, 112, 0.35);
  
  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-primary);
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere */
#casinoCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.25;
}

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

h2 {
  font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 1.5vw + 0.3rem, 1.5rem);
}

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

a {
  color: var(--emerald-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--emerald-hover);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-emerald);
  color: #ffffff;
  box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 229, 143, 0.45);
  color: #ffffff;
}

.btn-gold {
  background: var(--grad-gold);
  color: #0b1a13;
  box-shadow: var(--shadow-gold);
  font-weight: 800;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(250, 207, 32, 0.5);
  color: #0b1a13;
}

.btn-glass {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  border-color: var(--emerald-primary);
  color: var(--emerald-hover);
  background: rgba(21, 51, 37, 0.85);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.08rem;
}

/* ==========================================================================
   HEADER COMPONENT (Sticky, 6 Tabs, Dropdown Menus, Mobile Drawer)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

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

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

/* Primary Navigation with Max 6 Tabs */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

.nav-chevron {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
  fill: currentColor;
}

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

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1010;
}

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

.dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-link strong {
  font-size: 0.88rem;
  color: #ffffff;
}

.dropdown-link span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.dropdown-link:hover {
  background: var(--bg-card-elevated);
  border-left: 2px solid var(--emerald-primary);
  padding-left: 14px;
}

.dropdown-link:hover strong {
  color: var(--gold-primary);
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  color: var(--text-primary);
  cursor: pointer;
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-emerald);
  z-index: 2000;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
}

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

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

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

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.drawer-nav-link:hover {
  background: var(--bg-card);
  color: var(--gold-primary);
}

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

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

/* ==========================================================================
   CASINO-THEMED HERO HEADER (Applies to Every Webpage)
   ========================================================================== */

.casino-hero {
  position: relative;
  background: var(--grad-hero);
  border-bottom: 1px solid var(--border-emerald);
  padding: 56px 0 44px;
  overflow: hidden;
}

.casino-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/casino-hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.casino-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: rgba(250, 207, 32, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-heading {
  margin-bottom: 16px;
  color: #ffffff;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-media-bundle {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 30px rgba(250, 207, 32, 0.15);
}

.hero-featured-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-media-bundle:hover .hero-featured-img {
  transform: scale(1.02);
}

.hero-live-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 20, 14, 0.85);
  border: 1px solid var(--emerald-primary);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--emerald-hover);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-live-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-primary);
  box-shadow: 0 0 8px var(--emerald-hover);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* ==========================================================================
   LIVE MARQUEE & JACKPOT TICKER
   ========================================================================== */

.live-ticker-wrap {
  background: #08160f;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.jackpot-display {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.jackpot-counter {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  letter-spacing: 0.05em;
}

.winner-marquee {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.marquee-item strong {
  color: var(--emerald-hover);
}

/* ==========================================================================
   3x2 & 3x3 CARD GRIDS & GAME CARDS
   ========================================================================== */

.section-padding {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-title-wrap h2 {
  color: #ffffff;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-top: 4px;
  margin-bottom: 0;
}

/* Grid Layouts */
.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Game Card */
.game-card {
  position: relative;
  background: var(--grad-dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.game-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #040906;
}

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

.game-card:hover .game-thumb {
  transform: scale(1.08);
}

.game-rtp-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-primary);
  backdrop-filter: blur(4px);
}

.game-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.game-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

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

.game-tag {
  font-size: 0.78rem;
  color: var(--emerald-primary);
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE TABS & FILTER LISTS
   ========================================================================== */

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filter-tab:hover, .filter-tab.active {
  background: var(--grad-emerald);
  color: #ffffff;
  border-color: var(--emerald-primary);
  box-shadow: 0 2px 10px rgba(0, 184, 112, 0.3);
}

/* ==========================================================================
   MEDIA BUNDLE & PROMOTION SPOTLIGHTS
   ========================================================================== */

.media-bundle-banner {
  background: linear-gradient(135deg, rgba(21, 51, 37, 0.95) 0%, rgba(9, 21, 15, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  margin-bottom: 48px;
}

.media-bundle-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   ARTICLE & USER GUIDE CONTENT FORMATTING
   ========================================================================== */

.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.author-byline-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  border: 2px solid var(--gold-primary);
}

.author-meta strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.author-meta span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.breadcrumbs a:hover {
  color: var(--emerald-primary);
}

.featured-article-banner {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--border-subtle);
}

.featured-article-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.contextual-img-card {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-emerald);
  background: rgba(0, 0, 0, 0.4);
}

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

.quick-summary-box {
  background: rgba(0, 184, 112, 0.08);
  border-left: 4px solid var(--emerald-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.quick-summary-box strong {
  display: block;
  font-size: 1rem;
  color: var(--emerald-hover);
  margin-bottom: 6px;
}

.quick-summary-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* Comparison Tables */
.responsive-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.92rem;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: rgba(250, 207, 32, 0.12);
  color: var(--gold-primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

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

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0;
}

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

.faq-trigger {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
}

.faq-trigger:hover {
  color: var(--emerald-hover);
}

.faq-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  fill: var(--gold-primary);
  flex-shrink: 0;
}

.faq-card.active .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-card.active .faq-body {
  max-height: 500px;
  padding-bottom: 18px;
}

/* ==========================================================================
   PAGINATION CONTROLS
   ========================================================================== */

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

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

.page-btn:hover, .page-btn.active {
  background: var(--emerald-primary);
  border-color: var(--emerald-primary);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 184, 112, 0.4);
}

/* ==========================================================================
   FOOTER COMPONENT (Responsible 21+, PAGCOR, E-Wallets)
   ========================================================================== */

.site-footer {
  background: #030805;
  border-top: 1px solid var(--border-emerald);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--gold-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.footer-links a:hover {
  color: var(--emerald-hover);
  padding-left: 4px;
}

.footer-badges-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.badges-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.badge-img {
  height: 34px;
  width: auto;
  display: block;
  border-radius: 4px;
}

.footer-legal-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile-First Optimization)
   ========================================================================== */

@media (max-width: 1024px) {
  .casino-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .media-bundle-banner {
    grid-template-columns: 1fr;
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
  .grid-3x2, .grid-3x3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
  }
  .main-nav {
    display: none; /* Hidden on mobile; drawer used */
  }
  .mobile-menu-toggle {
    display: block;
  }
  .grid-3x2, .grid-3x3 {
    grid-template-columns: 1fr;
  }
  .footer-trust-grid {
    grid-template-columns: 1fr;
  }
  .article-main {
    padding: 24px 18px;
  }
  .footer-badges-strip {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================================
   USER GUIDE PROCEDURAL WORKFLOW & STEP COMPONENTS
   ========================================================================== */

.guide-tab-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.guide-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.guide-tab-btn:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.guide-tab-btn.active {
  background: var(--emerald-primary);
  color: #060e0a;
  border-color: var(--emerald-primary);
  box-shadow: var(--shadow-emerald);
}

.guide-panel {
  display: none;
  animation: fadeIn 0.35s ease-in-out;
}

.guide-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.step-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  border-color: var(--emerald-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.step-number-badge {
  width: 48px;
  height: 48px;
  background: var(--grad-emerald);
  color: #060e0a;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 184, 112, 0.4);
}

.step-content h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.step-tip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(250, 207, 32, 0.1);
  border: 1px solid rgba(250, 207, 32, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--gold-primary);
}

.troubleshoot-box {
  background: linear-gradient(135deg, rgba(21, 51, 37, 0.6) 0%, rgba(11, 26, 19, 0.9) 100%);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px 0;
}

.troubleshoot-box h3 {
  color: var(--gold-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 640px) {
  .checklist-grid {
    grid-template-columns: 1fr;
  }
  .step-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0, 0, 0, 0.35);
  padding: 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--emerald-primary);
}

.checklist-item strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.checklist-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

