/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a192f;
    --primary-black: #020c1b;
    --primary-blue: #1e40af;
    --accent-blue: #3b82f6;
    --text-white: #ffffff;
    --text-light: #e5e7eb;
    --shadow-color: rgba(255, 255, 255, 0.1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.3s ease;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏样式 */
.custom-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar:hover .custom-logo {
    transform: rotate(15deg);
}
/* 修改导航栏的过渡动画速度 - 加快版本 */
.navbar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 80px;
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-black));
    padding: 2rem 1rem;
    z-index: 1000;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 从0.6s改为0.3s */
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* 修改Logo文字的动画 */
.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-white);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); /* 从0.6s改为0.25s */
}

/* 修改导航文本的动画 */
.nav-text {
    font-size: 1.1rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); /* 从0.6s改为0.2s */
}

/* 修改主内容的动画 */
.main-content {
    margin-left: 80px;
    min-height: 100vh;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* 从0.6s改为0.3s */
}

/* 修改导航项悬停动画 */
.nav-item a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    transition: all 0.15s ease; /* 从0.3s改为0.15s */
    position: relative;
    overflow: hidden;
}

.nav-item a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-white);
    transform: translateX(5px);
}

/* 修改导航项激活状态动画 */
.nav-item.active a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--accent-blue);
    transform: translateX(-100%);
    transition: transform 0.2s ease; /* 从0.3s改为0.2s */
}

.nav-item.active a::before {
    transform: translateX(0);
}

/* 调整原有样式以适应图片logo */
.nav-logo i {
    /* 如果您要完全替换图标，可以注释掉这部分 */
    /* font-size: 2rem; */
    /* color: var(--accent-blue); */
    /* min-width: 32px; */
}

/* 如果需要保持原有布局，可以添加 */
.nav-logo img + .logo-text {
    margin-left: 1rem;
}
.navbar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 80px;
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-black));
    padding: 2rem 1rem;
    z-index: 1000;
    transition: width var(--transition-slow);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.navbar:hover {
    width: 240px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-left: 0.5rem;
}

.nav-logo i {
    font-size: 2rem;
    color: var(--accent-blue);
    min-width: 32px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-white);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-20px);
    transition: all var(--transition-slow);
}

.navbar:hover .logo-text {
    opacity: 1;
    transform: translateX(0);
}

.nav-menu {
    list-style: none;
}

.nav-item {
    margin: 1.5rem 0;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.nav-item a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-white);
    transform: translateX(5px);
}

.nav-item.active a {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), transparent);
    color: var(--accent-blue);
}

.nav-item a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--accent-blue);
    transform: translateX(-100%);
    transition: transform var(--transition-fast);
}

.nav-item.active a::before {
    transform: translateX(0);
}

.nav-item i {
    font-size: 1.5rem;
    min-width: 32px;
    text-align: center;
}

.nav-text {
    font-size: 1.1rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-20px);
    transition: all var(--transition-slow);
}

.navbar:hover .nav-text {
    opacity: 1;
    transform: translateX(0);
}

/* 主内容区域 */
.main-content {
    margin-left: 80px;
    min-height: 100vh;
    transition: margin-left var(--transition-slow);
}

.navbar:hover ~ .main-content {
    margin-left: 240px;
}

/* 英雄区域通用样式 */
.hero-section, .download-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background, .download-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(2, 12, 27, 0.9)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    z-index: -1;
}

.hero-content, .download-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero-subtitle, .download-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title, .download-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #fff, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.6s;
}

/* 按钮样式 */
/* 版本操作区域样式 */
.version-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.version-download-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid var(--accent-blue);
    color: var(--text-white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.version-download-btn:hover {
    background: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.version-download-btn.current {
    background: linear-gradient(45deg, var(--accent-blue), #1d4ed8);
    border: none;
    font-weight: bold;
}

.version-download-btn.current:hover {
    background: linear-gradient(45deg, #1d4ed8, var(--accent-blue));
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.version-download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.version-link-info {
    margin-top: 0.5rem;
    text-align: center;
}

.version-link-info small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* 当前版本的操作区域特殊样式 */
.version-item.current .version-actions {
    border-top-color: rgba(16, 185, 129, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .version-download-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}
.learn-more-btn, .download-btn {
    background: linear-gradient(45deg, var(--accent-blue), #1d4ed8);
    color: var(--text-white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.9s;
}

.learn-more-btn:hover, .download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.learn-more-btn::after, .download-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.learn-more-btn:active::after, .download-btn:active::after {
    width: 300px;
    height: 300px;
}

/* 介绍区域 */
.about-section {
    padding: 8rem 2rem;
    background: var(--primary-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 60px var(--shadow-color),
                inset 0 0 40px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-fast);
}

.image-frame:hover {
    transform: perspective(1000px) rotateY(0);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.1) contrast(1.05);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #fff, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 团队区域 */
.team-section {
    padding: 6rem 2rem;
    background: var(--primary-black);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 20px;
    transition: transform var(--transition-fast),
                background var(--transition-fast);
}

.team-member:hover {
    transform: translateY(-10px);
    background: rgba(59, 130, 246, 0.2);
}

.member-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-blue);
    position: relative;
}

.member-avatar::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, var(--accent-blue), transparent);
    z-index: -1;
    animation: rotate 3s linear infinite;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.member-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 下载页面样式 - 简化版 */

/* 下载英雄区域 */
.download-hero {
    height: 80vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(2, 12, 27, 0.9)),
                url('../images/download-bg.jpg') center/cover no-repeat;
    z-index: -1;
}

.download-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.download-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.download-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #fff, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.download-info {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.version-info, .file-size, .update-date {
    background: rgba(59, 130, 246, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--text-light);
    font-size: 0.9rem;
}

.download-btn {
    background: linear-gradient(45deg, var(--accent-blue), #1d4ed8);
    color: var(--text-white);
    border: none;
    padding: 1.2rem 4rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem auto;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
    background: linear-gradient(45deg, #1d4ed8, var(--accent-blue));
}

.download-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.download-hint {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.2s;
}

/* 下载详情区域 */
.download-details {
    padding: 6rem 2rem;
    background: var(--primary-dark);
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: rgba(30, 64, 175, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--accent-blue), transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

/* 系统要求 */
.system-requirements {
    margin-top: 4rem;
}

.requirements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.requirement-item {
    background: rgba(30, 64, 175, 0.1);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.requirement-item:hover {
    transform: translateY(-5px);
}

.requirement-item i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-top: 0.5rem;
}

.requirement-item h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.requirement-item p {
    color: var(--text-light);
    margin: 0.25rem 0;
}
/* 历史版本区域样式 */
.version-history {
    margin: 4rem 0;
}

.version-timeline {
    position: relative;
    margin-top: 3rem;
    padding-left: 2rem;
}

.version-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, 
        var(--accent-blue), 
        rgba(59, 130, 246, 0.3), 
        var(--accent-blue));
    border-radius: 3px;
}

.version-item {
    position: relative;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.version-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.version-item::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: 3px solid var(--primary-dark);
    z-index: 2;
}

.version-item.current::before {
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.version-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.version-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-white);
    background: rgba(59, 130, 246, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.version-item.current .version-number {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.current-badge {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    animation: fadeInOut 3s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.version-date {
    color: var(--text-light);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.version-content {
    background: rgba(30, 64, 175, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.version-item:hover .version-content {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.6;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-blue);
}

.version-item.current .feature-list li::before {
    background: #10b981;
}

/* 更多版本按钮 */
.more-versions {
    text-align: center;
    margin-top: 2rem;
}

.more-btn {
    background: transparent;
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-blue);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.more-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .version-timeline {
        padding-left: 1.5rem;
    }
    
    .version-item::before {
        left: -1.85rem;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .version-number {
        font-size: 1.3rem;
        padding: 0.4rem 1rem;
    }
    
    .version-content {
        padding: 1.25rem;
    }
    
    .feature-list li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .version-timeline {
        padding-left: 1.25rem;
    }
    
    .version-item::before {
        left: -1.6rem;
        width: 10px;
        height: 10px;
    }
    
    .version-content {
        padding: 1rem;
    }
    
    .feature-list li {
        padding-left: 1.25rem;
        font-size: 0.9rem;
    }
    
    .feature-list li::before {
        width: 6px;
        height: 6px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-title {
        font-size: 2.5rem;
    }
    
    .download-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .download-btn {
        padding: 1rem 3rem;
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-list {
        grid-template-columns: 1fr;
    }
}

/* 图廊页面样式 */
.gallery-header {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-black));
}

.gallery-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.gallery-section {
    padding: 2rem;
    background: var(--primary-black);
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
}

.gallery-item:nth-child(even) {
    direction: rtl;
}

.gallery-item:nth-child(even) .gallery-text {
    direction: ltr;
}

.gallery-image-wrapper {
    position: relative;
}

.gallery-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 60px var(--shadow-color),
                inset 0 0 40px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(calc(var(--direction, 1) * 5deg));
    transition: transform var(--transition-fast);
}

.gallery-item:nth-child(odd) .gallery-frame {
    --direction: -1;
}

.gallery-frame:hover {
    transform: perspective(1000px) rotateY(0);
}

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-frame:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-text {
    padding: 2rem;
}

.gallery-item-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.gallery-item-description {
    color: var(--text-light);
    line-height: 1.8;
}
/* 图廊标题增强 */
.gallery-header {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-black));
    position: relative;
}

.gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.gallery-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.gallery-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 2rem;
}

/* 图廊内容 */
.gallery-section {
    padding: 4rem 2rem;
    background: var(--primary-black);
    min-height: 80vh;
}

.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    background: rgba(30, 64, 175, 0.05);
}

.gallery-item:nth-child(even) {
    direction: rtl;
}

.gallery-item:nth-child(even) .gallery-text {
    direction: ltr;
}

/* 图片框 */
.gallery-image-wrapper {
    position: relative;
}

.gallery-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 60px var(--shadow-color),
                inset 0 0 40px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(calc(var(--direction, 1) * 5deg));
    transition: transform var(--transition-fast);
    position: relative;
}

.gallery-item:nth-child(odd) .gallery-frame {
    --direction: -1;
}

.gallery-frame:hover {
    transform: perspective(1000px) rotateY(0);
}

.gallery-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.gallery-frame:hover .gallery-image {
    transform: scale(1.05);
}

/* 文字内容 */
.gallery-text {
    padding: 2rem;
}

.item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.item-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-blue);
    opacity: 0.7;
    font-family: monospace;
}

.gallery-item-title {
    font-size: 2rem;
    margin: 0;
    color: var(--text-white);
    font-weight: 600;
}

.gallery-item-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .gallery-item {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .gallery-title {
        font-size: 2.5rem;
    }
    
    .gallery-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .gallery-item:nth-child(even) {
        direction: ltr;
    }
    
    .gallery-image {
        height: 300px;
    }
    
    .gallery-item-title {
        font-size: 1.8rem;
    }
    
    .item-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-section {
        padding: 2rem 1rem;
    }
    
    .gallery-grid {
        gap: 4rem;
    }
    
    .gallery-item {
        padding: 1rem;
    }
    
    .gallery-image {
        height: 250px;
    }
    
    .gallery-item-title {
        font-size: 1.5rem;
    }
}

/* 页脚样式 */
.footer {
    background: var(--primary-dark);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.footer-email {
    color: var(--text-light);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-email i {
    color: var(--accent-blue);
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
    text-decoration: none;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-white);
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.5rem;
    width: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        width: 60px;
    }
    
    .navbar:hover {
        width: 200px;
    }
    
    .main-content {
        margin-left: 60px;
    }
    
    .navbar:hover ~ .main-content {
        margin-left: 200px;
    }
    
    .hero-title, .download-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .gallery-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-item:nth-child(even) {
        direction: ltr;
    }
}