/* ==========================================================================
   NinoGaming Design System & Mobile App Shell
   Theme: Deep Obsidian Warm Black with Electric Cyber Gold & Brass Accents
   Desktop: max-width 430px centered viewport on #1a1a1a background
   Mobile: 100% full viewport with fixed sticky navigation
   ========================================================================== */

:root {
  /* Brand Tokens extracted from ninogaming.com */
  --bg: #0c0000;
  --bg-desktop: #1a1a1a;
  --primary: #ffff2a;
  --primary-hover: #fff800;
  --primary-contrast: #0c0000;
  
  --accent: #e4c287;
  --accent-amber: #cd8023;
  --accent-glow: rgba(255, 255, 42, 0.25);
  --accent-gold: #ffff2a;
  --accent-gold-dark: #e6e600;
  --accent-gold-bg: rgba(255, 255, 42, 0.08);
  --accent-gold-border: rgba(255, 255, 42, 0.35);
  --accent-brass: #e4c287;
  
  --surface: rgba(205, 128, 35, 0.06);
  --surface-hover: rgba(205, 128, 35, 0.12);
  --surface-elevated: #140808;
  --surface-glass: rgba(20, 8, 8, 0.85);
  
  --card-border: rgba(228, 194, 135, 0.3);
  --card-border-hover: rgba(255, 255, 42, 0.6);
  
  /* Typography */
  --text-primary: #ffffff;
  --text-secondary: #e6e8ee;
  --text-muted: #a8b1c5;
  --text-gold: #ffff2a;
  
  /* Status & Trust Badges */
  --success: #00e676;
  --warning: #ffb300;
  --badge-gcash: #007dfe;
  --badge-maya: #00d632;
  
  /* Typography Scale */
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Layout Sizing */
  --shell-max-width: 480px;
  --header-height: 60px;
  --bottom-nav-height: 64px;
}

@media (min-width: 768px) {
  :root {
    --shell-max-width: 768px;
  }
}

@media (min-width: 1024px) {
  :root {
    --shell-max-width: 840px;
  }
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  background-color: var(--bg-desktop);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-desktop);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
}

/* Desktop Centered Mobile App Shell */
.app-shell {
  width: 100%;
  max-width: var(--shell-max-width);
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg);
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(228, 194, 135, 0.15);
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--bottom-nav-height) + 20px);
}

@media (max-width: 480px) {
  body {
    background-color: var(--bg);
  }
  .app-shell {
    max-width: 100%;
    box-shadow: none;
  }
}

/* ==========================================================================
   Header Component (.hdr)
   ========================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background: rgba(12, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 194, 135, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.hdr-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.hdr-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hdr-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.hdr-brand-name span {
  color: var(--primary);
}

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

.btn-header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(228, 194, 135, 0.12);
  border: 1px solid rgba(228, 194, 135, 0.35);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-login:hover {
  background: rgba(228, 194, 135, 0.25);
  border-color: var(--accent);
}

.btn-header-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-contrast);
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(255, 255, 42, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-header-register:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 42, 0.45);
}

/* ==========================================================================
   Notice Ticker & Pill Badges
   ========================================================================== */
.ticker-bar {
  background: rgba(205, 128, 35, 0.08);
  border-bottom: 1px solid rgba(228, 194, 135, 0.15);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-icon {
  font-size: 13px;
  color: var(--primary);
}

.ticker-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-full);
  line-height: 1;
}

.pill-badge-gold {
  background: rgba(255, 255, 42, 0.12);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 42, 0.4);
}

.pill-badge-brass {
  background: rgba(228, 194, 135, 0.12);
  color: var(--accent);
  border: 1px solid rgba(228, 194, 135, 0.35);
}

.pill-badge-gcash {
  background: rgba(0, 125, 254, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(0, 125, 254, 0.4);
}

.pill-badge-maya {
  background: rgba(0, 214, 50, 0.15);
  color: #4ade80;
  border: 1px solid rgba(0, 214, 50, 0.4);
}

.pill-badge-21 {
  background: rgba(255, 179, 0, 0.15);
  color: var(--warning);
  border: 1px solid rgba(255, 179, 0, 0.4);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-scene {
  position: relative;
  padding: 24px 16px 20px;
  background: linear-gradient(180deg, rgba(205, 128, 35, 0.12) 0%, rgba(12, 0, 0, 0.95) 100%);
  border-bottom: 1px solid rgba(228, 194, 135, 0.15);
  text-align: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  object-fit: cover;
  pointer-events: none;
}

.hero-badge-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Primary DOM H1: Must be absolute first heading in DOM */
.hero-title {
  position: relative;
  z-index: 2;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.hero-title span {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(255, 255, 42, 0.4);
}

.hero-desc {
  position: relative;
  z-index: 2;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 0 4px;
}

.hero-cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.btn-primary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--primary);
  color: var(--primary-contrast);
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 255, 42, 0.35);
  transition: all 0.2s ease;
}

.btn-primary-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(228, 194, 135, 0.1);
  color: var(--accent);
  border: 1px solid rgba(228, 194, 135, 0.4);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary-cta:hover {
  background: rgba(228, 194, 135, 0.2);
  border-color: var(--accent);
}

/* Quick Trust Metrics */
.trust-strip {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  padding: 10px 8px;
  background: rgba(20, 8, 8, 0.7);
  border: 1px solid rgba(228, 194, 135, 0.18);
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

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

.trust-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
}

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

/* ==========================================================================
   Interactive 3x2 Game Grids
   ========================================================================== */
.section-block {
  padding: 20px 14px;
}

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

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

.section-title-icon {
  color: var(--primary);
}

.section-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.section-link:hover {
  text-decoration: underline;
}

/* 3x2 Grid (3 rows, 2 columns on mobile app viewport) */
.game-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.game-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.game-card:hover {
  border-color: var(--card-border-hover);
  background: var(--surface-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 42, 0.12);
}

.game-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #140808;
  overflow: hidden;
}

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

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

.game-card-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 800;
  background: rgba(12, 0, 0, 0.85);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 42, 0.4);
  border-radius: var(--radius-xs);
  line-height: 1;
}

.game-card-rtp {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  background: rgba(0, 230, 118, 0.2);
  color: var(--success);
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: var(--radius-xs);
  line-height: 1;
}

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

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

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

/* Dual Button Action Overlay */
.game-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.btn-game-play {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 800;
  background: var(--primary);
  color: var(--primary-contrast);
  border: none;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-game-play:hover {
  background: var(--primary-hover);
}

.btn-game-guide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(228, 194, 135, 0.35);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-game-guide:hover {
  border-color: var(--accent);
  background: rgba(228, 194, 135, 0.1);
}

/* ==========================================================================
   Category Horizontal Strip
   ========================================================================== */
.cat-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 14px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cat-strip::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(20, 8, 8, 0.85);
  border: 1px solid rgba(228, 194, 135, 0.25);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cat-pill:hover, .cat-pill.active {
  background: rgba(255, 255, 42, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   Quick Guides Gateway Grid
   ========================================================================== */
.gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gateway-tile {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.gateway-tile:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.gateway-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--primary);
}

.gateway-title {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.gateway-sub {
  font-size: 9px;
  color: var(--text-muted);
}

/* ==========================================================================
   Payment E-Wallet Quick Strip
   ========================================================================== */
.payment-strip-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}

.payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(228, 194, 135, 0.12);
}

.payment-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.payment-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-badge-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.payment-badge-gcash {
  background: var(--badge-gcash);
  color: #ffffff;
}

.payment-badge-maya {
  background: var(--badge-maya);
  color: #0c0000;
}

.payment-details {
  display: flex;
  flex-direction: column;
}

.payment-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

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

.payment-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-pay-cashin {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 800;
  background: var(--primary);
  color: var(--primary-contrast);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

/* ==========================================================================
   Fixed Bottom Navigation (.bottom-nav)
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell-max-width);
  height: var(--bottom-nav-height);
  background: rgba(12, 0, 0, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(228, 194, 135, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 999;
  padding: 0 4px;
}

@media (max-width: 480px) {
  .bottom-nav {
    max-width: 100%;
  }
}

.bottom-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 0;
  min-height: 48px;
  transition: all 0.2s ease;
}

.bottom-tab-icon {
  font-size: 18px;
  line-height: 1;
}

.bottom-tab-label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.bottom-tab.active, .bottom-tab:hover {
  color: var(--primary);
}

.bottom-tab-cta {
  color: var(--primary);
}

.bottom-tab-cta .bottom-tab-icon {
  background: var(--primary);
  color: var(--primary-contrast);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(255, 255, 42, 0.4);
}

/* ==========================================================================
   Universal Independent Disclaimer & Footer
   ========================================================================== */
.site-footer {
  padding: 24px 16px 16px;
  background: #080000;
  border-top: 1px solid rgba(228, 194, 135, 0.15);
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.6;
}

.footer-compliance-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-compliance-logo {
  max-height: 36px;
  width: auto;
  opacity: 0.8;
  object-fit: contain;
}

.footer-disclaimer-box {
  background: rgba(20, 8, 8, 0.6);
  border: 1px solid rgba(228, 194, 135, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 14px;
}

.footer-disclaimer-box p {
  margin: 0;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.footer-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  font-size: 10px;
  color: #71717a;
}

/* ==========================================================================
   Age-Gate Modal (21+ Verification) - Soft-Gated Mobile-Friendly Design
   ========================================================================== */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
  animation: fadeInGate 0.25s ease-out;
}

@media (min-width: 600px) {
  .age-gate-overlay {
    align-items: center;
  }
}

@keyframes fadeInGate {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.age-gate-card {
  width: 100%;
  max-width: 400px;
  background: #140808;
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 24px rgba(228, 194, 135, 0.25);
  animation: slideUpGate 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.age-gate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 179, 0, 0.15);
  border: 2px solid var(--warning);
  color: var(--warning);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}

/* Rendered strictly with div/p tags per DOM hierarchy rules */
.age-gate-heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.age-gate-body {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.age-gate-btn-confirm {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: var(--primary-contrast);
  font-size: 13px;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(255, 255, 42, 0.35);
}

.age-gate-btn-exit {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  cursor: pointer;
}

/* ==========================================================================
   Universal Header & Navigation Variants
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(12, 0, 0, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 194, 135, 0.2);
}

.header-content {
  display: flex;
  flex-direction: column;
  padding: 10px 14px 8px;
  gap: 8px;
}

.brand-logo, .hdr-logo, .logo a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.brand-logo span, .logo-accent {
  color: var(--primary);
  text-shadow: 0 0 16px rgba(255, 255, 42, 0.35);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.header-nav::-webkit-scrollbar {
  display: none;
}

.header-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: rgba(228, 194, 135, 0.08);
  border: 1px solid rgba(228, 194, 135, 0.18);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.header-nav a:hover, .header-nav a.active {
  background: rgba(255, 255, 42, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   Universal Button System (.btn, .btn-primary, .btn-secondary, .btn-gold)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.25;
  white-space: nowrap;
}

.btn-primary, .btn-gold {
  background: var(--primary);
  color: var(--primary-contrast);
  font-weight: 800;
  border-color: var(--primary);
  box-shadow: 0 3px 12px rgba(255, 255, 42, 0.3);
}

.btn-primary:hover, .btn-gold:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(255, 255, 42, 0.45);
}

.btn-secondary, .btn-outline {
  background: rgba(228, 194, 135, 0.1);
  color: var(--accent);
  border-color: rgba(228, 194, 135, 0.35);
}

.btn-secondary:hover, .btn-outline:hover {
  background: rgba(228, 194, 135, 0.2);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(228, 194, 135, 0.12);
  border: 1px solid rgba(228, 194, 135, 0.35);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: rgba(228, 194, 135, 0.25);
  border-color: var(--accent);
}

.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary-contrast);
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(255, 255, 42, 0.3);
  transition: all 0.2s ease;
}

.btn-register:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-group {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  width: 100%;
}

.btn-group .btn {
  flex: 1;
  text-align: center;
  padding: 10px 10px;
  font-size: 12px;
  white-space: normal;
}

/* ==========================================================================
   Article Content & Typography Stream
   ========================================================================== */
.main-content, .content-body {
  padding: 16px 14px 28px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.spoke-article, .content-block {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.article-hero {
  margin-bottom: 20px;
}

/* Featured Hero Media Frame */
.article-media {
  margin: 14px 0 20px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--surface);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.article-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-media:hover img {
  transform: scale(1.02);
}

.article-media figcaption {
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(20, 8, 8, 0.95);
  border-top: 1px solid rgba(228, 194, 135, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-media figcaption span {
  color: var(--primary);
}

.page-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  color: var(--text-primary);
  margin: 10px 0 12px;
  letter-spacing: -0.3px;
}

.content-body h1 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.28;
  color: var(--text-primary);
  margin: 10px 0 12px;
  letter-spacing: -0.3px;
}

.content-body h2, .main-content h2, .spoke-article h2, .section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(228, 194, 135, 0.18);
  line-height: 1.35;
}

.content-body h3, .main-content h3, .spoke-article h3, .subsection-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin: 16px 0 8px;
  line-height: 1.4;
}

.content-body p, .main-content p, .spoke-article p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.content-body p strong, .main-content p strong, .spoke-article p strong {
  color: #ffffff;
  font-weight: 700;
}

.content-body ul, .main-content ul, .spoke-article ul,
.content-body ol, .main-content ol, .spoke-article ol {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}

.content-body li, .main-content li, .spoke-article li {
  margin-bottom: 6px;
}

.content-body li a, .main-content li a, .spoke-article li a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.content-body li a:hover, .main-content li a:hover, .spoke-article li a:hover {
  text-decoration: underline;
  color: var(--primary);
}

.lead-summary {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  background: rgba(255, 255, 42, 0.06);
  border-left: 3px solid var(--primary);
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  margin-bottom: 16px;
}

.highlight-box, .quick-summary-box {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.highlight-box strong, .quick-summary-box strong {
  color: var(--primary);
}

.meta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text-muted);
}

.read-time, .updated-date {
  font-size: 11px;
  color: var(--text-muted);
}

.breadcrumb-trail, .breadcrumb-nav {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  line-height: 1.4;
}

.breadcrumb-trail a, .breadcrumb-nav a, .breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb-trail a:hover, .breadcrumb-nav a:hover {
  color: var(--primary);
}

.breadcrumb-trail span, .breadcrumb-current {
  color: var(--accent);
  font-weight: 600;
}

.breadcrumb-sep {
  color: rgba(228, 194, 135, 0.4);
}

/* ==========================================================================
   Mobile-First Data Frames & Tables
   ========================================================================== */
.data-table, table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 16px 0 20px;
  font-size: 12px;
}

.data-table th, table th {
  background: rgba(20, 8, 8, 0.9);
  color: var(--primary);
  font-weight: 800;
  text-align: left;
  padding: 10px 10px;
  border-bottom: 1px solid rgba(228, 194, 135, 0.25);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td, table td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(228, 194, 135, 0.1);
  color: var(--text-secondary);
  vertical-align: top;
  line-height: 1.4;
}

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

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

.data-block {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(228, 194, 135, 0.1);
  font-size: 12.5px;
}

.data-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.data-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.data-val {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
}

/* ==========================================================================
   Conversion CTA Cards & Banners
   ========================================================================== */
.cta-banner, .final-cta-card {
  background: linear-gradient(135deg, rgba(205, 128, 35, 0.15) 0%, rgba(20, 8, 8, 0.95) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  margin: 22px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cta-banner h2, .final-cta-card h2 {
  margin: 0;
  font-size: 16px;
  color: #ffffff;
  border-bottom: none;
  padding-bottom: 0;
}

.cta-banner p, .final-cta-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cta-banner .btn-primary, .final-cta-card .btn-primary {
  width: 100%;
  padding: 11px 14px;
  font-size: 13px;
}

.cta-banner .btn-secondary, .final-cta-card .btn-secondary {
  width: 100%;
  padding: 10px 14px;
  font-size: 12px;
}

/* ==========================================================================
   FAQ Section & Accordion Cards
   ========================================================================== */
.faq-section {
  margin: 24px 0;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.faq-card, .faq-item {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  transition: border-color 0.2s ease;
}

.faq-card:hover, .faq-item:hover {
  border-color: rgba(255, 255, 42, 0.4);
}

.faq-question, .faq-item h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 7px 0;
  line-height: 1.35;
}

.faq-answer, .faq-item p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   Bottom Nav Variations (.bnav-*, .nav-*)
   ========================================================================== */
.bnav-item, .nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 0;
  min-height: 48px;
  transition: all 0.2s ease;
}

.bnav-icon, .nav-icon {
  font-size: 18px;
  line-height: 1;
}

.bnav-text, .nav-label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.bnav-item.active, .bnav-item:hover,
.nav-item.active, .nav-item:hover {
  color: var(--primary);
}

/* ==========================================================================
   Universal Footers & Compliance Disclaimers
   ========================================================================== */
.app-footer, .ftr, .footer {
  padding: 22px 14px 18px;
  background: #080000;
  border-top: 1px solid rgba(228, 194, 135, 0.15);
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

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

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--primary);
}

.compliance-box, .compliance-note {
  background: rgba(20, 8, 8, 0.6);
  border: 1px solid rgba(228, 194, 135, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: left;
}

.compliance-box p, .compliance-note p {
  margin: 0;
  font-size: 10.5px;
  color: var(--text-muted);
}

.copyright {
  font-size: 10px;
  color: #71717a;
  text-align: center;
}

/* ==========================================================================
   Spoke & Hub Cards and Grids
   ========================================================================== */
.card, .spoke-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}

.card:hover, .spoke-card:hover {
  border-color: var(--card-border-hover);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.card-grid, .hub-spoke-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 16px 0;
}

.spoke-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.spoke-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.related-guides {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 20px 0;
}

.related-guides h2 {
  font-size: 15px;
  margin-top: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(228, 194, 135, 0.15);
}

.related-guides ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.related-guides li {
  margin-bottom: 6px;
  font-size: 12.5px;
}

/* ==========================================================================
   Utility Helpers
   ========================================================================== */
.bg-dark {
  background-color: var(--bg) !important;
}

.text-light {
  color: var(--text-primary) !important;
}

.ticker-label {
  font-weight: 700;
  color: var(--primary);
}

