/* ─────────────────────────────────────────────
   LAYOUT — Deck · Slides · Navigation controls
   ───────────────────────────────────────────── */

/* ── Slide deck container ───────────────────── */
.deck {
  width: 100vw;
  height: 100vh;
  position: relative;
}

/* ── Individual slides ──────────────────────── */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* Hidden by default */
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

/* Vignette overlay — sits above blobs but below content */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}

/* ── Slide content wrapper ──────────────────── */
.slide > .content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1150px;
  padding: clamp(1rem, 3vw, 3rem);
}

/* ── Background mesh layer ──────────────────── */
.mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ── Bottom navigation controls ─────────────── */
.nav-controls {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s, border-color 0.3s;
}

.nav-controls:hover {
  transform: translateX(-50%) scale(1);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.nav-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--a1);
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.nav-btn:hover {
  background: rgba(245, 158, 11, 0.15);
}

/* ── Dot indicators ─────────────────────────── */
.slide-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: var(--a1);
  transform: scale(1.3);
}

/* ── Slide counter label ─────────────────────── */
.slide-counter {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 44px;
  text-align: center;
  font-family: var(--font-mono);
}
