/* 网站头部和底部样式 */
@charset "UTF-8";
:root {
    /* 主色调 */
    --primary-color: #2563eb; --secondary-color: #3b82f6; --accent-color: #60a5fa; --success-color: #10b981; --warning-color: #f59e0b; --danger-color: #ef4444; --dark-color: #1f2937; --light-color: #f8fafc; --white-color: #ffffff;
    /* 渐变色 */
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%); --success-gradient: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%); --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%); --dark-gradient: linear-gradient(135deg, #1f2937 0%, #374151 50%, #4b5563 100%);
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1); --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15); --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
    /* 圆角 */
    --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-full: 50%;
    /* 间距 */
    --spacing-xs: 0.25rem; --spacing-sm: 0.5rem; --spacing-md: 1rem; --spacing-lg: 1.5rem; --spacing-xl: 2rem; --spacing-2xl: 2.5rem;
}

/* 网站头部样式 */
.site-header { background: var(--white-color); box-shadow: var(--shadow-sm); position: sticky; z-index: 1000; width: 100%; }
.header-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-lg); display: flex; align-items: center; justify-content: space-between; }

/* 网站Logo */
.site-logo a { text-decoration: none; display: flex; align-items: center; }
.logo-text { font-weight: 700; font-size: 1.25rem; color: var(--primary-color); display: flex; flex-direction: column; line-height: 1.2; }
.logo-cn { font-size: 1.25rem; }
.logo-en { font-size: 1.125rem; opacity: 0.8; text-align: center; }

/* 主导航 */
.main-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 var(--spacing-md);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

/* 语言选择器 */
.language-selector { position: relative; }
.lang-dropdown { position: relative; }
.lang-toggle { background: var(--white-color); border: 1px solid #e5e7eb; border-radius: var(--radius-md); padding: var(--spacing-sm) var(--spacing-md); cursor: pointer; display: flex; align-items: center; gap: var(--spacing-xs); font-size: 0.9rem; font-weight: 500; color: var(--dark-color); transition: all 0.3s ease; min-width: 100px; justify-content: space-between; }
.lang-toggle:hover { border-color: var(--primary-color); box-shadow: var(--shadow-sm); }
.lang-arrow { font-size: 0.7rem; transition: transform 0.3s ease; }
.lang-dropdown.active .lang-arrow { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + var(--spacing-xs)); right: 0; background: var(--white-color); border: 1px solid #e5e7eb; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); min-width: 120px; z-index: 1001; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; list-style: none; overflow: hidden; }
.lang-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option { border-bottom: 1px solid #f3f4f6; }
.lang-option:last-child { border-bottom: none; }
.lang-option a { display: block; padding: var(--spacing-sm) var(--spacing-md); color: var(--dark-color); text-decoration: none; font-size: 0.9rem; transition: all 0.2s ease; }
.lang-option a:hover { background-color: rgba(37, 99, 235, 0.1); color: var(--primary-color); }
.lang-option.active a { background-color: rgba(37, 99, 235, 0.1); color: var(--primary-color); font-weight: 500; }

/* 网站底部样式 */
.main-footer { background-color: var(--dark-color); color: var(--white-color); padding: var(--spacing-lg) 0; margin-top:5px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-lg); }
.footer-content { display: flex; flex-direction: column; gap: var(--spacing-lg); }
.footer-section { text-align: center; }
.footer-section p { margin: 0; line-height: 1.6; }

/* 响应式设计 */
@media (max-width: 992px) {
    .header-container { padding: 0 var(--spacing-md); }
}

@media (max-width: 768px) {
    .header-container { padding: 0 var(--spacing-sm); }
    .language-selector { margin-top: var(--spacing-sm); padding: 0 var(--spacing-lg); }
}

@media (max-width: 576px) {
    .logo-text { font-size: 1.2rem; }
    .logo-cn { font-size: 1.2rem; }
    .logo-en { font-size: 0.7rem; }
    .lang-toggle { min-width: 80px; font-size: 0.8rem; padding: var(--spacing-xs) var(--spacing-sm); }
}

/* 下载信息卡 */
.download-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.download-info-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.download-info-card p {
    margin: 0 0 10px 0;
    line-height: 1.6;
    font-size: 14px;
}

.download-info-card p:last-child {
    margin-bottom: 0;
}

/* 版本信息 */
.version-info {
    border-radius: 12px;
}

.version-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #495057;
    margin: 0 0 15px 0;
}

.version-info table {
    width: 100%;
    border-collapse: collapse;
}

.version-info th,
.version-info td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.version-info th {
    font-weight: 600;
    color: #2c3e50;
    width: 150px;
}

.version-info td {
    color: #6c757d;
}

.version-info tr:last-child th,
.version-info tr:last-child td {
    border-bottom: none;
}

/* 单卡片多行下载布局 */
.download-links-single-card {
}

.download-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 20px 0;
}

/* 版本信息和下载按钮左右布局 */
.version-download-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 30px;
}

.version-info-left {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 5px;
    border: 1px solid #e9ecef;
}

/* 版本信息布局 - 三行一例 */
.version-info-three-lines {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.three-lines-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 8px;
}

.three-lines-item .version-info-label {
    min-width: 80px;
    font-weight: 600;
}

.three-lines-item .version-info-value {
    margin-left: 10px;
    text-align: left;
    flex: 1;
}

.three-lines-item:last-child {
    margin-bottom: 0;
}

.version-info-label {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.version-info-value {
    color: #6c757d;
    font-size: 14px;
}

.download-source-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.download-source-info h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 0;
}

.download-source-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 14px;
}

.download-links-right {
    flex: 0 0 58%;
    background: white;
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #667eea;
    max-width: 58%;
}

/* 下载按钮行布局 */
.download-buttons-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2px;
    padding: 10px 0;
}

/* 下载按钮样式 */
.download-btn {
    display: inline-block;
    background: #667eea;
    color: white;
    margin: 2px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    flex: 0 0 calc(32% - 3.333px);
    box-sizing: border-box;
}

.download-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.download-btn.primary {
    background: #28a745;
    margin: 2px;
}

.download-btn.primary:hover {
    background: #218838;
}

.download-btn.secondary {
    background: #ffc107;
    color: #212529;
}

.download-btn.secondary:hover {
    background: #e0a800;
}

.download-btn.disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

.download-btn.disabled:hover {
    background: #6c757d;
    transform: none;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .version-download-container {
        flex-direction: column;
    }
    
    .version-info-left {
        flex: 1 0 auto;
        width: 100%;
    }
    
    .download-links-right {
        flex: 1 0 auto;
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .download-btn {
        min-width: 100%;
        flex: 0 0 100%;
    }
}

/* 相册样式 */
.section-intro-text{margin-bottom:20px;line-height:1.6;color:#495057;}
.intro-gallery-container{display:grid;grid-template-columns:1fr 500px;gap:20px;align-items:start;}
.gallery-main{position:relative;width:100%;height:300px;overflow:hidden;border-radius:8px;box-shadow:0 4px 15px rgba(0,0,0,0.1);margin-bottom:15px;}
.gallery-main img{width:100%;height:100%;object-fit:cover;cursor:zoom-in;}
.thumb-container{position:relative;}
.thumb-arrow{position:absolute;top:50%;transform:translateY(-50%);width:35px;height:70px;background:rgba(0,0,0,0.6);color:white;border:none;cursor:pointer;z-index:10;font-size:24px;display:flex;align-items:center;justify-content:center;transition:all 0.3s ease;opacity:0.8;}
.thumb-arrow.left-arrow{left:0;border-radius:6px 0 0 6px;}
.thumb-arrow.right-arrow{right:0;border-radius:0 6px 6px 0;}
.gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:0 50px;scroll-behavior:smooth;}
.gallery-thumbs .thumb{width:100px;height:60px;object-fit:cover;cursor:pointer;border-radius:4px;border:2px solid transparent;transition:all 0.3s ease;flex-shrink:0;}