/* ===== 全局样式 ===== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --border-light: #f0f0f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== 导航栏 ===== */
.navbar-modern-i8d4 {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container-i8d4 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand-i8d4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-icon-i8d4 {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-text-i8d4 {
    color: var(--primary-color);
}

.nav-menu-i8d4 {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link-i8d4 {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link-i8d4:hover {
    color: var(--primary-color);
}

.nav-link-i8d4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link-i8d4:hover::after {
    width: 100%;
}

.menu-toggle-i8d4 {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle-i8d4 span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: 0.3s;
    border-radius: 2px;
}

/* ===== 主体内容 ===== */
.main-content-i8d4 {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== 英雄区 ===== */
.hero-section-i8d4 {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
}

.hero-wrapper-i8d4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text-i8d4 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title-i8d4 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-subtitle-i8d4 {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.5;
}

.hero-tags-i8d4 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag-badge-i8d4 {
    background-color: var(--primary-light);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.cta-button-primary-i8d4 {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    width: fit-content;
    box-shadow: var(--shadow-md);
}

.cta-button-primary-i8d4:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image-i8d4 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-i8d4 {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* ===== 部分通用样式 ===== */
.section-container-i8d4 {
    padding: 4rem 2rem;
}

.section-header-i8d4 {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-i8d4 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.title-underline-i8d4 {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== 游戏介绍区 ===== */
.intro-section-i8d4 {
    background-color: var(--bg-white);
}

.intro-content-grid-i8d4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text-card-i8d4 {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.card-content-i8d4 {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
}

.card-content-i8d4 p {
    margin-bottom: 1.5rem;
}

.card-content-i8d4 p:last-child {
    margin-bottom: 0;
}

.intro-image-card-i8d4 {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro-img-i8d4 {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* ===== 游戏攻略区 ===== */
.guide-section-i8d4 {
    background-color: var(--bg-gray);
}

.guide-content-grid-i8d4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.guide-card-i8d4 {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.guide-card-i8d4 h2,
.guide-card-i8d4 h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.guide-card-i8d4 h2:first-child,
.guide-card-i8d4 h3:first-child {
    margin-top: 0;
}

.guide-card-i8d4 ul,
.guide-card-i8d4 ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.guide-card-i8d4 li {
    margin-bottom: 0.8rem;
}

/* ===== 下载区 ===== */
.download-section-i8d4 {
    background-color: var(--bg-white);
}

.download-content-i8d4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.download-card-primary-i8d4 {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.screenshot-card-i8d4 {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.download-header-i8d4,
.screenshot-header-i8d4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.download-header-i8d4 i,
.screenshot-header-i8d4 i {
    font-size: 2rem;
    color: var(--primary-color);
}

.download-header-i8d4 h3,
.screenshot-header-i8d4 h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.download-desc-i8d4,
.screenshot-desc-i8d4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.download-btn-i8d4 {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    margin-top: auto;
}

.download-btn-i8d4:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.screenshot-preview-i8d4 {
    border-radius: 8px;
    overflow: hidden;
    margin-top: auto;
}

.screenshot-img-i8d4 {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.screenshot-grid-i8d4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.screenshot-item-i8d4 {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-item-i8d4:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.screenshot-item-i8d4 img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 友情链接区 ===== */
.links-section-i8d4 {
    background-color: var(--bg-gray);
}

.links-grid-i8d4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.link-card-i8d4 {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.link-card-i8d4:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.link-card-i8d4 i {
    font-size: 1.5rem;
}

.link-card-i8d4 span {
    font-weight: 500;
}

/* ===== 页脚 ===== */
.footer-section-i8d4 {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container-i8d4 {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content-grid-i8d4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-i8d4 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-icon-i8d4 {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-title-i8d4 {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-desc-i8d4 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-nav-i8d4,
.footer-links-i8d4 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav-i8d4 h4,
.footer-links-i8d4 h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-nav-i8d4 ul,
.footer-links-i8d4 ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav-i8d4 a,
.footer-links-i8d4 a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-nav-i8d4 a:hover,
.footer-links-i8d4 a:hover {
    color: white;
}

.footer-bottom-i8d4 {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero-wrapper-i8d4 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-content-grid-i8d4 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .download-content-i8d4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-title-i8d4 {
        font-size: 2.2rem;
    }

    .section-title-i8d4 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-menu-i8d4 {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        border-bottom: 1px solid var(--border-light);
        padding: 1rem 2rem;
        gap: 0;
    }

    .nav-menu-i8d4.active {
        display: flex;
    }

    .nav-menu-i8d4 li {
        padding: 0.8rem 0;
    }

    .menu-toggle-i8d4 {
        display: flex;
    }

    .menu-toggle-i8d4.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle-i8d4.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle-i8d4.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-section-i8d4 {
        padding: 2rem;
    }

    .hero-title-i8d4 {
        font-size: 1.8rem;
    }

    .hero-subtitle-i8d4 {
        font-size: 1rem;
    }

    .section-container-i8d4 {
        padding: 2rem;
    }

    .section-title-i8d4 {
        font-size: 1.5rem;
    }

    .intro-text-card-i8d4,
    .download-card-primary-i8d4,
    .screenshot-card-i8d4,
    .guide-card-i8d4 {
        padding: 1.5rem;
    }

    .card-content-i8d4 {
        font-size: 1rem;
    }

    .download-header-i8d4 i,
    .screenshot-header-i8d4 i {
        font-size: 1.5rem;
    }

    .links-grid-i8d4 {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .footer-content-grid-i8d4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-container-i8d4 {
        padding: 0.8rem 1rem;
    }

    .hero-tags-i8d4 {
        gap: 0.5rem;
    }

    .tag-badge-i8d4 {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }

    .cta-button-primary-i8d4 {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .screenshot-grid-i8d4 {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title-i8d4 {
        font-size: 1.5rem;
    }

    .hero-subtitle-i8d4 {
        font-size: 0.95rem;
    }

    .section-title-i8d4 {
        font-size: 1.3rem;
    }

    .nav-brand-i8d4 {
        gap: 0.5rem;
        font-size: 1rem;
    }

    .brand-icon-i8d4 {
        width: 35px;
        height: 35px;
    }

    .card-content-i8d4 {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .links-grid-i8d4 {
        grid-template-columns: 1fr;
    }

    .link-card-i8d4 {
        padding: 1rem;
    }

    .section-container-i8d4 {
        padding: 1.5rem;
    }

    .screenshot-grid-i8d4 {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }

    .screenshot-item-i8d4:hover {
        transform: translateY(-2px);
    }
}
