/* ==========================================================================
   JILICROWN RESPONSIVE DESIGN SYSTEM (MOBILE APP SHELL)
   Theme: Luxury Dark Casino & High-Conversion Affiliate UI
   Palette: Dark luxury (#1a1a1a body, #2b2b2b app-shell, #383838 cards, #FFD700 gold)
   Font: Outfit (Google Fonts)
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-desktop: #141414;
  --bg-app: #222222;
  --bg-surface: #2e2e2e;
  --bg-surface-elevated: #3a3a3a;
  --bg-glass: rgba(46, 46, 46, 0.85);

  /* Gold Gradients & Accents */
  --gold-primary: #FFD700;
  --gold-secondary: #FDB931;
  --gold-dark: #b8860b;
  --gold-gradient: linear-gradient(135deg, #FFE259 0%, #FFA751 100%);
  --gold-glow: rgba(255, 215, 0, 0.35);

  /* Functional Status Colors */
  --color-success: #00E676;
  --color-success-bg: rgba(0, 230, 118, 0.15);
  --color-danger: #FF5252;
  --color-badge: #FF3D00;

  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-main: #f5f5f5;
  --text-muted: #b5b5b5;
  --text-dim: #7a7a7a;
  --text-gold: #FFD700;

  /* Elevation & Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(255, 215, 0, 0.3);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.25);

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  background-color: var(--bg-desktop);
  color: var(--text-main);
  font-family: var(--font-main);
  scroll-behavior: smooth;
}

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

/* ==========================================================================
   APP SHELL CONTAINER (MAX-WIDTH 430px SIMULATING MOBILE DEVICE)
   ========================================================================== */
.app-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background-color: var(--bg-app);
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
  padding-bottom: 80px; /* Space for bottom nav */
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   STICKY HEADER (.hdr)
   ========================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 60px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-4);
}

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

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

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

.btn-header-login {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.btn-header-register {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: var(--gold-gradient);
  color: #1a1a1a;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  transition: all 0.2s ease;
}

.btn-header-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* ==========================================================================
   TOP TRUST ALERT BAR (Styled div/p, NO HEADING TAGS)
   ========================================================================== */
.top-notice-bar {
  background: #1e1e1e;
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.top-notice-bar .badge-21 {
  background: var(--color-danger);
  color: #fff;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
}

.top-notice-bar a {
  color: var(--gold-primary);
  text-decoration: underline;
}

/* ==========================================================================
   HERO CONTAINER (IMMERSIVE CASINO IMAGE BACKGROUND + GRADIENT OVERLAY)
   ========================================================================== */
.hero-container {
  position: relative;
  width: 100%;
  padding: 24px var(--space-4) 28px var(--space-4);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(34, 34, 34, 0.75) 0%, rgba(34, 34, 34, 0.95) 85%, #222222 100%);
  z-index: 1;
}

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

/* H1 must be the first heading element */
h1, .hero-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

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

.hero-lead {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  margin-bottom: 14px;
}

/* ==========================================================================
   DUAL-ACTION BUTTONS (PRIMARY GOLD + SECONDARY GHOST)
   ========================================================================== */
.btn-play-now {
  flex: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--gold-gradient);
  color: #1a1a1a;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 183, 77, 0.35);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-play-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 183, 77, 0.5);
}

.btn-read-guide {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

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

/* ==========================================================================
   FEATURE TICKER / TRUST PILLS
   ========================================================================== */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px var(--space-3);
  margin-top: 14px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg, .trust-item .icon {
  color: var(--gold-primary);
}

/* ==========================================================================
   INTERACTIVE 3x2 GAME GRID CONTAINER
   ========================================================================== */
.section-wrapper {
  padding: 20px var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

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

h2.section-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.view-all-link {
  font-size: 0.8rem;
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 600;
}

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

.game-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

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

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

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

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

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

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

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

.game-meta {
  font-size: 0.72rem;
  color: var(--color-success);
  margin-bottom: 10px;
  font-weight: 600;
}

.game-card-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.game-card-actions .btn-play-sm {
  width: 100%;
  padding: 7px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--gold-gradient);
  color: #1a1a1a;
  border-radius: var(--radius-xs);
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.game-card-actions .btn-guide-sm {
  width: 100%;
  padding: 6px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xs);
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.game-card-actions .btn-guide-sm:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

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

.btn-page {
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  color: var(--text-main);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-page.active, .btn-page:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  font-weight: 700;
}

/* ==========================================================================
   PAYMENT CASHIER BLOCK
   ========================================================================== */
.cashier-block {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-subtle);
}

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

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

.pm-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-logo {
  width: 44px;
  height: 28px;
  object-fit: contain;
  background: #ffffff;
  padding: 2px 4px;
  border-radius: var(--radius-xs);
}

.pm-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.pm-speed {
  font-size: 0.72rem;
  color: var(--color-success);
}

.pm-limit {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-align: right;
}

/* ==========================================================================
   ARTICLE & EDITORIAL CONTENT STYLING
   ========================================================================== */
.content-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #d1d1d1;
}

.content-body p {
  margin-bottom: 14px;
}

.content-body h2 {
  font-size: 1.18rem;
  color: #fff;
  margin: 22px 0 10px 0;
  font-weight: 700;
}

.content-body h3 {
  font-size: 1.02rem;
  color: var(--gold-primary);
  margin: 16px 0 8px 0;
  font-weight: 600;
}

.content-body ul, .content-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

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

.content-body strong {
  color: #ffffff;
}

.content-body a {
  color: var(--gold-primary);
  text-decoration: underline;
}

.content-table-container {
  width: 100%;
  overflow-x: auto;
  margin: 14px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

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

.content-table th {
  background: #1e1e1e;
  color: var(--gold-primary);
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

/* ==========================================================================
   FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.faq-question span.arrow {
  color: var(--gold-primary);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.faq-card.open .faq-question span.arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 14px 14px 14px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
}

.faq-card.open .faq-answer {
  display: block;
}

/* ==========================================================================
   E-E-A-T AUTHOR BIO BLOCK
   ========================================================================== */
.author-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold-primary);
  object-fit: cover;
}

.author-details {
  flex: 1;
}

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

.author-badge {
  font-size: 0.72rem;
  color: var(--color-success);
  font-weight: 600;
  margin-bottom: 4px;
}

.author-bio {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   RESPONSIBLE GAMING & 21+ FOOTER
   ========================================================================== */
.rg-footer {
  background: #191919;
  border-top: 1px solid var(--border-subtle);
  padding: 24px var(--space-4) 16px var(--space-4);
  text-align: center;
}

.rg-pill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.badge-21-lg {
  background: var(--color-danger);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}

.rg-disclaimer-text {
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.rg-disclaimer-text a {
  color: var(--gold-primary);
  text-decoration: underline;
}

.rg-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 0.74rem;
  margin-bottom: 14px;
}

.rg-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.copyright-text {
  font-size: 0.7rem;
  color: #555555;
}

/* ==========================================================================
   FIXED BOTTOM NAVIGATION BAR (.bottom-nav)
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 64px;
  background: #1e1e1e;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 950;
  padding: 0 4px;
}

.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  width: 20%;
  height: 100%;
  transition: all 0.2s ease;
}

.nav-tab svg, .nav-tab .icon {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

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

.nav-tab.highlight {
  position: relative;
  top: -8px;
}

.nav-tab.highlight .circle-btn {
  width: 46px;
  height: 46px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  box-shadow: 0 4px 14px rgba(255, 183, 77, 0.4);
}

/* ==========================================================================
   AGE-GATE MODAL (21+)
   CRITICAL RULE: USE <div class="modal-title">, ZERO HEADING TAGS (H1-H6)
   ========================================================================== */
.age-gate-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.age-gate-modal {
  width: 100%;
  max-width: 360px;
  background: #252525;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 24px var(--space-4);
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9);
}

.age-gate-modal .badge-circle {
  width: 56px;
  height: 56px;
  background: var(--color-danger);
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* Styled div, NOT h1-h6 */
.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-modal-confirm {
  width: 100%;
  padding: 12px;
  background: var(--gold-gradient);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-modal-exit {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
/* Silo Navigation & Spoke Cards */
.silo-spoke-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.silo-spoke-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
}
.silo-spoke-card .spoke-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}
.silo-spoke-card .spoke-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.silo-spoke-card .spoke-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.footer-silo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
  margin: 16px 0;
  font-size: 0.78rem;
}
.footer-silo-grid .col-title {
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}
.footer-silo-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-silo-grid li {
  margin-bottom: 6px;
}
.footer-silo-grid a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-silo-grid a:hover {
  color: #fff;
}
/* Category Grid & Home Guide Cards */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
}
.cat-icon-badge {
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.cat-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 2px;
}
.cat-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 10px;
  min-height: 28px;
}
.cat-actions {
  display: flex;
  gap: 6px;
  width: 100%;
}
.cat-actions .btn-play-sm,
.cat-actions .btn-guide-sm {
  flex: 1;
  font-size: 0.75rem;
  padding: 6px 0;
  text-align: center;
  justify-content: center;
}

/* Home Guide Cards */
.guide-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-guide-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.home-guide-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
}
.guide-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.guide-badge-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.guide-read-time {
  font-size: 0.7rem;
  color: #888;
}
.home-guide-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 6px;
}
.home-guide-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
}
.home-guide-actions {
  display: flex;
  gap: 8px;
}
.home-guide-actions .btn-guide-sm {
  flex: 1.2;
  text-align: center;
  justify-content: center;
  padding: 8px 10px;
}
.home-guide-actions .btn-play-sm {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 8px 10px;
}

/* ==========================================================================
   MOBILE-FIRST CONTENT SCANNABILITY & READABILITY ENGINE
   Optimized for 430px smartphone viewports, thumb scrolling, and zero cognitive fatigue
   ========================================================================== */

.content-body {
  font-size: 0.94rem;
  line-height: 1.68;
  color: #dcdcdc;
  word-break: break-word;
}

.content-body p {
  margin-bottom: 14px;
  color: #e2e2e2;
  font-size: 0.94rem;
  line-height: 1.68;
  letter-spacing: 0.01em;
}

.content-body strong, 
.content-body b {
  color: #ffffff;
  font-weight: 700;
}

.content-body a {
  color: var(--gold-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.content-body a:hover {
  color: var(--gold-secondary);
}

/* Headings with mobile scannability anchors */
.content-body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.35;
  border-left: 4px solid var(--gold-primary);
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.08) 0%, transparent 100%);
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.content-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-secondary);
  margin-top: 22px;
  margin-bottom: 8px;
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 6px;
}

.content-body h3::before {
  content: "▸";
  color: var(--gold-primary);
  font-size: 1rem;
}

/* Thumb-friendly mobile bullet lists */
.content-body ul,
.mobile-scannable-list {
  list-style: none;
  margin: 14px 0 18px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-body ul li,
.mobile-scannable-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.55;
  font-size: 0.92rem;
  color: #d6d6d6;
}

.content-body ul li::before,
.mobile-scannable-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0;
  color: var(--gold-primary);
  font-size: 1.3rem;
  line-height: 1.2;
}

/* Thumb-friendly step-by-step numbered lists */
.content-body ol,
.mobile-step-list {
  list-style: none;
  counter-reset: mobile-step-counter;
  margin: 16px 0 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-body ol li,
.mobile-step-list li {
  counter-increment: mobile-step-counter;
  position: relative;
  padding: 12px 14px 12px 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ddd;
}

.content-body ol li::before,
.mobile-step-list li::before {
  content: counter(mobile-step-counter);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  background: var(--gold-gradient);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.78rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Quick Takeaway / Anchor Cards */
.mobile-takeaway-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 167, 81, 0.05) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin: 18px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  position: relative;
}

.takeaway-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(255, 215, 0, 0.15);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.takeaway-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #f0f0f0;
  margin: 0 !important;
}

/* Responsive Thumb-Friendly Tables */
.content-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
  background: #1e1e1e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.table-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 12px;
  background: rgba(255, 215, 0, 0.08);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-primary);
  letter-spacing: 0.3px;
}

.content-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.content-table thead tr {
  background: #282828;
}

.content-table th {
  padding: 10px 12px;
  color: var(--gold-primary);
  font-weight: 700;
  border-bottom: 2px solid var(--border-gold);
  white-space: nowrap;
}

.content-table td {
  padding: 10px 12px;
  color: #ccc;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.45;
  vertical-align: top;
}

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

.content-table tbody tr:hover {
  background: rgba(255, 215, 0, 0.04);
}

/* Dual-intent action box inside markdown */
.dual-intent-action-box {
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0;
  text-align: center;
}

.dual-intent-action-box p {
  margin: 0 0 12px 0;
  font-weight: 700;
  color: var(--gold-primary);
  font-size: 0.95rem;
}

.dual-intent-action-box .action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-xs);
  text-decoration: none;
  margin: 4px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .dual-intent-action-box .action-btn {
    display: block;
    width: 100%;
    margin: 6px 0;
  }
}

