/* ==========================================================================
   KÝ ỨC CÁCH MẠNG // DI SẢN LỊCH SỬ ĐẢNG CỘNG SẢN VIỆT NAM
   Based on Orbital 3D Engine & Cybernetic Historical Archive Aesthetic
   ========================================================================== */

:root {
  --void: #060810;
  --void-deep: #030408;
  --panel-bg: rgba(13, 17, 30, 0.82);
  --panel-border: rgba(255, 255, 255, 0.12);
  --panel-glow: rgba(245, 158, 11, 0.15);
  
  /* Palette: Historic Crimson & Gold with Cyan Cybernetic Hologram */
  --crimson: #dc2626;
  --crimson-glow: rgba(220, 38, 38, 0.35);
  --gold: #fbbf24;
  --gold-warm: #f59e0b;
  --gold-glow: rgba(251, 191, 36, 0.35);
  --cyan: #06b6d4;
  --cyan-bright: #38bdf8;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  
  --white: #ffffff;
  --dim: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.42);
  --surface: rgba(20, 26, 45, 0.88);
  --surface-hover: rgba(30, 39, 68, 0.95);
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ring-radius: 400px;
}

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

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

body {
  background: var(--void);
  color: var(--white);
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold), var(--cyan));
  width: 0%;
  z-index: 999;
  box-shadow: 0 0 10px var(--gold-glow);
  transition: width 0.1s linear;
}

/* ==========================================================================
   AMBIENT BACKGROUND LAYERS
   ========================================================================== */

.aura {
  position: fixed;
  inset: -25%;
  background: radial-gradient(circle at 45% 35%, rgba(185, 28, 28, 0.25), rgba(180, 83, 9, 0.15) 30%, rgba(6, 182, 212, 0.08) 55%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: auraDrift 22s ease-in-out infinite alternate;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 20%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 80% 12%, rgba(251, 191, 36, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 30% 70%, rgba(220, 38, 38, 0.7), transparent),
    radial-gradient(1px 1px at 65% 85%, rgba(6, 182, 212, 0.7), transparent),
    radial-gradient(2px 2px at 88% 50%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 20% 90%, rgba(251, 191, 36, 0.6), transparent),
    radial-gradient(1.5px 1.5px at 50% 30%, rgba(255, 255, 255, 0.5), transparent);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 100%);
}

@keyframes auraDrift {
  from { transform: translate3d(-2%, -2%, 0) scale(1); }
  to { transform: translate3d(2%, 3%, 0) scale(1.1); }
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 8, 16, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 14px clamp(16px, 2.5vw, 44px);
  gap: clamp(14px, 2vw, 28px);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-emblem {
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  text-shadow: 0 0 12px var(--gold-glow);
  animation: pulseStar 3s ease-in-out infinite;
}

@keyframes pulseStar {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.18); opacity: 1; text-shadow: 0 0 18px var(--gold); }
}

.logo-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--white);
  white-space: nowrap;
}

.logo-text .accent {
  color: var(--cyan);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-links li {
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(11px, 0.82vw, 12.5px);
  font-weight: 500;
  letter-spacing: 0.8px;
  color: var(--dim);
  text-transform: uppercase;
  padding: 6px 4px;
  position: relative;
  white-space: nowrap;
  display: inline-block;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-btn-highlight {
  color: var(--gold) !important;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 4px;
  padding: 6px 14px !important;
  background: rgba(251, 191, 36, 0.08);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.15);
  white-space: nowrap !important;
}

.nav-btn-highlight:hover {
  background: rgba(251, 191, 36, 0.18) !important;
  border-color: var(--gold) !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s var(--ease);
}

.action-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--cyan);
}

.action-pill.muted {
  opacity: 0.6;
  border-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s var(--ease);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: rgba(6, 8, 16, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--dim);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* ==========================================================================
   HERO & 3D ORBITAL CAROUSEL ENGINE
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.stage {
  position: relative;
  width: 100%;
  height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.stage.dragging {
  cursor: grabbing;
}

.parallax {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.ring-tilt {
  position: absolute;
  transform-style: preserve-3d;
  --zoom: 1;
  transform: scale3d(var(--zoom), var(--zoom), 1);
  transition: transform 0.45s var(--ease);
}

.ring {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
}

/* Panel Styles */
.panel {
  position: absolute;
  width: 200px;
  height: 270px;
  left: -100px;
  top: -135px;
  transform-style: preserve-3d;
  transform: rotateY(var(--ry)) translateZ(var(--tz)) rotateZ(var(--rz));
  transition: transform 0.4s var(--ease);
  cursor: pointer;
}

.panel-face {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  backface-visibility: hidden;
  transition: opacity 0.5s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

/* Text Face */
.panel-face--text {
  background: rgba(14, 20, 36, 0.88);
  border: 1px solid rgba(251, 191, 36, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(251, 191, 36, 0.05);
  backdrop-filter: blur(8px);
  opacity: 1;
}

.panel:hover .panel-face--text {
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px var(--gold-glow);
}

.p-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 10px var(--gold-glow);
}

.p-meta-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan);
}

.p-meta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}

.p-desc {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.35;
  margin-top: 6px;
}

/* Image Face */
.panel-face--image {
  background: #0a0e1c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  padding: 0;
}

.panel-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s var(--ease);
}

.panel:hover .panel-visual-bg {
  transform: scale(1.08);
}

/* 10 Visual Panels with 100% Real Authentic Historical & Museum Photos */
.visual-bg-1 { background-image: url('assets/images/museum/chuong-cop-va-tho-nhat-ky-trong-tu.jpg'); }
.visual-bg-2 { background-image: url('assets/images/museum/may-chem-thoi-diem-10-59.jpg'); }
.visual-bg-3 { background-image: url('assets/images/museum/sung-truong-browning-bar.jpg'); }
.visual-bg-4 { background-image: url('assets/images/museum/tuyen-duong-1c-kenh-vinh-te.jpg'); }
.visual-bg-5 { background-image: url('assets/images/museum/toan-canh-ngoai-vien-bao-tang.jpg'); }
.visual-bg-6 { background-image: url('assets/images/museum/tuong-ba-me-manh-bom.jpg'); }
.visual-bg-7 { background-image: url('assets/images/museum/ke-hoach-navarre-dien-bien-phu.jpg'); }
.visual-bg-8 { background-image: url('assets/images/museum/tong-tien-cong-tet-mau-than-1968.jpg'); }
.visual-bg-9 { background-image: url('assets/images/museum/buc-anh-napalm-girl.jpg'); }
.visual-bg-10 { background-image: url('assets/images/museum/gian-hoa-binh.jpg'); }

.panel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 16, 0.95) 15%, rgba(6, 8, 16, 0.3) 60%, transparent 100%);
}

.panel-cap {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.panel-cap .p-num {
  font-size: 14px;
}

/* Visuals On State */
body.visuals-on .panel-face--text {
  opacity: 0;
  pointer-events: none;
}

body.visuals-on .panel-face--image {
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(251, 191, 36, 0.3);
}

body.visuals-on .panel:hover .panel-face--image {
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px var(--gold-glow);
}

/* Center Hero Typography */
.hero-text {
  position: absolute;
  text-align: center;
  max-width: 840px;
  padding: 0 20px;
  pointer-events: none;
  transform: translateZ(40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
  background: rgba(251, 191, 36, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--crimson);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--crimson);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.hero-text h1 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(32px, 5.5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 40%, #fbbf24 85%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--dim);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  pointer-events: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson), #b91c1c);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.55), 0 0 15px var(--crimson-glow);
}

.btn-outline {
  background: rgba(14, 20, 36, 0.7);
  color: var(--gold);
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.btn-outline:hover {
  background: rgba(251, 191, 36, 0.15);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--dim);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Controls */
.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-top: 20px;
  margin-bottom: 30px;
  z-index: 10;
  flex-wrap: wrap;
}

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

.ctrl-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--faint);
}

.ctrl-state {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  min-width: 65px;
}

/* Switch */
.switch {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: all 0.25s var(--ease);
}

.switch .knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.25s var(--ease), background 0.25s;
}

.switch[aria-checked="true"] {
  background: var(--gold-warm);
  border-color: var(--gold);
}

.switch[aria-checked="true"] .knob {
  transform: translateX(20px);
  background: #000000;
}

/* Spacing Steps */
.spacing {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spacing-step {
  width: 26px;
  height: 22px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spacing-step i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faint);
  transition: all 0.2s;
}

.spacing-step.is-active i {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: scale(1.3);
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--faint);
  margin-bottom: 20px;
}

.scroll-cue .line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: cueDrop 2s ease-in-out infinite;
}

@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   COMMON SECTION STYLING
   ========================================================================== */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  position: relative;
  z-index: 2;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section.alt-bg {
  background: rgba(10, 14, 26, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head {
  margin-bottom: 46px;
}

.section-head.text-center {
  text-align: center;
}

.section-head h2 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--white);
}

.section-head p {
  color: var(--dim);
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 760px;
  line-height: 1.7;
}

.section-head.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* Dossier Header */
.dossier-header {
  margin-bottom: 30px;
}

.dossier-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.badge-tag {
  background: var(--crimson);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--crimson-glow);
}

.badge-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 1.5px;
}

.badge-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.dossier-title {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}

.dossier-subtitle {
  font-size: 16px;
  color: var(--dim);
  max-width: 780px;
  line-height: 1.65;
}

/* ==========================================================================
   DOSSIER PHOTO STRIP & GRID (NEW COMPONENT)
   ========================================================================== */

.dossier-photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.photo-strip-card {
  position: relative;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  background: #090d1a;
  transition: all 0.3s var(--ease);
}

.photo-strip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.photo-strip-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px var(--gold-glow);
}

.photo-strip-card:hover img {
  transform: scale(1.08);
}

.photo-strip-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(6, 8, 16, 0.95), rgba(6, 8, 16, 0.5) 70%, transparent);
  padding: 10px 12px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}

/* Dossier 03 Photo Grid (8 items) */
.dossier-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}

.dossier-photo-item {
  position: relative;
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  background: #090d1a;
  transition: all 0.3s var(--ease);
}

.dossier-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.dossier-photo-item:hover {
  transform: translateY(-4px);
  border-color: var(--crimson);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px var(--crimson-glow);
}

.dossier-photo-item:hover img {
  transform: scale(1.08);
}

.dpi-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(6, 8, 16, 0.95), rgba(6, 8, 16, 0.5) 70%, transparent);
  padding: 8px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

/* ==========================================================================
   HỒ SƠ 01: INTERACTIVE TABBED CARD
   ========================================================================== */

.dossier-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.tab-nav {
  display: flex;
  background: rgba(8, 12, 22, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 1;
  min-width: 180px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--dim);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.tab-index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--faint);
}

.tab-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(251, 191, 36, 0.06);
}

.tab-btn.active .tab-index {
  color: var(--gold);
}

.tab-content-area {
  padding: clamp(24px, 4vw, 44px);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s var(--ease);
}

.tab-pane.active {
  display: block;
}

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

.pane-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: start;
}

.pane-heading {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gold);
}

.pane-text p {
  color: var(--dim);
  margin-bottom: 18px;
  font-size: 15px;
}

.dossier-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dossier-list li {
  position: relative;
  padding-left: 22px;
  color: var(--dim);
  font-size: 14.5px;
}

.dossier-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 16px;
}

.dossier-list strong {
  color: var(--white);
}

.insight-box {
  background: rgba(6, 182, 212, 0.08);
  border-left: 3px solid var(--cyan);
  padding: 16px;
  border-radius: 0 8px 8px 0;
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: #cbd5e1;
}

.insight-icon {
  font-size: 20px;
}

/* Timeline Subcards */
.timeline-subcards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
}

.subcard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.25s var(--ease);
}

.subcard:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
}

.subcard-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 2px;
}

.subcard-title {
  font-weight: 700;
  color: var(--white);
  font-size: 14px;
}

.subcard-desc {
  font-size: 13px;
  color: var(--dim);
}

/* Platform Pillars */
.platform-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.pillar-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 18px;
}

.pillar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 4px;
}

.pillar-content {
  font-size: 14px;
  color: var(--dim);
}

/* Meaning Cards */
.meaning-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.m-card {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
}

.m-card-icon {
  font-size: 24px;
  line-height: 1;
}

.m-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.m-card-body p {
  font-size: 13.5px;
  color: var(--dim);
  margin-bottom: 0;
}

/* Quote Cards & Document Boxes */
.quote-card {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 10px;
  padding: 24px;
  position: relative;
  margin-bottom: 18px;
}

.quote-card.gold-border {
  background: rgba(251, 191, 36, 0.07);
  border-color: rgba(251, 191, 36, 0.35);
}

.quote-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.quote-icon {
  font-size: 24px;
  color: var(--gold);
  line-height: 1;
}

.quote-source {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
}

.quote-body {
  font-size: 15px;
  font-style: italic;
  color: #f1f5f9;
  line-height: 1.7;
  margin-bottom: 14px;
}

.quote-footer {
  font-size: 13px;
  color: var(--dim);
}

.historic-document-box {
  background: rgba(12, 16, 28, 0.95);
  border: 1px dashed rgba(251, 191, 36, 0.4);
  border-radius: 10px;
  padding: 22px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.historic-document-box:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.doc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.doc-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
}

.doc-badge {
  font-size: 10px;
  color: var(--cyan);
}

.doc-content p {
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 12px;
}

.doc-footer {
  margin-top: 14px;
  font-size: 11px;
  color: var(--faint);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

.data-key-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.key-point {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kp-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
}

.kp-text {
  font-size: 12px;
  color: var(--dim);
}

.media-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.media-frame {
  height: 220px;
  background: #0f172a;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.vintage-stamp {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  z-index: 2;
}

.media-meta {
  padding: 16px;
}

.meta-title {
  font-weight: 700;
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 6px;
}

.media-meta p {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 0;
}

/* ==========================================================================
   HỒ SƠ 02: REVOLUTION STEPPER / HORIZONTAL TIMELINE
   ========================================================================== */

.revolution-stepper {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: clamp(20px, 3.5vw, 40px);
  backdrop-filter: blur(16px);
}

.step-indicator {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 36px;
  position: relative;
}

.step-node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: left;
}

.step-circle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dim);
  flex-shrink: 0;
}

.step-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dim);
  line-height: 1.35;
}

.step-node:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan);
}

.step-node.active {
  background: rgba(220, 38, 38, 0.15);
  border-color: var(--crimson);
  box-shadow: 0 0 15px var(--crimson-glow);
}

.step-node.active .step-circle {
  background: var(--crimson);
  color: var(--white);
  box-shadow: 0 0 10px var(--crimson);
}

.step-node.active .step-title {
  color: var(--white);
}

.step-pane {
  display: none;
  animation: fadeIn 0.35s var(--ease);
}

.step-pane.active {
  display: block;
}

.step-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: start;
}

.step-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--crimson);
  margin-bottom: 8px;
}

.step-info h3 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.step-info p {
  color: var(--dim);
  font-size: 15px;
  margin-bottom: 18px;
}

.citation-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--faint);
  margin-top: 14px;
}

.step-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-highlight {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 20px;
}

.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 13.5px;
  color: var(--dim);
}

/* ==========================================================================
   HỒ SƠ 03: TWO WAR ERAS SHOWCASE
   ========================================================================== */

.war-campaigns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.campaign-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: clamp(24px, 3.5vw, 36px);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease);
}

.campaign-card:hover {
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.c-era {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 8px;
}

.campaign-header h3 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.35;
}

.campaign-body p {
  color: var(--dim);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.milestone-box {
  background: rgba(220, 38, 38, 0.1);
  border-left: 3px solid var(--crimson);
  border-radius: 0 8px 8px 0;
  padding: 16px;
  margin: 18px 0;
}

.milestone-box.spring-1975 {
  background: rgba(251, 191, 36, 0.1);
  border-left-color: var(--gold);
}

.m-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.m-info {
  font-size: 13.5px;
  color: #e2e8f0;
}

.campaign-timeline-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.camp-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--dim);
}

.camp-pill.gold-pill {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.3);
  color: var(--gold);
  font-weight: 700;
}

.campaign-summary {
  font-style: italic;
  font-size: 13.5px !important;
  color: #94a3b8 !important;
}

.strategy-defeat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.defeat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--dim);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.def-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
}

.defeat-item strong {
  color: var(--white);
}

/* ==========================================================================
   HỒ SƠ 04: CÔNG CUỘC ĐỔI MỚI (1986 ĐẾN NAY)
   ========================================================================== */

.renovation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.reno-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 30px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}

.reno-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.reno-card.highlight-card {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(20, 26, 48, 0.88);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.08);
}

.reno-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.reno-card h3 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--white);
  line-height: 1.3;
}

.reno-card.highlight-card h3 {
  color: var(--gold);
}

.reno-card p {
  color: var(--dim);
  font-size: 14px;
  margin-bottom: 16px;
}

.reno-quote {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13.5px;
  font-style: italic;
  color: var(--gold);
}

.source-sub {
  display: block;
  font-size: 11px;
  color: var(--faint);
  margin-top: 4px;
  font-style: normal;
}

/* Comparison Panel */
.comparison-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 34px;
  backdrop-filter: blur(16px);
}

.comp-header {
  margin-bottom: 24px;
}

.comp-header h3 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.comp-header p {
  font-size: 14px;
  color: var(--dim);
}

.comp-table-wrap {
  overflow-x: auto;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.comp-table th {
  background: rgba(255, 255, 255, 0.05);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 14px 18px;
  color: var(--dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.comp-table th.col-before {
  color: #f87171;
}

.comp-table th.col-after {
  color: #4ade80;
}

.comp-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--dim);
  line-height: 1.6;
}

.comp-table td strong {
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
}

.comp-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   VIDEO EXHIBIT BOX (NEW COMPONENT)
   ========================================================================== */

/* ==========================================================================
   RẠP CHIẾU PHIM TƯ LIỆU THỰC ĐỊA (8 TẬP PHIM TƯ LIỆU HD)
   ========================================================================== */

.cinema-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(6, 182, 212, 0.06), transparent 70%),
              radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.05), transparent 70%);
}

.cinema-theater-box {
  background: rgba(10, 14, 26, 0.92);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 28px;
  padding: clamp(20px, 3vw, 32px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(6, 182, 212, 0.08);
}

.cinema-main-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cinema-video-wrapper {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  aspect-ratio: 16 / 9;
  width: 100%;
}

.cinema-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cinema-live-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 8, 16, 0.85);
  border: 1px solid rgba(220, 38, 38, 0.4);
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #fff;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: ledPulse 1.2s infinite;
}

.cinema-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cinema-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.meta-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.cinema-details h3 {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.cinema-details p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.6;
}

/* Playlist Sidebar */
.cinema-playlist-wrap {
  display: flex;
  flex-direction: column;
  background: rgba(6, 9, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px;
  overflow: hidden;
}

.playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}

.playlist-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 1px;
}

.playlist-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
}

.cinema-playlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}

.cinema-playlist::-webkit-scrollbar {
  width: 5px;
}
.cinema-playlist::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.3);
  border-radius: 4px;
}

.playlist-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.playlist-item:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateX(4px);
}

.playlist-item.active {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.1);
}

.item-thumb {
  position: relative;
  width: 86px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}

.item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.playlist-item:hover .item-thumb img {
  transform: scale(1.1);
}

.play-indicator {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.playlist-item.active .play-indicator {
  background: rgba(251, 191, 36, 0.7);
  color: #000;
  opacity: 1;
}

.badge-special {
  position: absolute;
  top: 3px;
  left: 3px;
  background: #dc2626;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.item-ep {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.8px;
}

.playlist-item.active .item-ep {
  color: var(--gold);
}

.item-info h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
}

.video-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.video-meta-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--cyan);
}

/* ==========================================================================
   TƯ LIỆU KHẢO SÁT THỰC ĐỊA & HIỆN VẬT BẢO TÀNG (40+ CARDS)
   ========================================================================== */

.gallery-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--dim);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.filter-btn.active {
  background: var(--gold);
  color: #000000;
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 0 16px var(--gold-glow);
}

.artifacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.artifact-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.artifact-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px var(--cyan-glow);
}

.artifact-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #090d1a;
}

.artifact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.artifact-card:hover .artifact-thumb img {
  transform: scale(1.08);
}

.artifact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 16, 0.7);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.3s var(--ease);
}

.artifact-card:hover .artifact-overlay {
  opacity: 1;
}

.overlay-icon {
  font-size: 26px;
}

.overlay-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
}

.artifact-info {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.art-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold);
}

.artifact-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.artifact-info p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.5;
  margin-top: 4px;
}

/* Expandable 197 Photo Archive Banner */
.expand-gallery-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.85));
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(251, 191, 36, 0.2);
  flex-wrap: wrap;
}

.expand-banner-content {
  flex: 1;
  min-width: 280px;
}

.expand-banner-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-gold);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  font-weight: 600;
}

.expand-banner-content h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.expand-banner-content p {
  color: var(--dim);
  font-size: 14px;
  line-height: 1.6;
}

.expand-banner-content strong {
  color: var(--accent-cyan);
}

/* ==========================================================================
   THỬ THÁCH CUỐI CÙNG: CIPHER MISSION / MINIGAME
   ========================================================================== */

.cipher-box {
  background: rgba(10, 15, 28, 0.92);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 44px);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(251, 191, 36, 0.1);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.cipher-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cipher-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: ledPulse 1.5s infinite;
}

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

.cipher-status-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #86efac;
}

.cipher-metric, .cipher-level {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--dim);
}

.cipher-metric strong {
  color: var(--gold);
}

.cipher-level strong {
  color: var(--cyan);
}

.cipher-meter {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 30px;
}

.meter-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--gold), #22c55e);
  transition: width 0.4s var(--ease);
  box-shadow: 0 0 10px var(--gold-glow);
}

.cipher-dossier-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 12px;
}

.cipher-question {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 28px;
  color: var(--white);
}

.cipher-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cipher-option-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: left;
  color: #e2e8f0;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: flex;
  align-items: center;
  gap: 14px;
}

.opt-prefix {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--cyan);
  width: 28px;
  height: 28px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cipher-option-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
  transform: translateX(4px);
}

.cipher-option-btn.correct {
  background: rgba(34, 197, 94, 0.2) !important;
  border-color: #22c55e !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.cipher-option-btn.correct .opt-prefix {
  background: #22c55e;
  color: #000;
}

.cipher-option-btn.wrong {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}

.cipher-option-btn.wrong .opt-prefix {
  background: #ef4444;
  color: #fff;
}

/* Feedback Box */
.cipher-feedback {
  margin-top: 24px;
  background: rgba(8, 12, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 22px;
  animation: fadeIn 0.35s var(--ease);
}

.feedback-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #4ade80;
  margin-bottom: 8px;
}

.feedback-citation {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Certificate Screen */
.cert-card {
  text-align: center;
  animation: fadeIn 0.5s var(--ease);
}

.cert-emblem {
  font-size: 44px;
  color: var(--gold);
  text-shadow: 0 0 20px var(--gold);
  margin-bottom: 10px;
}

.cert-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 8px;
}

.cert-title {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cert-desc {
  color: var(--dim);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 28px;
}

.cert-input-wrap {
  max-width: 500px;
  margin: 0 auto 30px;
  text-align: left;
}

.cert-input-wrap label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 8px;
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-row input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.input-row input:focus {
  border-color: var(--gold);
}

.cert-frame {
  background: #0f1526;
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.15);
  position: relative;
}

.cert-inner {
  border: 1px dashed rgba(251, 191, 36, 0.4);
  padding: 26px;
  border-radius: 8px;
}

.cert-hdr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--crimson);
  margin-bottom: 4px;
}

.cert-subhdr {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--dim);
  margin-bottom: 20px;
}

.cert-main-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 12px;
}

.cert-assigned-to {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 6px;
}

.cert-name {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.cert-detail {
  font-size: 14px;
  color: #cbd5e1;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.cert-stats-grid {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--dim);
  flex-wrap: wrap;
  gap: 12px;
}

.cert-stats-grid strong {
  color: var(--gold);
}

.cert-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   REFERENCES SECTION
   ========================================================================== */

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.ref-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(14px);
  display: flex;
  gap: 18px;
}

.ref-icon {
  font-size: 28px;
  line-height: 1;
}

.ref-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.35;
}

.ref-body p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.55;
  margin-bottom: 10px;
}

.ref-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold);
}

.academic-note {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px 24px;
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.6;
}

.academic-note strong {
  color: var(--white);
}

/* ==========================================================================
   MODAL LIGHTBOX WITH SLIDER CONTROLS
   ========================================================================== */

.modal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  background: rgba(14, 18, 32, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  max-width: 960px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(6, 182, 212, 0.15);
  animation: zoomIn 0.3s var(--ease);
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.lightbox-close:hover {
  background: var(--crimson);
  border-color: var(--crimson);
}

/* Lightbox Nav Buttons */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(6, 8, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}

.lightbox-nav-btn:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.lightbox-nav-btn.prev {
  left: 14px;
}

.lightbox-nav-btn.next {
  right: 14px;
}

.lightbox-content {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  padding: 34px 28px 28px;
}

.lightbox-media {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.lightbox-text {
  display: flex;
  flex-direction: column;
}

.lightbox-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.lightbox-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
}

.lightbox-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
}

.lightbox-title {
  font-family: 'Space Grotesk', 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.35;
}

.lightbox-desc {
  font-size: 14.5px;
  color: var(--dim);
  line-height: 1.65;
  margin-bottom: 20px;
}

.lightbox-source {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: var(--cyan);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 6, 12, 0.95);
  padding: 60px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--dim);
  max-width: 400px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 1px;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-credits {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--faint);
}

.footer-credits a {
  color: var(--cyan);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --ring-radius: 320px;
  }
  
  .panel {
    width: 170px;
    height: 230px;
    left: -85px;
    top: -115px;
  }

  .pane-grid, .step-grid {
    grid-template-columns: 1fr;
  }

  .dossier-photo-strip, .dossier-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cinema-theater-box {
    grid-template-columns: 1fr;
  }

  .renovation-grid {
    grid-template-columns: 1fr;
  }

  .war-campaigns {
    grid-template-columns: 1fr;
  }

  .lightbox-content {
    grid-template-columns: 1fr;
  }

  .lightbox-nav-btn.prev {
    left: 6px;
  }

  .lightbox-nav-btn.next {
    right: 6px;
  }
}

@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 820px) {
  .step-indicator {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  :root {
    --ring-radius: 250px;
  }

  .panel {
    width: 150px;
    height: 200px;
    left: -75px;
    top: -100px;
  }

  .stage {
    height: 580px;
  }
}

@media (max-width: 540px) {
  :root {
    --ring-radius: 190px;
  }

  .panel {
    width: 125px;
    height: 175px;
    left: -62px;
    top: -87px;
    padding: 10px;
  }

  .p-num {
    font-size: 20px;
  }

  .p-meta {
    font-size: 13px;
  }

  .p-desc {
    display: none;
  }

  .hero-controls {
    gap: 16px;
  }

  .dossier-photo-strip, .dossier-photo-grid {
    grid-template-columns: 1fr;
  }

  .step-indicator {
    grid-template-columns: 1fr;
  }

  .data-key-points, .strategy-defeat-grid {
    grid-template-columns: 1fr;
  }

  .tab-btn {
    min-width: 140px;
    padding: 14px 10px;
    font-size: 12.5px;
  }

  .input-row {
    flex-direction: column;
  }
}

/* ==========================================================================
   PRINT STYLING (FOR CERTIFICATE EXPORT)
   ========================================================================== */

@media print {
  body * {
    visibility: hidden;
  }

  #printableCert, #printableCert * {
    visibility: visible;
  }

  #printableCert {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 40px;
    background: #ffffff !important;
    color: #000000 !important;
    border: 3px solid #b91c1c !important;
    box-shadow: none !important;
  }

  .cert-inner {
    border-color: #b91c1c !important;
  }

  .cert-hdr, .cert-main-label {
    color: #b91c1c !important;
  }

  .cert-name {
    color: #000000 !important;
  }

  .cert-detail, .cert-subhdr, .cert-assigned-to, .cert-stats-grid {
    color: #333333 !important;
  }

  .cert-stats-grid strong {
    color: #b91c1c !important;
  }
}
