/* ==========================================================================
   LEONIDA DISPATCH — Unofficial GTA VI Fan Hub & Field Guide
   Pure CSS • Zero External Fonts • Zero CDNs • Mobile + Desktop Ready
   ========================================================================== */

:root {
  /* Sun-to-Midnight Coastal Palette */
  --bg-deep: #080c15;
  --bg-surface: #0f1626;
  --bg-card: #141d31;
  --bg-card-hover: #1a2640;
  --bg-cream: #fbf4e6;
  --bg-cream-ink: #1a1625;

  --coral: #ff4d79;
  --coral-glow: rgba(255, 77, 121, 0.35);
  --tangerine: #ff9d3b;
  --sun-gold: #ffd166;
  --teal: #1dd3c6;
  --teal-glow: rgba(29, 211, 198, 0.28);
  --mint: #7ef9e6;
  --violet: #9d5cff;

  --ink-primary: #f6f3ee;
  --ink-secondary: #b7c2d6;
  --ink-muted: #7f8ea8;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-accent: rgba(29, 211, 198, 0.32);

  /* Verification Badge Colors */
  --status-confirmed: #22c55e;
  --status-reported: #f59e0b;
  --status-debunked: #f43f5e;

  /* System Typography Stacks (Zero external fonts) */
  --font-display: 'Avenir Next', 'Montserrat', 'Futura', 'Trebuchet MS', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-condensed: 'Avenir Next Condensed', 'Arial Narrow', 'Impact', 'Helvetica Neue', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', ui-monospace, 'Cascadia Code', Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 42px rgba(4, 7, 14, 0.55);
  --shadow-glow: 0 0 36px rgba(255, 77, 121, 0.2);

  --nav-height: 70px;
  --max-width: 1220px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 18px);
  background: var(--bg-deep);
  color: var(--ink-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 77, 121, 0.08), transparent 36%),
    radial-gradient(circle at 88% 22%, rgba(29, 211, 198, 0.07), transparent 40%),
    var(--bg-deep);
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--sun-gold);
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}

/* ==========================================================================
   Scroll Progress Bar & Sticky Navigation
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--tangerine), var(--coral), var(--teal));
  z-index: 1200;
  transition: width 0.08s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(8, 12, 21, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.96rem;
  flex-shrink: 0;
}

.brand-mark:hover {
  color: var(--ink-primary);
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 18px rgba(255, 77, 121, 0.35);
}

.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--teal);
  font-weight: 600;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-secondary);
  letter-spacing: 0.03em;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-links a.is-active {
  box-shadow: inset 0 0 0 1px rgba(29, 211, 198, 0.45);
  color: var(--mint);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Interactive Wanted Level HUD Easter Egg */
.wanted-hud {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 11px;
  background: rgba(20, 29, 49, 0.9);
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 999px;
  color: var(--sun-gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wanted-hud:hover {
  transform: translateY(-1px);
  border-color: var(--coral);
  box-shadow: 0 0 16px rgba(255, 77, 121, 0.28);
}

.wanted-hud.is-alert {
  border-color: var(--coral);
  animation: vcpdFlash 0.9s infinite alternate;
}

@keyframes vcpdFlash {
  from { box-shadow: 0 0 12px rgba(255, 77, 121, 0.55); }
  to { box-shadow: 0 0 14px rgba(29, 211, 198, 0.55); }
}

.wanted-stars {
  display: inline-flex;
  gap: 2px;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  line-height: 1;
}

.wanted-star {
  color: rgba(255, 255, 255, 0.18);
  transition: color 0.18s ease, transform 0.18s ease;
}

.wanted-star.is-solid {
  color: var(--sun-gold);
  text-shadow: 0 0 8px rgba(255, 209, 102, 0.7);
}

.wanted-star.is-hollow {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--teal);
  text-shadow: 0 0 6px rgba(29, 211, 198, 0.5);
}

.wanted-label {
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-left: 4px;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-primary);
  font-size: 1.25rem;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: rgba(8, 12, 21, 0.97);
  backdrop-filter: blur(18px);
  z-index: 990;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.mobile-drawer a {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.mobile-drawer a:hover {
  border-color: var(--teal);
  color: var(--mint);
}

/* ==========================================================================
   Live Broadcast News Ticker
   ========================================================================== */
.dispatch-ticker {
  background: linear-gradient(90deg, rgba(255, 77, 121, 0.16), rgba(29, 211, 198, 0.14), rgba(255, 157, 59, 0.16));
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--ink-primary);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 44px;
  animation: tickerScroll 48s linear infinite;
}

.dispatch-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

/* ==========================================================================
   HERO SECTION — Launch Eve Vice Coast
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height) - 34px);
  display: flex;
  align-items: center;
  padding: clamp(44px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.03);
  transition: transform 0.4s ease-out;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(8, 12, 21, 0.92) 0%, rgba(8, 12, 21, 0.72) 52%, rgba(8, 12, 21, 0.48) 100%),
    linear-gradient(180deg, rgba(8, 12, 21, 0.35) 0%, rgba(8, 12, 21, 0.15) 45%, var(--bg-deep) 100%);
  z-index: 1;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.65;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 77, 121, 0.18);
  border: 1px solid rgba(255, 77, 121, 0.45);
  color: #ffd0dc;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.live-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 77, 121, 0.8);
  animation: pulseRing 1.8s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 121, 0.75); }
  70% { box-shadow: 0 0 0 11px rgba(255, 77, 121, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 121, 0); }
}

.hero-wordmark {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero-wordmark .accent-gradient {
  display: block;
  background: linear-gradient(92deg, var(--sun-gold) 0%, var(--tangerine) 32%, var(--coral) 68%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: #dce4f3;
  max-width: 58ch;
  margin: 0 0 24px;
}

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 10px;
  background: rgba(15, 22, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-primary);
}

.spec-pill strong {
  color: var(--sun-gold);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--tangerine));
  color: #130b14;
  box-shadow: 0 10px 28px rgba(255, 77, 121, 0.35);
}

.btn-primary:hover {
  color: #130b14;
  box-shadow: 0 14px 34px rgba(255, 77, 121, 0.5);
}

.btn-secondary {
  background: rgba(15, 22, 38, 0.85);
  border-color: rgba(29, 211, 198, 0.45);
  color: var(--mint);
}

.btn-secondary:hover {
  background: rgba(29, 211, 198, 0.15);
  color: #ffffff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-subtle);
  color: var(--ink-primary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE LAUNCH EVE COUNTDOWN PANEL
   ========================================================================== */
.launch-card {
  background: rgba(13, 19, 34, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.8vw, 28px);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.launch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sun-gold), var(--coral), var(--teal));
}

.launch-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.launch-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  font-weight: 700;
}

.tz-select {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--ink-primary);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 6px 10px;
  max-width: 210px;
}

.tz-select option {
  background: #0f1626;
  color: var(--ink-primary);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0 16px;
}

.countdown-cell {
  background: rgba(8, 12, 21, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
}

.countdown-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--sun-gold);
  font-variant-numeric: tabular-nums;
}

.countdown-unit {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-top: 4px;
}

.unlock-status-banner {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(29, 211, 198, 0.12);
  border: 1px solid rgba(29, 211, 198, 0.34);
  font-size: 0.84rem;
  color: var(--mint);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.unlock-status-banner.is-unlocked {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.55);
  color: #bbf7d0;
}

.checklist-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-secondary);
  margin: 0 0 10px;
}

.prep-list {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.prep-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
  font-size: 0.84rem;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.prep-item label:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.prep-item input[type="checkbox"] {
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.prep-item input:checked + span {
  text-decoration: line-through;
  color: var(--ink-muted);
}

/* ==========================================================================
   SHARED SECTION STYLING
   ========================================================================== */
.section {
  padding: clamp(64px, 8vw, 108px) 0;
  position: relative;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(16, 23, 40, 0.7) 0%, rgba(11, 16, 29, 0.92) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}

.section-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--tangerine));
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.section-desc {
  margin: 10px 0 0;
  max-width: 64ch;
  color: var(--ink-secondary);
  font-size: 1rem;
}

/* Filter Pill Bars */
.pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.18s ease;
}

.pill-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--ink-primary);
}

.pill-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 77, 121, 0.25), rgba(29, 211, 198, 0.22));
  border-color: var(--teal);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(29, 211, 198, 0.2);
}

/* ==========================================================================
   SECTION 1: INTERACTIVE LEONIDA MAP EXPLORER & POSTCARDS
   ========================================================================== */
.atlas-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.atlas-stage {
  background: #0a111f;
  border: 1px solid rgba(29, 211, 198, 0.28);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.atlas-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.atlas-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.toggle-chip.is-on {
  border-color: var(--sun-gold);
  background: rgba(255, 209, 102, 0.14);
  color: var(--sun-gold);
}

.map-viewport {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 58% 55%, #113049 0%, #091829 65%, #06101c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 11;
}

.leonida-svg {
  width: 100%;
  height: 100%;
  user-select: none;
}

.map-region-shape {
  cursor: pointer;
  transition: fill-opacity 0.22s ease, stroke 0.22s ease, filter 0.22s ease;
}

.map-region-shape:hover {
  fill-opacity: 0.92;
  filter: brightness(1.16);
}

.map-region-shape.is-selected {
  stroke: #ffd166;
  stroke-width: 2.8;
  filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.45));
}

.county-overlay {
  transition: opacity 0.25s ease;
}

.county-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.scale-compare-overlay {
  transition: opacity 0.25s ease;
}

.scale-compare-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.map-pin {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.map-pin:hover {
  transform: scale(1.18);
}

.map-pin.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.map-pin .pin-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: mapPing 2.4s ease-out infinite;
}

@keyframes mapPing {
  0% { transform: scale(0.9); opacity: 0.85; }
  80%, 100% { transform: scale(2.4); opacity: 0; }
}

.atlas-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.legend-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}

/* Postcard Field Dossier Panel */
.dossier-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.dossier-art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1020;
}

.dossier-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.dossier-panel:hover .dossier-art img {
  transform: scale(1.04);
}

.dossier-badge-row {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.stamp-pill {
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(8, 12, 21, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--sun-gold);
}

.stamp-pill.is-rumor {
  color: #fde68a;
  border-color: rgba(245, 158, 11, 0.55);
}

.dossier-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.dossier-county {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dossier-title {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.1;
}

.dossier-inspiration {
  font-size: 0.86rem;
  color: var(--sun-gold);
  font-weight: 600;
}

.dossier-summary {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.94rem;
}

.dossier-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-chip {
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.76rem;
  color: var(--ink-primary);
}

.dossier-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
}

/* 6-Region Postcard Strip */
.postcard-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.postcard-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  text-align: left;
  padding: 0;
  color: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.postcard-card:hover,
.postcard-card.is-selected {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.postcard-card.is-selected {
  border-color: var(--sun-gold);
  box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.28), 0 14px 32px rgba(0, 0, 0, 0.5);
}

.postcard-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

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

.postcard-card:hover .postcard-thumb img {
  transform: scale(1.06);
}

.postcard-meta {
  padding: 14px 16px 16px;
}

.postcard-meta h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
}

.postcard-meta p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   SECTION 2: CHARACTERS & CAST DOSSIER
   ========================================================================== */
.duo-spotlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.char-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.char-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--char-accent, var(--teal));
}

.char-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
}

.char-card.is-lead {
  padding: 26px;
  background: linear-gradient(155deg, rgba(24, 34, 58, 0.96), rgba(14, 20, 36, 0.96));
  border-color: rgba(255, 255, 255, 0.14);
}

.char-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.char-emblem {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.char-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--char-accent, var(--teal));
  font-weight: 700;
}

.char-name {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 900;
}

.char-bio {
  margin: 0;
  font-size: 0.91rem;
  color: var(--ink-secondary);
}

.char-meta-row {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.char-card.is-hidden {
  display: none;
}

.duo-mechanic-banner {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(95deg, rgba(255, 77, 121, 0.12), rgba(29, 211, 198, 0.1));
  border: 1px solid rgba(255, 77, 121, 0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ==========================================================================
   SECTION 3: TRAILERS, EXTENDED LOOK & SOUNDTRACK THEATER
   ========================================================================== */
.theater-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}

.theater-screen {
  background: #070a12;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.theater-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #05070e;
}

.theater-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.66) saturate(1.15);
}

.theater-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.025) 0px,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}

.theater-overlay {
  position: absolute;
  inset: 0;
  padding: clamp(18px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(6, 9, 18, 0.65) 0%, rgba(6, 9, 18, 0.25) 45%, rgba(6, 9, 18, 0.92) 100%);
}

.theater-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 77, 121, 0.22);
  border: 1px solid rgba(255, 77, 121, 0.5);
  color: #ffd5df;
}

.theater-bottom h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
}

.theater-bottom p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: #dbe3f2;
  max-width: 58ch;
}

.theater-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.embed-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.theater-details {
  padding: 18px 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(15, 22, 38, 0.72);
}

.detail-stat span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.detail-stat strong {
  display: block;
  margin-top: 3px;
  font-size: 0.92rem;
  color: var(--ink-primary);
}

.reel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reel-btn {
  width: 100%;
  text-align: left;
  padding: 15px 17px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--ink-primary);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s ease, transform 0.18s ease, background 0.2s ease;
}

.reel-btn:hover {
  transform: translateX(3px);
  border-color: rgba(29, 211, 198, 0.45);
}

.reel-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 77, 121, 0.16), rgba(29, 211, 198, 0.12));
  border-color: var(--sun-gold);
}

.reel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.reel-head strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.reel-duration {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--sun-gold);
}

.reel-sub {
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   SECTION 4: EDITIONS, PRICING & SPECS
   ========================================================================== */
.editions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.edition-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.edition-card.is-featured {
  background: linear-gradient(165deg, rgba(255, 77, 121, 0.14), rgba(20, 29, 49, 0.98) 46%);
  border-color: rgba(255, 77, 121, 0.5);
}

.edition-card.is-collector {
  background: linear-gradient(165deg, rgba(255, 209, 102, 0.14), rgba(20, 29, 49, 0.98) 46%);
  border-color: rgba(255, 209, 102, 0.45);
}

.edition-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mint);
}

.edition-price {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  color: var(--sun-gold);
}

.edition-price small {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--ink-muted);
  font-weight: 500;
}

.edition-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 0.89rem;
  color: var(--ink-secondary);
}

.edition-list li {
  padding-left: 18px;
  position: relative;
}

.edition-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--teal);
}

.callout-warning {
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(244, 63, 94, 0.13);
  border: 1px solid rgba(244, 63, 94, 0.4);
  font-size: 0.82rem;
  color: #fecdd3;
}

.preorder-strip {
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(29, 211, 198, 0.09);
  border: 1px solid rgba(29, 211, 198, 0.34);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.tech-bar {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tech-tile {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.tech-tile span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.tech-tile strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-primary);
}

.tech-tile p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   SECTION 5: CONFIRMED VS. RUMORED TRUTH BOARD
   ========================================================================== */
.truth-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.truth-search {
  min-width: 240px;
  flex: 1;
  max-width: 340px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--ink-primary);
  font-size: 0.88rem;
}

.truth-search::placeholder {
  color: var(--ink-muted);
}

.truth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.truth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.18s ease;
}

.truth-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.truth-card.is-hidden {
  display: none;
}

.truth-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.status-badge.confirmed {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.48);
  color: #86efac;
}

.status-badge.reported {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.48);
  color: #fde68a;
}

.status-badge.debunked {
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.48);
  color: #fda4af;
}

.truth-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
}

.truth-card p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--ink-secondary);
}

.truth-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--ink-muted);
}

.bookmark-btn {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  transition: all 0.18s ease;
}

.bookmark-btn.is-saved {
  background: rgba(255, 209, 102, 0.16);
  border-color: var(--sun-gold);
  color: var(--sun-gold);
}

/* ==========================================================================
   SECTION 6: INTERACTIVE FRANCHISE TIMELINE (1997–2026)
   ========================================================================== */
.timeline-stage {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-card);
}

.timeline-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--coral) rgba(255, 255, 255, 0.06);
}

.timeline-node {
  flex: 0 0 auto;
  min-width: 144px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(8, 12, 21, 0.72);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
  text-align: left;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}

.timeline-node:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 211, 198, 0.45);
}

.timeline-node.is-active {
  background: linear-gradient(145deg, rgba(255, 77, 121, 0.2), rgba(29, 211, 198, 0.15));
  border-color: var(--sun-gold);
  color: var(--ink-primary);
}

.timeline-node.is-hidden {
  display: none;
}

.tn-year {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--sun-gold);
  font-weight: 700;
}

.tn-title {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
}

.tn-era {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--mint);
}

.timeline-detail {
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: center;
}

.tl-era-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.tl-heading {
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 900;
}

.tl-facts {
  background: rgba(8, 12, 21, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: grid;
  gap: 10px;
}

.tl-fact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.tl-fact-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tl-fact-row span {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.tl-fact-row strong {
  text-align: right;
  color: var(--ink-primary);
}

/* ==========================================================================
   SECTION 7: INTERACTIVE "WHICH LEONIDA CREW ARE YOU?" QUIZ
   ========================================================================== */
.quiz-shell {
  background: linear-gradient(155deg, rgba(22, 31, 54, 0.96), rgba(11, 16, 29, 0.98));
  border: 1px solid rgba(255, 77, 121, 0.34);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.6vw, 38px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.quiz-progress-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 22px;
}

.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sun-gold), var(--coral), var(--teal));
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.quiz-question-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quiz-question-text {
  margin: 8px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 800;
  line-height: 1.2;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quiz-option {
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--ink-primary);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.16s ease, border-color 0.2s ease, background 0.2s ease;
}

.quiz-option:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  background: rgba(29, 211, 198, 0.1);
}

.quiz-option strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.quiz-option span {
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

/* Result ID Card */
.quiz-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
}

.id-card {
  background: var(--bg-cream);
  color: var(--bg-cream-ink);
  border-radius: 18px;
  padding: 24px;
  border: 3px solid var(--sun-gold);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.id-card::before {
  content: 'STATE OF LEONIDA • RESIDENT CREW PASS';
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #b4234a;
  border-bottom: 2px solid rgba(26, 22, 37, 0.14);
  padding-bottom: 9px;
  margin-bottom: 14px;
}

.id-crew-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 900;
  line-height: 1.05;
  color: #12101c;
}

.id-crew-motto {
  margin: 6px 0 14px;
  font-style: italic;
  font-size: 0.92rem;
  color: #4f465e;
}

.id-stats {
  display: grid;
  gap: 9px;
  margin: 16px 0;
}

.stat-bar-row {
  display: grid;
  grid-template-columns: 88px 1fr 38px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.stat-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(26, 22, 37, 0.12);
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4d79, #ff9d3b);
}

.id-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(26, 22, 37, 0.22);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #474157;
}

/* ==========================================================================
   SECTION 8: BOOKMARKABLE COMMUNITY DIRECTORY
   ========================================================================== */
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.link-group {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-group h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--sun-gold);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.ext-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ext-link-item a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.16s ease;
}

.ext-link-item a:hover {
  background: rgba(29, 211, 198, 0.09);
  border-color: rgba(29, 211, 198, 0.35);
  transform: translateX(3px);
}

.ext-link-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink-primary);
}

.ext-link-desc {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   FOOTER & UNOFFICIAL DISCLAIMER
   ========================================================================== */
.site-footer {
  background: #050810;
  border-top: 1px solid var(--border-subtle);
  padding: 46px 0 38px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: start;
}

.disclaimer-box {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

.disclaimer-box strong {
  color: var(--sun-gold);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1500;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(15, 22, 38, 0.96);
  border: 1px solid var(--teal);
  color: var(--ink-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-revealed,
.no-js [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Phone)
   ========================================================================== */
@media (max-width: 1060px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-grid,
  .atlas-layout,
  .theater-shell,
  .timeline-detail,
  .quiz-result-grid,
  .preorder-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .editions-grid,
  .character-grid,
  .links-grid,
  .postcard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tech-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .duo-spotlight,
  .character-grid,
  .editions-grid,
  .truth-grid,
  .links-grid,
  .postcard-grid,
  .quiz-options,
  .theater-details,
  .tech-bar {
    grid-template-columns: 1fr;
  }
  .countdown-grid {
    gap: 7px;
  }
  .wanted-label {
    display: none;
  }
  .hero {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticker-track,
  .live-pulse,
  .map-pin .pin-pulse,
  .wanted-hud.is-alert {
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
