/* ═══════════════════════════════════════════
   TIMELINE
═══════════════════════════════════════════ */
#timeline { padding: 120px 0; background: var(--bg-surface); overflow: hidden; }
.timeline-header { text-align: center; padding: 0 24px 64px; }
.timeline-scroll-wrap {
  overflow-x: auto; padding: 20px 60px 60px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: rgba(0,245,255,0.2) transparent;
  perspective: 900px;
}
.timeline-scroll-wrap::-webkit-scrollbar { height: 4px; }
.timeline-scroll-wrap::-webkit-scrollbar-track { background: transparent; }
.timeline-scroll-wrap::-webkit-scrollbar-thumb { background: rgba(0,245,255,0.2); border-radius: 2px; }
.timeline-track {
  display: flex; gap: 20px; width: max-content; padding-bottom: 10px;
  transform: rotateX(10deg); transform-origin: top center;
}
.month-card {
  scroll-snap-align: start; width: 200px; flex-shrink: 0;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; padding: 28px 20px; position: relative; overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s, box-shadow 0.3s;
  opacity: 0;
}
.month-card:not(.locked):hover {
  transform: translateY(-14px) scale(1.04);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.month-card.active { border-color: rgba(0,245,255,0.4); background: rgba(0,245,255,0.04); }
.month-card.active::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  animation: card-glow 2s ease-in-out infinite alternate;
}
@keyframes card-glow {
  0%   { box-shadow: inset 0 0 20px rgba(0,245,255,0.06); }
  100% { box-shadow: inset 0 0 40px rgba(0,245,255,0.15); }
}
.month-card.locked { opacity: 0.4; }
.month-card.locked:hover { transform: none; }

.month-num {
  font-family: 'JetBrains Mono', monospace; font-size: 52px; font-weight: 700;
  line-height: 1; margin-bottom: 8px; color: rgba(255,255,255,0.06);
}
.month-card.active   .month-num { color: var(--cyan);  text-shadow: 0 0 20px rgba(0,245,255,0.4); }
.month-card.upcoming .month-num { color: rgba(255,255,255,0.15); }
.month-name { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.month-status {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px; display: inline-block;
}
.month-card.active    .month-status { background: rgba(0,245,255,0.15); color: var(--cyan); }
.month-card.upcoming  .month-status { background: rgba(255,255,255,0.05); color: var(--muted); }
.month-card.locked    .month-status { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.2); }
.month-card.completed .month-status { background: rgba(16,185,129,0.12); color: var(--green); }
.month-card.completed .month-num    { color: var(--green); text-shadow: 0 0 15px rgba(16,185,129,0.3); }

/* Connector between completed months */
.month-connector {
  position: absolute; bottom: 22px; right: -21px;
  width: 21px; height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(16,185,129,0.2));
  z-index: 5;
}
.month-connector::after {
  content: ''; position: absolute; right: -3px; top: -2px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green);
  animation: status-pulse 2s ease-in-out infinite;
}

.scroll-hint-row {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 28px; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint-arrow { display: inline-block; animation: arrow-pulse 1.2s ease-in-out infinite; }
.scroll-hint-arrow:last-child { animation-delay: 0.15s; opacity: 0.6; }
.scroll-hint-arrow:nth-last-child(2) { animation-delay: 0.3s; opacity: 0.3; }
@keyframes arrow-pulse { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
