/* ===== 全局样式 ===== */
:root {
    --color-primary: #1a1a1a;
    --color-secondary: #ff6b35;
    --color-accent: #f7931e;
    --color-light: #f5f5f5;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --font-bold: 800;
    --spacing-xl: 6rem;
    --spacing-lg: 3rem;
    --spacing-md: 2rem;
    --spacing-sm: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: var(--color-white);
    color: var(--color-text);
    line-height: 1.6;
}

/* ===== 固定导航栏 ===== */
.navbar-fixed-r8e1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 2px solid var(--color-light);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content-r8e1 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-r8e1 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-weight: var(--font-bold);
    color: var(--color-primary);
}

.logo-icon-r8e1 {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text-r8e1 {
    font-size: 1.2rem;
    color: var(--color-secondary);
}

.nav-links-r8e1 {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.link-item-r8e1 {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.link-item-r8e1:hover {
    color: var(--color-secondary);
}

.nav-toggle-r8e1 {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle-r8e1 span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: 0.3s;
}

/* ===== 英雄区 - 全屏 ===== */
.hero-fullscreen-r8e1 {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-light) 0%, #fafafa 100%);
    overflow: hidden;
    position: relative;
}

.hero-bg-overlay-r8e1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 147, 30, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content-wrapper-r8e1 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text-block-r8e1 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title-r8e1 {
    font-size: 4.5rem;
    font-weight: var(--font-bold);
    line-height: 1.1;
    color: var(--color-primary);
}

.hero-subtitle-r8e1 {
    font-size: 1.5rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.hero-tags-collection-r8e1 {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag-pill-r8e1 {
    background-color: var(--color-secondary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-primary-xl-r8e1 {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--color-secondary);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    width: fit-content;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary-xl-r8e1:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.hero-image-block-r8e1 {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-image-full-r8e1 {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===== 内容块通用样式 ===== */
.block-section-intro-r8e1,
.block-section-guide-r8e1,
.block-section-screenshots-r8e1,
.block-section-download-r8e1,
.block-section-links-r8e1 {
    padding: var(--spacing-xl) 2rem;
}

.block-section-intro-r8e1 {
    background-color: var(--color-white);
}

.block-section-guide-r8e1 {
    background-color: var(--color-light);
}

.block-section-screenshots-r8e1 {
    background-color: var(--color-white);
}

.block-section-download-r8e1 {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a2a2a 100%);
}

.block-section-links-r8e1 {
    background-color: var(--color-light);
}

.block-content-container-r8e1 {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header-intro-r8e1 {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-bold-r8e1 {
    font-size: 3rem;
    font-weight: var(--font-bold);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.block-section-download-r8e1 .section-title-bold-r8e1 {
    color: white;
}

/* ===== 游戏介绍区 ===== */
.intro-layout-two-col-r8e1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text-block-r8e1 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-box-intro-r8e1 {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.content-box-intro-r8e1 p {
    margin-bottom: 1.5rem;
}

.intro-image-block-r8e1 {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.intro-image-full-r8e1 {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===== 游戏攻略区 ===== */
.guide-content-block-r8e1 {
    display: flex;
}

.guide-text-box-r8e1 {
    flex: 1;
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.guide-text-box-r8e1 h2,
.guide-text-box-r8e1 h3 {
    color: var(--color-secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.guide-text-box-r8e1 h2:first-child,
.guide-text-box-r8e1 h3:first-child {
    margin-top: 0;
}

.guide-text-box-r8e1 ul,
.guide-text-box-r8e1 ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.guide-text-box-r8e1 li {
    margin-bottom: 0.8rem;
}

/* ===== 截图区 - 砌体网格 ===== */
.count-badge-r8e1 {
    background-color: var(--color-secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: 0.8rem;
}

.screenshots-masonry-grid-r8e1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.screenshot-item-masonry-r8e1 {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.screenshot-item-masonry-r8e1:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.screenshot-masonry-img-r8e1 {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===== 下载区 ===== */
.download-cta-big-button-r8e1 {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.download-btn-massive-r8e1 {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: var(--color-secondary);
    color: white;
    padding: 2rem 3rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4);
    max-width: 500px;
}

.download-btn-massive-r8e1:hover {
    background-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.5);
}

.btn-icon-container-r8e1 {
    font-size: 3rem;
}

.btn-text-container-r8e1 {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.btn-main-text-r8e1 {
    font-size: 1.5rem;
    font-weight: var(--font-bold);
}

.btn-sub-text-r8e1 {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== 友情链接区 ===== */
.links-grid-masonry-r8e1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.link-item-card-r8e1 {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.link-item-card-r8e1:hover {
    border-left: 4px solid var(--color-secondary);
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.link-item-card-r8e1 i {
    font-size: 1.3rem;
    color: var(--color-secondary);
}

.link-item-card-r8e1 span {
    font-weight: 600;
}

/* ===== 页脚 ===== */
.footer-block-section-r8e1 {
    background-color: var(--color-primary);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-inner-container-r8e1 {
    max-width: 1400px;
    margin: 0 auto;
    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-column-r8e1 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-icon-r8e1 {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-brand-name-r8e1 {
    font-size: 1.3rem;
    font-weight: var(--font-bold);
}

.footer-brand-desc-r8e1 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-nav-column-r8e1,
.footer-links-column-r8e1 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col-title-r8e1 {
    font-size: 1rem;
    font-weight: var(--font-bold);
}

.footer-nav-list-r8e1 {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-nav-list-r8e1 a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-nav-list-r8e1 a:hover {
    color: var(--color-secondary);
}

.footer-bottom-bar-r8e1 {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero-content-wrapper-r8e1 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title-r8e1 {
        font-size: 3.5rem;
    }

    .intro-layout-two-col-r8e1 {
        grid-template-columns: 1fr;
    }

    .section-title-bold-r8e1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links-r8e1 {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        padding: 1rem 2rem;
        gap: 0;
        border-bottom: 2px solid var(--color-light);
    }

    .nav-links-r8e1.active {
        display: flex;
    }

    .nav-links-r8e1 li {
        padding: 0.8rem 0;
    }

    .nav-toggle-r8e1 {
        display: flex;
    }

    .nav-toggle-r8e1.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle-r8e1.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle-r8e1.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title-r8e1 {
        font-size: 2.5rem;
    }

    .hero-subtitle-r8e1 {
        font-size: 1.2rem;
    }

    .btn-primary-xl-r8e1 {
        padding: 1rem 1.8rem;
        font-size: 1rem;
    }

    .block-section-intro-r8e1,
    .block-section-guide-r8e1,
    .block-section-screenshots-r8e1,
    .block-section-download-r8e1,
    .block-section-links-r8e1 {
        padding: var(--spacing-lg) 1rem;
    }

    .section-title-bold-r8e1 {
        font-size: 2rem;
    }

    .guide-text-box-r8e1 {
        padding: 1.5rem;
    }

    .download-btn-massive-r8e1 {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 2rem;
        text-align: center;
    }

    .btn-icon-container-r8e1 {
        font-size: 2.5rem;
    }

    .btn-main-text-r8e1 {
        font-size: 1.3rem;
    }

    .screenshots-masonry-grid-r8e1 {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .links-grid-masonry-r8e1 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title-r8e1 {
        font-size: 1.8rem;
    }

    .hero-subtitle-r8e1 {
        font-size: 1rem;
    }

    .section-title-bold-r8e1 {
        font-size: 1.5rem;
    }

    .content-box-intro-r8e1 {
        font-size: 1rem;
    }

    .tag-pill-r8e1 {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .btn-primary-xl-r8e1 {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .screenshots-masonry-grid-r8e1 {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .hero-content-wrapper-r8e1 {
        padding: 2rem 1rem;
    }

    .block-section-intro-r8e1,
    .block-section-guide-r8e1,
    .block-section-screenshots-r8e1,
    .block-section-download-r8e1,
    .block-section-links-r8e1 {
        padding: 2rem 1rem;
    }

    .footer-inner-container-r8e1 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
