/* ============================================================
   VIDEO DEMO — carousel. Each slide is a placeholder frame
   until real demo videos are dropped in (see the <video> tags
   in index.html — just swap the src). JS-driven (js/video-
   slider.js), not the old radio-button/label CSS hack.
   ============================================================ */

.rt-video-shell {
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 70px -30px rgba(27, 16, 48, 0.35);
}

.rt-video-track {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.rt-video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rt-video-slide.rt-active { opacity: 1; z-index: 1; }

.rt-video-slide video,
.rt-video-slide .rt-video-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rt-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(251, 249, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  padding: 24px;
}

.rt-video-placeholder svg { width: 36px; height: 36px; color: var(--gold); opacity: 0.7; }

.rt-video-caption {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.rt-video-caption h3 {
  color: var(--paper);
  font-size: 15px;
  font-family: var(--font-body);
}

.rt-video-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rt-video-tab {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(251, 249, 255, 0.18);
  background: transparent;
  color: rgba(251, 249, 255, 0.7);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.rt-video-tab.rt-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #241505;
}

.rt-video-slide--mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0612; /* match your shell's dark bg, adjust as needed */
}

.rt-video-slide--mobile video {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
