/* ========== 全局样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #f97316;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
    --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 12px 32px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.6;
    font-size: 16px;
}

/* ========== 导航栏 ========== */
.navbar-a7k2 {
    background-color: var(--background-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container-a7k2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-brand-a7k2 {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 600;
}

.brand-logo-a7k2 {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-name-a7k2 {
    color: var(--primary-color);
    font-weight: 700;
}

.navbar-menu-a7k2 {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link-a7k2 {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link-a7k2:hover {
    color: var(--primary-color);
}

.nav-link-a7k2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link-a7k2:hover::after {
    width: 100%;
}

.mobile-toggle-a7k2 {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-toggle-a7k2 span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== 英雄区域 ========== */
.hero-a7k2 {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    padding: 60px 24px;
    overflow: hidden;
}

.hero-content-a7k2 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text-a7k2 {
    flex: 1;
    color: var(--background-white);
}

.hero-title-a7k2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle-a7k2 {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 24px;
}

.tags-wrapper-a7k2 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.tag-badge-a7k2 {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--background-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-download-primary-a7k2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--secondary-color);
    color: var(--background-white);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-download-primary-a7k2:hover {
    background-color: #ea6317;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.hero-image-a7k2 {
    flex: 1;
    text-align: center;
}

.cover-main-a7k2 {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== 主要内容 ========== */
.main-content-a7k2 {
    padding: 80px 24px;
}

.section-container-a7k2 {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header-a7k2 {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-a7k2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.title-underline-a7k2 {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ========== 游戏特色部分 ========== */
.features-section-a7k2 {
    background-color: var(--background-white);
    padding: 80px 24px;
    margin-bottom: 40px;
    border-radius: 12px;
}

.features-grid-a7k2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card-a7k2 {
    background-color: var(--background-light);
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.feature-card-a7k2:hover {
    background-color: var(--background-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.feature-icon-a7k2 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title-a7k2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-desc-a7k2 {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== 游戏介绍部分 ========== */
.intro-section-a7k2 {
    background-color: var(--background-white);
    padding: 80px 24px;
    margin-bottom: 40px;
    border-radius: 12px;
}

.intro-content-a7k2 {
    display: flex;
    gap: 60px;
    align-items: center;
}

.intro-text-a7k2 {
    flex: 1;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.intro-text-a7k2 p {
    margin-bottom: 20px;
}

.intro-image-a7k2 {
    flex: 1;
}

.intro-img-a7k2 {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* ========== 游戏攻略部分 ========== */
.guide-section-a7k2 {
    background-color: var(--background-white);
    padding: 80px 24px;
    margin-bottom: 40px;
    border-radius: 12px;
}

.guide-content-wrapper-a7k2 {
    background-color: var(--background-light);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.guide-content-text-a7k2 {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 15px;
}

.guide-content-text-a7k2 p {
    margin-bottom: 16px;
}

.guide-content-text-a7k2 h1,
.guide-content-text-a7k2 h2,
.guide-content-text-a7k2 h3 {
    color: var(--primary-color);
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.guide-content-text-a7k2 ul,
.guide-content-text-a7k2 ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

/* ========== 下载部分 ========== */
.download-section-a7k2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 24px;
    border-radius: 12px;
}

.download-card-a7k2 {
    background-color: var(--background-white);
    padding: 60px 48px;
    border-radius: 12px;
    text-align: center;
}

.download-title-a7k2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.download-desc-a7k2 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.download-buttons-a7k2 {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-download-large-a7k2 {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--background-white);
    padding: 20px 48px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-download-large-a7k2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.btn-download-large-a7k2 i {
    font-size: 24px;
}

.btn-download-large-a7k2 strong {
    font-size: 18px;
}

.btn-download-large-a7k2 small {
    font-size: 12px;
    opacity: 0.9;
}

.download-info-grid-a7k2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    border-top: 2px solid var(--border-color);
    padding-top: 32px;
}

.download-info-item-a7k2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
}

.download-info-item-a7k2 i {
    font-size: 32px;
    color: var(--primary-color);
}

/* ========== 页脚 ========== */
.footer-a7k2 {
    background-color: var(--text-dark);
    color: var(--background-white);
    padding: 60px 24px 24px;
}

.footer-container-a7k2 {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main-a7k2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand-section-a7k2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo-a7k2 {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-title-a7k2 {
    font-size: 20px;
    font-weight: 700;
}

.footer-subtitle-a7k2 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-nav-section-a7k2,
.footer-links-section-a7k2 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-section-title-a7k2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-links-a7k2 {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link-a7k2 {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-link-a7k2:hover {
    color: var(--background-white);
    padding-left: 4px;
}

.friend-link-a7k2 {
    color: var(--primary-light);
}

.footer-friend-link-a7k2:hover {
    color: var(--background-white);
}

.footer-bottom-a7k2 {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-a7k2 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ========== 平板端响应式 (≤ 768px) ========== */
@media (max-width: 768px) {
    .navbar-container-a7k2 {
        height: 60px;
        padding: 0 16px;
    }

    .navbar-menu-a7k2 {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--background-white);
        box-shadow: var(--shadow-md);
        padding: 16px;
        gap: 0;
    }

    .navbar-menu-a7k2.active {
        display: flex;
    }

    .navbar-menu-a7k2 li {
        border-bottom: 1px solid var(--border-color);
        padding: 12px 0;
    }

    .navbar-menu-a7k2 li:last-child {
        border-bottom: none;
    }

    .mobile-toggle-a7k2 {
        display: flex;
    }

    .hero-a7k2 {
        padding: 40px 16px;
    }

    .hero-content-a7k2 {
        flex-direction: column;
        gap: 40px;
    }

    .hero-title-a7k2 {
        font-size: 36px;
    }

    .hero-subtitle-a7k2 {
        font-size: 16px;
    }

    .features-grid-a7k2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .intro-content-a7k2 {
        flex-direction: column;
        gap: 40px;
    }

    .download-card-a7k2 {
        padding: 40px 24px;
    }

    .download-info-grid-a7k2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-main-a7k2 {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-title-a7k2 {
        font-size: 28px;
    }
}

/* ========== 移动端响应式 (≤ 480px) ========== */
@media (max-width: 480px) {
    .hero-title-a7k2 {
        font-size: 28px;
    }

    .hero-subtitle-a7k2 {
        font-size: 14px;
    }

    .section-title-a7k2 {
        font-size: 24px;
    }

    .feature-card-a7k2 {
        padding: 24px 16px;
    }

    .feature-icon-a7k2 {
        font-size: 36px;
    }

    .feature-title-a7k2 {
        font-size: 18px;
    }

    .download-card-a7k2 {
        padding: 32px 16px;
    }

    .download-title-a7k2 {
        font-size: 24px;
    }

    .btn-download-large-a7k2 {
        padding: 16px 32px;
    }

    .download-info-item-a7k2 i {
        font-size: 24px;
    }
}
