/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
body {
    background: #FFFFFF;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"%3E%3Ccircle cx="10" cy="10" r="1" fill="%231E90FF" opacity="0.3"/%3E%3C/svg%3E');
    background-size: 20px 20px;
    background-repeat: repeat;
}

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

/* 头部 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    background: rgba(255, 255, 255, 1);
}


.logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(90deg, #1E90FF, #87CEEB);
    -webkit-background-clip: text;
    color: transparent;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

/* 导航菜单样式 */
nav {
    position: relative;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu li a {
    color: #333333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a:hover, .nav-menu li a.active {
    color: #FFFFFF;
    background: linear-gradient(45deg, #1E90FF, #87CEEB);
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
    transform: translateY(-2px);
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #1E90FF;
    transform: translateX(-50%);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333333;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    width: 200px;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile li {
    margin: 10px 0;
    text-align: center;
}

.nav-mobile li a {
    display: block;
    padding: 10px 20px;
    color: #333333;
    font-size: 16px;
    border-radius: 0;
}

.nav-mobile li a:hover, .nav-mobile li a.active {
    color: #FFFFFF;
    background: linear-gradient(45deg, #1E90FF, #87CEEB);
    box-shadow: none;
    transform: none;
}

/* 主视觉区域 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #FFFFFF, #F0F8FF);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Ccircle cx="50" cy="50" r="5" fill="%231E90FF" opacity="0.3"/%3E%3C/svg%3E');
    background-size: 20px 20px;
    animation: float 6s infinite ease-in-out;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: 54px;
    margin-bottom: 30px; /* 增加到30px，与p的间距更大 */
    font-weight: 700;
    color: #333333;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 22px;
    color: #666666;
    margin-bottom: 50px; /* 增加到50px，与按钮的间距更大 */
    animation: fadeIn 1.5s ease-in;
}

/* 主视觉区域按钮基础样式 */
.hero .btn {
    padding: 10px 40px;
    background: linear-gradient(45deg, #1E90FF, #87CEEB); /* “立即开始”保持蓝色渐变 */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
    cursor: pointer;
    display: inline-block;
    margin: 0 15px;
}

.hero .btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.5);
}

/* “立即注册”按钮调整为适中亮度的橙黄渐变 */
.hero .register-btn {
    background: linear-gradient(45deg, #FF8C00, #FFD700); /* 深橙色到金黄色 */
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4); /* 阴影匹配橙色 */
}

.hero .register-btn:hover {
    background: linear-gradient(45deg, #FF7F00, #FFC107); /* 悬停时稍调整渐变 */
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
}

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

/* 功能区域 */
.features {
    padding: 80px 0;
    text-align: center;
    background: #FFFFFF;
}

.features h2 {
    font-size: 40px;
    margin-bottom: 50px;
    color: #333333;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.card {
    background: #F0F8FF;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(30, 144, 255, 0.5);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #87CEEB;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
}

.card h3 {
    font-size: 24px;
    margin: 15px 0;
    color: #333333;
}

.card p {
    color: #666666;
    font-size: 18px;
}

/* 页脚 */
footer {
    background: #F0F8FF;
    padding: 60px 50px;
    color: #333333;
    border-top: 1px solid #E0E0E0;
    text-align: center;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(90deg, #1E90FF, #87CEEB);
    -webkit-background-clip: text;
    color: transparent;
    transition: transform 0.3s;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-contact {
    display: flex;
    gap: 15px;
    font-size: 16px;
    color: #666666;
}

.footer-contact i {
    margin-right: 8px;
}

.footer-social {
    display: flex;
    gap: 20px;
    font-size: 22px;
}

.footer-social a {
    color: #666666;
    transition: color 0.3s, transform 0.3s;
}

.footer-social a:hover {
    color: #1E90FF;
    transform: scale(1.1);
}

.copyright {
    margin-top: 15px;
    font-size: 14px;
    color: #999999;
}

.language-switcher {
    position: absolute;
    bottom: 100px;
    right: 80px;
}

.language-switcher select {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    background-color: #FFFFFF;
    cursor: pointer;
    width: 100px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    .logo {
        font-size: 16px;
    }
    .nav-menu {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .nav-mobile {
        display: none;
    }
    .nav-mobile.active {
        display: block;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 18px;
    }
    .hero .btn {
        padding: 12px 25px;
        font-size: 16px;
    }
    .features {
        padding: 50px 0;
    }
    .features h2 {
        font-size: 30px;
    }
    .card {
        width: 100%;
        max-width: 300px;
    }
    footer {
        padding: 40px 20px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-contact, .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }
    .language-switcher {
        position: static;
        margin-top: 20px;
        text-align: right;
        width: 100%;
    }
}
/* 前面的index.html样式保持不变，此处仅更新promo相关样式 */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: #FFFFFF;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"%3E%3Ccircle cx="10" cy="10" r="1" fill="%231E90FF" opacity="0.3"/%3E%3C/svg%3E');
    background-size: 20px 20px;
    background-repeat: repeat;
    position: relative;
    z-index: -1; /* 确保body背景在最底层 */
}

/* 通用容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 0; /* 内容高于body背景 */
}

/* 推广区域 */
.promo {
    padding: 150px 0 100px;
    text-align: center;
    background: linear-gradient(135deg, #FFFFFF, #F0F8FF);
    min-height: 100vh;
    position: relative;
    z-index: 0; /* 设置基础层级 */
}

.promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Ccircle cx="50" cy="50" r="5" fill="%231E90FF" opacity="0.3"/%3E%3C/svg%3E');
    background-size: 20px 20px;
    animation: float 6s infinite ease-in-out;
    z-index: -1; /* 圆点低于内容 */
}

.promo .container {
    position: relative;
    z-index: 1; /* 确保内容在圆点前面 */
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.promo h1 {
    font-size: 54px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #333333;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-in;
}

.promo p {
    font-size: 22px;
    color: #666666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.5s ease-in 0.5s;
}

/* 奖励卡片 */
.reward-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 50px 20px;
    margin-bottom: 80px;
}

.reward-card {
    background: #F0F8FF;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(30, 144, 255, 0.5);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.reward-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #87CEEB;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
}

.reward-card h3 {
    font-size: 24px;
    margin: 15px 0;
    color: #333333;
}

.reward-card p {
    color: #666666;
    font-size: 18px;
    line-height: 1.8;
}

.reward-card img {
    width: 150px; /* 新版本调整为150px */
    height: auto;
    margin: 20px auto;
    display: block;
}

/* QR码和社交链接 */
.qr-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #F0F8FF;
    border-radius: 12px;
    max-width: 300px;
    margin: 0 auto 80px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.qr-code {
    width: 200px;
    height: 200px;
    background: #FFFFFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.qr-social p {
    font-size: 18px;
    color: #666666;
}

.qr-social .social-links {
    display: flex;
    gap: 20px;
    font-size: 24px;
    position: relative;
    z-index: 2; /* 确保图标在圆点前面 */
}

.qr-social .social-links a {
    color: #666666;
    transition: color 0.3s, transform 0.3s;
}

.qr-social .social-links a:hover {
    color: #1E90FF;
    transform: scale(1.1);
}

/* 页脚（添加z-index调整） */
.footer-contact {
    display: flex;
    gap: 15px;
    font-size: 16px;
    color: #666666;
    position: relative;
    z-index: 2; /* 确保联系图标在圆点前面 */
}

.footer-social {
    display: flex;
    gap: 20px;
    font-size: 22px;
    position: relative;
    z-index: 2; /* 确保社交图标在圆点前面 */
}

/* 更新响应式设计 */
@media (max-width: 768px) {
    /* 前面的index.html响应式样式保持不变 */
    .promo {
        padding: 100px 0 60px;
    }
    .promo h1 {
        font-size: 36px;
    }
    .promo p {
        font-size: 18px;
    }
    .reward-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .reward-card {
        padding: 20px;
    }
    .reward-card h3 {
        font-size: 20px;
    }
    .reward-card p {
        font-size: 16px;
    }
    .qr-social {
        padding: 20px;
        max-width: 250px;
    }
    .qr-code {
        width: 150px;
        height: 150px;
    }
    .qr-social p {
        font-size: 16px;
    }
}

/* 前面的index.html和promo.html样式保持不变，此处仅添加download.html特有样式 */

/* 下载区域 */
.download {
    padding: 200px 0 100px; /* 与主页面一致 */
    text-align: center;
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #FFFFFF, #F0F8FF);
    overflow: hidden;
}

.download-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Ccircle cx="50" cy="50" r="5" fill="%231E90FF" opacity="0.3"/%3E%3C/svg%3E');
    background-size: 20px 20px;
    animation: float 6s infinite ease-in-out;
    z-index: 1;
}

.download-content-wrapper {
    position: relative;
    z-index: 2;
}

.download h2 {
    font-size: 54px;
    margin-bottom: 135px;
    margin-top: -10px; /* 新增负值，让标题向上移动 */
    font-weight: 700;
    color: #333333;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-in;
}

.download-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
    margin-bottom: 80px;
}

.platform-card {
    background: #F0F8FF;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(30, 144, 255, 0.5);
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.platform-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #87CEEB;
    box-shadow: 0 8px 25px rgba(135, 206, 235, 0.3);
}

.platform-card img {
    width: 120%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
    transform: translateX(-8.33%);
}

.platform-card h3 {
    font-size: 24px;
    margin: 15px 0;
    color: #333333;
}

.download-btn {
    display: inline-block;
    padding: 10px 50px;
    background: linear-gradient(45deg, #1E90FF, #87CEEB);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
    cursor: pointer;
}

.download-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.5);
}

/* 更新响应式设计，添加download相关内容 */
@media (max-width: 768px) {
    /* 前面的index.html和promo.html响应式样式保持不变 */
    .download {
        padding: 100px 0 60px;
    }
    .download h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }
    .download-content {
        margin-bottom: 60px;
        gap: 20px;
    }
    .platform-card {
        padding: 20px;
    }
    .platform-card img {
        width: 110%;
        transform: translateX(-4.55%);
    }
    .platform-card h3 {
        font-size: 20px;
    }
    .download-btn {
        padding: 12px 25px;
        font-size: 16px;
    }
}

.notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000; /* Ensures it appears above other elements like the header */
    background-color: #d32f2f; /* Bold red background for urgency */
    color: #ffffff; /* White text for contrast */
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 320px; /* Limits width for readability */
}

.notification .alert {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.notification .alert i {
    font-size: 18px;
    color: #ffffff; /* White icon to match text */
}

.notification .alert p {
    margin: 0;
}

.notification .alert a {
    color: #ffeb3b; /* Bright yellow for the link to stand out */
    text-decoration: underline;
    font-weight: bold;
}

.notification .alert a:hover {
    color: #fff59d; /* Lighter yellow on hover */
}