/* =========================================================
   Bhagavad Gita 7.11-20 · Custom Reveal.js Theme
   Vedic aesthetic: saffron / gold / deep indigo / cream
   ========================================================= */

:root {
  --gold:        #ffd85c;
  --gold-soft:   #f5c76e;
  --saffron:     #ff8c1a;
  --deep-indigo: #12083a;
  --royal-blue:  #1a1046;
  --cream:       #fff8e7;
  --parchment:   #f4e3c1;
  --rich-red:    #b3161c;
  --forest:      #1e5b3f;
  --lotus-pink:  #ffb0c8;
}

/* ---------- Global ---------- */
.reveal {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-size: 40px;
  color: var(--cream);
  letter-spacing: 0.01em;
}

.reveal .slides section {
  text-align: left;
  padding: 40px 55px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 900px;
  box-sizing: border-box;
}

/* Custom scrollbar for slides that overflow */
.reveal .slides section::-webkit-scrollbar {
  width: 10px;
}
.reveal .slides section::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.3);
  border-radius: 5px;
}
.reveal .slides section::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--saffron));
  border-radius: 5px;
  border: 2px solid rgba(0,0,0,0.3);
}
.reveal .slides section::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--saffron), var(--gold));
}

/* Firefox scrollbar */
.reveal .slides section {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(0,0,0,0.3);
}

/* Title and closing slide should not scroll — they're visual moments */
.reveal .slides section.title-slide,
.reveal .slides section.closing-mantra-slide {
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reveal h1, .reveal h2, .reveal h3, .reveal h4 {
  font-family: 'Cinzel', 'Georgia', serif;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.reveal a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold-soft);
  transition: color 0.2s;
}
.reveal a:hover { color: var(--saffron); }

.reveal p, .reveal li { line-height: 1.5; }

/* ---------- Slide Number & Controls ---------- */
.reveal .slide-number {
  background-color: rgba(0,0,0,0.6);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 22px;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid var(--gold-soft);
}
.reveal .controls { color: var(--gold); }
.reveal .progress { color: var(--saffron); height: 6px; }

/* ==========================================================
   SLIDE 1: TITLE
   ========================================================== */
.title-slide {
  text-align: center !important;
  padding: 40px !important;
}

.title-slide .om-symbol {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 140px;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(255,216,92,0.6), 0 0 80px rgba(255,140,26,0.3);
  margin-bottom: 10px;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 30px rgba(255,216,92,0.5), 0 0 60px rgba(255,140,26,0.3); }
  to   { text-shadow: 0 0 50px rgba(255,216,92,0.9), 0 0 100px rgba(255,140,26,0.5); }
}

.title-slide .main-title {
  font-size: 96px;
  margin: 10px 0 5px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.title-slide .chapter-title {
  font-size: 44px;
  color: var(--cream);
  margin: 0 0 20px;
  font-weight: 500;
}

.title-slide .divider {
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 25px auto;
}

.title-slide .subtitle {
  font-family: 'Noto Serif Devanagari', 'Georgia', serif;
  font-size: 38px;
  color: var(--saffron);
  font-style: italic;
  margin: 15px 0 20px;
}

.title-slide .tagline {
  font-size: 26px;
  color: var(--parchment);
  margin: 10px 0 40px;
  font-weight: 300;
}

.title-slide .seminar-tag {
  font-size: 20px;
  color: var(--gold-soft);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 30px;
  opacity: 0.8;
}

/* ==========================================================
   CONTENT & VERSE SLIDES
   ========================================================== */
.slide-title, .verse-title {
  font-size: 50px;
  border-bottom: 3px solid var(--gold-soft);
  padding-bottom: 14px;
  margin-bottom: 28px;
}

.verse-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  border-bottom: 3px solid var(--gold-soft);
  padding-bottom: 14px;
}
.verse-header .verse-title {
  border: none;
  padding: 0;
  margin: 0;
  flex: 1;
  font-size: 42px;
}

.verse-num {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--deep-indigo);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 34px;
  padding: 10px 22px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255,140,26,0.4);
  display: inline-block;
  white-space: nowrap;
}

.verse-num.inline {
  font-size: 26px;
  padding: 5px 14px;
  margin-bottom: 10px;
}
.verse-num.inline.gold  { background: linear-gradient(135deg, #ffd85c, #ff8c1a); }
.verse-num.inline.red   { background: linear-gradient(135deg, #d0353c, #8b1015); color: white;}

/* ---------- Sanskrit / Transliteration / Translation ---------- */
.sanskrit {
  font-family: 'Noto Serif Devanagari', 'Sanskrit Text', serif;
  font-size: 42px;
  color: var(--gold);
  text-align: center;
  line-height: 1.7;
  margin: 18px 0 12px;
  padding: 18px 24px;
  background: rgba(0,0,0,0.35);
  border-left: 4px solid var(--gold);
  border-right: 4px solid var(--gold);
  border-radius: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.sanskrit.small { font-size: 34px; padding: 12px 18px; }
.sanskrit.tiny  { font-size: 28px; padding: 10px 14px; margin: 6px 0; line-height: 1.55; }

.transliteration {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 30px;
  color: var(--parchment);
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.5;
}
.transliteration.tiny { font-size: 22px; margin-bottom: 10px; }

.translation {
  font-size: 30px;
  color: var(--cream);
  text-align: center;
  font-style: italic;
  padding: 15px 24px;
  background: rgba(255, 216, 92, 0.08);
  border-radius: 6px;
  margin: 12px 0 22px;
  line-height: 1.5;
  border-top: 1px solid rgba(255,216,92,0.3);
  border-bottom: 1px solid rgba(255,216,92,0.3);
}
.translation.small { font-size: 26px; padding: 12px 18px; margin: 10px 0 14px; }
.translation.tiny  { font-size: 22px; padding: 8px 14px; margin: 6px 0; line-height: 1.45; }

/* ---------- Layout Helpers ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 15px 0;
}
.two-col.tight { gap: 15px; }
.two-col .col { padding: 10px 5px; }

.highlight { color: var(--gold); font-size: 34px; margin-bottom: 12px; }

.pretty-list { list-style: none; padding-left: 0; }
.pretty-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  font-size: 26px;
  line-height: 1.5;
  color: var(--cream);
}
.pretty-list li::before {
  content: "❋";
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 22px;
}
.pretty-list.numbered { counter-reset: mylist; }
.pretty-list.numbered li::before {
  counter-increment: mylist;
  content: counter(mylist);
  background: var(--gold);
  color: var(--deep-indigo);
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  font-size: 18px;
  text-align: center;
  font-weight: 700;
  top: 8px;
}
.pretty-list.small li { font-size: 22px; padding: 6px 0 6px 28px; }
.pretty-list.small li::before { font-size: 18px; }

/* ---------- Quotes & Boxes ---------- */
.pull-quote {
  text-align: center;
  font-style: italic;
  font-size: 30px;
  color: var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  padding: 18px 34px;
  margin: 18px auto;
  max-width: 90%;
  background: rgba(0,0,0,0.25);
  border-radius: 4px;
  line-height: 1.5;
}
.pull-quote.small { font-size: 24px; padding: 12px 22px; }

.analogy-box {
  background: linear-gradient(135deg, rgba(255,140,26,0.15), rgba(255,216,92,0.08));
  border-left: 5px solid var(--saffron);
  padding: 18px 24px;
  border-radius: 6px;
  font-size: 25px;
  color: var(--cream);
  line-height: 1.5;
  margin-top: 18px;
}
.analogy-box.gold-border {
  border: 2px solid var(--gold);
  border-left: 6px solid var(--gold);
}
.analogy-box.compact { font-size: 22px; padding: 14px 18px; margin-top: 12px; }

.key-verse {
  background: linear-gradient(135deg, rgba(26,16,70,0.85), rgba(58,26,92,0.7));
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 22px 28px;
  margin: 18px 0;
  box-shadow: 0 4px 20px rgba(255,216,92,0.2);
}
.key-verse.gold { border-color: var(--gold); background: linear-gradient(135deg, rgba(255,140,26,0.15), rgba(0,0,0,0.5)); }
.key-verse-title {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: 600;
}
.key-verse-body { font-size: 25px; color: var(--cream); line-height: 1.55; }

.takeaway {
  font-size: 25px;
  color: var(--cream);
  padding: 16px 20px;
  background: rgba(30,91,63,0.25);
  border-left: 5px solid var(--forest);
  border-radius: 4px;
  line-height: 1.5;
}
.takeaway.small { font-size: 22px; text-align: center; margin-top: 22px; }

.quote-badge {
  margin-top: 14px;
  padding: 12px 18px;
  background: rgba(179,22,28,0.15);
  border-left: 3px solid var(--rich-red);
  color: var(--parchment);
  font-size: 22px;
  font-style: italic;
  border-radius: 4px;
}

.video-ref {
  margin-top: 18px;
  padding: 14px 20px;
  background: rgba(255,0,0,0.1);
  border-left: 3px solid #ff4444;
  border-radius: 4px;
  font-size: 22px;
  color: var(--cream);
}
.video-ref.center { text-align: center; border-left: none; border-top: 2px solid var(--gold-soft); border-bottom: 2px solid var(--gold-soft); background: transparent; }
.video-ref a { font-weight: 500; }

/* ==========================================================
   THREE GUNAS VISUAL (Slide 4)
   ========================================================== */
.gunas-visual {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}
.guna {
  text-align: center;
  padding: 18px 12px;
  border-radius: 10px;
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.guna-sattva { background: linear-gradient(135deg, #f4e3c1, #d4b884); color: #3a1a05; }
.guna-rajas  { background: linear-gradient(135deg, #ff8c1a, #b3161c); color: white; }
.guna-tamas  { background: linear-gradient(135deg, #2c2c3d, #0a0a1a); color: white; border: 1px solid #444; }
.guna-name { font-family: 'Cinzel', serif; font-size: 34px; font-weight: 700; margin-bottom: 6px; }
.guna-desc { font-size: 20px; opacity: 0.9; line-height: 1.4; }

/* ==========================================================
   FOUR TYPES CARDS (Slides 7 & 8)
   ========================================================== */
.four-types {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 12px;
  margin: 15px 0;
}
.type-card {
  padding: 18px 14px;
  border-radius: 10px;
  color: var(--cream);
  position: relative;
  min-height: 250px;
}
.type-card.negative {
  background: linear-gradient(160deg, rgba(74,14,14,0.85), rgba(26,5,5,0.9));
  border: 1px solid rgba(179,22,28,0.5);
}
.type-card.pious {
  background: linear-gradient(160deg, rgba(14,58,47,0.9), rgba(5,26,21,0.9));
  border: 1px solid rgba(255,216,92,0.5);
}
.type-num {
  position: absolute;
  top: -16px;
  left: 14px;
  background: var(--rich-red);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.type-icon {
  font-size: 52px;
  text-align: center;
  margin-bottom: 8px;
}
.type-name {
  font-family: 'Cinzel', serif;
  font-size: 30px;
  color: var(--gold);
  text-align: center;
  font-weight: 700;
  margin-bottom: 4px;
}
.type-sub {
  font-size: 20px;
  color: var(--gold-soft);
  text-align: center;
  font-style: italic;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(255,216,92,0.3);
  padding-bottom: 8px;
}
.type-desc, .type-example {
  font-size: 20px;
  line-height: 1.45;
  color: var(--cream);
}
.type-example strong { color: var(--gold); }

/* ==========================================================
   SLIDE 10: CONCLUSION
   ========================================================== */
.highlighted-box {
  background: linear-gradient(135deg, rgba(255,216,92,0.12), rgba(255,140,26,0.05));
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 12px 15px;
}
.shadowed-box {
  background: linear-gradient(135deg, rgba(74,14,14,0.5), rgba(26,5,5,0.3));
  border: 1px solid rgba(179,22,28,0.5);
  border-radius: 8px;
  padding: 12px 15px;
}
.mini-insight {
  font-size: 21px;
  color: var(--cream);
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  line-height: 1.5;
}

.conclusion-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1.5fr;
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
  background: rgba(0,0,0,0.4);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  border-radius: 4px;
}
.conclusion-item { text-align: center; padding: 6px 8px; }
.conclusion-num {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}
.conclusion-text { font-size: 18px; color: var(--cream); line-height: 1.4; }

.closing-verse {
  text-align: center;
  margin-top: 15px;
}
.om-symbol-small {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 50px;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,216,92,0.7);
}
.closing-verse p {
  font-size: 20px;
  color: var(--gold-soft);
  font-style: italic;
  margin: 8px 0;
}
.hare-krishna {
  font-family: 'Noto Serif Devanagari', 'Georgia', serif;
  color: var(--gold) !important;
  font-size: 17px !important;
  font-style: normal !important;
  letter-spacing: 0.05em;
  line-height: 1.7 !important;
  padding: 10px;
  background: rgba(255,216,92,0.05);
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  margin-top: 10px !important;
}

/* ==========================================================
   VERSE + IMAGE LAYOUT
   ========================================================== */
.verse-with-image {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 15px;
}
.verse-text-col { min-width: 0; }
.verse-image-col { text-align: center; }
.verse-image {
  max-width: 100%;
  max-height: 260px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.7), 0 0 0 2px var(--gold-soft);
  object-fit: cover;
}
.image-caption {
  font-size: 20px;
  color: var(--gold-soft);
  margin-top: 10px;
  line-height: 1.45;
  font-style: italic;
}
.image-caption em { color: var(--parchment); }

.gunas-visual.compact .guna { padding: 14px 10px; }
.gunas-visual.compact .guna-name { font-size: 28px; }
.gunas-visual.compact .guna-desc { font-size: 18px; }

/* ==========================================================
   VIDEO EMBED THUMBNAILS
   ========================================================== */
.video-embed-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 15px;
}
.video-embed-row.compact { margin-top: 10px; gap: 15px; }

.video-thumb {
  text-align: center;
  position: relative;
}
.video-thumb a {
  display: block;
  position: relative;
  border: 2px solid var(--gold-soft);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
  transition: transform 0.2s, box-shadow 0.2s;
  border-bottom: 2px solid var(--gold-soft);
}
.video-thumb a:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(255,140,26,0.5);
}
.video-thumb img {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  display: block;
}
.video-thumb.small img { max-height: 130px; }
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 42px;
  color: white;
  background: rgba(179,22,28,0.9);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  pointer-events: none;
}
.video-caption {
  font-size: 20px;
  color: var(--cream);
  margin-top: 8px;
  line-height: 1.4;
}
.video-caption em { color: var(--gold-soft); }

/* ==========================================================
   VIDEO REFERENCE BLOCK (side-by-side thumb + points)
   ========================================================== */
.video-reference-block {
  display: grid;
  grid-template-columns: 0.75fr 1.4fr;
  gap: 20px;
  align-items: center;
  margin-top: 15px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(179,22,28,0.15));
  border: 1px solid var(--gold-soft);
  border-radius: 8px;
}
.video-ref-thumb { text-align: center; }
.video-ref-thumb a {
  display: block;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.6);
  transition: transform 0.2s;
}
.video-ref-thumb a:hover { transform: scale(1.03); }
.video-ref-thumb img { width: 100%; display: block; }
.video-ref-thumb .video-caption {
  font-size: 13px;
  color: var(--cream);
  margin-top: 6px;
  line-height: 1.35;
}
.video-ref-points {
  padding: 4px 8px;
}
.ref-heading {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 28px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--gold-soft);
  padding-bottom: 6px;
}
.ref-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.ref-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: 21px;
  line-height: 1.45;
  color: var(--cream);
}
.ref-list li::before {
  content: "▸";
  color: var(--saffron);
  position: absolute;
  left: 0;
  top: 7px;
  font-size: 18px;
}
.ref-list strong { color: var(--gold); }

/* ==========================================================
   VIDEO DEEP-DIVE SLIDE (dedicated slide for one video)
   ========================================================== */
.video-deep-dive {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 30px;
  align-items: start;
  margin-top: 15px;
}
.video-deep-left { text-align: center; padding-top: 10px; }
.video-ref-thumb.large a {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.7), 0 0 0 3px var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-ref-thumb.large a:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(255,140,26,0.6), 0 0 0 3px var(--saffron);
}
.video-ref-thumb.large img { width: 100%; display: block; }
.video-ref-thumb.large .play-overlay {
  width: 80px;
  height: 80px;
  font-size: 52px;
}
.video-caption.large {
  margin-top: 16px;
  font-size: 22px;
  color: var(--cream);
  line-height: 1.55;
  padding: 14px;
  background: rgba(0,0,0,0.4);
  border-radius: 6px;
  border-left: 3px solid var(--gold);
}
.video-caption.large strong { color: var(--gold); }
.video-caption.large em { color: var(--gold-soft); }
.video-caption.large a { color: var(--gold-soft); }

.video-deep-right { padding: 4px 0; }
.video-close-quote {
  margin-top: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255,216,92,0.15), rgba(255,140,26,0.08));
  border: 1px solid var(--gold);
  border-radius: 6px;
  color: var(--cream);
  font-size: 22px;
  text-align: center;
  line-height: 1.5;
}
.video-close-quote em { color: var(--gold); font-family: 'Cinzel', serif; font-size: 24px; }

/* ==========================================================
   CONTRAST STRIP (Verse 7.15)
   ========================================================== */
.contrast-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 15px;
  align-items: center;
  margin-top: 15px;
  padding: 10px;
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  border-radius: 4px;
}
.contrast-side { text-align: center; }
.contrast-side img {
  max-height: 140px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  border: 2px solid transparent;
}
.contrast-side.losing img  { border-color: rgba(179,22,28,0.6); filter: grayscale(0.3) brightness(0.85); }
.contrast-side.winning img { border-color: var(--gold); }
.contrast-label {
  font-size: 19px;
  color: var(--cream);
  margin-top: 8px;
  line-height: 1.4;
  font-style: italic;
}
.contrast-arrow {
  font-size: 56px;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255,216,92,0.6);
}

/* ==========================================================
   FOUR TYPES WITH IMAGES (Verse 7.16)
   ========================================================== */
.four-types.with-images .type-card {
  min-height: 260px;
  padding: 10px 10px 12px;
}
.type-image-wrap {
  width: 100%;
  height: 110px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 8px;
  border: 1px solid var(--gold-soft);
  box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}
.type-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================
   CLOSING SLIDE WITH VIDEOS
   ========================================================== */
.closing-with-video {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}
.closing-left { text-align: center; }
.closing-line {
  font-family: 'Noto Serif Devanagari', 'Georgia', serif;
  font-size: 22px;
  color: var(--gold);
  margin: 8px 0;
  line-height: 1.5;
}
.closing-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.next-hint {
  text-align: center;
  margin-top: 16px;
  font-size: 22px;
  color: var(--gold-soft);
  padding: 10px;
  border-top: 1px dashed var(--gold-soft);
}

/* ==========================================================
   VISVARUPA DEEP-DIVE SLIDE
   ========================================================== */
.vishvarupa-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 30px;
  align-items: start;
  margin-top: 10px;
}
.vishvarupa-image {
  text-align: center;
}
.vishvarupa-image img {
  max-height: 620px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(179,22,28,0.5), 0 0 0 3px var(--gold);
  animation: subtleGlow 4s ease-in-out infinite alternate;
}
@keyframes subtleGlow {
  from { box-shadow: 0 8px 40px rgba(179,22,28,0.4), 0 0 0 3px var(--gold-soft); }
  to   { box-shadow: 0 8px 60px rgba(255,140,26,0.7), 0 0 0 3px var(--gold); }
}
.vishvarupa-image .image-caption {
  margin-top: 10px;
  font-size: 14px;
}

.vishvarupa-text { padding: 4px 0; }
.vish-intro {
  font-size: 24px;
  color: var(--cream);
  padding: 14px 18px;
  background: rgba(255,216,92,0.08);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  line-height: 1.5;
  margin-bottom: 14px;
}
.vish-heading {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 28px;
  margin: 14px 0 8px;
  border-bottom: 1px dashed var(--gold-soft);
  padding-bottom: 4px;
}
.vish-list { list-style: none; padding-left: 0; margin-bottom: 14px; }
.vish-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 22px;
  line-height: 1.5;
  color: var(--cream);
}
.vish-list li::before {
  content: "◆";
  color: var(--saffron);
  position: absolute;
  left: 0;
  top: 7px;
  font-size: 16px;
}
.vish-list strong { color: var(--gold); }

.vish-punchline {
  background: linear-gradient(135deg, rgba(179,22,28,0.2), rgba(255,140,26,0.1));
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 22px;
  color: var(--cream);
  line-height: 1.55;
}
.vish-quote {
  display: inline-block;
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-size: 26px;
  font-style: italic;
  font-weight: 600;
}
.vish-cite {
  color: var(--gold-soft);
  font-size: 20px;
  font-style: italic;
  margin-left: 4px;
}

/* ==========================================================
   INSIGHT PANELS (Verse 7.15 restructure)
   ========================================================== */
.insight-panel {
  background: rgba(0,0,0,0.35);
  border-left: 3px solid var(--gold-soft);
  padding: 14px 18px;
  border-radius: 6px;
}
.insight-panel h4 { margin-top: 0; margin-bottom: 10px; font-size: 30px; }

/* ==========================================================
   PRABHUPADA VIDEO THUMB (special border)
   ========================================================== */
.video-ref-thumb.large.prabhupada a {
  box-shadow: 0 8px 30px rgba(255,140,26,0.5), 0 0 0 3px var(--gold);
  animation: prabhupadaGlow 3s ease-in-out infinite alternate;
}
@keyframes prabhupadaGlow {
  from { box-shadow: 0 8px 30px rgba(255,140,26,0.4), 0 0 0 3px var(--gold-soft); }
  to   { box-shadow: 0 10px 50px rgba(255,216,92,0.7), 0 0 0 3px var(--gold); }
}

/* ==========================================================
   CLOSING MANTRA SLIDE (final slide)
   ========================================================== */
.closing-mantra-slide {
  text-align: center !important;
  padding: 40px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.closing-mantra-content {
  max-width: 900px;
  margin: 0 auto;
}
.closing-om {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 180px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow:
    0 0 40px rgba(255,216,92,0.7),
    0 0 80px rgba(255,140,26,0.4),
    0 0 120px rgba(255,140,26,0.2);
  animation: omPulse 4s ease-in-out infinite alternate;
}
@keyframes omPulse {
  from { text-shadow: 0 0 30px rgba(255,216,92,0.5), 0 0 60px rgba(255,140,26,0.3); transform: scale(1); }
  to   { text-shadow: 0 0 60px rgba(255,216,92,1),   0 0 120px rgba(255,140,26,0.6); transform: scale(1.03); }
}
.closing-sanskrit {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 68px;
  color: var(--gold);
  margin: 10px 0 6px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
  font-weight: 600;
}
.closing-translit {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 30px;
  color: var(--saffron);
  font-style: italic;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.closing-english {
  font-size: 28px;
  color: var(--cream);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 30px;
}
.closing-divider {
  width: 250px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 30px auto;
}
.mahamantra {
  font-family: 'Noto Serif Devanagari', 'Georgia', serif;
  font-size: 26px;
  color: var(--gold);
  line-height: 1.9;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(255,216,92,0.1), rgba(255,140,26,0.05));
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  border-radius: 8px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 30px rgba(255,216,92,0.15);
}
.closing-namaste {
  margin-top: 35px;
  font-family: 'Cinzel', serif;
  font-size: 32px;
  color: var(--gold-soft);
  letter-spacing: 0.3em;
}

/* ==========================================================
   RESPONSIVE / PRINT
   ========================================================== */
@media print {
  .reveal .slides section {
    page-break-after: always;
  }
}
