/* ============================================
   一座山消失了 — Dark Documentary Theme
   ============================================ */

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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-accent: #141414;
  --text-primary: #e8e8e8;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  --accent-red: #dc2626;
  --accent-red-dim: #991b1b;
  --accent-gold: #d4a017;
  --accent-blue: #3b82f6;
  --border-color: #222222;
  --border-subtle: #1a1a1a;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans SC', sans-serif;
  --font-serif: 'Noto Serif SC', Georgia, 'Times New Roman', serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --section-padding: clamp(60px, 10vh, 120px) clamp(20px, 5vw, 40px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain texture overlay — documentary feel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #60a5fa;
}

::selection {
  background: var(--accent-red);
  color: #fff;
}

/* ============================================
   Reading Progress Bar
   ============================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-red);
  z-index: 1100;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================
   Navigation
   ============================================ */
.site-nav {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 clamp(20px, 5vw, 40px);
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}
.site-nav.visible {
  transform: translateY(0);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-brand {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover {
  color: var(--text-primary);
}
.nav-links a.active {
  color: var(--text-primary);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-red);
}
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-primary);
  border: 1px solid var(--accent-red);
  padding: 5px 14px;
  border-radius: 4px;
  transition: all 0.3s;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(220,38,38,0.1);
}
.nav-lang:hover {
  color: #fff;
  background: var(--accent-red);
  border-color: var(--accent-red);
}
.nav-lang::before {
  content: '\1F310';
  font-size: 0.9rem;
}

/* Disclaimer */
.disclaimer {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 24px;
  background: rgba(220,38,38,0.08);
  border: 1px solid var(--accent-red-dim);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: center;
}

/* Mobile hamburger menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(220, 38, 38, 0.4);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-primary);
  overflow: hidden;
  padding: 0 20px;
}
/* Red vignette */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 120%, rgba(220, 38, 38, 0.12) 0%, transparent 50%);
}
/* Horizontal scan line sweep — surveillance camera feel */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(220,38,38,0.3), transparent);
  animation: scanLine 4s linear infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes scanLine {
  0% { top: 0%; }
  100% { top: 100%; }
}
.hero-title {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: heroFadeIn 2s ease forwards;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 80px rgba(220,38,38,0.15), 0 0 2px rgba(255,255,255,0.1);
}
.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 2vw, 1rem);
  color: var(--text-muted);
  margin-top: 24px;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: heroFadeIn 2s ease 0.6s forwards;
  position: relative;
  z-index: 1;
}
.hero-coordinate {
  color: var(--accent-red);
  text-shadow: 0 0 20px rgba(220,38,38,0.3);
}
/* Large faded coordinate watermark in hero background */
.hero .hero-watermark {
  position: absolute;
  font-family: var(--font-mono);
  font-size: clamp(3rem, 15vw, 12rem);
  font-weight: 900;
  color: rgba(220,38,38,0.03);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.02em;
  user-select: none;
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: heroFadeIn 2s ease 1.2s forwards;
  z-index: 1;
}
.scroll-indicator span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(8px); }
  60% { transform: rotate(45deg) translateY(4px); }
}

/* ============================================
   Before/After Satellite Slider
   ============================================ */
.comparison-section {
  position: relative;
  padding: var(--section-padding);
  background: var(--bg-primary);
}
.comparison-section .section-label {
  text-align: center;
  margin-bottom: 40px;
}
.comparison-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid var(--accent-red-dim);
  cursor: col-resize;
  aspect-ratio: 16/10;
  background: var(--bg-card);
  box-shadow: 0 0 40px rgba(220,38,38,0.08);
}
.comparison-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.comparison-after {
  clip-path: inset(0 0 0 50%);
}
.comparison-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  cursor: col-resize;
  z-index: 10;
  transform: translateX(-50%);
}
.comparison-slider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.comparison-slider::after {
  content: '\2194';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: #000;
  z-index: 11;
  font-weight: 700;
}
.comparison-label {
  position: absolute;
  top: 16px;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 5;
  pointer-events: none;
  border-radius: 3px;
}
.comparison-label.before { left: 16px; }
.comparison-label.after { right: 16px; }
.comparison-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================
   Interactive Map — Enhanced Multi-Provider
   ============================================ */
.map-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}
.map-section-enhanced {
  background: var(--bg-primary);
  border-top: 3px solid var(--accent-red);
  position: relative;
}
.map-section-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(220,38,38,0.04) 0%, transparent 100%);
  pointer-events: none;
}
.map-section .section-label {
  text-align: center;
  margin-bottom: 40px;
}

/* Coordinate copy bar */
.map-coord-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.map-coord-label {
  background: var(--accent-red);
  color: #fff;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 3px;
}
.map-coord-bar code {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}
.map-coord-copy {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 16px;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 3px;
  font-family: var(--font-sans);
  transition: all 0.3s;
}
.map-coord-copy:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

/* Static satellite screenshots gallery */
.map-screenshots {
  max-width: var(--max-width);
  margin: 0 auto 40px;
}
.map-screenshot-main {
  margin-bottom: 12px;
}
.map-screenshot-main .map-screenshot-figure img {
  aspect-ratio: 5/4;
}
.map-screenshot-figure {
  margin: 0;
  border: 2px solid var(--accent-red-dim);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.map-screenshot-figure:hover {
  border-color: var(--accent-red);
  box-shadow: 0 0 30px rgba(220,38,38,0.15);
}
.map-screenshot-figure img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.map-screenshot-figure figcaption {
  padding: 10px 14px;
  background: var(--bg-card);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  border-top: 2px solid var(--accent-red-dim);
}
.map-screenshot-figure figcaption .img-year {
  color: var(--accent-red);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}
.map-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.map-screenshot-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.map-screenshot-note strong {
  color: var(--text-secondary);
}

/* Leaflet map (secondary) */
.map-leaflet-wrapper {
  max-width: var(--max-width);
  margin: 0 auto 32px;
}
.map-leaflet-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
#satellite-map {
  max-width: 100%;
  margin: 0 auto;
  height: 50vh;
  min-height: 400px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

/* Map verification buttons grid */
.map-verify-grid {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  text-align: center;
}
.map-verify-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-shadow: 0 0 30px rgba(220,38,38,0.1);
}
.map-verify-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.map-verify-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.map-verify-btn:hover {
  border-color: var(--accent-red);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(220,38,38,0.15);
}
.map-verify-btn::after {
  content: '\6253\5F00 \2192';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.map-verify-btn:hover::after {
  transform: translateY(0);
}
.map-verify-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.map-verify-btn.google .map-verify-icon { background: #4285f4; }
.map-verify-btn.baidu .map-verify-icon { background: #3385ff; }
.map-verify-btn.gaode .map-verify-icon { background: #2d73f5; }
.map-verify-btn.bing .map-verify-icon { background: #00809d; }
.map-verify-btn.tencent .map-verify-icon { background: #12b7f5; }
.map-verify-btn.earth .map-verify-icon { background: #4285f4; font-size: 0.8rem; }
.map-verify-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.map-verify-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.map-bottom-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  padding: 24px 0 0;
  border-top: 1px solid var(--border-color);
}
.map-bottom-note strong {
  color: var(--accent-red);
}

.map-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.map-caption a {
  color: var(--accent-blue);
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-section {
  padding: clamp(40px, 8vh, 80px) clamp(20px, 5vw, 40px);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}
.stat-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--accent-red);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 0 30px rgba(220,38,38,0.3);
}
.stat-unit {
  font-size: 0.6em;
  color: var(--text-secondary);
}
.stat-label {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.stat-detail {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
/* "0人被追责" pulsing glow — the most damning stat */
.stat-item:last-child .stat-number {
  animation: zeroPulse 2s ease-in-out infinite;
}
@keyframes zeroPulse {
  0%, 100% { text-shadow: 0 0 30px rgba(220,38,38,0.3); }
  50% { text-shadow: 0 0 60px rgba(220,38,38,0.6), 0 0 100px rgba(220,38,38,0.2); }
}

/* ============================================
   Chapter Sections
   ============================================ */
.chapter {
  padding: var(--section-padding);
  max-width: 800px;
  margin: 0 auto;
}
.chapter:nth-child(even) {
  background: var(--bg-secondary);
  max-width: 100%;
}
.chapter:nth-child(even) .chapter-inner {
  max-width: 800px;
  margin: 0 auto;
}
.chapter-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.chapter-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 32px;
  line-height: 1.2;
  text-shadow: 0 0 40px rgba(220,38,38,0.08);
}
.chapter-body {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--text-secondary);
}
.chapter-body p {
  margin-bottom: 24px;
}

/* Callout boxes */
.callout {
  border-left: 3px solid var(--accent-red);
  background: rgba(220, 38, 38, 0.05);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 1rem;
  box-shadow: -4px 0 20px rgba(220,38,38,0.06);
}
.callout strong {
  color: var(--text-primary);
}
.callout-gold {
  border-left-color: var(--accent-gold);
  background: rgba(212, 160, 23, 0.05);
}

/* Case number display */
.case-number {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 16px 24px;
  margin: 24px 0;
  text-align: center;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

/* Evidence image in chapter (single figure) */
.chapter-evidence {
  margin: 32px 0;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.chapter-evidence:hover {
  border-color: var(--accent-red-dim);
  box-shadow: 0 0 24px rgba(220,38,38,0.1);
}
.chapter-evidence img {
  width: 100%;
  display: block;
}
.chapter-evidence figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border-top: 2px solid var(--accent-red-dim);
}

/* Evidence grid in chapters (multi-figure) */
.chapter-evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.chapter-evidence-grid figure {
  margin: 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.chapter-evidence-grid figure:hover {
  border-color: var(--accent-red-dim);
  box-shadow: 0 0 24px rgba(220,38,38,0.1);
  transform: translateY(-2px);
}
.chapter-evidence-grid figure img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.chapter-evidence-grid figcaption {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  border-top: 2px solid var(--accent-red-dim);
  line-height: 1.6;
}

/* Scale comparison visual */
.scale-comparison {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}
.scale-bar {
  text-align: center;
  flex-shrink: 0;
}
.scale-bar-inner {
  width: 60px;
  background: var(--accent-red);
  margin: 0 auto 8px;
  border-radius: 2px;
  transition: height 1s ease;
}
.scale-bar-approved .scale-bar-inner {
  background: var(--text-muted);
  height: 40px;
}
.scale-bar-actual .scale-bar-inner {
  background: var(--accent-red);
  height: 264px;
}
.scale-bar span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.scale-bar strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-primary);
}
.scale-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-red);
  align-self: center;
  padding: 0 16px;
}

/* ============================================
   Evidence Gallery
   ============================================ */
.gallery-section {
  padding: var(--section-padding);
  background: var(--bg-primary);
}
.gallery-section .section-label {
  text-align: center;
  margin-bottom: 20px;
}
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-sans);
  border-radius: 3px;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: transform 0.3s, border-color 0.3s;
}
.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--accent-red);
  box-shadow: 0 0 20px rgba(220,38,38,0.15);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 0.85rem;
  color: #ddd;
  opacity: 0;
  transition: opacity 0.3s;
  line-height: 1.4;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
}
.gallery-item.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  max-width: 600px;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s;
  font-family: var(--font-sans);
  line-height: 1;
}
.lightbox-close:hover {
  color: #fff;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 20px;
  transition: color 0.3s;
  font-family: var(--font-sans);
}
.lightbox-nav:hover {
  color: #fff;
}
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

/* ============================================
   Video Section
   ============================================ */
.video-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}
.video-section .section-label {
  text-align: center;
  margin-bottom: 40px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.video-card:hover {
  border-color: var(--accent-red-dim);
  box-shadow: 0 4px 24px rgba(220,38,38,0.1);
  transform: translateY(-2px);
}
.video-card video {
  width: 100%;
  display: block;
  background: #000;
}
.video-card .video-info {
  padding: 12px 16px;
}
.video-card .video-title {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.video-card .video-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   Legal Facts
   ============================================ */
.legal-section {
  padding: var(--section-padding);
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}
.legal-inner {
  max-width: 800px;
  margin: 0 auto;
}
.legal-section .section-label {
  text-align: center;
  margin-bottom: 40px;
}
.company-info {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  margin-bottom: 40px;
  font-size: 0.95rem;
}
.company-info dt {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 16px;
}
.company-info dt:first-child {
  margin-top: 0;
}
.company-info dd {
  color: var(--text-primary);
  margin-top: 4px;
  font-weight: 600;
}
.charges-list {
  list-style: none;
  counter-reset: charge;
}
.charge-item {
  counter-increment: charge;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.charge-item:last-child {
  border-bottom: none;
}
.charge-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-red);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-top: 2px;
  box-shadow: 0 0 12px rgba(220,38,38,0.2);
}
.charge-item {
  transition: background 0.3s;
}
.charge-item:hover {
  background: rgba(220,38,38,0.03);
}
.charge-content h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.charge-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ============================================
   Call to Action / Footer
   ============================================ */
.cta-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}
.cta-inner {
  max-width: 800px;
  margin: 0 auto;
}
.cta-section .section-label {
  text-align: center;
  margin-bottom: 40px;
}
.verify-steps {
  list-style: none;
  counter-reset: step;
}
.verify-steps li {
  counter-increment: step;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  gap: 16px;
}
.verify-steps li::before {
  content: counter(step);
  font-family: var(--font-mono);
  color: var(--accent-red);
  font-weight: 700;
  flex-shrink: 0;
  width: 24px;
}
.share-buttons {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all 0.3s;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
}
.share-btn:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.site-footer {
  padding: 40px clamp(20px, 5vw, 40px);
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-right {
  display: flex;
  gap: 20px;
}
.footer-right a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-right a:hover {
  color: var(--text-primary);
}
.faq-footer {
  max-width: 800px;
  margin: 40px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}
.faq-item {
  margin-bottom: 24px;
}
.faq-item h3 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Section Labels (reusable)
   ============================================ */
.section-label h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 0 40px rgba(220,38,38,0.1);
}
.section-label p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Red accent underline for section headings */
.section-label h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-red);
  margin: 12px auto 0;
  box-shadow: 0 0 12px rgba(220,38,38,0.3);
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* ============================================
   Responsive Design
   ============================================ */
/* ============================================
   Lazy Image Fade-In
   ============================================ */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"][complete] {
  opacity: 1;
}

/* ============================================
   Comparison Slider Hint Animation
   ============================================ */
.comparison-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  pointer-events: none;
  animation: hintFade 3s ease forwards;
}
.comparison-hint span {
  display: block;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: 20px;
  white-space: nowrap;
}
@keyframes hintFade {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes sliderHint {
  0% { left: 50%; }
  25% { left: 35%; }
  50% { left: 65%; }
  75% { left: 50%; }
  100% { left: 50%; }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-toggle {
    z-index: 1001;
  }
  .nav-links a {
    font-size: 1.2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .comparison-container {
    aspect-ratio: 4/3;
  }
  #satellite-map {
    height: 40vh;
    min-height: 280px;
  }
  .map-screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .map-verify-buttons {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .map-verify-btn {
    padding: 14px 8px;
  }
  .map-verify-icon {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .scale-comparison {
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
  }
  .lightbox img {
    max-width: 95vw;
    max-height: 70vh;
  }
  .lightbox-nav {
    font-size: 1.5rem;
    padding: 10px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .share-buttons {
    flex-direction: column;
    align-items: center;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .chapter-evidence-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .gallery-filters {
    gap: 8px;
  }
  .filter-btn {
    padding: 6px 14px;
    font-size: 0.75rem;
  }
}

/* ============================================
   Leaflet Map Overrides (dark theme)
   ============================================ */
.leaflet-popup-content-wrapper {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
}
.leaflet-popup-tip {
  background: var(--bg-card) !important;
}
.leaflet-popup-content a {
  color: var(--accent-blue) !important;
}
.leaflet-control-zoom a {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}
.leaflet-control-attribution {
  background: rgba(10,10,10,0.8) !important;
  color: var(--text-muted) !important;
  font-size: 0.7rem !important;
}
.leaflet-control-attribution a {
  color: var(--text-muted) !important;
}

/* ============================================
   Warning Banner
   ============================================ */
.warning-banner {
  background: var(--accent-red);
  color: #fff;
  text-align: center;
  padding: 20px clamp(20px, 5vw, 40px);
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
  animation: bannerPulse 3s ease-in-out infinite;
}
@keyframes bannerPulse {
  0%, 100% { background-color: #dc2626; }
  50% { background-color: #b91c1c; }
}
.warning-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,0.06) 10px,
    rgba(0,0,0,0.06) 20px
  );
  pointer-events: none;
}
.warning-banner span {
  position: relative;
  z-index: 1;
}

/* ============================================
   Prologue / Opening Hook
   ============================================ */
.prologue {
  padding: clamp(60px, 10vh, 100px) clamp(20px, 5vw, 40px);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.prologue-text {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  line-height: 2.2;
  color: var(--text-secondary);
  font-weight: 400;
}
.prologue-text strong {
  color: var(--text-primary);
  font-weight: 700;
}
.prologue-text .red {
  color: var(--accent-red);
  font-weight: 700;
}
.prologue-hook {
  margin-top: 40px;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  text-shadow: 0 0 40px rgba(220,38,38,0.15);
}

/* Red divider between major sections */
.section-divider-red {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  border: none;
  opacity: 0.4;
}

/* ============================================
   Crime Timeline
   ============================================ */
.timeline-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}
.timeline-section .section-label {
  text-align: center;
  margin-bottom: 48px;
}
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--border-color) 0%, var(--accent-red-dim) 40%, var(--accent-red) 70%, #7f1d1d 100%);
  box-shadow: 0 0 8px rgba(220,38,38,0.15);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent-red);
  border-radius: 50%;
  border: 2px solid var(--bg-secondary);
  z-index: 1;
}
.timeline-item.timeline-death::before {
  width: 16px;
  height: 16px;
  left: -35px;
  top: 4px;
  box-shadow: 0 0 0 4px rgba(220,38,38,0.3), 0 0 20px rgba(220,38,38,0.4);
  animation: deathPulse 2s ease-in-out infinite;
}
@keyframes deathPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(220,38,38,0.3), 0 0 20px rgba(220,38,38,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(220,38,38,0.15), 0 0 40px rgba(220,38,38,0.4); }
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-red);
  font-weight: 700;
  margin-bottom: 4px;
}
.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Question Banner (dramatic interlude)
   ============================================ */
.question-banner {
  padding: clamp(60px, 12vh, 120px) clamp(20px, 5vw, 40px);
  text-align: center;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.question-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(220,38,38,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.question-banner h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}
.question-banner h2 .red {
  color: var(--accent-red);
}
.question-banner p {
  margin-top: 24px;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Accused Person Profile Card
   ============================================ */
.accused-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}
.accused-card {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--accent-red-dim);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(220,38,38,0.08), 0 0 80px rgba(220,38,38,0.04);
}
/* Surveillance scan lines overlay */
.accused-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 3;
}
.accused-card::before {
  content: '\88AB\4E3E\62A5\4EBA';
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-red);
  color: #fff;
  padding: 6px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  z-index: 4;
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { background-color: #dc2626; }
  50% { background-color: #ef4444; }
}
.accused-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1.8fr;
  gap: 0;
}
.accused-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.accused-info {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.accused-name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.accused-title {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}
.accused-details {
  list-style: none;
}
.accused-details li {
  padding: 8px 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.accused-details li strong {
  color: var(--text-primary);
}
.accused-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.accused-photos figure {
  margin: 0;
  position: relative;
}
.accused-photos img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.accused-photos figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 24px 12px 8px;
}
.accused-accomplices {
  padding: 24px 32px;
  border-top: 1px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.accused-accomplices strong {
  color: var(--accent-red);
}

@media (max-width: 768px) {
  .accused-header {
    grid-template-columns: 1fr 1fr;
  }
  .accused-header .accused-info {
    grid-column: 1 / -1;
  }
  .accused-photos {
    grid-template-columns: 1fr;
  }
  .accused-info {
    padding: 24px 20px;
  }
  .timeline {
    padding-left: 32px;
  }
}
