/* ===== Changelog Page ===== */

.changelog-hero {
  padding: 8rem 0 3rem;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
}

.changelog-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.changelog-section {
  padding: 2rem 0 5rem;
  background: var(--bg-dark);
}

/* Info note */
.changelog-note {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Entry block */
.changelog-entry {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.changelog-entry:last-child {
  border-bottom: none;
}

/* Date column */
.changelog-date {
  position: relative;
  padding-left: 1.5rem;
}

.changelog-date::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.changelog-date time {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-light);
  white-space: nowrap;
}

.version-badge {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--brand-light);
  border: 1px solid rgba(37, 99, 235, 0.3);
  letter-spacing: 0.06em;
}

/* Change list */
.changelog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.changelog-list li {
  position: relative;
  padding-left: 3.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.changelog-list li strong {
  color: var(--text-primary);
}

/* Tag indicators */
.changelog-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.changelog-added::before {
  content: 'NEW';
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

.changelog-updated::before {
  content: 'UPD';
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
}

.changelog-fixed::before {
  content: 'FIX';
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

/* Active nav link */
.nav-links a.active {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .changelog-entry {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .changelog-date {
    padding-left: 1.5rem;
  }

  .changelog-hero {
    padding: 7rem 0 2rem;
  }
}
