/* ==========================================================================
   SSBET77 (ssbet77.poker) - Mobile-First App-Shell UI Design System
   Architecture: Mobile App-Shell (Max 430px centered container)
   Theme: Dark Luxury Casino Palette
   Compliance: Zero Fake PAGCOR Numbers | 21+ Responsible Gaming | Strict H1 First
   ========================================================================== */

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

:root {
  /* Color Palette Tokens */
  --bg-backdrop: #141414;
  --bg-app: #242424;
  --bg-app-alt: #2b2b2b;
  --surface: #333333;
  --surface-card: #2d2d2d;
  --surface-elevated: #3f3f3f;
  --surface-glass: rgba(43, 43, 43, 0.85);

  /* Gold Luxury Gradients & Accents */
  --gold: #FFD700;
  --gold-light: #FFE57F;
  --gold-dark: #FDB931;
  --gold-deep: #D4AF37;
  --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FDB931 100%);
  --gold-glow: 0 4px 18px rgba(255, 215, 0, 0.35);
  --gold-border: rgba(255, 215, 0, 0.25);

  /* Functional Status Tokens */
  --ruby-accent: #e63946;
  --ruby-gradient: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  --green-verified: #10b981;
  --green-badge-bg: rgba(16, 185, 129, 0.15);
  --blue-gcash: #007dfe;
  --green-maya: #00be64;

  /* Typography Colors */
  --text-main: #f5f5f5;
  --text-muted: #a3a3a3;
  --text-dim: #737373;
  --text-inverse: #121212;

  /* Typography Scale */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 0.95rem;  /* 15.2px */
  --text-md: 1.05rem;    /* 16.8px */
  --text-lg: 1.20rem;    /* 19.2px */
  --text-xl: 1.35rem;    /* 21.6px */
  --text-2xl: 1.65rem;   /* 26.4px */

  /* Borders & Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Layout */
  --app-max-width: 430px;
  --header-height: 58px;
  --bottom-nav-height: 64px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-backdrop);
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-backdrop);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   1. Mobile App Shell Container
   -------------------------------------------------------------------------- */
.app-shell {
  width: 100%;
  max-width: var(--app-max-width);
  min-height: 100vh;
  background-color: var(--bg-app);
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.85), 0 0 2px rgba(255, 215, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--bottom-nav-height) + 16px);
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   2. Sticky Top Header (.hdr)
   -------------------------------------------------------------------------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(36, 36, 36, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.hdr-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.hdr-logo-img {
  height: 34px;
  width: auto;
  max-width: 135px;
  object-fit: contain;
}

.hdr-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-hdr-login {
  padding: 6px 12px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  background: transparent;
}

.btn-hdr-login:hover {
  background: rgba(255, 215, 0, 0.15);
}

.btn-hdr-register {
  padding: 6px 14px;
  font-size: var(--text-xs);
  font-weight: 800;
  text-decoration: none;
  color: var(--text-inverse);
  background: var(--gold-gradient);
  border-radius: var(--radius-pill);
  box-shadow: var(--gold-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hdr-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.45);
}

/* --------------------------------------------------------------------------
   3. Top Compliance / Notification Notice (DIV ONLY, NEVER A HEADING)
   -------------------------------------------------------------------------- */
.top-notice-bar {
  background: linear-gradient(90deg, #1f1f1f 0%, #292929 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.top-notice-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rg-pill-sm {
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.top-notice-ticker {
  color: var(--gold-light);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   4. Immersive Hero Section (.hero-card)
   - CRITICAL: H1 is strictly the first heading in the HTML!
   -------------------------------------------------------------------------- */
.hero-card {
  position: relative;
  background: url('/images/hero-casino-bg.webp') center/cover no-repeat;
  padding: 24px 16px 20px;
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 36, 36, 0.72) 0%, rgba(36, 36, 36, 0.96) 100%);
  z-index: 1;
}

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

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-badge-wrap .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-verified);
  box-shadow: 0 0 8px var(--green-verified);
  animation: pulseDot 1.8s infinite;
}

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

/* STRICT H1 - First Heading in DOM */
.hero-content h1 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-content h1 span.gold-highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: var(--text-sm);
  color: #d1d5db;
  line-height: 1.45;
  margin-bottom: 14px;
}

/* Dual-Action Buttons Container */
.dual-cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.btn-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gold-gradient);
  color: var(--text-inverse);
  font-weight: 800;
  font-size: var(--text-xs);
  padding: 11px 12px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: var(--gold-glow);
  text-align: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-cta-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-weight: 700;
  font-size: var(--text-xs);
  padding: 11px 12px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Trust Metric Badges Strip */
.trust-strip {
  display: flex;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-val {
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--gold);
}

.trust-lbl {
  font-size: 10px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. Interactive 3x2 Game Grid & Tabs (.game-section)
   -------------------------------------------------------------------------- */
.game-section {
  padding: 18px 14px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-head h2::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.view-all-link {
  font-size: var(--text-xs);
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 700;
}

/* Game & Platform Categories Section */
.category-section {
  margin: 16px 0 22px;
}

.category-section .section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.category-section .section-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 640px) {
  .category-grid {
    gap: 12px;
  }
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 6px 10px;
  background: linear-gradient(135deg, rgba(28, 28, 28, 0.95) 0%, rgba(18, 18, 18, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

.category-card:hover, .category-card:active {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, rgba(35, 32, 20, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 215, 0, 0.15);
}

.category-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-xs);
  background: #181818;
  border: 1px solid rgba(255, 215, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 0 6px rgba(255, 215, 0, 0.2);
}

.category-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transition: transform 0.25s ease;
}

.category-card:hover .category-icon-img {
  transform: scale(1.1);
}

.category-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 2px;
  text-align: center;
  word-break: keep-all;
}

.category-card:hover .category-title {
  color: var(--gold-light);
}

.category-desc {
  font-size: 9.5px;
  color: var(--text-muted);
  line-height: 1.2;
  text-align: center;
  word-break: keep-all;
}

.category-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  pointer-events: none;
}

.category-badge.promo {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

.category-badge.gcash {
  background: rgba(0, 122, 255, 0.18);
  color: #60a5fa;
  border-color: rgba(0, 122, 255, 0.35);
}

/* Provider Filter Chips */
.provider-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  scrollbar-width: none;
}
.provider-chips::-webkit-scrollbar { display: none; }

.chip-btn {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.chip-btn.active, .chip-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* 3x2 Grid Box Container */
.grid-3x2-wrap {
  position: relative;
}

.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.game-card {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

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

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

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

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

.game-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.game-rtp-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--green-badge-bg);
  color: var(--green-verified);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.game-info {
  padding: 8px 10px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-title {
  font-size: var(--text-xs);
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.game-provider {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Dual Buttons per Game Tile */
.game-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: auto;
}

.btn-game-play {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  font-size: 10px;
  font-weight: 800;
  padding: 6px 0;
  border-radius: var(--radius-pill);
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s;
}

.btn-game-play:hover {
  opacity: 0.9;
}

.btn-game-info {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 0;
  border-radius: var(--radius-pill);
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}

.btn-game-info:hover {
  border-color: var(--gold);
  color: var(--gold);
}

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

.page-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn.active, .page-btn:hover {
  background: var(--gold);
  color: #121212;
  border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   6. Structured Content Blocks & Tables (.content-section)
   -------------------------------------------------------------------------- */
.content-section {
  padding: 16px 14px;
}

.card-panel {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 14px;
  margin-bottom: 14px;
}

.card-panel h2 {
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.card-panel h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin: 12px 0 6px;
}

.card-panel p {
  font-size: var(--text-xs);
  color: #d1d5db;
  line-height: 1.55;
  margin-bottom: 8px;
}

.card-panel p:last-child {
  margin-bottom: 0;
}

.card-panel ul, .card-panel ol {
  font-size: var(--text-xs);
  color: #d1d5db;
  padding-left: 18px;
  margin-bottom: 10px;
}

.card-panel li {
  margin-bottom: 5px;
  line-height: 1.45;
}

/* Feature/Inline Image */
.inline-visual-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 12px 0;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.inline-visual-caption {
  background: #1e1e1e;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* Mobile-Friendly Table */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 14px 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 215, 0, 0.2);
  background: #141414;
  -webkit-overflow-scrolling: touch;
}

.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.45;
}

.app-table th {
  background: #1c1c1c;
  color: var(--gold);
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  font-size: 12px;
  letter-spacing: 0.3px;
}

.app-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  vertical-align: top;
  word-break: break-word;
}

.app-table td:first-child {
  color: var(--gold-light);
  font-weight: 600;
  width: 38%;
}

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

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

/* Verified Payment Badges Strip */
.payment-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.pay-badge-card {
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pay-badge-card img {
  height: 24px;
  width: auto;
  object-fit: contain;
  margin-bottom: 4px;
}

.pay-badge-name {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.pay-badge-tag {
  font-size: 9px;
  color: var(--green-verified);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. Accordion FAQs (.faq-accordion)
   -------------------------------------------------------------------------- */
.faq-wrap {
  margin-top: 14px;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

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

.faq-trigger {
  width: 100%;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: var(--text-xs);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  gap: 10px;
}

.faq-icon {
  font-size: 12px;
  color: var(--gold);
  transition: transform 0.3s ease;
}

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

.faq-content {
  display: none;
  padding: 0 14px 12px;
  font-size: var(--text-xs);
  color: #d1d5db;
  line-height: 1.5;
}

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

/* --------------------------------------------------------------------------
   8. E-E-A-T Author & Reviewer Credential Box
   -------------------------------------------------------------------------- */
.author-card {
  background: #1f1f1f;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 14px 0;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.author-meta {
  flex: 1;
}

.author-name {
  font-size: var(--text-xs);
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-icon {
  color: var(--green-verified);
  font-size: 12px;
}

.author-role {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   9. Responsible Gaming 21+ Compliance Footer
   - STRICT RULE: ZERO PAGCOR LICENSE NUMBERS
   -------------------------------------------------------------------------- */
.rg-footer {
  background: #181818;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 14px 24px;
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
}

.rg-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rg-badge-lg {
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

.rg-warning-text {
  font-weight: 700;
  color: #ef4444;
}

.rg-desc {
  line-height: 1.45;
  margin-bottom: 12px;
}

.rg-helpline {
  color: var(--gold-light);
  font-weight: 700;
  background: rgba(255, 215, 0, 0.08);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 12px;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav-links a:hover {
  color: var(--gold);
}

.copyright-text {
  font-size: 10px;
  color: #555;
}

/* --------------------------------------------------------------------------
   10. Fixed Bottom Navigation (.bottom-nav) - 5 Tabs
   -------------------------------------------------------------------------- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-max-width);
  height: var(--bottom-nav-height);
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 0;
  transition: all 0.2s ease;
  position: relative;
}

.nav-tab-icon {
  font-size: 18px;
  margin-bottom: 2px;
  transition: transform 0.2s ease;
}

.nav-tab-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

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

.nav-tab.active .nav-tab-icon {
  transform: translateY(-2px);
}

.nav-tab.tab-cta {
  color: #fff;
}

.nav-tab.tab-cta .nav-tab-icon {
  background: var(--gold-gradient);
  color: #121212;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* --------------------------------------------------------------------------
   11. Age Verification Modal (DIV ONLY, NEVER H1-H6)
   -------------------------------------------------------------------------- */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-gate-overlay.show {
  opacity: 1;
  visibility: visible;
}

.age-gate-card {
  width: 100%;
  max-width: 360px;
  background: #242424;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), var(--gold-glow);
}

.age-badge-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

/* Styled Div, NEVER a Heading Tag */
.modal-title {
  font-size: var(--text-md);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: var(--text-xs);
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 18px;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-confirm-age {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  font-size: var(--text-xs);
  font-weight: 800;
  padding: 10px 0;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: var(--gold-glow);
}

.btn-reject-age {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 10px 0;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}
