/* 全局重置 - 优化加载速度 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 基础样式 */
html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(45deg, #7c3aed, #ec4899);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
    color: #fff;
}

/* 板块通用样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.line {
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #7c3aed, #ec4899);
    margin: 0 auto;
    border-radius: 3px;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #7c3aed;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* Banner */
.banner {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding-top: 70px;
}

.banner-content h1 {
    font-size: 60px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #cbd5e1;
}

/* 游戏简介 */
.intro-content {
    color: #e2e8f0;
    font-size: 17px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.intro-content p {
    margin-bottom: 20px;
}

/* 游戏下载 */
.download-section {
    background: rgba(30, 41, 59, 0.5);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: rgba(124, 58, 237, 0.1);
    border: 2px solid #7c3aed;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #7c3aed;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.download-tip {
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

/* 核心剧情 */
.story-content {
    color: #e2e8f0;
    font-size: 17px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
}

.story-content p {
    margin-bottom: 18px;
}

/* 游戏特色 */
.feature-section {
    background: rgba(30, 41, 59, 0.5);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: rgba(15, 23, 42, 0.6);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #7c3aed, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.feature-item h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-item p {
    color: #94a3b8;
    font-size: 15px;
}

/* 游戏攻略 */
.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-item {
    background: rgba(15, 23, 42, 0.6);
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #7c3aed;
}

.guide-item h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 12px;
}

.guide-item p {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.7;
}

/* 游戏截图 */
.screenshot-section {
    background: rgba(30, 41, 59, 0.5);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.screenshot-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.03);
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* 用户评价 */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-item {
    background: rgba(15, 23, 42, 0.6);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #7c3aed, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
}

.name {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.stars {
    color: #f59e0b;
    margin-bottom: 12px;
}

.review-item p {
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: #0f172a;
    padding: 30px 0;
    text-align: center;
    color: #94a3b8;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

/* 自适应适配 */
@media (max-width: 992px) {
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 移动端导航 */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    /* Banner */
    .banner-content h1 {
        font-size: 40px;
    }

    .banner-content h2 {
        font-size: 24px;
    }

    /* 标题 */
    .section-title h2 {
        font-size: 28px;
    }

    /* 截图 */
    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    /* 下载按钮 */
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }
}