/* ===== 全局 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1a1a1a;
    --color-secondary: #333333;
    --color-accent: #0066cc;
    --color-light: #f5f5f5;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e0e0e0;
    --sidebar-width: 280px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
}

/* ===== 应用框架 ===== */
.app-wrapper-q7s2 {
    display: flex;
    min-height: 100vh;
}

/* ===== 侧边栏 ===== */
.sidebar-nav-q7s2 {
    width: var(--sidebar-width);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header-q7s2 {
    padding: 0 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-logo-q7s2 {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}

.sidebar-title-q7s2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.sidebar-menu-q7s2 {
    padding: 1rem 0;
}

.menu-item-q7s2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
    border-left: 3px solid transparent;
}

.menu-item-q7s2:hover,
.menu-item-q7s2.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-left-color: var(--color-accent);
}

.menu-item-q7s2 i {
    width: 20px;
    font-size: 1.1rem;
}

.sidebar-footer-q7s2 {
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subtitle-mini-q7s2 {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.btn-sidebar-q7s2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 6px;
    transition: 0.3s;
    cursor: pointer;
}

.btn-sidebar-q7s2:hover {
    background: #0052a3;
    transform: translateX(3px);
}

/* ===== 主内容区 ===== */
.main-content-area-q7s2 {
    flex: 1;
    margin-left: var(--sidebar-width);
    background: var(--color-light);
    min-height: 100vh;
}

/* ===== 英雄区 ===== */
.hero-section-q7s2 {
    background: var(--color-white);
    padding: 4rem;
    border-bottom: 1px solid var(--color-border);
}

.hero-grid-q7s2 {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left-q7s2 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title-q7s2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-primary);
}

.hero-subtitle-q7s2 {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

.hero-tags-row-q7s2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag-badge-q7s2 {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.hero-description-q7s2 {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.btn-primary-q7s2 {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
    width: fit-content;
}

.btn-primary-q7s2:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.hero-right-q7s2 {
    position: relative;
}

.hero-image-q7s2 {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== 游戏攻略 ===== */
.guide-section-q7s2 {
    background: var(--color-white);
    padding: 4rem;
    margin: 2rem;
    border-radius: 8px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-q7s2 {
    margin-bottom: 2rem;
}

.section-title-q7s2 {
    font-size: 2rem;
    color: var(--color-primary);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-accent);
}

.guide-content-box-q7s2 {
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.guide-content-box-q7s2 p {
    margin-bottom: 1.5rem;
}

.guide-content-box-q7s2 h2,
.guide-content-box-q7s2 h3 {
    color: var(--color-primary);
    margin: 2rem 0 1rem;
}

.guide-content-box-q7s2 ul,
.guide-content-box-q7s2 ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

/* ===== 下载区 ===== */
.download-section-q7s2 {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 4rem 2rem;
}

.download-box-q7s2 {
    max-width: 1000px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.download-text-q7s2 {
    flex: 1;
}

.download-title-q7s2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.download-desc-q7s2 {
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn-download-large-q7s2 {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-download-large-q7s2:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

.download-features-grid-q7s2 {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card-q7s2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card-q7s2 i {
    font-size: 2rem;
}

/* ===== 页脚 ===== */
.footer-minimal-q7s2 {
    background: var(--color-light);
    padding: 3rem 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid-q7s2 {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col-q7s2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-heading-q7s2 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
}

.footer-links-q7s2 {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links-q7s2 a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links-q7s2 a:hover {
    color: var(--color-accent);
}

.copy-info-q7s2 {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 240px;
    }

    .hero-grid-q7s2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title-q7s2 {
        font-size: 2.5rem;
    }

    .download-box-q7s2 {
        flex-direction: column;
        text-align: center;
    }

    .btn-download-large-q7s2 {
        width: 100%;
        justify-content: center;
    }

    .download-features-grid-q7s2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar-nav-q7s2 {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: auto;
        max-height: 60px;
        overflow: visible;
        z-index: 1000;
        display: flex;
        align-items: center;
        padding: 0 1rem;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .sidebar-header-q7s2 {
        border-bottom: none;
        padding: 0;
    }

    .sidebar-menu-q7s2 {
        display: none;
    }

    .sidebar-footer-q7s2 {
        display: none;
    }

    .main-content-area-q7s2 {
        margin-left: 0;
        margin-top: 60px;
    }

    .hero-section-q7s2,
    .guide-section-q7s2 {
        padding: 2rem;
    }

    .hero-title-q7s2 {
        font-size: 2rem;
    }

    .download-features-grid-q7s2 {
        grid-template-columns: 1fr;
    }

    .footer-grid-q7s2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title-q7s2 {
        font-size: 1.5rem;
    }

    .download-title-q7s2 {
        font-size: 1.5rem;
    }

    .btn-primary-q7s2,
    .btn-download-large-q7s2 {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
