/* ==========================================================================
   JILINO1 CASINO — ARCHETYPE 4: SIDEBAR APP PORTAL (OBSIDIAN & ROYAL GOLD-FIRE)
   Standards: Anti-UI-Slop, Mobile-First (390px to 1440px), WCAG AA Accessible
   ========================================================================== */

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

/* --- 1. DESIGN TOKENS --- */
:root {
  /* Obsidian & Carbon Dark Base */
  --bg-base: #060911;
  --bg-surface: #0b1120;
  --bg-elevated: #111a30;
  --bg-glass: rgba(13, 20, 36, 0.75);
  --bg-glass-card: rgba(17, 26, 48, 0.65);
  --bg-glass-hover: rgba(24, 38, 68, 0.85);

  /* Royal Fire & Gold Accents */
  --fire-amber: #ff9f1c;
  --fire-gold: #ffb703;
  --fire-crimson: #e63946;
  --fire-flame: #ff5400;
  --fire-glow: rgba(255, 159, 28, 0.28);
  --crimson-glow: rgba(230, 57, 70, 0.35);

  /* Status & Accents */
  --accent-cyan: #00f0ff;
  --accent-emerald: #00f5d4;
  --status-live: #10b981;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #060911;

  /* Borders & Dividers */
  --border-glass: rgba(255, 159, 28, 0.16);
  --border-glass-strong: rgba(255, 159, 28, 0.45);
  --border-subtle: rgba(255, 255, 255, 0.07);

  /* Layout Constants */
  --sidebar-width: 260px;
  --topbar-height: 64px;
  --dock-height: 68px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions & Shadows */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-portal: 0 16px 36px -8px rgba(0, 0, 0, 0.7);
  --shadow-fire: 0 4px 24px rgba(255, 159, 28, 0.35);
  --shadow-crimson: 0 4px 20px rgba(230, 57, 70, 0.4);
}

/* --- 2. GLOBAL RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(255, 159, 28, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(230, 57, 70, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
  padding-bottom: calc(var(--dock-height) + 16px);
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

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

a:hover {
  color: #ffffff;
}

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

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--fire-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin: 2.25rem 0 1rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--fire-amber), transparent);
  border-radius: var(--radius-full);
  margin-top: 6px;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin: 1.5rem 0 0.75rem;
  color: #f1f5f9;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* --- 3. APP PORTAL LAYOUT SKELETON --- */
.app-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
}

/* --- 4. SIDEBAR NAVIGATION DRAWER (DESKTOP FIXED / MOBILE OFF-CANVAS) --- */
.app-sidebar {
  width: var(--sidebar-width);
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1100;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-glass) transparent;
}

/* Hide on mobile by default (slides in as drawer) */
@media (max-width: 1023px) {
  .app-sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-portal);
  }
  .app-sidebar.active {
    transform: translateX(0);
  }
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 17, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Sidebar Brand Header */
.sidebar-header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.sidebar-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-xs);
  display: none;
}

@media (max-width: 1023px) {
  .sidebar-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.sidebar-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* Sidebar Quick Bonus Card */
.sidebar-bonus-card {
  margin: 1rem 1rem 0.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 159, 28, 0.15), rgba(230, 57, 70, 0.15));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.sidebar-bonus-card::after {
  content: 'VIP';
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--fire-crimson);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 10px 14px 2px;
  transform: rotate(45deg);
  box-shadow: var(--shadow-crimson);
}

.sidebar-bonus-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fire-gold);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-bonus-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.sidebar-bonus-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--fire-amber), var(--fire-crimson));
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-fire);
}

/* Sidebar Navigation Items */
.sidebar-nav {
  padding: 0.75rem 0.75rem 1.5rem;
  flex: 1;
}

.sidebar-nav-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.75rem 0.75rem 0.35rem;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.65rem 0.75rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.sidebar-nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.8;
  flex-shrink: 0;
  transition: var(--transition);
}

.sidebar-nav-item:hover {
  color: #ffffff;
  background: rgba(255, 159, 28, 0.08);
}

.sidebar-nav-item:hover svg {
  color: var(--fire-amber);
  opacity: 1;
}

.sidebar-nav-item.active {
  color: var(--fire-gold);
  background: rgba(255, 159, 28, 0.12);
  border-left: 3px solid var(--fire-amber);
}

.sidebar-nav-item.active svg {
  color: var(--fire-amber);
  opacity: 1;
}

.sidebar-nav-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.sidebar-nav-badge.hot {
  background: rgba(230, 57, 70, 0.2);
  color: #ff6b6b;
}

/* Sidebar Footer (Trust & Verification) */
.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.sidebar-trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sidebar-trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-live);
  box-shadow: 0 0 8px var(--status-live);
}

/* --- 5. MAIN CONTENT SHELL --- */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0; /* Prevents flex children blowout */
}

@media (min-width: 1024px) {
  .app-main {
    margin-left: var(--sidebar-width);
  }
}

/* Top App Bar */
.app-topbar {
  height: var(--topbar-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-toggle-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass);
}

@media (min-width: 1024px) {
  .drawer-toggle-btn {
    display: none;
  }
}

.topbar-mobile-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: none;
}

@media (max-width: 1023px) {
  .topbar-mobile-logo {
    display: block;
  }
}

/* Category Quick-Chips Ticker in Topbar */
.topbar-ticker {
  display: none;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .topbar-ticker {
    display: flex;
  }
}

.ticker-chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: var(--transition);
}

.ticker-chip:hover {
  color: #fff;
  border-color: var(--border-glass);
  background: rgba(255, 159, 28, 0.1);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Button Component Library */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--fire-amber), var(--fire-crimson));
  color: #ffffff;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  box-shadow: var(--shadow-fire);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 159, 28, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-glass);
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background: rgba(255, 159, 28, 0.12);
  border-color: var(--fire-gold);
  color: #ffffff;
}

.btn-pulse {
  animation: pulse-fire 2.4s infinite;
}

@keyframes pulse-fire {
  0% { box-shadow: 0 0 0 0 rgba(255, 159, 28, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255, 159, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 159, 28, 0); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Breadcrumbs (Modern Chip Style) */
.breadcrumbs {
  padding: 0.85rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  color: var(--text-muted);
  font-size: 1rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--fire-gold);
}

.breadcrumbs span[itemprop="name"] {
  color: var(--text-muted);
}

/* --- 6. APP PORTAL HERO SECTION --- */
.app-hero {
  padding: 2rem 0 1.5rem;
  position: relative;
}

.hero-box {
  background: linear-gradient(135deg, rgba(16, 26, 48, 0.9), rgba(11, 17, 32, 0.95));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-portal);
}

.hero-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 159, 28, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 159, 28, 0.12);
  border: 1px solid rgba(255, 159, 28, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fire-gold);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem;
}

/* Hero Fast Stats Bar */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-val.gold { color: var(--fire-gold); }
.stat-val.emerald { color: var(--accent-emerald); }
.stat-val.amber { color: var(--fire-amber); }

.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Quick Game Launchpad */
.launchpad-section {
  width: 100%;
  margin: 1.5rem auto 2.5rem;
}

.launchpad-section .container,
.container.launchpad-section {
  margin-left: auto !important;
  margin-right: auto !important;
}

.launchpad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.launchpad-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.launchpad-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  gap: 14px;
  justify-content: center;
  align-items: stretch;
}

@media (max-width: 1023px) {
  .launchpad-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .launchpad-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.launchpad-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.15rem 0.75rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.launchpad-card:hover {
  transform: translateY(-4px);
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-strong);
  box-shadow: var(--shadow-fire);
}

.launchpad-card img {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 auto 0.65rem;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.launchpad-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
  text-align: center;
  width: 100%;
}

.launchpad-card span {
  font-size: 0.72rem;
  color: var(--fire-gold);
  font-weight: 600;
  text-align: center;
  width: 100%;
}

/* --- 7. ARTICLE & EDITORIAL LAYOUT --- */
.article-layout {
  padding: 1rem 0 3rem;
}

/* E-E-A-T Verification Capsule (Obsidian Certificate Style) */
.eeat-callout {
  background: linear-gradient(135deg, rgba(16, 26, 48, 0.8), rgba(24, 38, 68, 0.7));
  border: 1px solid var(--border-glass-strong);
  border-left: 4px solid var(--fire-amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.eeat-callout .author-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fire-gold);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eeat-callout p {
  margin: 0;
  font-size: 0.88rem;
  color: #cbd5e1;
}

/* Featured Hero Image Container */
.article-hero-img {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.article-hero-img img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
}

/* TL;DR Summary Capsule */
.tldr-box {
  background: rgba(11, 17, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.tldr-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tables (Obsidian Glass Style) */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-portal);
  -webkit-overflow-scrolling: touch;
}

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

th {
  background: rgba(255, 159, 28, 0.12);
  color: var(--fire-gold);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-glass);
  white-space: nowrap;
}

td {
  padding: 0.85rem 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

tr:hover td {
  background: rgba(255, 159, 28, 0.04);
  color: #ffffff;
}

/* Numbered Step-by-Step Flow (Timeline Walkthrough) */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 1.5rem 0 2.5rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
}

.step-item:hover {
  border-color: var(--border-glass);
  background: var(--bg-glass-hover);
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--fire-amber), var(--fire-crimson));
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-fire);
}

.step-content h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.step-content p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Sibling & Hub Card Grids */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 1.5rem 0 2.5rem;
}

.feature-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  padding: 1rem;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-fire);
  background: var(--bg-glass-hover);
}

.feature-card .card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: var(--bg-surface);
}

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

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

.feature-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.feature-card h4 a {
  color: #ffffff;
}

.feature-card h4 a:hover {
  color: var(--fire-gold);
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

/* FAQ Accordions */
.faq-section {
  margin: 2.5rem 0;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-glass);
}

.faq-question {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--fire-amber);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: '−';
  color: var(--fire-gold);
}

.faq-answer {
  padding: 0 1.25rem 1rem;
}

.faq-answer p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* --- 8. DIRECTORY FOOTER --- */
.site-footer {
  background: #04060c;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fire-gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 3px;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-21 {
  background: rgba(230, 57, 70, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(230, 57, 70, 0.3);
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
}

/* --- 9. MOBILE FLOATING GLASS DOCK (390PX VIEWPORT) --- */
.mobile-app-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--dock-height);
  background: rgba(6, 9, 17, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass);
  z-index: 1000;
  padding: 0 0.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1023px) {
  .mobile-app-dock {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  gap: 4px;
  flex: 1;
  padding: 6px 0;
  transition: var(--transition);
}

.dock-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: var(--transition);
}

.dock-item:hover, .dock-item.active {
  color: var(--fire-gold);
}

.dock-item:hover svg, .dock-item.active svg {
  fill: var(--fire-gold);
}

/* Glowing Center Action Button */
.dock-item.dock-center-action {
  transform: translateY(-14px);
  flex: 0 0 60px;
}

.dock-center-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire-amber), var(--fire-crimson));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(255, 159, 28, 0.5);
  border: 3px solid var(--bg-base);
  animation: pulse-fire 2s infinite;
}

.dock-center-bubble svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.dock-item.dock-center-action span {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--fire-gold);
  margin-top: 2px;
}
