@charset "utf-8";
:root {
    --primary: #2c87c8;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
}

/* 固定顶部栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 66px;  /* 根据实际需求调整高度 */
    background-color: #fff;  /* 背景色 */
    z-index: 9;  /* 确保顶部栏在其他元素上方 */
    box-shadow: 0 0.5rem 1rem rgba(33,37,41,0.025);  /* 可选：添加阴影效果 */
}
/* 内容部分与顶部距离 */
body {
    margin-top: 96px;  /* 与顶部栏高度一致 */
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* 时间轴竖线调整 */
.timeline-line {
    position: absolute;
    left: 150px;
    top: 30px;
    bottom: 0px;
    width: 2px;
    background: var(--primary);
    will-change: transform;
    transform-origin: top;
    animation: timeline-grow 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes timeline-grow {
    from {
transform: scaleY(0);
opacity: 0;
    }
    to {
transform: scaleY(1);
opacity: 1;
    }
}

/* 顶部标题标注调整 */
.timeline-title {
    position: absolute;
    left: 170px;
    top: 0px;
    font-size: 1.2em;
    color: var(--primary);
    font-weight: 500;
    background: linear-gradient(90deg, rgba(44,135,200,0.1) 0%, transparent 100%);
    padding: 8px 20px;
    border-radius: 4px;
    animation: fade-slide 0.8s 0.2s ease-out forwards;
    opacity: 0;
    transform: translate(30px, 10px);
}

.timeline-link {
    position: relative;
    left: 420px;
    top: 40px;
    font-size: 0.85em;
    color: var(--primary);
    font-weight: 500;
    padding: 8px 20px;
    animation: fade-slide 0.8s 0.2s ease-out forwards;
    opacity: 0;
    transform: translate(30px, 10px);
}

/* 版本区块 */
.version-block {
    position: relative;
    margin: 40px 0;
    padding-left: 180px;
    opacity: 0;
    transform: translateX(20px);
    animation: block-enter 0.6s ease forwards;
}

@keyframes block-enter {
    to {
opacity: 1;
transform: translateX(0);
    }
}

/* 左侧时间标签 */
.version-year {
    position: absolute;
    left: 0;
    top: 0px;
    width: 120px;
    text-align: right;
    padding-right: 0px;
    font-size: 0.95em;
    color: #999999;
}

.version-date {
    position: absolute;
    left: 0;
    top: 20px;
    width: 120px;
    text-align: right;
    padding-right: 0px;
    font-size: 1.25em;
    color: #999999;
}

/* 时间轴圆点 */
.version-date::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    background: #f8f9fa;
    box-shadow: 0 0 0 4px #f8f9fa;
}

/* 更新内容 右侧位置*/
.update-content {
    position: relative;
    padding: 5px 0;
    top: 16px;
}

/* 版本标题*/
.version-title {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 1.25em;
}

/* 更新列表*/
.update-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.85em;
}

.update-item {
    position: relative;
    padding-left: 20px;
    margin: 10px 0;
    line-height: 1.5;
}

/* 彩色状态点 */
.update-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.new::before { background: var(--success); }
.fix::before  { background: var(--danger); }
.improve::before { background: var(--warning); }

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline-container {
padding: 0 20px;
    }
    
    .timeline-line {
left: 90px;
top: 30px;
    }
    
    .timeline-title {
left: 60px;
top: -25px;
font-size: 1.0em;
transform: translate(25px, 10px);
    }
    
    .timeline-link {
left: 130px;
top: 20px;
font-size: 0.85em;
transform: translate(25px, 10px);
    }
    
    .version-block {
padding-left: 90px;
    }
    
    .version-year {
width: 80px;
padding-right: 25px;
font-size: 0.95em;
    }
    
    .version-date {
width: 80px;
padding-right: 25px;
font-size: 1.25em;
    }
    
    .version-date::after {
right: 2px;
width: 14px;
height: 14px;
    }
}

@keyframes fade-slide {
    to {
opacity: 1;
transform: translate(30px, 0);
    }
}