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

/* ==========================================================================
   PT GAMING DESIGN SYSTEM (ACE58 & CASINO DESIGN SYSTEM TOKENS)
   Simulated Mobile App Shell Architecture for Philippine iGaming (ptgaming1.ph)
   ========================================================================== */

:root {
  /* Surface & Background Tokens */
  --bg-backdrop: #121212;
  --bg-app: #222222;
  --bg-card: #2c2c2c;
  --bg-card-hover: #333333;
  --bg-elevated: #3a3a3a;
  --bg-input: #1a1a1a;
  
  /* Brand Luxury Gold & Accent Tokens */
  --gold-primary: #FFD700;
  --gold-secondary: #FFA500;
  --gold-dark: #B8860B;
  --gold-gradient: linear-gradient(135deg, #FFE066 0%, #FFD700 40%, #FF9900 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFF099 0%, #FFE033 40%, #FFB733 100%);
  --gold-gradient-subtle: linear-gradient(180deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.05) 100%);
  --gold-border: rgba(255, 215, 0, 0.3);
  --gold-border-strong: rgba(255, 215, 0, 0.7);
  --gold-glow: 0 0 16px rgba(255, 215, 0, 0.45);
  
  /* Status & Verification Colors */
  --accent-green: #00E676;
  --accent-green-glow: 0 0 12px rgba(0, 230, 118, 0.4);
  --accent-red: #FF5252;
  --accent-cyan: #00E5FF;
  
  /* Typography & Contrast Tokens */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-inverse: #121212;
  --text-gold: #FFDF00;
  
  /* Fonts */
  --font-family-base: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-family-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Component Dimensions */
  --app-shell-max-w: 430px;
  --hdr-height: 56px;
  --bottom-nav-height: 64px;
  --touch-target-min: 48px;
  
  /* Transitions */
  --trans-fast: 0.15s ease;
  --trans-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: var(--font-family-base);
  background-color: var(--bg-backdrop);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  padding-left: 20px;
}

/* ==========================================================================
   MOBILE APP SHELL ARCHITECTURE (.app-shell)
   Simulates native iPhone 15 Pro / Android Flagship on desktop
   ========================================================================== */

.app-shell {
  width: 100%;
  max-width: var(--app-shell-max-w);
  min-height: 100vh;
  background-color: var(--bg-app);
  position: relative;
  overflow-x: clip;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

@media (min-width: 480px) {
  body {
    padding: 24px 0 32px 0;
  }
  .app-shell {
    min-height: calc(100vh - 56px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 215, 0, 0.2);
    overflow: clip;
  }
  .hdr {
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
  }
}

/* App Main Content Area with padding for bottom navigation (header is sticky, so padding-top is 0) */
.app-content {
  padding-top: 0;
  padding-bottom: calc(var(--bottom-nav-height) + 24px);
  flex: 1;
}

/* ==========================================================================
   STICKY HEADER (.hdr)
   Logo left, Login & Register buttons right
   ========================================================================== */

.hdr {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: var(--app-shell-max-w);
  height: var(--hdr-height);
  background: rgba(34, 34, 34, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-4);
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hdr-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

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

.hdr-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: capitalize;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.btn-hdr-login {
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-fast);
}

.btn-hdr-login:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-hdr-reg {
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-inverse);
  background: var(--gold-gradient);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.35);
  transition: var(--trans-bounce);
}

.btn-hdr-reg:hover {
  transform: translateY(-1px);
  box-shadow: var(--gold-glow);
}

/* ==========================================================================
   TOP NOTIFICATION BAR & AGE NOTICE (STRICT NON-HEADING MARKS)
   ========================================================================== */

.top-notice-bar {
  background: linear-gradient(90deg, #1f1a0e, #2d240e, #1f1a0e);
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  padding: 8px var(--space-4);
  font-size: 0.78rem;
  color: #FFE082;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1.35;
  min-height: 38px;
}

.top-notice-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.top-notice-badge {
  background: var(--gold-primary);
  color: #121212;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  height: 22px;
  min-width: 32px;
  padding: 0 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.top-notice-bar a {
  color: var(--gold-primary);
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
  margin-left: 8px;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO CONTAINER WITH IMMERSIVE CASINO BACKGROUND
   Strict Rule: H1 MUST be the very first heading in the HTML!
   ========================================================================== */

.hero-container {
  position: relative;
  background-image: linear-gradient(180deg, rgba(20, 20, 20, 0.75) 0%, rgba(34, 34, 34, 0.95) 100%), url('/images/hero-casino-dark.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: inset 0 -30px 40px rgba(0, 0, 0, 0.6);
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--gold-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-green);
  box-shadow: var(--accent-green-glow);
}

/* THE STRICT H1 ELEMENT - FIRST HEADING IN THE DOM */
.hero-h1 {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

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

.hero-desc {
  font-family: var(--font-family-body);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: var(--space-5);
}

/* Dual-Action CTA Container */
.cta-dual-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.btn-cta-primary {
  min-height: var(--touch-target-min);
  background: var(--gold-gradient);
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.4);
  transition: var(--trans-bounce);
  cursor: pointer;
  text-align: center;
  padding: 0 var(--space-3);
}

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

.btn-cta-secondary {
  min-height: var(--touch-target-min);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--trans-base);
  cursor: pointer;
  text-align: center;
  padding: 0 var(--space-3);
}

.btn-cta-secondary:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* Micro-stats banner */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 8px;
  text-align: center;
}

.hero-stat-item .stat-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-primary);
  display: block;
}

.hero-stat-item .stat-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   CATEGORY CHIPS & TABS (INTERACTIVE FILTERING)
   ========================================================================== */

.category-tabs-wrap {
  padding: var(--space-4) var(--space-4) 0 var(--space-4);
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-tabs-wrap::-webkit-scrollbar {
  display: none;
}

.chip-tab {
  flex-shrink: 0;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--trans-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chip-tab.active {
  background: var(--gold-gradient);
  color: var(--text-inverse);
  font-weight: 700;
  border-color: var(--gold-primary);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

/* ==========================================================================
   3x2 INTERACTIVE GRID BOXES WITH DUAL BUTTONS
   ========================================================================== */

.section-wrap {
  padding: var(--space-5) var(--space-4);
}

.section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
}

.section-more-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-primary);
}

/* 3x2 Game Grid */
.game-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.game-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--trans-base);
  position: relative;
}

.game-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.game-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #1a1a1a;
}

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

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

.game-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: var(--gold-primary);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border);
  text-transform: uppercase;
}

.game-card-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.game-card-rtp {
  color: var(--accent-green);
  font-weight: 600;
}

/* Card Dual Action Buttons */
.card-dual-actions {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6px;
  margin-top: auto;
}

.btn-card-play {
  height: 32px;
  background: var(--gold-gradient);
  color: #121212;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-fast);
  box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

.btn-card-play:hover {
  box-shadow: var(--gold-glow);
  transform: translateY(-1px);
}

.btn-card-guide {
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-fast);
}

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

/* Pagination Controls */
.grid-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.page-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans-fast);
}

.page-btn.active {
  background: var(--gold-primary);
  color: #121212;
  border-color: var(--gold-primary);
  font-weight: 700;
}

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

/* ==========================================================================
   PAYMENT METHOD CARDS & FAST CASHIER WALKTHROUGH
   ========================================================================== */

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.payment-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.payment-card-logo-wrap {
  height: 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.payment-card-logo {
  max-height: 32px;
  max-width: 90px;
  object-fit: contain;
}

.payment-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.payment-card-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.payment-card-btn {
  width: 100%;
  height: 30px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  color: var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-fast);
}

.payment-card-btn:hover {
  background: var(--gold-primary);
  color: #121212;
}

/* ==========================================================================
   ARTICLE / SPOKE CONTENT STYLING (SEO-FOCUSED)
   ========================================================================== */

.article-content {
  font-family: var(--font-family-body);
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

.article-content h2 {
  font-family: var(--font-family-base);
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: var(--space-6) 0 var(--space-3) 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content h3 {
  font-family: var(--font-family-base);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin: var(--space-4) 0 var(--space-2) 0;
}

.article-content p {
  margin-bottom: var(--space-4);
}

.article-content ul, .article-content ol {
  margin-bottom: var(--space-4);
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 6px;
}

.article-featured-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  margin-bottom: var(--space-4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.article-inline-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: var(--space-5) 0;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: var(--space-4) 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.table-casino th {
  background: var(--bg-card);
  color: var(--gold-primary);
  font-weight: 700;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.table-casino td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

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

/* ==========================================================================
   ACCORDION SECTION (FAQs)
   ========================================================================== */

.faq-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--trans-fast);
}

.faq-trigger {
  width: 100%;
  padding: 14px var(--space-4);
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-family-base);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--trans-base);
  color: var(--gold-primary);
}

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

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-body {
  max-height: 500px;
}

.faq-content-inner {
  padding: 0 var(--space-4) 14px var(--space-4);
  font-family: var(--font-family-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   E-E-A-T AUTHOR & TRUST BADGE SECTION
   Strict Compliance: ZERO fake PAGCOR license numbers!
   ========================================================================== */

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.trust-badge-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-badge-icon {
  font-size: 1.2rem;
}

.trust-badge-text-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-badge-text-desc {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.eeat-author-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-5);
}

.eeat-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #121212;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--gold-glow);
}

.eeat-author-meta {
  flex: 1;
}

.eeat-author-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.eeat-author-role {
  font-size: 0.72rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.eeat-author-bio {
  font-family: var(--font-family-body);
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   RESPONSIBLE GAMING FOOTER BLOCK (MANDATORY COMPLIANCE)
   ========================================================================== */

.responsible-gaming-block {
  background: #181818;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-5) var(--space-4);
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.responsible-gaming-block p {
  text-align: center;
  margin: 0 auto var(--space-3) auto;
  max-width: 380px;
}

.rg-warning-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  background: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.35);
  color: #FF5252;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-3) auto;
  font-size: 0.74rem;
  line-height: 1.2;
}

.rg-helpline-box {
  width: 100%;
  max-width: 380px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: var(--space-3) auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.rg-helpline-title {
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
  text-align: center;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: var(--space-4) auto 0 auto;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  width: 100%;
  text-align: center;
}

.site-footer-links a {
  color: var(--text-muted);
}

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

.site-copyright {
  margin-top: var(--space-3);
  font-size: 0.68rem;
  color: #64748B;
  text-align: center;
}

/* ==========================================================================
   FIXED BOTTOM NAVIGATION (.bottom-nav)
   5 Tabs: Home, Games, Bonuses, GCash, App
   ========================================================================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: var(--app-shell-max-w);
  height: var(--bottom-nav-height);
  background: rgba(30, 30, 30, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  gap: 3px;
  transition: var(--trans-fast);
}

.bottom-nav-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.bottom-nav-item.active {
  color: var(--gold-primary);
}

.bottom-nav-item:hover {
  color: #FFFFFF;
}

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

.bottom-nav-item.highlight-promo .bottom-nav-icon {
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4)); }
  50% { transform: scale(1.12); filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.4)); }
}

/* ==========================================================================
   21+ AGE GATE MODAL (CRAWLER-SAFE & STRICT HEADING COMPLIANCE)
   Rule: MUST use <div class="modal-title">, NEVER <h1>-<h6> tags!
   ========================================================================== */

.age-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.age-gate-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.age-gate-card {
  width: 100%;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--gold-glow);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.age-gate-overlay.show .age-gate-card {
  transform: translateY(0);
}

.age-gate-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.12);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4) auto;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-primary);
}

/* Strictly a div, NEVER a heading tag */
.modal-title {
  font-family: var(--font-family-base);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: var(--space-2);
}

.modal-desc {
  font-family: var(--font-family-body);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-6);
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.btn-age-confirm {
  height: 48px;
  background: var(--gold-gradient);
  color: #121212;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.35);
  transition: var(--trans-fast);
}

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

.btn-age-exit {
  height: 40px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--trans-fast);
}

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

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

.jackpot-banner {
  background: linear-gradient(135deg, rgba(30, 20, 10, 0.95), rgba(50, 35, 10, 0.95));
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: var(--space-4) var(--space-4) 0 var(--space-4);
  text-align: center;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2), inset 0 0 15px rgba(255, 215, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.jackpot-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.jackpot-counter {
  font-family: var(--font-family-base);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.jackpot-subtext {
  font-size: 0.68rem;
  color: var(--accent-green);
  font-weight: 600;
}

/* Live Winners Ticker */
.winners-ticker-wrap {
  margin: var(--space-3) var(--space-4) 0 var(--space-4);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  font-size: 0.75rem;
}

.winners-badge {
  background: var(--gold-gradient);
  color: #121212;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  z-index: 2;
}

.winners-track-container {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10px, black calc(100% - 10px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10px, black calc(100% - 10px), transparent 100%);
}

.winners-marquee {
  display: inline-flex;
  white-space: nowrap;
  color: var(--text-secondary);
  animation: marquee-seamless 25s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.winners-marquee:hover {
  animation-play-state: paused;
}

.winners-item {
  display: inline-block;
  padding-right: 1.5rem;
  flex-shrink: 0;
}

@keyframes marquee-seamless {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Category Quick Jump Bar */
.category-quick-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  padding: var(--space-4) var(--space-4) 0 var(--space-4);
}

.cat-nav-pill {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  transition: var(--trans-fast);
}

.cat-nav-pill:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
  background: rgba(255, 215, 0, 0.06);
}

.cat-nav-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.cat-nav-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #FFFFFF;
}

