/* Wrapper */
.tvs-wrapper {
  width: 100%;
  position: relative;
  perspective: 1400px;
  background: #000;
}

/* Each panel is normal document flow (full viewport height) */
.tvs-video-panel {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: block;
}

/* inner stage holds the video (useful if you want transforms) */
.tvs-stage {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  will-change: transform, opacity;
}

/* video fills stage */
.tvs-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
}

/* overlay label */
.tvs-video-overlay {
  position: absolute;
  left: 220px;
  bottom: 48px;
  z-index: 8;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0,0,0,0.6);
}
.tvs-video-label {
  margin: 0;
  font-size: 36px;
  font-weight: 600;
}

/* TIMELINE - glass left panel */
.tvs-timeline {
  position: fixed;            /* keeps visible while scrolling (like sample) */
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.26);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* subtle vertical line */
.tvs-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border-radius: 2px;
}

/* timeline button layout (dot + label) */
.tvs-time {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  position: relative;
  outline: none;
}

/* dot */
.tvs-time .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.65);
  border: 2px solid rgba(255,255,255,0.12);
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35) inset;
}

/* label */
.tvs-time .label {
  color: #fff;
  font-size: 14px;
  opacity: 0.85;
  white-space: nowrap;
  transition: color .28s ease, opacity .28s ease;
}

/* active */
.tvs-time.tvs-active .dot {
  transform: scale(1.45);
  background: #3b82f6;
  box-shadow: 0 10px 30px rgba(59,130,246,0.22);
  border-color: rgba(59,130,246,0.9);
}
.tvs-time.tvs-active .label {
  color: #3b82f6;
  opacity: 1;
  font-weight: 600;
}

/* small screens: timeline across top */
@media (max-width: 900px) {
  .tvs-timeline {
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 10px;
    padding: 8px 12px;
  }
  .tvs-timeline::before { display: none; }
  .tvs-video-overlay { left: 20px; bottom: 20px; font-size: 20px; }
  .tvs-time .label { display: none; }
}
