/* ==========================================================================
   Phpark Design System & Component Library
   Standard: Philippine iGaming E-E-A-T & PAGCOR Compliance UI
   Aesthetic: Luxury Obsidian Dark Theme with Radiant Gold Gradients
   Container Framework: Full-Width Modern Responsive (Max 1200px-1280px)
   ========================================================================== */

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

:root {
  /* Surface & Background Tokens */
  --bg-obsidian: #0b0c10;
  --bg-surface: #12131a;
  --bg-surface-elevated: #1a1b24;
  --bg-card: #20222f;
  --bg-card-hover: #282a3a;
  --bg-glass: rgba(18, 19, 26, 0.85);

  /* Brand Accents & Gradients */
  --gold-primary: #FFD700;
  --gold-secondary: #FFA500;
  --gold-tertiary: #FDB931;
  --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FDB931 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFE55C 0%, #FFB733 50%, #FFC83B 100%);
  --gold-glow: 0 0 25px rgba(255, 215, 0, 0.35);
  --gold-glow-subtle: 0 0 15px rgba(255, 215, 0, 0.15);

  /* Status & Verification Accents */
  --emerald-accent: #00C853;
  --emerald-gradient: linear-gradient(135deg, #00E676 0%, #00C853 100%);
  --azure-accent: #1E88E5;
  --danger-accent: #FF3366;

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;

  /* Borders & Dividers */
  --border-gold-subtle: rgba(255, 215, 0, 0.18);
  --border-gold-strong: rgba(255, 215, 0, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Fonts */
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout & Spacing */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-floating: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
  --shadow-gold: 0 4px 20px rgba(255, 183, 3, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::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 {
  background-color: var(--bg-obsidian);
  color: var(--text-secondary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Lighting */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: 20%;
  width: 60vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

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

a:hover {
  color: #FFF;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Typography Standards
   Strict Rule: No H tags before H1.
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.25rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 1.8vw + 0.6rem, 1.6rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

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

strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Highlight Gold Text */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Container Framework */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Notification Bar & Age Compliance Ribbon (Styled DIV, NEVER Heading)
   ========================================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, #161822 0%, #202230 50%, #161822 100%);
  border-bottom: 1px solid var(--border-gold-subtle);
  font-size: 0.825rem;
  padding: 0.45rem 1rem;
  text-align: center;
  position: relative;
  z-index: 40;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.announcement-badge {
  background: var(--emerald-accent);
  color: #000;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement-text {
  color: var(--text-secondary);
  font-weight: 500;
}

.announcement-text strong {
  color: var(--gold-primary);
}

.announcement-link {
  color: var(--gold-primary);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* ==========================================================================
   Header & Horizontal Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 12, 16, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold-subtle);
  z-index: 100;
  padding: 0.65rem 0;
  transition: all var(--transition-fast);
}

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

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

.brand-logo {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.25));
  display: block;
}

.brand-title-text {
  display: none; /* Logo image contains complete Phpark.ph branding */
}

/* Desktop Horizontal Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.65rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #FFF;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link .dropdown-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

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

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  box-shadow: var(--shadow-floating);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 110;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold-primary);
  padding-left: 0.95rem;
}

.dropdown-tag {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 200, 83, 0.15);
  color: var(--emerald-accent);
  font-weight: 700;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-ghost-sm {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition-fast);
}

.btn-ghost-sm:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(255, 215, 0, 0.08);
}

.btn-gold-sm {
  padding: 0.55rem 1.25rem;
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius-pill);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-gold-sm:hover {
  background: var(--gold-gradient-hover);
  box-shadow: var(--gold-glow);
  transform: translateY(-1px);
  color: var(--text-dark);
}

/* Mobile Hamburger Button */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
}

/* ==========================================================================
   Buttons (Dual Action Standards)
   ========================================================================== */
.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-gold);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  min-height: 48px;
}

.btn-primary-cta:hover {
  background: var(--gold-gradient-hover);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
  color: var(--text-dark);
}

.btn-secondary-guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold-subtle);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  min-height: 48px;
}

.btn-secondary-guide:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.cta-button-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 12, 16, 0.94) 0%, rgba(18, 19, 26, 0.88) 50%, rgba(11, 12, 16, 0.96) 100%);
  z-index: 1;
}

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

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--border-gold-subtle);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-trust-item span.icon {
  color: var(--emerald-accent);
  font-weight: 800;
}

.hero-visual-card {
  position: relative;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-floating);
  overflow: hidden;
  text-align: center;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-featured-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth);
}

.hero-visual-card:hover .hero-featured-img {
  transform: scale(1.02);
}

.jackpot-meter-box {
  margin-top: 1.25rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jackpot-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.jackpot-amount {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFF;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ==========================================================================
   Interactive 3x2 Game Grid & Pagination
   ========================================================================== */
.game-grid-section {
  padding: 3.5rem 0;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-title-wrap h2 {
  margin: 0 0 0.4rem 0;
}

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

.grid-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  overflow-x: auto;
}

.filter-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.filter-tab-btn.active, .filter-tab-btn:hover {
  background: var(--gold-gradient);
  color: var(--text-dark);
}

/* 3x2 Grid (3 columns x 2 rows = 6 items per page) */
.game-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.game-placecard {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-card);
}

.game-placecard:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-strong);
  box-shadow: var(--gold-glow-subtle);
}

.card-media-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.card-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.card-badge-top-left {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-badge-top-right {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--emerald-accent);
  color: #000;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

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

.game-title-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.game-meta-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.meta-provider {
  color: var(--gold-primary);
  font-weight: 600;
}

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

/* Card Dual Action Row */
.card-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: auto;
}

.card-btn-play {
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-pill);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.card-btn-play:hover {
  background: var(--gold-gradient-hover);
  color: var(--text-dark);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.card-btn-guide {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-pill);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.card-btn-guide:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(255, 215, 0, 0.08);
}

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

.page-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.page-btn.active {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-color: transparent;
  font-weight: 700;
}

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

/* ==========================================================================
   Content Sections, Typography, & Visual Cards
   ========================================================================== */
.editorial-content {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 4rem 0;
}

.content-prose {
  max-width: 920px;
  margin: 0 auto;
}

.content-prose h2 {
  position: relative;
  padding-bottom: 0.5rem;
}

.content-prose h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: var(--radius-pill);
}

.content-prose ul, .content-prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.content-prose li {
  margin-bottom: 0.6rem;
}

/* Callout Box */
.info-callout {
  background: rgba(255, 215, 0, 0.05);
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.info-callout-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-primary);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

/* Specs & Comparison Tables */
.table-responsive-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
}

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

.data-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-gold-subtle);
  white-space: nowrap;
}

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

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

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

/* Step-by-Step Flow Cards */
.step-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

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

.step-number-badge {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.step-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Interactive Tabs (Action Pages: Download & Cashier)
   ========================================================================== */
.tabs-control-bar {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.75rem;
  overflow-x: auto;
}

.tab-nav-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-nav-btn.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
}

.tab-content-panel {
  display: none;
}

.tab-content-panel.active {
  display: block;
}

/* Cashier Simulation Chips */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.cashier-chip {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold-subtle);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cashier-chip:hover, .cashier-chip.selected {
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-color: transparent;
}

/* ==========================================================================
   Accordion FAQ Section (Schema Ready)
   ========================================================================== */
.faq-section {
  padding: 4rem 0;
}

.faq-list {
  max-width: 900px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--gold-primary);
  border-bottom: 2px solid var(--gold-primary);
  transform: rotate(45deg);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(-135deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: rgba(0, 0, 0, 0.2);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   E-E-A-T Author & Editorial Transparency Block
   ========================================================================== */
.eeat-author-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 3.5rem 0 1rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: center;
}

.author-avatar-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--gold-primary);
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.author-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info-wrap {
  display: flex;
  flex-direction: column;
}

.author-name-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-verified-badge {
  background: var(--emerald-accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.author-bio-snippet {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  margin-bottom: 0.65rem;
}

.author-trust-pills {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.trust-pill {
  font-size: 0.72rem;
  color: var(--gold-primary);
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--border-gold-subtle);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Mandatory 21+ Compliance & Responsible Gaming Footer Block
   Strict Rule: No license numbers, only verified hotlines & age advisory.
   ========================================================================== */
.compliance-section {
  background: #090a0d;
  border-top: 1px solid var(--border-gold-subtle);
  padding: 3rem 0;
  text-align: center;
}

.compliance-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.compliance-seal-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.compliance-seal-item img {
  height: 28px;
  width: auto;
}

.compliance-disclaimer-text {
  max-width: 820px;
  margin: 0 auto 1.25rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hotline-highlight-box {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 51, 102, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: #FFA5BA;
  margin-top: 0.5rem;
}

.hotline-highlight-box strong {
  color: #FFF;
}

/* Site Footer */
.site-footer {
  background: #060608;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 2rem;
  font-size: 0.875rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand-col p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.footer-nav-list a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

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

.payment-badge-pill {
  height: 32px;
  background: #FFF;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-badge-pill img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ==========================================================================
   21+ Age Gate Modal (Accessible semantic dialog, NO Heading Tags)
   ========================================================================== */
.age-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.age-gate-modal-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.2);
  transform: scale(0.92);
  transition: transform var(--transition-smooth);
}

.age-gate-overlay.active .age-gate-modal-card {
  transform: scale(1);
}

.age-icon-badge {
  width: 72px;
  height: 72px;
  background: rgba(255, 51, 102, 0.15);
  border: 2px solid var(--danger-accent);
  color: #FFF;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 auto 1.25rem;
}

/* Strict DOM rule: Styled div, NEVER heading tags */
.age-modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.age-modal-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.age-actions-row {
  display: flex;
  gap: 0.85rem;
}

.btn-age-confirm {
  flex: 1;
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-age-confirm:hover {
  background: var(--gold-gradient-hover);
  box-shadow: var(--gold-glow);
}

.btn-age-exit {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-age-exit:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Sticky Mobile Bottom Bar
   ========================================================================== */
.sticky-mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 19, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold-subtle);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mobile-bar-cta {
  flex: 1;
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem;
  border-radius: var(--radius-pill);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: var(--shadow-gold);
}

.mobile-bar-guide {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem;
  border-radius: var(--radius-pill);
  text-align: center;
}

/* Mobile Drawer Overlay & Panel */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--bg-surface-elevated);
  border-left: 1px solid var(--border-gold-subtle);
  z-index: 1001;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

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

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

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .cta-button-group {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .game-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .desktop-nav, .header-actions {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .sticky-mobile-bottom-bar {
    display: flex;
  }

  body {
    padding-bottom: 70px;
  }

  .game-card-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .eeat-author-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-avatar-wrap {
    margin: 0 auto;
  }

  .author-trust-pills {
    justify-content: center;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}
