/* 清爽简洁的更新日志页面样式 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --background-color: #ffffff;
    --surface-color: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --hover-color: #f1f5f9;
    --accent-color: #3b82f6;
}

/* 基础样式 */
body {
    background: var(--background-color);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* 导航栏简化 */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--text-primary) !important;
    font-weight: 600;
}

.navbar-brand .brand-text {
    color: var(--text-primary);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* 主容器 */
.main-container {
    padding-top: 90px;
    min-height: 100vh;
    background: var(--background-color);
}

/* 左侧边栏 */
.version-sidebar {
    background: var(--surface-color);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1rem;
    height: calc(100vh - 90px);
    overflow-y: auto;
}

.sidebar-header {
    margin-bottom: 2rem;
    text-align: center;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.sidebar-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 0;
}

/* 版本列表 */
.version-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.version-item {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.version-item:hover {
    border-color: var(--primary-color);
    background: var(--hover-color);
}

.version-item.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.version-item.active .version-date {
    color: rgba(255, 255, 255, 0.8);
}

.version-number {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.version-status.current {
    background: var(--success-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.version-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* 右侧内容区域 */
.content-area {
    background: var(--background-color);
    padding: 2rem;
    height: calc(100vh - 90px);
    overflow-y: auto;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* 版本内容 */
.version-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.version-content.active {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 内容头部 */
.content-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.version-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.current-badge {
    background: var(--success-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.release-info {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* 更新概述 */
.update-summary {
    margin-bottom: 2.5rem;
}

.update-summary h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.summary-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* 更新分类 */
.update-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.category-section {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.category-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-icon {
    font-size: 1.25rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.2s ease;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-list li:hover {
    color: var(--text-primary);
    padding-left: 1.75rem;
}

/* 下载按钮 */
.download-section {
    margin-top: 2.5rem;
    text-align: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: #1d4ed8;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-icon {
    font-size: 1.125rem;
}

/* 历史时间线 */
.history-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--surface-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.timeline-item:hover {
    border-color: var(--primary-color);
    background: var(--hover-color);
}

.timeline-version {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.timeline-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-content p {
    margin: 0 0 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 备用内容 */
.fallback-content {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .version-sidebar {
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .content-area {
        padding: 1rem;
        height: auto;
    }
    
    .version-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline-version {
        align-self: flex-start;
    }
}

/* 滚动条优化 */
.version-sidebar::-webkit-scrollbar,
.content-area::-webkit-scrollbar {
    width: 6px;
}

.version-sidebar::-webkit-scrollbar-track,
.content-area::-webkit-scrollbar-track {
    background: transparent;
}

.version-sidebar::-webkit-scrollbar-thumb,
.content-area::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.version-sidebar::-webkit-scrollbar-thumb:hover,
.content-area::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* 移除粒子背景相关样式 */
#particles-js {
    display: none;
}

/* 简化动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 