/* ========================================
   时间轴样式（为未来功能预留）
   ======================================== */

/* 时间轴容器 */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}

/* 时间轴主线 */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg,
        rgba(255, 107, 157, 0.3),
        rgba(255, 107, 157, 0.8),
        rgba(255, 107, 157, 0.3));
    transform: translateX(-50%);
}

/* 时间轴项目 */
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding: 0 50px;
    display: flex;
    align-items: center;
}

/* 左侧项目 */
.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    margin-left: 0;
}

/* 右侧项目 */
.timeline-item:nth-child(even) {
    justify-content: flex-end;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
}

/* 时间轴节点 */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(255, 107, 157, 0.8);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.6);
    z-index: 10;
}

/* 时间轴日期 */
.timeline-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-weight: 600;
}

/* 时间轴内容 */
.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
}

.timeline-content img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
}

/* 滚动动画支持 */
.timeline-item {
    opacity: 0;
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item.slide-in-left {
    transform: translateX(-60px);
}

.timeline-item.slide-in-right {
    transform: translateX(60px);
}

/* 移动端时间轴适配 */
@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 80px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
    }

    .timeline-item::before {
        left: 30px;
    }

    .timeline-item.slide-in-left,
    .timeline-item.slide-in-right {
        transform: translateX(-40px); /* 移动端减少滑动距离 */
    }

    .timeline-item.visible {
        transform: translateX(0);
    }
}
