.changelog-section {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}
.changelog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}
.changelog-content {
    position: relative;
    z-index: 1;
}
.version-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.version-card:hover {
    transform: translateY(-2px);
}
.version-header {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    padding: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
}
.version-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}
.version-date {
    color: #64748B;
    font-size: 0.9rem;
}
.version-body {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}
.commit-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #F1F5F9;
}
.commit-item:last-child {
    border-bottom: none;
}
.commit-message {
    font-weight: 500;
    color: #1E293B;
    margin-bottom: 0.25rem;
}
.commit-meta {
    font-size: 0.85rem;
    color: #64748B;
}
.commit-hash {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: #F1F5F9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    margin-right: 0.5rem;
}
.current-version {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
}
.current-version .version-header {
    background: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.current-version .version-number {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.current-version .version-date {
    color: rgba(255, 255, 255, 0.9);
}
.current-version .commit-message {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.current-version .commit-meta {
    color: rgba(255, 255, 255, 0.85);
}
.current-version .commit-hash {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.current-badge {
    background: #10B981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 1rem;
}
.timeline {
    position: relative;
    padding-left: 2rem;
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 1rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #E2E8F0;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: #4F46E5;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #E2E8F0;
}
.timeline-item.current::before {
    background: #10B981;
    box-shadow: 0 0 0 3px #10B981;
}
.no-commits {
    text-align: center;
    color: #64748B;
    font-style: italic;
    padding: 2rem;
}

/* 滚动条样式美化 */
.timeline::-webkit-scrollbar,
.version-body::-webkit-scrollbar {
    width: 8px;
}

.timeline::-webkit-scrollbar-track,
.version-body::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 4px;
}

.timeline::-webkit-scrollbar-thumb,
.version-body::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.timeline::-webkit-scrollbar-thumb:hover,
.version-body::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* 为Firefox提供滚动条样式 */
.timeline,
.version-body {
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 #F1F5F9;
}