/* ===== 时光轴 ===== */
#timeline {
    padding: 100px 0;
}

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

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--accent-pink), var(--accent-purple), var(--accent-blue), transparent);
    transform: translateX(-50%);
    opacity: 0.4;
}

.timeline-items {
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 奇数项：左侧 */
.timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 30px);
    text-align: right;
}

/* 偶数项：右侧 */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 30px);
    text-align: left;
}

/* 时间轴圆点 */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent-pink);
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-pink);
    box-shadow: 0 0 20px rgba(231, 76, 111, 0.5);
    transform: translateX(-50%) scale(1.3);
}

.timeline-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    border-color: rgba(231, 76, 111, 0.2);
    box-shadow: var(--shadow-glow);
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 连接线箭头 */
.timeline-item:nth-child(odd) .timeline-card::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 14px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid rgba(26, 26, 46, 0.6);
}

.timeline-item:nth-child(even) .timeline-card::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 14px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid rgba(26, 26, 46, 0.6);
}
