/* ============================================
   SCROLL PROGRESS INDICATOR COMPONENT
   ============================================ */

.scroll-progress {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.scroll-progress.visible {
  opacity: 1;
}

.scroll-progress__track {
  position: relative;
  width: 2px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.scroll-progress__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, #667eea, #00d4ff);
  border-radius: 2px;
  transition: height 0.1s ease-out;
}

/* Stations/checkpoints */
.scroll-progress__stations {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 10px;
}

.scroll-progress__station {
  position: relative;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.scroll-progress__station.active {
  background: #00d4ff;
  border-color: #00d4ff;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.scroll-progress__station.passed {
  background: #667eea;
  border-color: #667eea;
}

/* Station labels */
.scroll-progress__label {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.3s ease, color 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}

.scroll-progress__station:hover .scroll-progress__label,
.scroll-progress__station.active .scroll-progress__label {
  opacity: 1;
}

.scroll-progress__station.active .scroll-progress__label {
  color: #00d4ff;
}

/* Current position indicator */
.scroll-progress__current {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #f093fb, #00d4ff);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.8);
  transition: top 0.1s ease-out;
  z-index: 2;
}

/* Hide scroll progress on smaller screens */
@media (max-width: 1200px) {
  .scroll-progress {
    display: none;
  }

  /* Show scrollbar on mobile */
  html {
    scrollbar-width: auto;
  }

  html::-webkit-scrollbar {
    display: block;
  }
}
