/* 版本日志页面特有样式 */

/* 版本日志时间线 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: calc(50% + 40px);
    text-align: right;
}

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

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 0 4px white, 0 2px 5px rgba(0,0,0,0.2);
}

.timeline-content {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.version-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.timeline-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-text {
    line-height: 1.6;
    color: #555;
}

.timeline-text ul {
    padding-left: 20px;
    margin: 10px 0;
}

.timeline-text li {
    margin-bottom: 5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timeline:before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
    }
}