.timeline-container {
  position: sticky;
  top: clamp(60px, 5vh, 1000px);
  z-index: 100;
  background: rgba(26, 26, 46, 0.95);
  padding: clamp(0.3rem, 2vh, 1.5rem) 0;
  margin-bottom: clamp(1rem, 3vh, 3rem);
  backdrop-filter: blur(10px);
} 

.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  height: clamp(30px, 5vh, 40px);
  padding: 10px 40px;
} 

.line {
  position: absolute;
  top: 50%;
  left: 1px;
  right: 1px;
  height: 1px;
  background: var(--color-neon);
  opacity: 0.3;
} 

.day-marker {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  transition: all 0.3s ease;
} 

.day-marker.active .dot,
.day-marker.active .label {
  color: var(--color-neon);
  opacity: 1;
} 

.day-marker.active .dot {
  transform: scale(1.5);
  box-shadow: 0 0 10px var(--color-neon);
} 

.dot {
  width: clamp(4px, 1vw, 6px);
  height: clamp(4px, 1vw, 6px);
  border-radius: 50%;
  background: var(--color-neon);
  margin: 5px 0;
  opacity: 0.5;
  transition: all 0.3s ease;
} 

.label {
  font-size: clamp(0.6rem, 1.5vw, 0.8rem);
  color: var(--color-text);
  white-space: nowrap;
  margin-top: 5px;
  opacity: 0.7;
  transition: all 0.3s ease;
} 

.clickable {
  cursor: pointer;
} 

.day-marker:nth-child(1) { left: 0%; }
.day-marker:nth-child(2) { left: 16.66%; }
.day-marker:nth-child(3) { left: 33.33%; }
.day-marker:nth-child(4) { left: 50%; }
.day-marker:nth-child(5) { left: 66.66%; }
.day-marker:nth-child(6) { left: 83.33%; }
.day-marker:nth-child(7) { left: 100%; }

@media (max-width: 768px) {
  .timeline {
    width: 100%;
    max-width: 100%;
    padding: 25px 20px;
    box-sizing: border-box;
  }

  .day-marker {
    width: 35px;
  }

  .line {
    left: 20px;
    right: 20px;
  }

  .timeline-container {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: sticky;
    top: clamp(80px, 5vh, 100px);
    z-index: 100;
    width: 100%;
    box-sizing: border-box;
  }

  .label span {
    display: none;
  }

  .label data-short {
    display: inline;
  }
}

/* iPhone 16 Pro and similar (393px width) */
@media (max-width: 430px) {
  .timeline {
    padding: 20px 15px;
  }
  
  .timeline-container {
    padding: clamp(0.3rem, 2vh, 1.5rem) 0;
  }
  
  .day-marker {
    width: 30px;
  }
  
  .line {
    left: 15px;
    right: 15px;
  }
  
  .dot {
    width: 4px;
    height: 4px;
  }
}