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

/* Active nav link */
.nav-links a.active { color: #fff; font-weight: 600; }

/* Hero */
.changelog-hero {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 120px 120px 60px;
  max-width: 1440px; margin: 0 auto;
}
.changelog-hero h1 { font-size: 48px; font-weight: 700; text-align: center; }
.changelog-hero p { font-size: 16px; color: rgba(255,255,255,0.33); text-align: center; }

.badge-changelog {
  background: rgba(255,255,255,0.024);
  border: 1px solid rgba(255,255,255,0.08);
  color: #C46B8A;
  font-family: 'DM Mono', monospace;
  font-size: 12px; font-weight: 500; letter-spacing: 1px;
  padding: 6px 14px; border-radius: 20px;
}

/* Content */
.changelog-content {
  max-width: 1040px; margin: 0 auto;
  padding: 40px 200px;
  display: flex; flex-direction: column;
}

/* Entry */
.changelog-entry {
  display: flex; gap: 0;
}

/* Left Column */
.entry-left {
  width: 200px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 4px;
}
.entry-version { font-family: 'DM Mono', monospace; font-size: 20px; font-weight: 700; color: #F5F5F0; }
.entry-date { font-size: 13px; color: rgba(255,255,255,0.27); }

/* Entry Badges */
.entry-badge {
  display: inline-block; width: fit-content;
  padding: 3px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 600;
}
.entry-badge.latest {
  background: rgba(196,107,138,0.13);
  border: 1px solid rgba(196,107,138,0.27);
  color: #C46B8A;
  font-family: 'Inter', sans-serif;
}
.entry-badge.beta {
  background: rgba(74,173,207,0.08);
  border: 1px solid rgba(74,173,207,0.2);
  color: rgba(74,173,207,0.53);
  font-family: 'DM Mono', monospace;
}
.entry-badge.alpha {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.27);
  font-family: 'DM Mono', monospace;
}

/* Timeline */
.timeline {
  width: 40px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
}
.timeline-dot {
  width: 12px; height: 12px; border-radius: 50%;
  flex-shrink: 0;
}
.dot-pink { background: #C46B8A; }
.dot-gray { width: 10px; height: 10px; background: rgba(255,255,255,0.2); }
.dot-dim { width: 10px; height: 10px; background: rgba(255,255,255,0.13); }
.timeline-line { width: 2px; flex: 1; min-height: 20px; }
.line-1 { background: rgba(255,255,255,0.1); }
.line-2 { background: rgba(255,255,255,0.07); }
.line-3 { background: rgba(255,255,255,0.04); }

/* Right Column */
.entry-right {
  flex: 1;
  display: flex; flex-direction: column; gap: 24px;
  padding-bottom: 48px;
}

/* Entry Section */
.entry-section { display: flex; flex-direction: column; gap: 12px; }
.entry-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
}
.entry-section-title .cyan { color: #4AADCF; }
.entry-section-title .purple { color: #A78BFA; }
.entry-section-title .muted { color: rgba(255,255,255,0.33); }
.entry-section-title .cyan-muted { color: rgba(74,173,207,0.4); }
.entry-section-title .cyan-dim { color: rgba(74,173,207,0.27); }
.entry-section-title .dim { color: rgba(255,255,255,0.27); }

.entry-section ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.entry-section ul li {
  font-size: 14px; color: rgba(255,255,255,0.73); line-height: 1.6;
  padding-left: 16px;
  position: relative;
}
.entry-section ul li::before {
  content: '•'; position: absolute; left: 0;
  color: rgba(255,255,255,0.3);
}
.entry-section ul.muted-list li { color: rgba(255,255,255,0.4); }
.entry-section ul.muted-list li::before { color: rgba(255,255,255,0.2); }

/* Faded Entries */
.changelog-entry.faded .entry-version { color: rgba(255,255,255,0.53); }
.changelog-entry.faded .entry-date { color: rgba(255,255,255,0.2); }
.changelog-entry.faded .entry-section ul li { color: rgba(255,255,255,0.53); }

.changelog-entry.faded-more .entry-version { color: rgba(255,255,255,0.4); }
.changelog-entry.faded-more .entry-date { color: rgba(255,255,255,0.13); }
.changelog-entry.faded-more .entry-section ul li { color: rgba(255,255,255,0.4); }
.changelog-entry.faded-more .entry-section ul li::before { color: rgba(255,255,255,0.15); }

/* Omitted hint */
.changelog-omitted {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 24px 0 16px;
}
.changelog-omitted-line {
  width: 2px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.06), transparent);
}
.changelog-omitted-text {
  font-size: 13px; color: rgba(255,255,255,0.2);
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.5px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .changelog-hero { padding: 100px 24px 40px; }
  .changelog-content { padding: 40px 24px; }
}
@media (max-width: 768px) {
  .changelog-hero h1 { font-size: 32px; }
  .changelog-entry { flex-direction: column; gap: 16px; }
  .entry-left { width: 100%; flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; }
  .timeline { display: none; }
  .entry-right { padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 32px; }
}
