/* =========================================
   Asolica 更新日志页样式
   ========================================= */

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #DBEAFE;
  --accent: #F97316;
  --accent-light: #FFF7ED;
  --green: #10B981;
  --green-light: #ECFDF5;
  --bg: #FAFAFA;
  --card: #FFFFFF;
  --text: #0F172A;
  --text-secondary: #64748B;
  --text-tertiary: #94A3B8;
  --border: rgba(15,23,42,0.06);
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 24px rgba(15,23,42,0.06);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

body {
  font-family: var(--font);
  background: linear-gradient(165deg, #FFF5EC 0%, #FFF0E0 20%, #F3F7FF 50%, #ECEFFF 80%, #FAFAFA 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

.ambient-glow {
  position: absolute; border-radius:50%; filter:blur(120px);
  pointer-events:none; z-index:0;
  animation: pulseGlow 8s ease-in-out infinite;
}
.ambient-glow.blue { width:450px; height:450px; background:rgba(37,99,235,0.14); top:10%; right:-10%; }
.ambient-glow.orange { width:400px; height:400px; background:rgba(249,115,22,0.1); bottom:10%; left:-10%; animation-delay:-3s; }
@keyframes pulseGlow {
  0%,100% { opacity:0.5; transform:scale(1); }
  50% { opacity:0.8; transform:scale(1.05); }
}

.page-hero {
  position: relative;
  padding: 140px 48px 80px;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}
.page-hero-badge {
  display: inline-flex; align-items:center; gap:7px;
  padding: 6px 14px; border-radius:9999px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px; font-weight: 700; letter-spacing:0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 17px; color: var(--text-secondary);
  max-width: 560px; line-height:1.7;
}

.timeline-wrapper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 48px 120px;
  z-index: 1;
}
.timeline {
  position: relative;
  padding-left: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary) 0%, rgba(37,99,235,0.15) 100%);
  border-radius: 1px;
}
.timeline-item {
  position: relative;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-dot {
  position: absolute;
  left: -41px; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.timeline-item.latest .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.15), 0 0 0 8px rgba(37,99,235,0.06);
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px rgba(37,99,235,0.12);
}
.timeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.timeline-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(37,99,235,0.12);
}
.timeline-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.version-tag {
  display: inline-flex; align-items:center; gap:6px;
  padding: 5px 14px; border-radius:9999px;
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 700;
  background: var(--primary-light);
  color: var(--primary-dark);
  letter-spacing: -0.3px;
}
.timeline-item.latest .version-tag {
  background: var(--primary);
  color: #fff;
}
.latest-badge {
  display: inline-flex; align-items:center; gap:4px;
  padding: 3px 10px; border-radius:6px;
  background: var(--green-light);
  color: var(--green);
  font-size: 11px; font-weight: 700; letter-spacing:0.5px;
  text-transform: uppercase;
}
.latest-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; }
  50% { opacity:0.4; }
}
.release-date {
  font-size: 13px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  margin-left: auto;
}
.release-title {
  font-size: 18px; font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.release-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}
.changelog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.changelog-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.changelog-list li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 8px;
  opacity: 0.6;
}
.changelog-footer-note {
  text-align: center;
  padding: 40px 48px 0;
  color: var(--text-tertiary);
  font-size: 14px;
}

@media (max-width: 768px) {
  .page-hero { padding: 120px 24px 60px; }
  .timeline-wrapper { padding: 0 24px 80px; }
  .timeline { padding-left: 36px; }
  .timeline::before { left: 10px; }
  .timeline-dot { left: -34px; width: 14px; height: 14px; border-width:2.5px; }
  .timeline-card { padding: 20px; }
  .release-date { margin-left:0; width:100%; }
}
@media (max-width: 640px) {
  .page-hero { padding: 100px 20px 50px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 15px; }
  .timeline-wrapper { padding: 0 20px 60px; }
  .timeline { padding-left: 32px; }
  .timeline::before { left: 8px; }
  .timeline-dot { left: -30px; width: 12px; height: 12px; border-width:2px; }
  .timeline-card { padding: 16px; }
  .version-tag { font-size: 13px; padding: 4px 12px; }
  .release-title { font-size: 16px; }
  .release-desc { font-size: 14px; }
  .changelog-list li { font-size: 13px; }
}