/* ==========================================================================
   J77 CASINO PHILIPPINES - MASTER DESIGN SYSTEM & STYLESHEET
   Mobile-First • High-End Casino Atmosphere • Responsive • Accessible
   ========================================================================== */

:root {
  /* Surface & Background Palette (Deep Midnight Navy) */
  --bg-deep: #060911;
  --bg-primary: #0a0f1d;
  --bg-secondary: #10182b;
  --bg-card: #152038;
  --bg-elevated: #1b294a;
  --bg-glass: rgba(16, 24, 43, 0.82);

  /* Brand Accents (Official Gold, Fire Amber & Casino Emerald) */
  --gold-300: #fde047;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --gold-gradient: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #d97706 100%);
  --gold-border: linear-gradient(135deg, rgba(251, 191, 36, 0.6), rgba(251, 191, 36, 0.1));

  --crimson-500: #ef4444;
  --crimson-glow: rgba(239, 68, 68, 0.4);
  --emerald-500: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-gold: #fbbf24;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(251, 191, 36, 0.25);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 8px 24px rgba(245, 158, 11, 0.25);

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

  /* Transitions */
  --ease-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Ambient Casino Dynamic Background */
.casino-ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(239, 68, 68, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #060911 0%, #0a0f1d 50%, #060911 100%);
}

.casino-sparks {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2px 2px at 40px 60px, rgba(251, 191, 36, 0.4), transparent),
    radial-gradient(2px 2px at 120px 180px, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(3px 3px at 280px 120px, rgba(245, 158, 11, 0.35), transparent),
    radial-gradient(2px 2px at 420px 300px, rgba(239, 68, 68, 0.3), transparent);
  background-size: 550px 550px;
  opacity: 0.6;
  animation: sparkDrift 40s linear infinite;
}

@keyframes sparkDrift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-550px); }
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   HEADER NAVIGATION (Max 6 Category Tabs with Dropdowns)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--ease-smooth);
}

.site-header.scrolled {
  background: rgba(10, 15, 29, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-glow);
}

.header-top-bar {
  background: linear-gradient(90deg, #10182b, #1b294a, #10182b);
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
  font-size: 0.8rem;
  padding: 0.35rem 0;
  color: var(--text-muted);
}

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

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--emerald-500);
  font-weight: 600;
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: var(--emerald-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-500);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

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

.brand-logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: var(--ease-smooth);
}

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

/* 6 Top-Level Categories Navigation */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--ease-smooth);
}

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

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  fill: currentColor;
}

.nav-item:hover .nav-link svg {
  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-glow);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--ease-smooth);
  z-index: 1100;
}

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

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--ease-smooth);
}

.dropdown-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.dropdown-item-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.dropdown-item:hover {
  background: rgba(251, 191, 36, 0.1);
  color: var(--gold-400);
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--gold-400);
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--ease-smooth);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-400);
  color: var(--gold-400);
}

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

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
  filter: brightness(1.05);
}

.btn-crimson {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-crimson:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

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

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--ease-smooth);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-glow);
  z-index: 1200;
  padding: 1.5rem;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

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

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

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

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

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

/* ==========================================================================
   CASINO HERO SECTION
   ========================================================================== */
.casino-hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background: 
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.15) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--gold-400);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  color: #fff;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

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

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: var(--bg-card);
  transition: var(--ease-smooth);
}

.hero-visual-frame:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(245, 158, 11, 0.35);
}

.hero-visual-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   MEDIA BUNDLE & HIGHLIGHT CHIPS
   ========================================================================== */
.media-bundle-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.media-bundle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.media-bundle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
  opacity: 0.5;
  transition: var(--ease-smooth);
}

.media-bundle-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
}

.media-bundle-card:hover::before {
  opacity: 1;
}

.bundle-icon-wrap {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: rgba(251, 191, 36, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-size: 1.3rem;
}

.bundle-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.bundle-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   3x2 INTERACTIVE CARD GRIDS & TABS
   ========================================================================== */
.section-header-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .section-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-title-wrap h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.section-title-wrap p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Filter Tabs */
.tabs-scroll-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.tabs-scroll-container::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--ease-smooth);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--gold-gradient);
  color: #080c16;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}

/* 3x2 Grid */
.cards-grid-3x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

/* ==========================================================================
   3x3 POSTCARD GRID & PAGINATION FOR CATEGORY DIRECTORIES
   ========================================================================== */
.postcard-grid-3x3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

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

@media (min-width: 1024px) {
  .postcard-grid-3x3 {
    grid-template-columns: repeat(3, 1fr); /* 3 columns x 3 rows = 9 postcards */
  }
}

.postcard-card {
  background: var(--bg-card);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--ease-smooth);
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.postcard-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.25);
}

.postcard-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}

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

.postcard-card:hover .postcard-img-wrap img {
  transform: scale(1.06);
}

.postcard-stamp-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 15, 29, 0.9);
  backdrop-filter: blur(6px);
  border: 1px dashed rgba(251, 191, 36, 0.6);
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.postcard-number-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 15, 29, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

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

.postcard-meta-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.postcard-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.postcard-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--ease-smooth);
}

.postcard-title a:hover {
  color: var(--gold-400);
}

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

.postcard-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.postcard-spec-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
}

.postcard-spec-pill.highlight {
  color: var(--gold-400);
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.08);
}

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

/* Postcard Pagination Bar */
.postcard-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.5rem 0 1rem;
}

.postcard-page-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--ease-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.postcard-page-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--gold-400);
}

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

.postcard-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.postcard-page-info {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 0.5rem;
  font-weight: 500;
}

.casino-game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--ease-smooth);
  position: relative;
}

.casino-game-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(245, 158, 11, 0.2);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}

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

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

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--gold-400);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}

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

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  margin-bottom: 1.1rem;
  font-size: 0.8rem;
}

.metric-item span {
  display: block;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-val {
  font-weight: 700;
  color: var(--gold-400);
}

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

/* Pagination Bar */
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

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

.page-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--border-glow);
}

.page-btn.active {
  background: var(--gold-gradient);
  color: #0b0f19;
  border-color: transparent;
  font-weight: 800;
}

/* ==========================================================================
   INTERACTIVE LISTS & LEADERBOARD
   ========================================================================== */
.interactive-list-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.list-item-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--ease-smooth);
}

.list-item-row:last-child {
  border-bottom: none;
}

.list-item-row:hover {
  background: rgba(251, 191, 36, 0.04);
}

.rank-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.rank-1 { color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.1); }
.rank-2 { color: #cbd5e1; border: 1px solid rgba(203, 213, 225, 0.4); }
.rank-3 { color: #d97706; border: 1px solid rgba(217, 119, 6, 0.4); }

.list-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

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

/* ==========================================================================
   SCANNABLE EDITORIAL SECTIONS (Tables, Quotes, Contextual Visuals)
   ========================================================================== */
.editorial-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.editorial-prose h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.editorial-prose h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
}

.editorial-prose p {
  margin-bottom: 1.25rem;
}

.editorial-prose ul, .editorial-prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.editorial-prose li {
  margin-bottom: 0.5rem;
}

.in-body-visual {
  margin: 2.2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.in-body-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Styled High-Trust Comparison Tables */
.casino-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

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

.casino-table th {
  background: var(--bg-elevated);
  color: var(--gold-400);
  font-weight: 700;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
  white-space: nowrap;
}

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

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

.casino-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Persona Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
}

.review-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 4rem;
  line-height: 1;
  color: rgba(251, 191, 36, 0.12);
  font-family: Georgia, serif;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gold-400);
}

.review-author {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.review-tag {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

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

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

.faq-item.active {
  border-color: var(--border-glow);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.4rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: var(--ease-smooth);
}

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

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  fill: currentColor;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  fill: var(--gold-400);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.4rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.4rem 1.25rem 1.4rem;
}

/* ==========================================================================
   INTERACTIVE WIDGETS (Bankroll Calculator & Cashier Simulator)
   ========================================================================== */
.interactive-widget-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.5);
}

.widget-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.widget-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.calc-inputs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .calc-inputs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.input-control {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: var(--ease-smooth);
}

.input-control:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.calc-result-chip {
  text-align: center;
}

.calc-res-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.calc-res-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-400);
  margin-top: 2px;
}

/* ==========================================================================
   FOOTER & STICKY BOTTOM NAV
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #04060b;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

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

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

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold-400);
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--ease-smooth);
}

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

.payment-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pay-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.pay-badge.gcash { color: #007dfe; border-color: rgba(0, 125, 254, 0.4); }
.pay-badge.maya { color: #1fb981; border-color: rgba(31, 185, 129, 0.4); }
.pay-badge.usdt { color: #26a17b; border-color: rgba(38, 161, 123, 0.4); }

.responsible-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.badge-21 {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid var(--crimson-500);
  color: var(--crimson-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
}

.responsible-text {
  font-size: 0.825rem;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Sticky Bottom Mobile Navigation Bar */
.sticky-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-glow);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 1050;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.6);
}

@media (min-width: 1024px) {
  .sticky-bottom-nav {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

body {
  padding-bottom: 60px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  transition: var(--ease-smooth);
}

.bottom-nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

.bottom-nav-item.highlight {
  color: var(--gold-300);
}

.bottom-nav-item.highlight svg {
  fill: var(--gold-400);
  filter: drop-shadow(0 0 6px var(--gold-glow));
}
