/* 新增更新日志专用样式 */
body {
    /* 设置背景为线性渐变，从透明度为0.7的黑色到透明度为0.7的黑色，并叠加背景图片 */
    background: linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
    ),
    url('//image/bj.png') no-repeat center center fixed;
    /* 背景图片覆盖整个页面 */
    background-size: cover;
}

.page-header {
    /* 文本居中 */
    text-align: center;
    /* 底部外边距 */
    margin-bottom: 3rem;
}

.page-header i {
    /* 图标字体大小 */
    font-size: 2.8rem;
    /* 图标颜色 */
    color: var(--primary-color);
    /* 底部外边距 */
    margin-bottom: 1.2rem;
}

.page-header h1 {
    /* 标题字体大小 */
    font-size: 2.4rem;
    /* 底部外边距 */
    margin-bottom: 0.5rem;
}

.timeline {
    /* 使用网格布局 */
    display: grid;
    /* 网格间距 */
    gap: 2rem;
    /* 相对定位 */
    position: relative;
}

.timeline::before {
    /* 伪元素内容为空 */
    content: '';
    /* 绝对定位 */
    position: absolute;
    /* 左侧偏移 */
    left: 24px;
    /* 顶部偏移 */
    top: 0;
    /* 高度占满父元素 */
    height: 100%;
    /* 宽度 */
    width: 2px;
    /* 背景颜色 */
    background: var(--primary-color);
    /* 透明度 */
    opacity: 0.2;
}

.log-card {
    /* 背景颜色 */
    background: var(--bg-base);
    /* 模糊效果 */
    backdrop-filter: blur(10px);
    /* 边框圆角 */
    border-radius: 16px;
    /* 内边距 */
    padding: 1.5rem;
    /* 边框 */
    border: 1px solid var(--border-light);
    /* 初始透明度 */
    opacity: 0;
    /* 初始垂直偏移 */
    transform: translateY(20px);
    /* 过渡效果 */
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.log-card.show {
    /* 显示时的透明度 */
    opacity: 1;
    /* 显示时的垂直偏移 */
    transform: translateY(0);
}

.log-header {
    /* 使用弹性布局 */
    display: flex;
    /* 间距均匀分布 */
    justify-content: space-between;
    /* 垂直居中 */
    align-items: center;
    /* 底部外边距 */
    margin-bottom: 1.2rem;
    /* 底部内边距 */
    padding-bottom: 0.8rem;
    /* 底部边框 */
    border-bottom: 1px solid var(--border-light);
}

.version {
    /* 背景颜色 */
    background: var(--primary-color);
    /* 文本颜色 */
    color: white;
    /* 内边距 */
    padding: 0.3rem 0.8rem;
    /* 边框圆角 */
    border-radius: 20px;
    /* 字体大小 */
    font-size: 0.9rem;
}

time {
    /* 文本颜色 */
    color: #64748B;
    /* 字体大小 */
    font-size: 0.95rem;
}

.update-list {
    /* 无序列表样式 */
    list-style: none;
    /* 使用网格布局 */
    display: grid;
    /* 网格间距 */
    gap: 0.8rem;
}

.update-list li {
    /* 使用弹性布局 */
    display: flex;
    /* 垂直居中 */
    align-items: center;
    /* 间距 */
    gap: 0.8rem;
    /* 内边距 */
    padding: 0.6rem;
    /* 边框圆角 */
    border-radius: 8px;
    /* 过渡效果 */
    transition: background 0.2s ease;
}

.update-list li:hover {
    /* 鼠标悬停时的背景颜色 */
    background: rgba(255, 255, 255, 0.05);
}

.update-list i {
    /* 宽度 */
    width: 24px;
    /* 图标颜色 */
    color: var(--primary-color);
    /* 字体大小 */
    font-size: 1.1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .log-header {
        /* 垂直排列 */
        flex-direction: column;
        /* 左对齐 */
        align-items: flex-start;
        /* 间距 */
        gap: 0.5rem;
    }

    .timeline::before {
        /* 左侧偏移调整 */
        left: 16px;
    }

    .log-card {
        /* 左侧外边距调整 */
        margin-left: 32px;
    }
}
/* 确保时间轴容器高度 */
.timeline {
    min-height: 100vh;
    padding-bottom: 4rem;
}

/* 修正定位问题 */
.background-glow {
    position: absolute; /* 从 fixed 改为 absolute */
}