/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 设计规范 - 色彩方案 */
:root {
    --primary-color: #30d876;
    --primary-dark: #28c068;
    --background-color: #0a1120;
    --background-gradient: linear-gradient(135deg, #0a1120 0%, #0e172a 100%);
    --card-bg: rgba(20, 29, 50, 0.8);
    --border-color: #2a3a57;
    --text-primary: #ffffff;
    --text-secondary: #ffffffcc;
    --text-tertiary: #ffffff99;
    --qr-bg: transparent;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 16px rgba(48, 216, 118, 0.3);
    --shadow-lg: 0 12px 32px rgba(48, 216, 118, 0.2);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
}

/* 设计规范 - 字体样式 */
body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* 下载页面主体 */
.download-page {
    padding: 80px 0;
    text-align: center;
    background: var(--background-gradient);
    position: relative;
    overflow: hidden;
}

/* 背景装饰效果 */
.download-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(48, 216, 118, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(48, 216, 118, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, rgba(48, 216, 118, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* 标题样式 */
.download-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(48, 216, 118, 0.3);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

/* 下载卡片网格 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 1;
}

/* 下载卡片样式 */
.download-card {
    background-color: rgba(20, 29, 50, 0.8);
    backdrop-filter: blur(10px);
    padding: 48px 32px;
    border-radius: 12px;
    border: 1px solid #2a3a57;
    background-clip: padding-box;
    background-origin: padding-box;
    background-image: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* 平台头部样式 */
.platform-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.platform-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* QR码样式 */
.qr-code {
    width: 200px;
    height: 200px;
    background-color: var(--qr-bg);
    border-radius: var(--border-radius-sm);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    overflow: hidden;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* QR码标签 */
.qr-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

/* 下载按钮样式 */
.download-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background-color: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.5px;
}

.download-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 即将上线样式 */
.coming-soon {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin-top: 24px;
    letter-spacing: 0.5px;
}

/* 页脚样式 */
footer {
    background-color: var(--card-bg);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    margin-bottom: 20px;
}

/* 第1-5块：每个footer-block */
.footer-block {
    display: flex;
    align-items: flex-start;
    padding: 0;
    margin: 0;
}

.footer-divider {
    width: 1px;
    background-color: var(--border-color);
    height: 160px;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer-logo-image {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
}

.footer-menu {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.menu-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.menu-links a:hover {
    color: var(--primary-color);
}

.menu-links a{
    margin-bottom: 15px;
}

/* 版权信息样式 */
.footer-copyright {
    color: var(--text-tertiary);
    font-size: 14px;
    text-align: left;
    line-height: 30px;
    border-top: none;
    padding-top: 0;
}

.copyright-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.copyright-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
}

.copyright-text {
    line-height: 1.5;
    letter-spacing: 0.2px;
}

.copyright-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .nav-links {
        gap: 24px;
    }
    
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .download-title {
        font-size: 40px;
        margin-bottom: 48px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .download-page {
        padding: 60px 0;
    }

    .download-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }

    .download-card {
        padding: 36px 24px;
    }

    .platform-header {
        margin-bottom: 24px;
    }

    .platform-name {
        font-size: 18px;
    }

    .qr-code {
        width: 160px;
        height: 160px;
    }

    .qr-code img {
        width: 140px;
        height: 140px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-logo-section {
        align-items: flex-start;
        text-align: left;
    }
}

    /* 响应式设计 - 小屏手机 */
    @media (max-width: 480px) {
        .download-title {
            font-size: 28px;
        }

        .download-card {
            padding: 28px 20px;
        }

        .platform-header {
            gap: 8px;
        }

        .platform-name {
            font-size: 16px;
        }

        .download-btn {
            font-size: 14px;
            padding: 12px 20px;
        }

        .footer-divider{
            display: none;
        }
    }

    /* 滚动条样式 */
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: var(--background-color);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-color);
    }

    /* 动画效果 */
    .fade-in-up {
        animation: fadeInUp 0.8s ease-out;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
