/* 粒子背景 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -999;
    background-color: #0a0a0a;
    background-image: linear-gradient(to bottom, #0a0a0a, #1a1a2e);
}

/* 内容区域 */
body {
    position: relative;
}



.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden; /* 隐藏伪元素溢出 */
}

/* 背景层 */
.hero::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(circle at 70% 30%, rgba(255, 0, 100, 0.7), transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(0, 150, 255, 0.7), transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(150, 255, 0, 0.7), transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(255, 200, 0, 0.7), transparent 30%),
        black;
    background-size: 200% 200%;
    filter: blur(20px) contrast(1.2);
    animation: gradientFlow 15s infinite alternate ease-in-out;
    z-index: 0; /* 置于底层 */
}

/* 内容容器 */
.hero .container {
    position: relative;
    z-index: 1; /* 确保内容在背景之上 */
}

@keyframes gradientFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.version-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 功能卡片 */
.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item.latest .timeline-date {
    color: #0d6efd;
    font-weight: bold;
}

.timeline-item.latest .timeline-content {
    border-color: #0d6efd;
}

.timeline-date {
    position: absolute;
    left: -30px;
    top: 0;
    width: 60px;
    text-align: right;
    padding-right: 15px;
    color: #6c757d;
}

.timeline-content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.timeline-body ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.text-mute {
    color: rgb(124 142 160 / 75%);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timeline::before {
        left: 5px;
    }
    
    .timeline-date {
        left: -25px;
        width: 50px;
    }
}