/* ============================================================================
   NHÓM 1 — TƯ TƯỞNG HỒ CHÍ MINH (GED104V1)
   High-Production Vietnamese State Ceremonial / Broadcast Web Presentation
   ============================================================================ */

:root {
  --crimson-bright: #b3151c;
  --crimson: #880d13;
  --crimson-deep: #520509;
  --crimson-velvet: #320204;
  --gold-pale: #fff3c4;
  --gold-light: #fae08c;
  --gold: #d4a337;
  --gold-antique: #b07f1e;
  --gold-dark: #7d5612;
  --gold-line: rgba(196, 152, 62, 0.44);
  --ivory: #faf4e8;
  --ivory-deep: #f0e4cd;
  --porcelain: #fffdfa;
  --ink: #201815;
  --muted: #625042;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: 'Playfair Display', 'Merriweather', Cambria, Georgia, serif;
  --font-sans: 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #120203;
  font-family: var(--font-sans);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--ink);
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

#viewport {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #2d0407 0%, #0d0102 100%);
}

#deck {
  position: relative;
  width: 1280px;
  height: 720px;
  min-width: 1280px;
  min-height: 720px;
  flex-shrink: 0;
  transform-origin: center center;
  overflow: hidden;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.78), 0 0 0 1.5px rgba(212, 163, 55, 0.32);
  background: var(--crimson-velvet);
}

/* Ambient Golden Light Particles Canvas (visible on dark slides) */
#gold-dust {
  position: absolute;
  inset: 0;
  width: 1280px;
  height: 720px;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.8s ease;
}
#deck.is-dark #gold-dust {
  opacity: 1;
}

/* ============================================================================
   SLIDE BASE & CINEMATIC TRANSITIONS
   ============================================================================ */
.slide {
  position: absolute;
  inset: 0;
  width: 1280px;
  height: 720px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.055);
  transition: opacity 0.9s var(--ease-out-expo), transform 1.1s var(--ease-out-expo), visibility 0s linear 0.95s;
  overflow: hidden;
  contain: layout style paint;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  transition: opacity 0.9s var(--ease-out-expo), transform 1.1s var(--ease-out-expo), visibility 0s linear 0s;
  z-index: 2;
}

.slide.exit-left {
  opacity: 0;
  visibility: visible;
  transform: translateX(-70px) scale(0.92);
  transition: opacity 0.9s var(--ease-out-expo), transform 1.1s var(--ease-out-expo), visibility 0s linear 0.95s;
  z-index: 1;
}

.slide.exit-right {
  opacity: 0;
  visibility: visible;
  transform: translateX(70px) scale(0.92);
  transition: opacity 0.9s var(--ease-out-expo), transform 1.1s var(--ease-out-expo), visibility 0s linear 0.95s;
  z-index: 1;
}

/* Pause ALL ambient animations on inactive slides & whenever a full-screen modal is open */
.slide:not(.active) .drum-img,
.slide:not(.active) .lac-img,
.slide:not(.active) .sunburst-halo,
body.modal-open .drum-img,
body.modal-open .lac-img,
body.modal-open .sunburst-halo {
  animation-play-state: paused !important;
}
body.modal-open #viewport {
  visibility: hidden !important;
}

/* Velvet Curtain Opening Effect (Slide 1 -> Slide 2) with Golden Seam & Seal */
#curtain-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  display: none;
  opacity: 0;
  overflow: hidden;
}
#curtain-overlay.open { display: flex; opacity: 1; }
#curtain-overlay .curtain-half {
  flex: 1;
  height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.24) 0px, rgba(255,255,255,0.05) 22px, rgba(0,0,0,0.28) 54px),
    linear-gradient(90deg, #3c0206, #8f0f15 48%, #58050a 84%, #2d0104);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.78);
  border-right: 4px solid var(--gold-light);
  transform: translateX(0);
  transition: transform 1.6s cubic-bezier(0.65, 0, 0.15, 1), opacity 0.45s ease 1.25s;
}
#curtain-overlay .curtain-half.right {
  border-right: none;
  border-left: 4px solid var(--gold-light);
}
#curtain-overlay .curtain-seam-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 6px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, #fff6cc 28%, #f8d474 50%, #fff6cc 72%, transparent);
  box-shadow: 0 0 34px 10px rgba(252, 220, 120, 0.85);
  opacity: 0.95;
  transition: opacity 0.65s ease 0.15s, transform 0.85s ease;
}
#curtain-overlay .curtain-seal {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%) scale(0.85) rotate(0deg);
  filter: drop-shadow(0 0 28px rgba(255, 224, 128, 0.95));
  opacity: 0.95;
  transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s ease 0.25s;
}
#curtain-overlay.parted .curtain-half.left { transform: translateX(-106%); opacity: 0; }
#curtain-overlay.parted .curtain-half.right { transform: translateX(106%); opacity: 0; }
#curtain-overlay.parted .curtain-seam-glow { opacity: 0; transform: translateX(-50%) scaleX(12); }
#curtain-overlay.parted .curtain-seal { opacity: 0; transform: translate(-50%, -50%) scale(1.65) rotate(32deg); }

/* ============================================================================
   EPIC MULTI-LAYER CEREMONIAL TRANSITION
   Trống Đồng Surge + Twin Shockwaves + 3-Depth Chim Lạc Squadron + Live Embers
   ============================================================================ */
#lac-flight {
  position: absolute;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  overflow: hidden;
  display: none;
}
#lac-flight.fly-next,
#lac-flight.fly-prev {
  display: block;
}
#lac-flight .dark-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 68% at 50% 50%, rgba(86, 7, 13, 0.82) 0%, rgba(28, 2, 5, 0.95) 68%, rgba(12, 1, 2, 0.98) 100%);
  opacity: 0;
  will-change: opacity;
}
#lac-flight .trans-sunburst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1480px;
  height: 1480px;
  margin-left: -740px;
  margin-top: -740px;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 228, 138, 0.16) 0deg 4deg,
    transparent 4deg 15deg
  );
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.45) 38%, transparent 68%);
  mask-image: radial-gradient(circle, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.45) 38%, transparent 68%);
  opacity: 0;
  will-change: transform, opacity;
}
#lac-flight .trans-drum {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 780px;
  height: 780px;
  margin-left: -390px;
  margin-top: -390px;
  opacity: 0;
  filter:
    drop-shadow(0 0 28px rgba(255, 224, 128, 0.85))
    drop-shadow(0 0 65px rgba(212, 152, 42, 0.55));
  will-change: transform, opacity;
}
#lac-flight .trans-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 260px;
  margin-left: -130px;
  margin-top: -130px;
  border-radius: 50%;
  border: 3px solid rgba(255, 232, 156, 0.92);
  box-shadow:
    0 0 32px rgba(255, 218, 108, 0.85),
    inset 0 0 24px rgba(255, 218, 108, 0.55);
  opacity: 0;
  will-change: transform, opacity;
}
#lac-flight .trans-ring.ring-2 {
  border-width: 1.8px;
  border-color: rgba(255, 246, 204, 0.8);
}
#trans-fx {
  position: absolute;
  inset: 0;
  width: 1280px;
  height: 720px;
  pointer-events: none;
  z-index: 3;
}

/* 5 Independent Articulated Flapping Chim Lạc Ngọc Lũ */
#lac-flight .lac-bird {
  position: absolute;
  left: 0;
  top: 0;
  aspect-ratio: 783 / 355;
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
}
#lac-flight .bird-rig {
  position: relative;
  width: 100%;
  height: 100%;
  will-change: transform;
}
#lac-flight .bird-rig img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
#lac-flight .bird-wing-top {
  transform-origin: 38.06% 40.85%;
  will-change: transform;
}
#lac-flight .bird-wing-bot {
  transform-origin: 39.08% 55.77%;
  will-change: transform;
}

/* Individual Bird Scales, Z-Depths & Lightweight Golden Aura (Smooth 60fps GPU) */
#lac-flight .bird-1 {
  width: 470px;
  z-index: 6;
  filter: drop-shadow(0 0 18px rgba(255, 232, 148, 0.92));
}
#lac-flight .bird-2 {
  width: 300px;
  z-index: 5;
  filter: drop-shadow(0 0 12px rgba(255, 224, 132, 0.82));
}
#lac-flight .bird-3 {
  width: 320px;
  z-index: 5;
  filter: drop-shadow(0 0 12px rgba(255, 224, 132, 0.82));
}
#lac-flight .bird-4 {
  width: 260px;
  z-index: 4;
  filter: drop-shadow(0 0 10px rgba(255, 218, 120, 0.75));
}
#lac-flight .bird-5 {
  width: 195px;
  z-index: 2;
  opacity: 0;
}

/* Realistic 3D Wingbeat Animation on Every Bird (Silky Crane/Chim Lạc Wingbeat Cadence) */
#lac-flight.fly-next .bird-1 .bird-wing-top,
#lac-flight.fly-prev .bird-1 .bird-wing-top { animation: flapTop 0.48s cubic-bezier(0.42, 0.05, 0.58, 0.95) infinite; }
#lac-flight.fly-next .bird-1 .bird-wing-bot,
#lac-flight.fly-prev .bird-1 .bird-wing-bot { animation: flapBot 0.48s cubic-bezier(0.42, 0.05, 0.58, 0.95) infinite; }
#lac-flight.fly-next .bird-1 .bird-rig,
#lac-flight.fly-prev .bird-1 .bird-rig      { animation: bodyBob 0.48s cubic-bezier(0.42, 0.05, 0.58, 0.95) infinite; }

#lac-flight.fly-next .bird-2 .bird-wing-top,
#lac-flight.fly-prev .bird-2 .bird-wing-top { animation: flapTop 0.40s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.14s infinite; }
#lac-flight.fly-next .bird-2 .bird-wing-bot,
#lac-flight.fly-prev .bird-2 .bird-wing-bot { animation: flapBot 0.40s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.14s infinite; }
#lac-flight.fly-next .bird-2 .bird-rig,
#lac-flight.fly-prev .bird-2 .bird-rig      { animation: bodyBob 0.40s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.14s infinite; }

#lac-flight.fly-next .bird-3 .bird-wing-top,
#lac-flight.fly-prev .bird-3 .bird-wing-top { animation: flapTop 0.44s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.24s infinite; }
#lac-flight.fly-next .bird-3 .bird-wing-bot,
#lac-flight.fly-prev .bird-3 .bird-wing-bot { animation: flapBot 0.44s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.24s infinite; }
#lac-flight.fly-next .bird-3 .bird-rig,
#lac-flight.fly-prev .bird-3 .bird-rig      { animation: bodyBob 0.44s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.24s infinite; }

#lac-flight.fly-next .bird-4 .bird-wing-top,
#lac-flight.fly-prev .bird-4 .bird-wing-top { animation: flapTop 0.38s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.08s infinite; }
#lac-flight.fly-next .bird-4 .bird-wing-bot,
#lac-flight.fly-prev .bird-4 .bird-wing-bot { animation: flapBot 0.38s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.08s infinite; }
#lac-flight.fly-next .bird-4 .bird-rig,
#lac-flight.fly-prev .bird-4 .bird-rig      { animation: bodyBob 0.38s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.08s infinite; }

#lac-flight.fly-next .bird-5 .bird-wing-top,
#lac-flight.fly-prev .bird-5 .bird-wing-top { animation: flapTop 0.36s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.19s infinite; }
#lac-flight.fly-next .bird-5 .bird-wing-bot,
#lac-flight.fly-prev .bird-5 .bird-wing-bot { animation: flapBot 0.36s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.19s infinite; }
#lac-flight.fly-next .bird-5 .bird-rig,
#lac-flight.fly-prev .bird-5 .bird-rig      { animation: bodyBob 0.36s cubic-bezier(0.42, 0.05, 0.58, 0.95) 0.19s infinite; }

@keyframes flapTop {
  0%, 100% { transform: scaleY(1.32) rotate(-24deg) skewX(-11deg); }
  50%      { transform: scaleY(0.12) rotate(30deg) skewX(16deg); }
}
@keyframes flapBot {
  0%, 100% { transform: scaleY(0.14) rotate(28deg) skewX(13deg); }
  50%      { transform: scaleY(1.36) rotate(-24deg) skewX(-11deg); }
}
@keyframes bodyBob {
  0%, 100% { transform: translateY(8px) rotate(2.8deg); }
  50%      { transform: translateY(-11px) rotate(-3.4deg); }
}

#lac-flight .gold-sweep {
  position: absolute;
  top: -15%;
  left: -55%;
  width: 48%;
  height: 130%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 163, 55, 0.14) 36%,
    rgba(255, 242, 188, 0.44) 50%,
    rgba(255, 252, 232, 0.62) 53%,
    rgba(212, 163, 55, 0.14) 64%,
    transparent 100%
  );
  transform: skewX(-24deg);
  opacity: 0;
  z-index: 7;
  will-change: left, opacity;
}
#lac-flight .gold-flash {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 245, 204, 0.72) 0%, rgba(242, 192, 78, 0.25) 45%, transparent 74%);
  opacity: 0;
  z-index: 8;
  will-change: opacity, transform;
}

/* Trigger Animations */
#lac-flight.fly-next .dark-veil,
#lac-flight.fly-prev .dark-veil {
  animation: veilDimEpic 2.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
#lac-flight.fly-next .trans-sunburst,
#lac-flight.fly-prev .trans-sunburst {
  animation: sunburstEpic 2.2s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
}
#lac-flight.fly-next .trans-drum {
  animation: drumSurgeNext 2.2s cubic-bezier(0.18, 0.65, 0.28, 1) forwards;
}
#lac-flight.fly-prev .trans-drum {
  animation: drumSurgePrev 2.2s cubic-bezier(0.18, 0.65, 0.28, 1) forwards;
}
#lac-flight.fly-next .ring-1,
#lac-flight.fly-prev .ring-1 {
  animation: ringShock 1.55s cubic-bezier(0.12, 0.78, 0.26, 1) 0.22s forwards;
}
#lac-flight.fly-next .ring-2,
#lac-flight.fly-prev .ring-2 {
  animation: ringShock 1.65s cubic-bezier(0.12, 0.78, 0.26, 1) 0.44s forwards;
}

/* 5 Distinct Crossing & Banking Flight Paths (Forward & Reverse) */
#lac-flight.fly-next .bird-1 { animation: pathBird1Next 2.15s cubic-bezier(0.24, 0.56, 0.34, 1) forwards; }
#lac-flight.fly-prev .bird-1 { animation: pathBird1Prev 2.15s cubic-bezier(0.24, 0.56, 0.34, 1) forwards; }

#lac-flight.fly-next .bird-2 { animation: pathBird2Next 2.0s cubic-bezier(0.22, 0.55, 0.32, 1) 0.12s forwards; }
#lac-flight.fly-prev .bird-2 { animation: pathBird2Prev 2.0s cubic-bezier(0.22, 0.55, 0.32, 1) 0.12s forwards; }

#lac-flight.fly-next .bird-3 { animation: pathBird3Next 2.05s cubic-bezier(0.2, 0.58, 0.3, 1) 0.22s forwards; }
#lac-flight.fly-prev .bird-3 { animation: pathBird3Prev 2.05s cubic-bezier(0.2, 0.58, 0.3, 1) 0.22s forwards; }

#lac-flight.fly-next .bird-4 { animation: pathBird4Next 2.05s cubic-bezier(0.22, 0.55, 0.32, 1) 0.08s forwards; }
#lac-flight.fly-prev .bird-4 { animation: pathBird4Prev 2.05s cubic-bezier(0.22, 0.55, 0.32, 1) 0.08s forwards; }

#lac-flight.fly-next .bird-5 { animation: pathBird5Next 1.95s cubic-bezier(0.25, 0.5, 0.35, 1) 0.28s forwards; }
#lac-flight.fly-prev .bird-5 { animation: pathBird5Prev 1.95s cubic-bezier(0.25, 0.5, 0.35, 1) 0.28s forwards; }

#lac-flight.fly-next .gold-sweep {
  animation: sweepNext 1.65s cubic-bezier(0.18, 0.72, 0.28, 1) 0.24s forwards;
}
#lac-flight.fly-prev .gold-sweep {
  animation: sweepPrev 1.65s cubic-bezier(0.18, 0.72, 0.28, 1) 0.24s forwards;
}
#lac-flight.fly-next .gold-flash,
#lac-flight.fly-prev .gold-flash {
  animation: goldFlashPeak 1.25s ease-out 0.42s forwards;
}

@keyframes veilDimEpic {
  0%   { opacity: 0; }
  20%  { opacity: 0.96; }
  66%  { opacity: 0.92; }
  100% { opacity: 0; }
}
@keyframes sunburstEpic {
  0%   { opacity: 0; transform: scale(0.55) rotate(-18deg); }
  28%  { opacity: 0.95; }
  62%  { opacity: 0.85; }
  100% { opacity: 0; transform: scale(1.22) rotate(32deg); }
}
@keyframes drumSurgeNext {
  0%   { opacity: 0; transform: scale(0.32) rotate(-36deg); }
  24%  { opacity: 0.62; }
  52%  { opacity: 0.72; transform: scale(0.96) rotate(4deg); }
  100% { opacity: 0; transform: scale(1.38) rotate(34deg); }
}
@keyframes drumSurgePrev {
  0%   { opacity: 0; transform: scale(0.32) rotate(36deg); }
  24%  { opacity: 0.62; }
  52%  { opacity: 0.72; transform: scale(0.96) rotate(-4deg); }
  100% { opacity: 0; transform: scale(1.38) rotate(-34deg); }
}
@keyframes ringShock {
  0%   { opacity: 0; transform: scale(0.3); }
  18%  { opacity: 0.92; }
  100% { opacity: 0; transform: scale(5.6); }
}

/* Bird 1: Sovereign Hero swooping dynamically bottom-left -> glowing center crest -> top-right */
@keyframes pathBird1Next {
  0%   { transform: translate(-480px, 455px) scale(0.74) rotate(-14deg); opacity: 0; }
  15%  { opacity: 1; }
  48%  { transform: translate(405px, 238px) scale(1.16) rotate(-8deg); opacity: 1; }
  82%  { opacity: 0.96; }
  100% { transform: translate(1380px, 35px) scale(0.94) rotate(-17deg); opacity: 0; }
}
@keyframes pathBird1Prev {
  0%   { transform: translate(1380px, 455px) scaleX(-1) scale(0.74) rotate(-14deg); opacity: 0; }
  15%  { opacity: 1; }
  48%  { transform: translate(405px, 238px) scaleX(-1) scale(1.16) rotate(-8deg); opacity: 1; }
  82%  { opacity: 0.96; }
  100% { transform: translate(-480px, 35px) scaleX(-1) scale(0.94) rotate(-17deg); opacity: 0; }
}

/* Bird 2: High Sky Wingman soaring cleanly across top sky lane (well above Bird 1) */
@keyframes pathBird2Next {
  0%   { transform: translate(-360px, 118px) scale(0.78) rotate(5deg); opacity: 0; }
  18%  { opacity: 0.94; }
  50%  { transform: translate(290px, 38px) scale(1.02) rotate(-7deg); opacity: 0.96; }
  100% { transform: translate(1380px, -68px) scale(0.86) rotate(-15deg); opacity: 0; }
}
@keyframes pathBird2Prev {
  0%   { transform: translate(1380px, 118px) scaleX(-1) scale(0.78) rotate(5deg); opacity: 0; }
  18%  { opacity: 0.94; }
  50%  { transform: translate(290px, 38px) scaleX(-1) scale(1.02) rotate(-7deg); opacity: 0.96; }
  100% { transform: translate(-360px, -68px) scaleX(-1) scale(0.86) rotate(-15deg); opacity: 0; }
}

/* Bird 3: Lower Swooping Guardian sweeping beneath the bronze drum (well below Bird 1) */
@keyframes pathBird3Next {
  0%   { transform: translate(-400px, 605px) scale(0.82) rotate(-5deg); opacity: 0; }
  18%  { opacity: 0.92; }
  52%  { transform: translate(505px, 525px) scale(1.06) rotate(-9deg); opacity: 0.95; }
  100% { transform: translate(1400px, 345px) scale(0.88) rotate(-15deg); opacity: 0; }
}
@keyframes pathBird3Prev {
  0%   { transform: translate(1400px, 605px) scaleX(-1) scale(0.82) rotate(-5deg); opacity: 0; }
  18%  { opacity: 0.92; }
  52%  { transform: translate(505px, 525px) scaleX(-1) scale(1.06) rotate(-9deg); opacity: 0.95; }
  100% { transform: translate(-400px, 345px) scaleX(-1) scale(0.88) rotate(-15deg); opacity: 0; }
}

/* Bird 4: Upper-Right Counter-Swooper crossing RIGHT -> LEFT cleanly above Bird 1 */
@keyframes pathBird4Next {
  0%   { transform: translate(1360px, 68px) scaleX(-1) scale(0.76) rotate(9deg); opacity: 0; }
  18%  { opacity: 0.84; }
  50%  { transform: translate(690px, 128px) scaleX(-1) scale(0.96) rotate(5deg); opacity: 0.88; }
  100% { transform: translate(-340px, 265px) scaleX(-1) scale(0.82) rotate(-4deg); opacity: 0; }
}
@keyframes pathBird4Prev {
  0%   { transform: translate(-340px, 68px) scale(0.76) rotate(9deg); opacity: 0; }
  18%  { opacity: 0.84; }
  50%  { transform: translate(690px, 128px) scale(0.96) rotate(5deg); opacity: 0.88; }
  100% { transform: translate(1360px, 265px) scale(0.82) rotate(-4deg); opacity: 0; }
}

/* Bird 5: Lower-Right Deep Counter-Swooper gliding across lower background horizon */
@keyframes pathBird5Next {
  0%   { transform: translate(1340px, 555px) scaleX(-1) scale(0.74) rotate(-6deg); opacity: 0; }
  20%  { opacity: 0.58; }
  60%  { opacity: 0.54; }
  100% { transform: translate(-280px, 475px) scaleX(-1) scale(0.88) rotate(4deg); opacity: 0; }
}
@keyframes pathBird5Prev {
  0%   { transform: translate(-280px, 555px) scale(0.74) rotate(-6deg); opacity: 0; }
  20%  { opacity: 0.58; }
  60%  { opacity: 0.54; }
  100% { transform: translate(1340px, 475px) scale(0.88) rotate(4deg); opacity: 0; }
}
@keyframes sweepNext {
  0%   { left: -55%; opacity: 0; }
  28%  { opacity: 0.85; }
  100% { left: 145%; opacity: 0; }
}
@keyframes sweepPrev {
  0%   { left: 145%; opacity: 0; }
  28%  { opacity: 0.85; }
  100% { left: -55%; opacity: 0; }
}
@keyframes goldFlashPeak {
  0%   { opacity: 0; transform: scale(0.78); }
  28%  { opacity: 0.46; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.28); }
}

/* Gentle Living Glide for Ambient Chim Lạc on Slides */
@keyframes lacGlide {
  0%, 100% { transform: translate(0px, 0px) rotate(0deg); }
  50%      { transform: translate(10px, -8px) rotate(1.4deg); }
}

/* Accelerated Trống Đồng Rotational Surge during Slide Transitions */
.drum-wrap {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}
#deck.drum-surge .slide.active .drum-img {
  animation-duration: 24s;
}

/* ============================================================================
   RICH TACTILE THEMES: VELVET CRIMSON & EMBOSSED PARCHMENT
   ============================================================================ */
.slide--dark {
  background:
    radial-gradient(ellipse 74% 68% at 28% 44%, rgba(188, 22, 29, 0.58) 0%, transparent 66%),
    radial-gradient(ellipse 60% 60% at 84% 18%, rgba(235, 186, 76, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, #68070c 0%, #860d13 44%, #420307 100%);
  color: var(--ivory);
}

/* Photorealistic Velvet & Bronze Relief Overlay on Dark Slides */
.slide--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/velvet_bg.webp') center / cover no-repeat;
  opacity: 0.42;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

/* Soft protective radial vignette so text contrast stays ultra-crisp */
.slide--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 82% at 50% 48%, transparent 38%, rgba(28, 2, 4, 0.62) 100%);
  pointer-events: none;
  z-index: 1;
}

.slide--light {
  background:
    radial-gradient(ellipse 68% 58% at 88% 14%, rgba(235, 192, 94, 0.18) 0%, transparent 62%),
    radial-gradient(ellipse 78% 72% at 50% 42%, #fffef9 0%, var(--ivory) 58%, #e8d8ba 100%);
  color: var(--ink);
}

/* Ornate Imperial Gold Double Border Frame on ALL Inside Light Slides (matching Slide 1!) */
.slide--light::before {
  content: '';
  position: absolute;
  inset: 72px 18px 54px 18px;
  border: 1.5px solid rgba(196, 152, 62, 0.42);
  box-shadow: inset 0 0 0 4px transparent, inset 0 0 0 5px rgba(196, 152, 62, 0.18);
  pointer-events: none;
  z-index: 2;
}

/* Rich Crimson-Gold Royal Accent Spine on Left Edge */
.slide--light::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 44px;
  width: 7px;
  top: 62px;
  background: linear-gradient(180deg, var(--crimson-bright) 0%, var(--gold) 50%, var(--crimson-deep) 100%);
  box-shadow: 2px 0 10px rgba(136, 13, 19, 0.18);
  pointer-events: none;
  z-index: 3;
}

/* Ornate Corner Brackets injected dynamically onto inside light slides */
.light-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--crimson);
  border-style: solid;
  pointer-events: none;
  z-index: 3;
  opacity: 0.72;
}
.light-corner.tl { top: 69px; left: 15px; border-width: 3px 0 0 3px; }
.light-corner.tr { top: 69px; right: 15px; border-width: 3px 3px 0 0; }
.light-corner.bl { bottom: 51px; left: 15px; border-width: 0 0 3px 3px; }
.light-corner.br { bottom: 51px; right: 15px; border-width: 0 3px 3px 0; }

/* Hero Ceremonial Double Frame & Ornate Corner Flourishes */
.hero-frame {
  position: absolute;
  inset: 18px;
  border: 1.5px solid rgba(240, 200, 108, 0.58);
  pointer-events: none;
  z-index: 4;
}
.hero-frame::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(240, 200, 108, 0.24);
}
.corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--gold-light);
  border-style: solid;
  z-index: 5;
  pointer-events: none;
}
.corner::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--gold);
  border-style: solid;
}
.corner.tl { top: 15px; left: 15px; border-width: 3.5px 0 0 3.5px; }
.corner.tl::after { top: 7px; left: 7px; border-width: 1.5px 0 0 1.5px; }
.corner.tr { top: 15px; right: 15px; border-width: 3.5px 3.5px 0 0; }
.corner.tr::after { top: 7px; right: 7px; border-width: 1.5px 1.5px 0 0; }
.corner.bl { bottom: 15px; left: 15px; border-width: 0 0 3.5px 3.5px; }
.corner.bl::after { bottom: 7px; left: 7px; border-width: 0 0 1.5px 1.5px; }
.corner.br { bottom: 15px; right: 15px; border-width: 0 3.5px 3.5px 0; }
.corner.br::after { bottom: 7px; right: 7px; border-width: 0 1.5px 1.5px 0; }

/* Animated Golden Sunburst Halo (Hero & Closing) */
.sunburst-halo {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(250, 224, 140, 0.11) 0deg 6deg,
    transparent 6deg 18deg
  );
  mask-image: radial-gradient(circle, black 10%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle, black 10%, transparent 68%);
  animation: slowSpin 95s linear infinite;
  pointer-events: none;
  z-index: 2;
}

/* Authentic Dong Son Ngoc Lu Bronze Drum, Lac Birds & Ba Dinh Engravings */
.drum-img {
  position: absolute;
  pointer-events: none;
  opacity: 0.24;
  animation: slowSpin 150s linear infinite;
  z-index: 2;
}
.slide--light .drum-img {
  opacity: 0.14;
}
.lac-img {
  position: absolute;
  pointer-events: none;
  opacity: 0.30;
  z-index: 2;
  animation: lacGlide 9s ease-in-out infinite;
}
.slide--light .lac-img {
  opacity: 0.20;
}
.badinh-img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0.22;
  z-index: 2;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 62%, transparent 100%);
}
.slide--light .badinh-img {
  bottom: 44px;
  opacity: 0.11;
}

/* Documentary Primary Evidence Clipping & Highlight Marker */
.ev-clip {
  background: #fffef9;
  border: 1px solid var(--gold);
  box-shadow: 0 12px 30px rgba(72, 20, 12, 0.10);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ev-clip__bar {
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright));
  color: var(--gold-light);
  padding: 9px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ev-clip__paper {
  flex: 1;
  padding: 18px 22px;
  background:
    repeating-linear-gradient(180deg, transparent 0px, transparent 27px, rgba(196, 152, 62, 0.07) 28px),
    #fffdf7;
  font-family: var(--font-serif);
  color: #1f1714;
}
.ev-clip__masthead {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--crimson);
  border-bottom: 1.5px double var(--gold);
  padding-bottom: 8px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ev-clip__headline {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.32;
}
.ev-clip__excerpt {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.62;
  color: #2b211c;
}
.ev-hl {
  background: linear-gradient(120deg, rgba(252, 224, 118, 0.62) 0%, rgba(250, 210, 86, 0.72) 100%);
  color: #3a0407;
  font-weight: 700;
  padding: 1px 5px;
  border-bottom: 2px solid var(--crimson);
  border-radius: 2px;
}
.ev-clip__foot {
  padding: 9px 18px;
  background: rgba(240, 228, 205, 0.55);
  border-top: 1px solid var(--gold-line);
  font-size: 11.5px;
  font-style: italic;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Metallic Gold Text Gradient */
.text-gold-grad {
  background: linear-gradient(135deg, #fff5c8 0%, #f3d274 36%, #cf9a2f 70%, #fae293 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Metallic Gold Shimmer Animation */
@keyframes goldShimmer {
  0% { transform: translateX(-140%) skewX(-24deg); }
  28%, 100% { transform: translateX(240%) skewX(-24deg); }
}

/* ============================================================================
   CHROME: CEREMONIAL TOP HEADER & FOOTER
   ============================================================================ */
.top-bar {
  position: relative;
  height: 62px;
  padding: 0 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    radial-gradient(ellipse 40% 180% at 20% 50%, rgba(212, 163, 55, 0.16), transparent 70%),
    linear-gradient(90deg, #580509 0%, #941016 48%, #580509 100%);
  border-bottom: 3.5px solid var(--gold);
  box-shadow: 0 6px 22px rgba(68, 5, 9, 0.24), inset 0 -1px 0 rgba(255, 240, 184, 0.5);
  z-index: 5;
}
.slide--dark .top-bar {
  background: linear-gradient(90deg, rgba(42, 3, 5, 0.8), rgba(82, 7, 11, 0.62), rgba(42, 3, 5, 0.8));
  border-bottom: 1.5px solid rgba(242, 204, 114, 0.52);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar__star {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}
.top-bar__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
}
.top-bar__logo {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.slide-body {
  position: relative;
  padding: 24px 54px 0;
  height: calc(720px - 62px - 44px);
  z-index: 4;
}

.slide-title {
  font-family: var(--font-serif);
  font-size: 33px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--crimson);
  letter-spacing: -0.2px;
}
.slide--dark .slide-title {
  background: linear-gradient(135deg, #fff5c8 0%, #f5d67c 50%, #d8a53a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.title-rule__crimson {
  width: 86px;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright));
}
.slide--dark .title-rule__crimson {
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
}
.title-rule__diamond {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.title-rule__gold {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(212, 163, 55, 0.14));
}

/* Footer */
.slide-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  padding: 0 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1.5px solid var(--gold-line);
  background: rgba(246, 238, 222, 0.85);
  z-index: 5;
}
.slide--dark .slide-footer {
  background: rgba(34, 2, 4, 0.62);
  border-top-color: rgba(212, 163, 55, 0.32);
}
.footer-cite {
  font-size: 11.2px;
  font-style: italic;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.slide--dark .footer-cite { color: rgba(244, 224, 182, 0.88); }

.src-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--crimson);
  text-decoration: none;
  padding: 2px 9px;
  border: 1px solid var(--gold);
  background: rgba(212, 163, 55, 0.14);
  transition: all 0.22s ease;
}
.src-link:hover {
  background: var(--crimson);
  color: var(--gold-light);
  border-color: var(--crimson);
  transform: translateY(-1px);
}
.slide--dark .src-link {
  color: var(--gold-light);
  border-color: rgba(250, 224, 140, 0.45);
  background: rgba(250, 224, 140, 0.1);
}
.slide--dark .src-link:hover {
  background: var(--gold);
  color: var(--crimson-velvet);
}
.ref-link {
  margin-left: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--crimson);
  text-decoration: none;
  border-bottom: 1px dashed var(--gold);
}
.ref-link:hover { color: var(--gold-dark); border-bottom-style: solid; }

.footer-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 25px;
  padding: 0 8px;
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(72, 6, 10, 0.22);
}

/* ============================================================================
   CHOREOGRAPHED ANIMATIONS
   ============================================================================ */
.anim-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.68s var(--ease-out-expo), transform 0.78s var(--ease-out-expo);
}
.anim-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.68s var(--ease-out-expo), transform 0.78s var(--ease-out-expo);
}
.anim-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.68s var(--ease-out-expo), transform 0.78s var(--ease-out-expo);
}
.anim-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.74s var(--ease-out-expo), transform 0.84s var(--ease-out-expo);
}
.anim-draw {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-out-expo);
}

.slide.active .anim-up,
.slide.active .anim-left,
.slide.active .anim-right,
.slide.active .anim-zoom {
  opacity: 1;
  transform: none;
}
.slide.active .anim-draw { transform: scaleX(1); }

.d1 { transition-delay: 0.14s; }
.d2 { transition-delay: 0.28s; }
.d3 { transition-delay: 0.42s; }
.d4 { transition-delay: 0.56s; }
.d5 { transition-delay: 0.70s; }
.d6 { transition-delay: 0.84s; }
.d7 { transition-delay: 0.98s; }

/* Custom Gold Vector Icon Container */
.gold-icon {
  width: 26px;
  height: 26px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.gold-icon--dark {
  stroke: var(--crimson-velvet);
}
.gold-icon--crimson {
  stroke: var(--crimson);
}

/* ============================================================================
   SLIDE 1: BÌA (NATIONAL CONFERENCE BROADCAST HERO)
   ============================================================================ */
.hero-top-meta {
  position: absolute;
  top: 36px;
  left: 54px;
  right: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 6;
}
.hero-grid {
  position: relative;
  z-index: 6;
  height: 100%;
  display: grid;
  grid-template-columns: 445px 1fr;
  align-items: center;
  padding: 50px 68px 18px 50px;
  gap: 44px;
}
.hero-portrait-wrap {
  position: relative;
  z-index: 7;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-portrait-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(252, 224, 134, 0.34) 0%, rgba(212, 163, 55, 0.12) 48%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}
.hero-portrait {
  position: relative;
  z-index: 8;
  max-height: 595px;
  width: auto;
  filter: contrast(1.06) sepia(0.05) drop-shadow(0 14px 32px rgba(0, 0, 0, 0.6));
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: linear-gradient(90deg, rgba(64, 4, 8, 0.8), rgba(110, 10, 16, 0.62));
  border: 1px solid rgba(250, 224, 140, 0.72);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 45px;
  font-weight: 700;
  line-height: 1.18;
  color: #ffffff;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.45);
}
.hero-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 440px;
  margin: 24px 0 22px;
}
.hero-divider span {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-antique));
}
.hero-divider img { width: 24px; height: 24px; filter: drop-shadow(0 0 8px rgba(250, 224, 140, 0.65)); }
.hero-subtitle {
  font-size: 20.5px;
  font-weight: 400;
  line-height: 1.48;
  color: var(--gold-light);
  max-width: 660px;
}
.hero-presenter {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.gold-plaque {
  position: relative;
  overflow: hidden;
  padding: 12px 38px;
  background: linear-gradient(135deg, #fff0b4 0%, #dca83a 52%, #a67619 100%);
  color: var(--crimson-velvet);
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  border: 1.5px solid #fff5cb;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.gold-plaque::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 48%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: goldShimmer 4.8s ease-in-out infinite;
}

/* ============================================================================
   SLIDE 2: ROSTER TABLE + LOTUS
   ============================================================================ */
.roster-grid {
  display: grid;
  grid-template-columns: 1fr 296px;
  gap: 34px;
  height: 492px;
  align-items: stretch;
}
.roster-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--porcelain);
  border: 1px solid var(--gold);
  box-shadow: 0 14px 34px rgba(72, 20, 12, 0.08);
}
.roster-table thead th {
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright));
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 13px 18px;
  text-align: left;
  border-bottom: 2.5px solid var(--gold);
}
.roster-table tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(196, 152, 62, 0.24);
  font-size: 15.5px;
  transition: background 0.2s ease;
}
.roster-table tbody tr:nth-child(even) { background: rgba(240, 228, 205, 0.45); }
.roster-table tbody tr:hover td { background: rgba(212, 163, 55, 0.16); }
.roster-num {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--crimson);
  width: 68px;
  text-align: center;
}
.roster-name { font-weight: 600; color: var(--ink); }
.roster-id { color: var(--gold-dark); font-weight: 600; text-align: right; }

.lotus-aside {
  background: linear-gradient(180deg, var(--porcelain) 0%, var(--ivory-deep) 100%);
  border: 1px solid var(--gold);
  border-top: 5px solid var(--crimson);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(72, 20, 12, 0.08);
}
.lotus-aside img { max-height: 268px; margin-bottom: 20px; filter: drop-shadow(0 6px 14px rgba(133, 92, 21, 0.16)); }
.lotus-aside__rule { width: 118px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin-bottom: 16px; }
.lotus-aside__title { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--crimson); letter-spacing: 1px; }
.lotus-aside__sub { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ============================================================================
   SLIDE 3: EDITORIAL ARCHIVAL SPLIT
   ============================================================================ */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 34px;
  height: 492px;
  align-items: stretch;
}
.quote-panel {
  position: relative;
  background: linear-gradient(155deg, var(--porcelain) 0%, #f8f1e2 100%);
  border: 1px solid var(--gold);
  border-left: 7px solid var(--crimson);
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(72, 20, 12, 0.08);
}
.quote-mark { font-family: var(--font-serif); font-size: 88px; line-height: 0.62; color: var(--gold); margin-bottom: 10px; }
.quote-big { font-family: var(--font-serif); font-size: 46px; font-weight: 700; font-style: italic; line-height: 1.15; color: var(--crimson); }
.quote-bar { width: 108px; height: 3px; background: linear-gradient(90deg, var(--crimson), var(--gold)); margin: 22px 0; }
.quote-question {
  background: rgba(136, 13, 19, 0.06);
  border-left: 3.5px solid var(--gold);
  padding: 18px 20px;
  font-size: 16px;
  line-height: 1.56;
  color: var(--ink);
}
.archive-panel {
  background: var(--ivory-deep);
  border: 1px solid var(--gold);
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(72, 20, 12, 0.09);
}
.archive-hdr {
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright));
  color: var(--gold-light);
  padding: 11px 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  border-bottom: 2.5px solid var(--gold);
}
.archive-body {
  flex: 1;
  padding: 18px 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.doc-mat {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--gold-line);
  padding: 10px 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
  cursor: zoom-in;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, border-color 0.3s ease;
}
.doc-mat:hover {
  transform: translateY(-3px);
  border-color: var(--crimson);
  box-shadow: 0 14px 28px rgba(136, 13, 19, 0.16);
}
.doc-mat::after {
  content: '⤢ Phóng to';
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  background: rgba(82, 5, 9, 0.88);
  color: var(--gold-light);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.doc-mat:hover::after { opacity: 1; }
.doc-mat img { display: block; width: 100%; max-height: 152px; object-fit: contain; }
.archive-cap { text-align: center; font-size: 12px; font-style: italic; color: var(--muted); }

/* ============================================================================
   SLIDE 4 & SLIDE 15: HORIZONTAL CEREMONIAL RIBBONS WITH VECTOR ICONS
   ============================================================================ */
.ribbon-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 16px;
}
.ribbon-row {
  display: grid;
  grid-template-columns: 335px 1fr;
  min-height: 138px;
  background: var(--porcelain);
  border: 1px solid var(--gold-line);
  box-shadow: 0 10px 28px rgba(72, 20, 12, 0.07);
  transition: transform 0.32s var(--ease-out-expo), box-shadow 0.32s ease, border-color 0.32s ease;
}
.ribbon-row:hover {
  transform: translateX(6px);
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(136, 13, 19, 0.13);
}
.ribbon-row--highlight {
  background: linear-gradient(90deg, #fffdf8, #f7ebd3);
  border-color: var(--gold);
}
.ribbon-label {
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  border-left: 6px solid var(--gold-light);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.ribbon-label--gold {
  background: linear-gradient(135deg, #fce596 0%, #d4a337 58%, #aa7a1c 100%);
  border-left: 6px solid var(--crimson);
}
.ribbon-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(50, 2, 4, 0.45);
  border: 1px solid rgba(250, 224, 140, 0.52);
  flex-shrink: 0;
}
.ribbon-label--gold .ribbon-icon-box {
  background: rgba(82, 5, 9, 0.14);
  border-color: rgba(82, 5, 9, 0.35);
}
.ribbon-meta { display: flex; flex-direction: column; gap: 3px; }
.ribbon-sub {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--gold-light);
  text-transform: uppercase;
}
.ribbon-label--gold .ribbon-sub { color: var(--crimson-deep); }
.ribbon-heading {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.22;
}
.ribbon-label--gold .ribbon-heading { color: var(--crimson-velvet); }
.ribbon-text {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  font-size: 17px;
  line-height: 1.56;
  color: var(--ink);
}

/* ============================================================================
   SLIDE 5: TEXTBOOK + 2 EXECUTIVE BLOCKS
   ============================================================================ */
.book-grid {
  display: grid;
  grid-template-columns: 325px 1fr;
  gap: 38px;
  height: 492px;
  align-items: stretch;
}
.book-pedestal {
  background: linear-gradient(180deg, var(--ivory-deep) 0%, #e7d6b6 100%);
  border: 1px solid var(--gold);
  border-top: 5px solid var(--crimson);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(72, 20, 12, 0.09);
}
.book-frame {
  background: #ffffff;
  padding: 10px;
  border: 1px solid var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  cursor: zoom-in;
  transition: transform 0.3s var(--ease-out-expo);
}
.book-frame:hover { transform: translateY(-4px) scale(1.01); }
.book-frame img { display: block; height: 360px; width: auto; }
.book-cap { margin-top: 14px; font-size: 12.5px; font-style: italic; color: var(--muted); }
.exec-stack { display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.exec-card {
  background: var(--porcelain);
  border: 1px solid var(--gold);
  border-left: 7px solid var(--crimson);
  padding: 28px 32px;
  box-shadow: 0 10px 28px rgba(72, 20, 12, 0.07);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.exec-card:hover { transform: translateX(6px); box-shadow: 0 14px 34px rgba(136, 13, 19, 0.12); }
.exec-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--gold-line);
}
.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #fce596, #c69128);
  color: var(--crimson-velvet);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  border: 1px solid #fff0b8;
  box-shadow: 0 4px 12px rgba(166, 120, 28, 0.25);
  flex-shrink: 0;
}
.exec-card__head { font-family: var(--font-serif); font-size: 25px; font-weight: 700; color: var(--crimson); }
.exec-card__body { font-size: 16.5px; line-height: 1.6; color: var(--ink); }

/* ============================================================================
   SLIDE 6: 3 CONNECTED CIRCULAR MEDALLIONS
   ============================================================================ */
.medallion-wrap { position: relative; margin-top: 34px; }
.medallion-line {
  position: absolute;
  top: 56px;
  left: 16%;
  right: 16%;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--gold-light), var(--gold), var(--crimson));
  z-index: 1;
}
.medallion-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.medallion-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
.medallion-circle {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--crimson-bright), var(--crimson-deep));
  border: 4px solid var(--gold-light);
  box-shadow: 0 0 0 6px rgba(136, 13, 19, 0.12), 0 14px 30px rgba(72, 6, 10, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 28px;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}
.medallion-col:hover .medallion-circle {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(212, 163, 55, 0.25), 0 18px 36px rgba(136, 13, 19, 0.35);
}
.medallion-card {
  width: 100%;
  background: var(--porcelain);
  border: 1px solid var(--gold);
  border-top: 4px solid var(--crimson);
  padding: 28px 24px 32px;
  min-height: 245px;
  box-shadow: 0 12px 28px rgba(72, 20, 12, 0.07);
  transition: transform 0.32s var(--ease-out-expo), box-shadow 0.32s ease;
}
.medallion-col:hover .medallion-card {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(136, 13, 19, 0.14);
}
.medallion-head { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--crimson); margin-bottom: 14px; }
.medallion-body { font-size: 16px; line-height: 1.58; color: var(--ink); }

/* ============================================================================
   SLIDE 7: INTERACTIVE TAM GIÁC QUAN LIÊU – LÃNG PHÍ – THAM Ô
   ============================================================================ */
.tri-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 34px;
  align-items: center;
  margin-top: 22px;
}
.tri-visual {
  background: rgba(46, 3, 6, 0.65);
  border: 1.5px solid rgba(242, 204, 114, 0.48);
  padding: 28px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}
.tri-node { cursor: pointer; transition: filter 0.25s ease, transform 0.25s ease; }
.tri-node:hover rect, .tri-node.is-hl rect {
  fill: #c69128 !important;
  stroke: #fff3c4 !important;
  filter: drop-shadow(0 0 12px rgba(250, 224, 140, 0.75));
}
.tri-node:hover text, .tri-node.is-hl text { fill: #320204 !important; }
.tri-hint {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: rgba(246, 224, 174, 0.72);
  font-style: italic;
}
.tri-cards { display: flex; flex-direction: column; gap: 18px; }
.tri-row {
  background: rgba(46, 3, 6, 0.68);
  border: 1px solid rgba(235, 198, 112, 0.38);
  border-left: 6px solid var(--gold);
  padding: 20px 26px;
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  transition: all 0.28s var(--ease-out-expo);
}
.tri-row:hover, .tri-row.is-hl {
  background: rgba(145, 15, 22, 0.72);
  border-color: var(--gold-light);
  border-left-color: var(--gold-pale);
  transform: translateX(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
}
.tri-row__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
}
.tri-row__body { font-size: 15.2px; line-height: 1.54; color: rgba(253, 248, 238, 0.94); }

/* ============================================================================
   SLIDE 8: DARK CEREMONIAL TIMELINE (2018 -> 2026)
   ============================================================================ */
.timeline-wrap { position: relative; margin-top: 26px; }
.timeline-axis {
  position: absolute;
  top: 29px;
  left: 3%;
  right: 3%;
  height: 3.5px;
  background: linear-gradient(90deg, var(--gold-antique), var(--gold-pale), var(--gold), var(--gold-antique));
  box-shadow: 0 0 12px rgba(250, 224, 140, 0.45);
}
.timeline-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tl-item { display: flex; flex-direction: column; align-items: center; }
.tl-year {
  position: relative;
  overflow: hidden;
  padding: 12px 30px;
  background: linear-gradient(135deg, #fff0b4 0%, #d8a538 55%, #a7771b 100%);
  color: var(--crimson-velvet);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  border: 1.5px solid #fff5cb;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.44);
  transition: transform 0.3s var(--ease-out-expo);
}
.tl-item:hover .tl-year { transform: scale(1.06); }
.tl-stem { width: 2px; height: 28px; background: var(--gold-light); }
.tl-card {
  width: 100%;
  background: rgba(46, 3, 6, 0.72);
  border: 1px solid rgba(242, 204, 114, 0.44);
  border-top: 3px solid var(--gold);
  padding: 22px 18px 26px;
  min-height: 306px;
  text-align: center;
  transition: all 0.32s var(--ease-out-expo);
}
.tl-item:hover .tl-card {
  background: rgba(136, 13, 19, 0.72);
  border-color: var(--gold-light);
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}
.tl-org {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(154, 18, 24, 0.9);
  border: 1px solid rgba(250, 224, 140, 0.58);
  color: var(--gold-light);
  font-size: 11.8px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.tl-desc { font-size: 15px; line-height: 1.58; color: var(--ivory); }

/* ============================================================================
   SLIDE 9: INTERLOCKING CHEVRON LEGAL STEPS
   ============================================================================ */
.chevron-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
.chev-col { display: flex; flex-direction: column; }
.chev-head {
  position: relative;
  padding: 22px 26px 22px 32px;
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  color: #ffffff;
  clip-path: polygon(0% 0%, 92% 0%, 100% 50%, 92% 100%, 0% 100%, 6% 50%);
  filter: drop-shadow(0 8px 16px rgba(72, 6, 10, 0.22));
  transition: transform 0.3s var(--ease-out-expo);
}
.chev-col:hover .chev-head { transform: translateX(4px); }
.chev-col:first-child .chev-head { clip-path: polygon(0% 0%, 92% 0%, 100% 50%, 92% 100%, 0% 100%); padding-left: 24px; }
.chev-col:nth-child(2) .chev-head { background: linear-gradient(135deg, #6e080d, #3a0306); }
.chev-step { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold-light); text-transform: uppercase; margin-bottom: 4px; }
.chev-title { font-family: var(--font-serif); font-size: 20.5px; font-weight: 700; }
.chev-body {
  margin-top: 16px;
  flex: 1;
  background: var(--porcelain);
  border: 1px solid var(--gold);
  border-top: 3.5px solid var(--gold);
  padding: 26px 24px;
  min-height: 235px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(72, 20, 12, 0.06);
}
.thesis-strip {
  margin-top: 20px;
  padding: 15px 24px;
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson));
  border: 1px solid var(--gold);
  border-left: 6px solid var(--gold-light);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-light);
  font-size: 14.8px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(72, 6, 10, 0.14);
}
.thesis-strip--light { background: var(--ivory-deep); border-left-color: var(--crimson); color: var(--crimson); }
.thesis-strip img { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================================
   SLIDE 10: ASYMMETRIC SIDEBAR + 3 CHANNELS
   ============================================================================ */
.asym-grid { display: grid; grid-template-columns: 315px 1fr; gap: 34px; height: 492px; }
.asym-sidebar {
  background: linear-gradient(160deg, var(--crimson-bright) 0%, var(--crimson-deep) 100%);
  border: 1.5px solid var(--gold);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(72, 6, 10, 0.22);
}
.asym-sidebar img { width: 40px; height: 40px; margin-bottom: 18px; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); }
.asym-sidebar h3 { font-family: var(--font-serif); font-size: 29px; line-height: 1.24; color: var(--gold-light); margin-bottom: 18px; }
.asym-sidebar__bar { width: 78px; height: 3px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); margin-bottom: 18px; }
.asym-sidebar p { font-size: 14.8px; line-height: 1.62; color: rgba(253, 248, 238, 0.92); }
.channel-list { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.channel-item {
  flex: 1;
  background: var(--porcelain);
  border: 1px solid var(--gold-line);
  border-left: 6px solid var(--crimson);
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  box-shadow: 0 8px 22px rgba(72, 20, 12, 0.06);
  transition: transform 0.3s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.3s ease;
}
.channel-item:hover {
  transform: translateX(6px);
  border-color: var(--gold);
  box-shadow: 0 14px 30px rgba(136, 13, 19, 0.12);
}
.channel-text h4 { font-family: var(--font-serif); font-size: 21px; color: var(--crimson); margin-bottom: 6px; }
.channel-text p { font-size: 15.2px; line-height: 1.52; color: var(--ink); }

/* ============================================================================
   SLIDE 11: CASE STUDY PRESS DOSSIER
   ============================================================================ */
.dossier-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 32px; height: 492px; }
.photo-card {
  background: var(--porcelain);
  border: 1px solid var(--gold);
  border-top: 5px solid var(--crimson);
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(72, 20, 12, 0.09);
}
.photo-card__img {
  position: relative;
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  cursor: zoom-in;
}
.photo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out-expo); }
.photo-card__img:hover img { transform: scale(1.04); }
.photo-card__cap { margin-top: 12px; text-align: center; font-size: 12.5px; font-style: italic; color: var(--muted); }
.dossier-right { display: flex; flex-direction: column; gap: 20px; }
.kl-box { background: #ffffff; border: 1px solid var(--gold); box-shadow: 0 10px 26px rgba(72, 20, 12, 0.07); }
.kl-box__hdr {
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright));
  color: var(--gold-light);
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
}
.kl-box__img { position: relative; padding: 14px 16px; cursor: zoom-in; }
.kl-box__img img { display: block; width: 100%; max-height: 146px; object-fit: contain; }
.police-callout {
  flex: 1;
  background: linear-gradient(145deg, var(--crimson-deep), #380205);
  border: 1.5px solid var(--gold);
  border-left: 7px solid var(--gold-light);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(52, 4, 7, 0.26);
}
.police-callout__hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(242, 204, 114, 0.42);
}
.police-callout__hdr img { width: 22px; height: 22px; }
.police-callout__hdr h4 { font-family: var(--font-serif); font-size: 20.5px; color: var(--gold-light); }
.police-callout p { font-size: 15.8px; line-height: 1.58; color: var(--ivory); }

/* ============================================================================
   SLIDE 12: SPLIT DIPTYCH DECISIONS
   ============================================================================ */
.diptych-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 8px; }
.decision-card {
  background: var(--porcelain);
  border: 1px solid var(--gold);
  box-shadow: 0 14px 32px rgba(72, 20, 12, 0.08);
  transition: transform 0.32s var(--ease-out-expo);
}
.decision-card:hover { transform: translateY(-4px); }
.decision-card__hdr {
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  padding: 22px 28px;
  border-bottom: 4px solid var(--gold);
}
.decision-card--legal .decision-card__hdr { background: linear-gradient(135deg, #5e060b, #360205); }
.decision-tag { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold-light); text-transform: uppercase; margin-bottom: 6px; }
.decision-date { font-family: var(--font-serif); font-size: 38px; font-weight: 700; color: #ffffff; }
.decision-body { padding: 28px 28px 34px; font-size: 17px; line-height: 1.62; color: var(--ink); min-height: 215px; }

/* ============================================================================
   SLIDE 13: DARK EXECUTIVE KPI + TTXVN PHOTO
   ============================================================================ */
.kpi-layout { display: grid; grid-template-columns: 495px 1fr; gap: 36px; height: 492px; align-items: stretch; }
.kpi-stack { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.kpi-box {
  flex: 1;
  background: rgba(46, 3, 6, 0.72);
  border: 1px solid rgba(242, 204, 114, 0.5);
  border-left: 7px solid var(--gold-light);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.kpi-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: rgba(250, 224, 140, 0.84); text-transform: uppercase; margin-bottom: 6px; }
.kpi-value { font-family: var(--font-serif); font-size: 42px; font-weight: 700; color: var(--gold-light); line-height: 1.12; margin-bottom: 10px; }
.kpi-label { font-size: 15px; line-height: 1.48; color: var(--ivory); }
.kpi-note {
  padding: 12px 18px;
  background: rgba(154, 18, 24, 0.78);
  border: 1px solid rgba(250, 224, 140, 0.58);
  color: var(--gold-light);
  font-size: 13px;
  font-style: italic;
  font-weight: 600;
}
.meeting-frame {
  background: rgba(42, 3, 5, 0.78);
  border: 1.5px solid var(--gold);
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48);
}
.meeting-frame__img { flex: 1; overflow: hidden; border: 1px solid rgba(242, 204, 114, 0.4); cursor: zoom-in; }
.meeting-frame__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out-expo); }
.meeting-frame__img:hover img { transform: scale(1.04); }
.meeting-frame__cap { margin-top: 12px; text-align: center; font-size: 12.5px; font-style: italic; color: rgba(244, 224, 182, 0.88); }

/* ============================================================================
   SLIDE 14: 3 EDITORIAL IMPACT COLUMNS WITH VECTOR ICONS
   ============================================================================ */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 22px; }
.impact-card {
  background: var(--porcelain);
  border: 1px solid var(--gold);
  border-top: 5px solid var(--crimson);
  padding: 28px 26px 32px;
  min-height: 396px;
  box-shadow: 0 14px 32px rgba(72, 20, 12, 0.08);
  transition: transform 0.32s var(--ease-out-expo), box-shadow 0.32s ease;
}
.impact-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(136, 13, 19, 0.14); }
.impact-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.impact-num { font-family: var(--font-serif); font-size: 44px; font-weight: 700; color: var(--gold); line-height: 1; }
.impact-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(136, 13, 19, 0.08);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.impact-head {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  color: var(--crimson);
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1.5px solid var(--gold-line);
}
.impact-body { font-size: 16px; line-height: 1.62; color: var(--ink); }

/* ============================================================================
   SLIDE 16: CLOSING HERO
   ============================================================================ */
.closing-grid {
  position: relative;
  z-index: 4;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 370px;
  align-items: center;
  padding: 64px 72px;
  gap: 40px;
}
.closing-question { font-family: var(--font-serif); font-size: 46px; font-weight: 700; line-height: 1.24; }
.closing-thanks { font-size: 22px; color: var(--ivory); margin-top: 8px; }
.closing-lotus { position: relative; display: flex; align-items: center; justify-content: center; }
.closing-lotus img { position: relative; z-index: 2; max-height: 465px; filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.5)); }

/* ============================================================================
   SLIDE 17: INTERACTIVE GAME QR CODE (cl.umt.media)
   ============================================================================ */
.qr-slide-grid {
  position: relative;
  z-index: 5;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 410px;
  align-items: center;
  padding: 68px 74px 44px;
  gap: 48px;
}
.qr-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.qr-title {
  font-family: var(--font-serif);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.16;
}
.qr-desc {
  font-size: 18px;
  line-height: 1.62;
  color: rgba(253, 248, 238, 0.94);
  max-width: 600px;
  margin-bottom: 28px;
}
.qr-desc strong {
  color: var(--gold-light);
}
.qr-url-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #fff1b8 0%, #dfa93c 52%, #ab7a1a 100%);
  color: var(--crimson-velvet);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.6px;
  border: 2px solid #fff6cf;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
}
.qr-url-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(250, 224, 140, 0.28), 0 10px 26px rgba(0, 0, 0, 0.45);
}
.qr-url-arrow {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  opacity: 0.85;
}
.qr-steps {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.qr-step {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  background: rgba(46, 3, 6, 0.72);
  border: 1px solid rgba(242, 204, 114, 0.45);
  color: var(--ivory);
  font-size: 13.5px;
  font-weight: 600;
}
.qr-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #fce596, #c69128);
  color: var(--crimson-velvet);
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 700;
}
.qr-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-pedestal {
  width: 392px;
  background: linear-gradient(180deg, rgba(64, 5, 9, 0.92), rgba(34, 2, 4, 0.96));
  border: 2px solid var(--gold-light);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.56), 0 0 0 6px rgba(212, 163, 55, 0.14);
  overflow: hidden;
  text-align: center;
}
.qr-pedestal__hdr {
  padding: 12px 18px;
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright), var(--crimson-deep));
  border-bottom: 2px solid var(--gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.qr-pedestal__mat {
  margin: 20px 24px 16px;
  padding: 12px;
  background: #ffffff;
  border: 2px solid var(--gold);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}
.qr-pedestal__mat img {
  display: block;
  width: 316px;
  height: 316px;
  margin: 0 auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.qr-pedestal__foot {
  padding: 0 18px 18px;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--gold-light);
}

/* ============================================================================
   SLIDES 17-19: SCHOLARLY BIBLIOGRAPHY
   ============================================================================ */
.ref-list { display: flex; flex-direction: column; gap: 12px; }
.ref-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--porcelain);
  border: 1px solid var(--gold-line);
  border-left: 5px solid var(--crimson);
  padding: 13px 20px;
  box-shadow: 0 5px 16px rgba(72, 20, 12, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ref-item:hover { border-color: var(--gold); transform: translateX(4px); }
.ref-code {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  background: linear-gradient(135deg, var(--crimson-bright), var(--crimson-deep));
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
}
.ref-main { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.ref-sub { font-size: 12.8px; color: var(--muted); }

/* ============================================================================
   PRESENTER HUD, TIMER, NOTES DRAWER, OVERVIEW & LIGHTBOX
   ============================================================================ */
#progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-antique), var(--gold-light));
  z-index: 90;
  transition: width 0.55s var(--ease-out-expo);
}

#hud {
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  padding: 12px 9px;
  background: rgba(24, 3, 5, 0.95);
  border: 1px solid rgba(212, 163, 55, 0.52);
  border-radius: 16px;
  z-index: 95;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}
#hud:hover, body.show-hud #hud { opacity: 1; transform: translateY(-50%) translateX(0); }
.hud-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.hud-btn {
  background: transparent;
  border: 1px solid rgba(212, 163, 55, 0.32);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.hud-btn:hover { background: var(--gold); color: var(--crimson-velvet); }
.hud-btn--gold {
  background: linear-gradient(135deg, rgba(212, 163, 55, 0.28), rgba(176, 128, 30, 0.42));
  border-color: var(--gold-light);
  color: #fff6d2;
  font-weight: 700;
}
.hud-btn--gold:hover { background: var(--gold-light); color: var(--crimson-velvet); }
#hud-counter { color: #fff; font-size: 12px; font-weight: 700; min-width: 48px; text-align: center; }

#notes-drawer {
  position: fixed;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: min(840px, 90vw);
  background: rgba(24, 3, 5, 0.95);
  border: 1px solid var(--gold);
  color: var(--ivory);
  padding: 18px 24px;
  z-index: 96;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
#notes-drawer.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
#notes-drawer h5 { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
#notes-text { font-size: 14px; line-height: 1.62; }

#overview {
  position: fixed;
  inset: 0;
  background: #140204;
  z-index: 98;
  padding: 36px 48px;
  overflow-y: auto;
  display: none;
}
#overview.open { display: block; }
.overview-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; color: var(--gold-light); }
.overview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.ov-card {
  background: rgba(74, 6, 10, 0.72);
  border: 1px solid rgba(212, 163, 55, 0.35);
  padding: 15px 17px;
  cursor: pointer;
  transition: transform 0.22s, border-color 0.22s, background 0.22s;
}
.ov-card.is-dark-ov { border-left: 4px solid var(--gold-light); }
.ov-card:hover, .ov-card.current { transform: translateY(-3px); border-color: var(--gold-light); background: rgba(145, 16, 22, 0.88); }
.ov-num { font-family: var(--font-serif); font-size: 13px; color: var(--gold-light); font-weight: 700; margin-bottom: 4px; }
.ov-title { font-size: 13.5px; color: #ffffff; line-height: 1.42; }

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 2, 3, 0.95);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  background: #fff;
  padding: 10px;
  border: 2px solid var(--gold);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.85);
}

/* ============================================================================
   KHO TƯ LIỆU & BẰNG CHỨNG MODAL (VAULT)
   ============================================================================ */
#vault-modal {
  position: fixed;
  inset: 0;
  background: #160204;
  z-index: 99;
  display: none;
  flex-direction: column;
}
#vault-modal.open {
  display: flex;
}
.vault-topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #4b0408 0%, #860d13 50%, #4b0408 100%);
  border-bottom: 2.5px solid var(--gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.vault-topbar__title {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
}
.vault-topbar__title img { width: 22px; height: 22px; }
.vault-topbar__actions { display: flex; align-items: center; gap: 10px; }

.vault-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 28px 20px 54px;
}
#vault-sheet {
  max-width: 960px;
  margin: 0 auto;
  background: #fffdf8;
  color: var(--ink);
  border: 1.5px solid var(--gold);
  border-top: 6px solid var(--crimson);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
  padding: 36px 44px 40px;
  user-select: text;
  contain: layout style;
}
.vs-header {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 2px solid var(--gold);
}
.vs-kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--gold-dark);
  margin-bottom: 8px;
}
.vs-title {
  font-family: var(--font-serif);
  font-size: 29px;
  color: var(--crimson);
  margin-bottom: 10px;
}
.vs-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.vs-section { margin-bottom: 26px; }
.vs-sec-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--gold-light);
  background: linear-gradient(90deg, var(--crimson-deep), var(--crimson-bright));
  padding: 9px 16px;
  border-left: 5px solid var(--gold);
  margin-bottom: 14px;
}
.vs-card {
  background: #faf5ea;
  border: 1px solid rgba(196, 152, 62, 0.55);
  border-left: 4px solid var(--crimson);
  padding: 15px 18px;
  margin-bottom: 13px;
}
.vs-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.vs-card-head h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--crimson);
}
.vs-badge {
  display: inline-block;
  background: var(--crimson);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.vs-meta {
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--ink);
  margin-bottom: 9px;
}
.vs-quote {
  background: #ffffff;
  border: 1px solid rgba(212, 163, 55, 0.5);
  border-left: 3.5px solid var(--gold);
  padding: 10px 14px;
  margin: 8px 0 10px;
  font-family: var(--font-serif);
  font-size: 13.5px;
  line-height: 1.58;
  color: #241a16;
}
.vs-bullets {
  margin: 6px 0 10px 18px;
  font-size: 13.5px;
  line-height: 1.62;
}
.vs-bullets li { margin-bottom: 4px; }
.vs-bullets code {
  background: rgba(136, 13, 19, 0.09);
  color: var(--crimson);
  padding: 1px 6px;
  border-radius: 3px;
  font-weight: 700;
  font-family: var(--font-sans);
}
.vs-img-grid {
  display: grid;
  gap: 12px;
  margin: 10px 0 12px;
}
.vs-img-grid--1 { grid-template-columns: 1fr; }
.vs-img-grid--2 { grid-template-columns: 1fr 1fr; }
.vs-fig {
  background: #ffffff;
  border: 1px solid rgba(196, 152, 62, 0.55);
  padding: 8px;
  text-align: center;
  cursor: zoom-in;
}
.vs-fig img {
  max-width: 100%;
  max-height: 290px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}
.vs-fig figcaption {
  font-size: 11.8px;
  color: var(--muted);
  font-style: italic;
}
.vs-links {
  list-style: none;
  margin-top: 6px;
  font-size: 12.6px;
  line-height: 1.65;
}
.vs-links li { word-break: break-all; }
.vs-links a {
  color: var(--crimson);
  text-decoration: underline;
  font-weight: 600;
}
.vs-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1.5px solid var(--gold-line);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================================
   PRINT / EXPORT ALL 16 SLIDES (16:9) OR KHO TƯ LIỆU (A4 PORTRAIT) TO PDF
   ============================================================================ */
@page {
  size: 1280px 720px;
  margin: 0;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    animation: none !important;
    transition: none !important;
  }

  html, body {
    width: 1280px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #1a0204 !important;
  }

  #viewport {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 1280px !important;
    height: auto !important;
    overflow: visible !important;
    background: none !important;
  }

  #deck {
    display: block !important;
    width: 1280px !important;
    min-width: 1280px !important;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  #hud,
  #progress-bar,
  #notes-drawer,
  #overview,
  #lightbox,
  #curtain-overlay,
  #lac-flight,
  #gold-dust,
  #vault-modal {
    display: none !important;
  }

  .slide {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    visibility: visible !important;
    width: 1280px !important;
    height: 720px !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    overflow: hidden !important;
    page-break-after: always !important;
    break-after: page !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .slide:last-of-type {
    page-break-after: auto !important;
    break-after: auto !important;
  }

  /* Ensure every animated element is 100% visible on every printed slide */
  .anim-up,
  .anim-left,
  .anim-right,
  .anim-zoom {
    opacity: 1 !important;
    transform: none !important;
  }
  .anim-draw {
    transform: scaleX(1) !important;
  }

  /* Guarantee crisp gold titles on dark slides across all PDF viewers */
  .slide--dark .slide-title,
  .text-gold-grad {
    color: #f6d97e !important;
    -webkit-text-fill-color: #f6d97e !important;
    background: none !important;
  }

  /* === MODE 2: PRINT ONLY KHO TƯ LIỆU & BẰNG CHỨNG (A4 PORTRAIT) === */
  html.print-vault,
  body.print-vault {
    width: auto !important;
    background: #ffffff !important;
  }
  body.print-vault #viewport {
    display: none !important;
  }
  body.print-vault #vault-modal {
    display: block !important;
    position: static !important;
    inset: auto !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
  }
  body.print-vault .vault-topbar {
    display: none !important;
  }
  body.print-vault .vault-scroll {
    overflow: visible !important;
    padding: 0 !important;
  }
  body.print-vault #vault-sheet {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }
  body.print-vault .vs-card {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  body.print-vault .vs-sec-title {
    break-after: avoid !important;
    page-break-after: avoid !important;
  }
  body.print-vault .vs-fig img {
    max-height: 230px !important;
  }
}
