:root {
  --bg-color: #050505;
  --neon-green: #00ff41;
  --crimson: #ff003c;
  --panel-bg: rgba(20, 20, 30, 0.82);
  --panel-border: rgba(40, 40, 50, 0.5);
  --text-main: #f0f0f0;
  --text-muted: #b0b8d0;
  --mono-font: 'Share Tech Mono', monospace;
  --sans-font: 'Inter', sans-serif;
  --blue: #00b8ff;
  --purple: #b500ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--sans-font);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  position: relative;
}

/* Background Effects */
#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}

#glitch-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
}

.presentation-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Progress bar */
.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 100;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--crimson);
  transition: width 0.4s ease-in-out;
  box-shadow: 0 0 10px rgba(255,0,60,0.5);
}

/* Slides */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(20px) scale(0.98);
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.slide.prev {
  transform: translateY(-20px) scale(0.98);
}

/* Glassmorphism Panels */
.glass-panel {
  background: var(--panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 3rem;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.glass-panel::-webkit-scrollbar {
  width: 8px;
}
.glass-panel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.glass-panel::-webkit-scrollbar-thumb {
  background: var(--panel-border);
  border-radius: 4px;
}

/* Typography & Colors */
h1, h2, h3, h4, .font-mono {
  font-family: var(--mono-font);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

.text-neon { color: var(--neon-green); }
.text-crimson { color: var(--crimson); text-shadow: 0 0 5px rgba(255,0,60,0.5); }
.text-white { color: white; }
.text-gray { color: var(--text-muted); }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #e0e3e8; }
.text-gray-400 { color: #c0c5d0; }
.text-blue-400 { color: var(--blue); }
.text-purple-400 { color: var(--purple); }
.text-yellow-400 { color: #fbbf24; }

.bg-black { background-color: #000; }
.bg-blue { background-color: var(--blue); }
.bg-purple { background-color: var(--purple); }
.bg-crimson { background-color: var(--crimson); }
.bg-red-600 { background-color: #dc2626; }
.bg-red-900 { background-color: #7f1d1d; }

.font-bold { font-weight: bold; }
.font-light { font-weight: 300; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.line-through { text-decoration: line-through; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

/* Grid Utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:text-5xl { font-size: 3rem; }
}
.gap-6 { gap: 1.5rem; }

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.h-full { height: 100%; }

/* Layout Utilities */
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.pl-5 { padding-left: 1.25rem; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }

/* Presentation specific styling */
.system-alert {
  display: inline-block;
  color: var(--crimson);
  font-family: var(--mono-font);
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  animation: blink 2s infinite;
  text-shadow: 0 0 10px rgba(255,0,60,0.5);
}

.glitch {
  font-size: 5.5rem;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* Subtle continuous glitch effect */
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 var(--crimson);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--neon-green);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(72px, 9999px, 80px, 0); }
  20% { clip: rect(32px, 9999px, 4deg, 0); }
  40% { clip: rect(8px, 9999px, 92px, 0); }
  60% { clip: rect(98px, 9999px, 86px, 0); }
  80% { clip: rect(69px, 9999px, 7px, 0); }
  100% { clip: rect(57px, 9999px, 56px, 0); }
}

.subtitle {
  font-size: 2rem;
  color: var(--text-muted);
  font-family: var(--sans-font);
  font-weight: 400;
}

/* Terminal Component */
.terminal-window {
  background: rgba(5, 5, 5, 0.9);
  border: 1px solid #333;
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 10px rgba(0,255,65,0.05);
  overflow: hidden;
}

.terminal-header {
  background: #1a1a1a;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #333;
}

.terminal-header .btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}
.terminal-header .red { background: #ff5f56; }
.terminal-header .yellow { background: #ffbd2e; }
.terminal-header .green { background: #27c93f; }
.terminal-header .title {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--mono-font);
  color: #666;
  font-size: 0.8rem;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--mono-font);
  font-size: 1.35rem;
  color: #c5cfe0;
  line-height: 1.7;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1.2rem;
  background-color: var(--neon-green);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Section Titles */
.section-title {
  font-size: 2.8rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 1rem;
  text-transform: uppercase;
}

.section-title .number {
  margin-right: 1rem;
  font-size: 3.2rem;
  opacity: 0.8;
}

.keyword {
  color: var(--neon-green);
  font-weight: bold;
  border-bottom: 2px dashed rgba(0, 255, 65, 0.4);
}

/* Cards & Elements */
.card {
  background: rgba(35, 35, 45, 0.75);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-border-neon:hover {
  border-color: var(--neon-green);
  box-shadow: 0 10px 20px rgba(0, 255, 65, 0.1);
}

.card-border-crimson:hover {
  border-color: var(--crimson);
  box-shadow: 0 10px 20px rgba(255, 0, 60, 0.1);
}

.card-border-green {
  border: 1px solid rgba(0, 255, 65, 0.3);
  background: rgba(0, 255, 65, 0.05);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.quote {
  border-left: 4px solid var(--neon-green);
  padding-left: 1rem;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Feature lists */
.content-box { display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item {
  display: flex;
  align-items: flex-start;
  background: rgba(255,255,255,0.02);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}
.feature-item:hover {
  background: rgba(255,255,255,0.05);
  border-left: 2px solid var(--neon-green);
}
.feature-icon {
  font-size: 2rem;
  margin-right: 1.5rem;
  min-width: 40px;
  text-align: center;
}
.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: white;
  font-family: var(--mono-font);
}
.feature-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Comparisons */
.compare-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
}
.compare-box {
  flex: 1;
  background: rgba(10, 10, 15, 0.8);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #333;
}
.vs {
  display: flex;
  align-items: center;
  font-family: var(--mono-font);
  color: #666;
}
.crimson-glow {
  border-color: rgba(255,0,60,0.5);
  box-shadow: inset 0 0 20px rgba(255,0,60,0.1), 0 0 20px rgba(255,0,60,0.1);
}

/* Timeline */
.timeline {
  position: relative;
  border-left: 2px solid #333;
  padding-left: 2rem;
  margin-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.timeline-item {
  position: relative;
}
.timeline-badge {
  position: absolute;
  left: -2.85rem;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--panel-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Controls */
.controls {
  position: absolute;
  bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  outline: none;
  padding: 0.5rem;
}

.slide-counter {
  font-size: 1.2rem;
}

.sys-msg {
  text-shadow: 0 0 10px var(--neon-green);
}
.neon-text {
  color: var(--neon-green);
}

/* Utilities for animations in JS */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.shadow-red {
  box-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
}

.bg-glitch-pattern {
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.2) 2px, rgba(0,0,0,0.2) 4px);
}


/* ===== AUTO-GENERATED ADDITIONS ===== */

/* =====================================================
   NEW ADDITIONS — appended to existing base styles
   ===================================================== */

/* Terminal lines: hidden until JS reveals them */
.terminal-line {
  opacity: 0;
  font-family: var(--mono-font);
  font-size: 1.3rem;
  color: #a9b7c6;
  line-height: 1.7;
  transition: opacity 0.35s ease;
}
.term-green  { color: #4ade80; }
.term-white  { color: #ffffff; }
.term-neon   { color: var(--neon-green); }
.term-crimson{ color: var(--crimson); }

/* ─── SLIDE 2 — Timeline ─────────────────────────── */
.two-col-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
}

.geo-timeline-track {
  display: flex;
  align-items: flex-start;
  padding-top: 1rem;
}

.geo-milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.geo-milestone.visible { opacity: 1; transform: translateY(0); }

.timeline-segment {
  flex: 0.5;
  height: 2px;
  margin-top: 7px;
  align-self: flex-start;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.timeline-segment.visible { opacity: 1; }

.milestone-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.dot-blue   { background: #3b82f6; }
.dot-yellow { background: #f59e0b; }
.dot-orange { background: #f97316; }
.dot-crimson{ background: var(--crimson); }
.seg-blue   { background: linear-gradient(90deg, #3b82f6, #f59e0b); }
.seg-yellow { background: linear-gradient(90deg, #f59e0b, #f97316); }
.seg-orange { background: linear-gradient(90deg, #f97316, var(--crimson)); }

.pulse-dot {
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0   rgba(255,0,60,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255,0,60,0); }
  100% { box-shadow: 0 0 0 0   rgba(255,0,60,0); }
}

.milestone-year {
  font-family: var(--mono-font);
  font-size: 1.15rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 4px;
}
.milestone-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.card-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

/* ─── SLIDE 3 — Supply Chain ────────────────────────── */
.supply-chain {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chain-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  opacity: 0;
  transform: translateY(15px) scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.chain-node.visible { opacity: 1; transform: translateY(0) scale(1); }

.chain-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 8px;
  flex-shrink: 0;
}
.chain-blue        { background: rgba(0,184,255,0.15);  border-color: var(--blue); }
.chain-gray        { background: rgba(100,100,100,0.2); }
.chain-crimson-dark{ background: rgba(255,0,60,0.1);    border-color: rgba(255,0,60,0.4); }
.chain-crimson     { background: rgba(255,0,60,0.25);   border-color: var(--crimson); }

.chain-label    { font-family: var(--mono-font); font-size: 1.05rem; font-weight: bold; color: #fff; margin-bottom: 3px; }
.chain-sublabel { font-size: 0.92rem; color: var(--text-muted); line-height: 1.3; }

.chain-danger .chain-icon-box {
  animation: dangerPulse 1.2s ease-in-out infinite alternate;
}
@keyframes dangerPulse {
  from { box-shadow: 0 0 8px  rgba(255,0,60,0.3); }
  to   { box-shadow: 0 0 22px rgba(255,0,60,0.9); }
}

.chain-arrow-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.5rem;
  color: var(--neon-green);
  flex-shrink: 0;
  width: 52px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.chain-arrow-text.visible { opacity: 1; }
.chain-tag {
  font-size: 0.72rem;
  letter-spacing: 1px;
  font-family: var(--mono-font);
  margin-top: 2px;
}

.definition-pill {
  background: rgba(0,255,65,0.05);
  border: 1px solid rgba(0,255,65,0.2);
  border-radius: 50px;
  padding: 0.9rem 1.5rem;
  text-align: center;
  font-size: 1.15rem;
}

/* ─── SLIDE 4 — Wiper ───────────────────────────────── */
.wiper-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}
.notpetya-screen-wrap {
  border: 2px solid var(--crimson);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255,0,60,0.3);
}
.notpetya-screen { width: 100%; display: block; }
.screen-caption  { text-align:center; font-size:0.9rem; color:var(--text-muted); margin-top:0.5rem; font-style:italic; }

.wiper-right {}

.compare-row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}
.compare-half {
  flex: 1;
  background: rgba(30,30,40,0.85);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #333;
}
.opacity-muted { opacity: 0.5; }
.compare-danger {
  border-color: rgba(255,0,60,0.5) !important;
  box-shadow: 0 0 15px rgba(255,0,60,0.1);
}
.compare-vs {
  display: flex;
  align-items: center;
  font-family: var(--mono-font);
  color: #555;
  font-weight: bold;
  font-size: 1.1rem;
}
.mini-list { list-style: none; padding: 0; }
.mini-list li { font-size: 1.15rem; color: var(--text-muted); padding: 0.25rem 0; }
.mini-list li::before { content: '> '; color: var(--neon-green); font-family: var(--mono-font); }

.file-delete-demo {
  background: rgba(20,20,30,0.7);
  border: 1px solid #3a3a4a;
  border-radius: 6px;
  padding: 0.75rem;
}
.file-row {
  font-family: var(--mono-font);
  font-size: 1rem;
  padding: 0.22rem 0.3rem;
  color: #a9b7c6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.5s ease;
}
.file-row.deleting { color: var(--crimson); text-decoration: line-through; }
.file-row.deleted  { opacity: 0.15; }

.vaccine-box {
  background: rgba(0,255,65,0.05);
  border: 1px solid rgba(0,255,65,0.25);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  font-size: 1.05rem;
}

/* ─── SLIDE 5 — Why ─────────────────────────────────── */
.why-items { display: flex; flex-direction: column; gap: 1rem; }

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
}
.why-icon    { font-size: 2rem; flex-shrink: 0; }
.why-content h4 {
  font-family: var(--mono-font);
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}
.why-content p { font-size: 1.15rem; color: var(--text-muted); line-height: 1.55; }
.why-chernobyl-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.why-image {
  height: 80px;
  width: auto;
  max-width: 180px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.75;
  flex-shrink: 0;
}

/* ─── SLIDE 6 — Consequences ──────────────────────── */
.consequences-layout { display: flex; flex-direction: column; gap: 1.5rem; }

.big-counter-row { text-align: center; }
.big-counter {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
  font-family: var(--mono-font);
}
.counter-prefix,
.counter-suffix { font-size: 2.5rem; color: var(--crimson); font-weight: bold; }
.counter-value  {
  font-size: 5.5rem;
  font-weight: bold;
  color: var(--crimson);
  text-shadow: 0 0 30px rgba(255,0,60,0.6);
  min-width: 2ch;
  display: inline-block;
  text-align: center;
  line-height: 1;
}
.counter-label {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.consequence-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.consequence-card { padding: 1rem; text-align: center; }
.consequence-card h4 { font-family: var(--mono-font); font-size: 1.2rem; color: #fff; }
.consequence-card p  { font-size: 1.1rem; color: var(--text-muted); line-height: 1.5; margin-top: 0.4rem; }

.consequence-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.consequence-placeholder {
  height: 100px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
}

.spread-visual {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.spread-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--crimson);
  opacity: 0;
  animation: spreadAnim 3s ease-out infinite;
}
.spread-circle.c1 { width: 30px;  height: 30px;  animation-delay: 0s; }
.spread-circle.c2 { width: 65px;  height: 65px;  animation-delay: 0.9s; }
.spread-circle.c3 { width: 100px; height: 100px; animation-delay: 1.8s; }
@keyframes spreadAnim {
  0%   { opacity: 0.85; transform: scale(0.2); }
  100% { opacity: 0;    transform: scale(1); }
}
.spread-origin { font-size: 1.6rem; position: relative; z-index: 1; }

.attribution-visual { height: 100px; display: flex; align-items: center; justify-content: center; }

/* ─── SLIDE 7 — Conclusion ──────────────────────────── */
.conclusion-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 16px;
}
.conclusion-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
  filter: blur(3px);
}
.conclusion-main {
  font-size: 2.1rem;
  font-weight: 300;
  color: #e5e7eb;
  line-height: 1.5;
}
.conclusion-quote {
  border: 1px solid var(--crimson);
  background: rgba(255,0,60,0.06);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  box-shadow: 0 0 25px rgba(255,0,60,0.12);
}
.conclusion-quote blockquote {
  font-size: 1.7rem;
  font-family: var(--mono-font);
  line-height: 1.7;
  color: #fff;
}

/* ─── SLIDE 8 — Vocabulary ──────────────────────────── */
.vocab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.vocab-card { padding: 1rem 1.25rem; transition: transform 0.3s ease; }
.vocab-card:hover { transform: translateY(-3px); }
.vocab-card p { font-size: 1.15rem; color: var(--text-muted); line-height: 1.5; }
.vocab-card h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* ─── Controls ──────────────────────────────────────── */
.controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(5,5,5,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  z-index: 50;
}
.slide-counter { font-size: 1.1rem; color: var(--text-muted); }

/* ─── SLIDE 2 — Anecdote ────────────────────────────── */
.anecdote-panel {
  max-width: 860px;
}

.anec-stamp {
  font-family: var(--mono-font);
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
  padding: 0.4rem 1rem;
  background: rgba(0,0,0,0.35);
  border-left: 3px solid var(--crimson);
  display: inline-block;
  border-radius: 0 4px 4px 0;
}

.anec-row {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  margin-bottom: 1.5rem;
}
.anec-row.visible { opacity: 1; transform: translateY(0); }

.anec-scene-icon { font-size: 1.8rem; margin-right: 0.75rem; vertical-align: middle; }
.anec-scene-text { font-size: 1.8rem; font-style: italic; vertical-align: middle; }

.anec-file-box {
  background: rgba(20,20,35,0.7);
  border: 1px solid rgba(255,0,60,0.4);
  border-radius: 6px;
  padding: 0.9rem 1.4rem;
  font-family: var(--mono-font);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.anec-filename {
  font-size: 1.4rem;
  font-weight: bold;
  text-shadow: 0 0 12px var(--crimson);
  animation: pulse-red 1.5s ease-in-out infinite;
}
@keyframes pulse-red {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.anec-file-tag {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.anec-spread {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.anec-counter-label {
  font-family: var(--mono-font);
  color: var(--text-muted);
  font-size: 1rem;
}
.anec-infection-counter {
  font-family: var(--mono-font);
  font-size: 2.6rem;
  font-weight: bold;
  color: var(--crimson);
  text-shadow: 0 0 18px rgba(255,0,60,0.65);
  min-width: 7rem;
  display: inline-block;
  transition: color 0.2s;
}
.anec-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
.anec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.anec-dot.lit { opacity: 1; box-shadow: 0 0 5px var(--crimson); }

.anec-divider {
  opacity: 0;
  text-align: center;
  font-family: var(--mono-font);
  font-size: 1.1rem;
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  transition: opacity 0.65s ease;
}
.anec-divider.visible { opacity: 1; }

.anec-aftermath {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.anec-impact-item {
  background: rgba(255,0,60,0.08);
  border: 1px solid rgba(255,0,60,0.25);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-size: 1.15rem;
  text-align: center;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.anec-impact-item.visible {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 12px rgba(255,0,60,0.18);
}

/* ─── M.E.Doc card ──────────────────────────────────── */
.medoc-card {
  background: rgba(25,25,40,0.85);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1.25rem;
}
.medoc-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.medoc-info { display: flex; flex-direction: column; gap: 0.1rem; flex: 1; }
.medoc-name { font-family: var(--mono-font); font-size: 1.1rem; color: #fff; font-weight: bold; }
.medoc-sub  { font-size: 0.85rem; color: var(--text-muted); }
.medoc-required {
  font-family: var(--mono-font);
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: #fbbf24;
  border: 1px solid #fbbf24;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.medoc-update-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1.1rem;
  font-family: var(--mono-font);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.medoc-hidden {
  margin-left: auto;
  font-size: 0.85rem;
  letter-spacing: 1px;
  animation: blink 2s infinite;
}

/* ─── Outline slide ─────────────────────────────────── */
.outline-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.outline-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  background: rgba(40, 40, 55, 0.7);
  border-radius: 8px;
  border-left: 3px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}
.outline-item:hover {
  background: rgba(255,255,255,0.06);
  border-left-color: var(--neon-green);
}
.outline-num {
  font-family: var(--mono-font);
  font-size: 1.8rem;
  font-weight: bold;
  min-width: 2.5rem;
}
.outline-label {
  font-size: 1.4rem;
  color: #e0e3e8;
}
.outline-label em {
  color: var(--text-muted);
}

/* ─── Slide number indicator ────────────────────────── */
.slide-number {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: var(--mono-font);
  font-size: 1rem;
  color: rgba(255,255,255,0.25);
  z-index: 20;
  pointer-events: none;
}

/* ─── Key stats row ─────────────────────────────────── */
.key-stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.key-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.key-stat-value {
  font-family: var(--mono-font);
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1;
  text-shadow: 0 0 15px currentColor;
}
.key-stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Discussion slide ──────────────────────────────── */
.discussion-question {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.discussion-icon {
  font-size: 4rem;
}
.discussion-text {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
}

/* ─── Navigation hint ───────────────────────────────── */
.nav-hint {
  animation: fadeHint 6s ease forwards;
}
@keyframes fadeHint {
  0%, 70% { opacity: 0.5; }
  100% { opacity: 0.2; }
}

/* ─── Compact "Why" items (merged into geo context) ── */
.why-compact {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.why-compact-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(35,35,45,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}
