:root {
  --primary-blue: #0273a5;
  --primary-blue-light: #0098dc;
  --primary-blue-glow: rgba(2, 115, 165, 0.45);
  --primary-amber: #f7a220;
  --primary-amber-glow: rgba(247, 162, 32, 0.35);
  --primary-emerald: #10b981;
  --primary-purple: #8b5cf6;
  
  --bg-deep: #07090e;
  --bg-surface: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(255, 255, 255, 0.18);
  --border-glass-accent: rgba(0, 152, 220, 0.35);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-main);
  user-select: none;
}

/* Glowing ambient orbs */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.32;
  animation: orbFloat 20s ease-in-out infinite alternate;
}

.orb-blue {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
  top: -120px;
  right: -80px;
}

.orb-cyan {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--primary-blue-light) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  animation-delay: -7s;
}

.orb-amber {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--primary-amber) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation-delay: -14s;
  opacity: 0.18;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 35px) scale(1.12); }
  100% { transform: translate(-45px, -25px) scale(0.92); }
}

/* Master presentation container */
.presentation-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Presentation Header */
.presentation-header {
  height: 64px;
  padding: 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.85) 0%, rgba(7, 9, 14, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0.3rem 0.85rem;
  background: rgba(15, 23, 42, 0.75);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-header-img {
  height: 28px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

.brand-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue-light);
  background: rgba(2, 115, 165, 0.15);
  border: 1px solid rgba(0, 152, 220, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-emerald);
  box-shadow: 0 0 10px var(--primary-emerald);
  animation: pulseDot 2s infinite;
}

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

.header-status {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-cell-counter {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(2, 115, 165, 0.15);
  border: 1px solid rgba(0, 152, 220, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-quick-nav {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass-bright);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-quick-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.auto-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
}

.pulse-ring {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--primary-blue-light);
  border-radius: 50%;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-blue-light);
  animation: pulseRing 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Master Slide Stage */
.slide-stage {
  position: relative;
  width: 100%;
  height: calc(100vh - 148px);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  --stage-zoom: 1;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 0.6rem 4rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.7s;
  pointer-events: none;
}

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

.slide > .cell-slide-container,
.slide > .intro-slide-container {
  transform: scale(var(--stage-zoom, 1));
  transform-origin: center top;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==============================================
   SLIDE 0: ABERTURA - GERAÇÃO EM CRISTO & MULTIPLICAÇÃO
============================================== */
.intro-slide-container {
  position: relative;
  width: 100%;
  max-width: 1150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  margin-top: 0.2rem;
  z-index: 10;
}

.intro-glow-backdrop {
  position: absolute;
  width: 1050px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 152, 220, 0.35) 0%, rgba(247, 162, 32, 0.22) 45%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  animation: introGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes introGlowPulse {
  0% { transform: scale(0.92); opacity: 0.65; }
  100% { transform: scale(1.1); opacity: 0.95; }
}

.intro-logo-card {
  position: relative;
  width: 900px;
  max-width: 92vw;
  padding: 1.5rem 2.5rem;
  border-radius: 32px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.7), 0 0 85px rgba(2, 115, 165, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.intro-logo-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.8), 0 0 100px rgba(0, 152, 220, 0.65);
  border-color: rgba(56, 189, 248, 0.35);
}

.intro-logo-img {
  width: 900px;
  max-width: 100%;
  height: auto;
  max-height: 290px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 35px rgba(2, 115, 165, 0.5));
}

.intro-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #38bdf8;
  background: rgba(2, 115, 165, 0.2);
  border: 1px solid rgba(0, 152, 220, 0.35);
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.intro-title {
  font-family: var(--font-display);
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 4px 30px rgba(247, 162, 32, 0.35));
}

.gradient-text-gold {
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 25%, #f59e0b 60%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-motto {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 820px;
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 1.4rem;
}

.intro-ref {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f7a220;
  margin-top: 0.4rem;
  font-style: normal;
  letter-spacing: 0.5px;
}

.intro-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.intro-stat-chip {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-glass-bright);
  border-radius: 9999px;
  padding: 0.65rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: #f1f5f9;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.intro-stat-chip:hover {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(247, 162, 32, 0.4);
  transform: translateY(-2px);
}

.intro-stat-chip i {
  color: var(--primary-amber);
  font-size: 1.15rem;
}

/* Slide Content Layout: Photo Left, Info Center-Left */
.cell-slide-container {
  width: 100%;
  max-width: 1380px;
  height: auto;
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 3.5rem;
  align-items: flex-start;
  margin-top: 0.25rem;
}

/* LEFT COLUMN: Leader Photo Card */
.cell-stage-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: auto;
}

.leader-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 520px;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(145deg, rgba(2, 115, 165, 0.4), rgba(255, 255, 255, 0.05) 50%, rgba(0, 152, 220, 0.3));
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(2, 115, 165, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.leader-photo-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.75), 0 0 45px rgba(0, 152, 220, 0.35);
}

.leader-photo-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #0f172a;
}

.leader-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.8s ease;
}

.slide.active .leader-photo-img {
  transform: scale(1.03);
}

/* Fallback avatar box for Júlio Gressy or missing images */
.leader-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  color: #fff;
  gap: 1rem;
}

.fallback-initials-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 152, 220, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Floating Badges on Photo */
.photo-top-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.photo-overlay-glass {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.25rem;
  background: linear-gradient(0deg, rgba(7, 9, 14, 0.95) 0%, rgba(7, 9, 14, 0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.photo-overlay-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.photo-overlay-role {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* CENTER COLUMN: Leader name, Hosts & Members */
.cell-stage-center {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  max-width: 820px;
}

/* Kicker tag */
.cell-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary-blue-light);
  background: rgba(2, 115, 165, 0.12);
  border: 1px solid rgba(0, 152, 220, 0.25);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 0.65rem;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

/* Leader Name */
.leader-header-group {
  margin-bottom: 0.9rem;
}

.leader-label-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.25rem;
}

.leader-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 0.25rem;
}

.leader-title .accent-name {
  background: linear-gradient(135deg, #38bdf8 0%, #0098dc 50%, #f7a220 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hosts Card (Anfitriões) */
.host-card {
  width: 100%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-glass-bright);
  border-left: 4px solid var(--primary-amber);
  border-radius: 16px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.host-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(247, 162, 32, 0.15);
  border: 1px solid rgba(247, 162, 32, 0.35);
  color: var(--primary-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.host-details {
  display: flex;
  flex-direction: column;
}

.host-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary-amber);
  margin-bottom: 0.15rem;
}

.host-names {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f8fafc;
}

/* Members Section */
.members-section {
  width: 100%;
}

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

.members-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #cbd5e1;
}

.members-title i {
  color: var(--primary-blue-light);
  font-size: 1.1rem;
}

.members-count-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(2, 115, 165, 0.2);
  border: 1px solid rgba(0, 152, 220, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
}

/* Members Grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.65rem;
  width: 100%;
  max-height: 290px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

/* Custom Scrollbar for large member lists */
.members-grid::-webkit-scrollbar {
  width: 4px;
}

.members-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.members-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.member-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.2s ease;
}

.member-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 152, 220, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.member-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(2, 115, 165, 0.6), rgba(0, 152, 220, 0.4));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.member-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom Verse / Quote */
.cell-verse {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cell-verse i {
  color: var(--primary-amber);
}

/* ===================================================
   FLOATING PRESENTATION HUD / CONTROLS (RODAPÉ)
=================================================== */
.presentation-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 84px;
  padding: 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: linear-gradient(0deg, rgba(7, 9, 14, 0.9) 0%, rgba(7, 9, 14, 0) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Progress Trackers for All 11 Slides */
.hud-slide-track {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slide-tracker-item {
  position: relative;
  width: 44px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.3s ease, background 0.3s ease;
}

.slide-tracker-item.active {
  width: 68px;
}

.slide-tracker-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--primary-blue-light), var(--primary-amber));
  box-shadow: 0 0 10px var(--primary-blue-glow);
}

.slide-tracker-item.completed .slide-tracker-fill {
  width: 100%;
  background: #38bdf8;
}

/* Central Controls */
.hud-central-controls {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.hud-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hud-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hud-btn.play-pause-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--primary-blue);
  box-shadow: 0 0 20px var(--primary-blue-glow);
}

.hud-btn.play-pause-btn:hover {
  background: var(--primary-blue-light);
}

.hud-timer-badge {
  font-size: 0.88rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
}

/* Right Utilities: Speed & Fullscreen */
.hud-utilities {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.speed-selector {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2px;
}

.speed-opt {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.speed-opt:hover {
  color: #fff;
}

.speed-opt.active {
  background: rgba(2, 115, 165, 0.35);
  color: #38bdf8;
  border: 1px solid rgba(0, 152, 220, 0.35);
}

/* Quick Jump Modal / Drawer */
.quick-nav-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.quick-nav-modal.active {
  opacity: 1;
  visibility: visible;
}

.quick-nav-content {
  width: 90%;
  max-width: 1080px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-glass-bright);
  border-radius: 24px;
  padding: 2rem 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.quick-nav-modal.active .quick-nav-content {
  transform: scale(1);
}

.quick-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.quick-nav-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-close-modal {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.5rem;
}

.quick-grid-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-grid-item:hover, .quick-grid-item.active {
  background: rgba(2, 115, 165, 0.25);
  border-color: rgba(0, 152, 220, 0.5);
  transform: translateY(-2px);
}

.quick-item-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
}

.quick-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-item-info {
  display: flex;
  flex-direction: column;
}

.quick-item-leader {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.quick-item-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .cell-slide-container {
    grid-template-columns: 360px 1fr;
    gap: 2.5rem;
  }
  .leader-photo-wrapper {
    max-width: 360px;
    height: 460px;
  }
  .leader-title {
    font-size: 2.5rem;
  }
  .zoom-ruler-panel {
    right: 0.8rem;
  }
}

@media (max-width: 900px) {
  .cell-slide-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    overflow-y: auto;
  }
  .leader-photo-wrapper {
    max-width: 260px;
    height: 320px;
  }
  .presentation-header, .presentation-hud {
    padding: 0 1.5rem;
  }
  .zoom-ruler-panel {
    display: none;
  }
}

/* ===================================================
   VERTICAL ZOOM RULER (RÉGUA DE ZOOM NA DIREITA)
=================================================== */
.zoom-ruler-panel {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-bright);
  border-radius: 22px;
  padding: 0.85rem 0.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(2, 115, 165, 0.25);
  gap: 0.75rem;
  user-select: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.zoom-ruler-panel:hover {
  border-color: rgba(0, 152, 220, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 152, 220, 0.35);
}

.zoom-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.zoom-btn:hover {
  background: rgba(2, 115, 165, 0.4);
  border-color: rgba(0, 152, 220, 0.5);
  color: #38bdf8;
  transform: scale(1.08);
}

.zoom-ruler-track-wrapper {
  position: relative;
  height: 170px;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-ruler-ticks {
  position: absolute;
  left: 3px;
  top: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.ruler-tick {
  width: 7px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 1px;
  transition: all 0.2s;
}

.ruler-tick.major {
  width: 11px;
  background: rgba(56, 189, 248, 0.65);
}

.ruler-tick.default-tick {
  width: 14px;
  background: #f7a220;
  box-shadow: 0 0 6px rgba(247, 162, 32, 0.8);
}

/* Vertical Slider */
.zoom-slider-vertical {
  -webkit-appearance: none;
  appearance: none;
  width: 145px;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  outline: none;
  transform: rotate(-90deg);
  margin: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.zoom-slider-vertical::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #38bdf8;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.zoom-slider-vertical::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #0098dc;
}

.zoom-slider-vertical::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #38bdf8;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
  cursor: pointer;
}

.zoom-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(2, 115, 165, 0.2);
  border: 1px solid rgba(0, 152, 220, 0.35);
  border-radius: 8px;
  padding: 0.25rem 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 44px;
  text-align: center;
}

.zoom-badge:hover {
  background: rgba(2, 115, 165, 0.45);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.7);
  transform: scale(1.05);
}

.zoom-label-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}

