/* archive-timeline.css */
/* Timeline styling for Completed Leaps Archive (dark theme, Commons aesthetic) */

body {
  background: radial-gradient(ellipse at bottom, #0d1b2a 0%, #000000 100%);
  color: #f0f0f0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Archive section wrapper */
.section.archive {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;       /* horizontal breathing room only */
  background: transparent;
  border: none;
}

/* Timeline vertical line */
.leap-list {
  position: relative;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.leap-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
}

/* Timeline items */
.leap-item {
  position: relative;
  margin: 2rem 0;
  padding-left: 70px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.leap-item:nth-child(odd) {
  animation-delay: 0.2s;
}
.leap-item:nth-child(even) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leap-item::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 16px;
  width: 16px;
  height: 16px;
  background: #0d1b2a;
  border: 3px solid #4cafef;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(76, 175, 239, 0.8);
}

/* Leap title link */
.leap-item a {
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
}

.leap-item a:hover {
  color: #4cafef;
  text-shadow: 0 0 6px rgba(76, 175, 239, 0.8);
}

/* Completed date */
.completed-date {
  display: block;
  font-size: 0.9rem;
  color: #aaaaaa;
  margin-top: 0.25rem;
}

/* Muted fallback text */
.section.archive p,
.section.archive li {
  color: #cccccc;
}
