/* Space Missions Timeline Page Specific Styles — Matched to Homepage Root Theme */
:root {
  --bg-900: #03040a;
  --bg-800: #0b1020;
  --accent: #6de3ff;
  --accent-2: #9b7bff;
  --muted: #a9b2c7;
  --glass: rgba(255, 255, 255, 0.04);
  --radius: 16px;
  --max-width: 1100px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), rgba(255, 255, 255, 0.1));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 50%;
  padding: 0 36px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--bg-900);
  box-shadow: 0 0 12px var(--accent);
  z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 227, 255, 0.3);
  box-shadow: 0 12px 32px rgba(109, 227, 255, 0.12);
}

.timeline-year {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg-900);
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 99px;
  margin-bottom: 12px;
}

.timeline-content h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 6px;
}

.timeline-target {
  font-size: 0.85rem;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.timeline-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-dot {
    left: 10px !important;
    right: auto !important;
  }
}
