/* 全局重置 - 优化加载速度 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}
html {
    scroll-behavior: smooth;
}
body {
    background: #0a0a1a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 999;
    padding: 15px 0;
    border-bottom: 1px solid rgba(100, 120, 255, 0.2);
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #6478ff;
}
.nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 16px;
    transition: 0.3s;
}
.nav a:hover {
    color: #6478ff;
}
.menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-btn span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: #121230;
    z-index: 998;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: 0.4s;
}
.mobile-menu.active {
    right: 0;
}
.mobile-menu a {
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(100, 120, 255, 0.1);
}

/* Banner 本地背景图 */
.banner {
    height: 100vh;
    background: linear-gradient(rgba(10,10,26,0.8), rgba(10,10,26,0.9)), url('images/banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
}
.banner-content h1 {
    font-size: 60px;
    margin-bottom: 10px;
    color: #6478ff;
    text-shadow: 0 0 20px rgba(100,120,255,0.5);
}
.banner-content p {
    font-size: 22px;
    margin-bottom: 30px;
}
.btn {
    display: inline-block;
    padding: 12px 35px;
    background: linear-gradient(90deg, #6478ff, #4a5cff);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    transition: 0.3s;
}
.btn:hover {
    box-shadow: 0 0 15px rgba(100,120,255,0.5);
}

/* 通用区块 */
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #6478ff;
    position: relative;
}
.section-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: #6478ff;
    display: block;
    margin: 10px auto 0;
}

/* 游戏简介 */
.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
}
.intro-content p {
    margin-bottom: 20px;
}

/* 游戏下载 */
.download-section {
    background: #101025;
}
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.download-btn {
    padding: 15px 40px;
    background: #6478ff;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    transition: 0.3s;
}
.download-btn:hover {
    background: #4a5cff;
    transform: translateY(-3px);
}
.download-tip {
    text-align: center;
    color: #aaa;
}

/* 核心剧情 */
.story-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
}
.story-content p {
    margin-bottom: 18px;
}

/* 游戏特色 */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-item {
    background: #121230;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(100,120,255,0.1);
    transition: 0.3s;
}
.feature-item:hover {
    border-color: #6478ff;
    transform: translateY(-5px);
}
.feature-item h3 {
    color: #6478ff;
    margin-bottom: 10px;
    font-size: 22px;
}

/* 游戏攻略 */
.guide-content {
    max-width: 900px;
    margin: 0 auto;
}
.guide-item {
    background: #121230;
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #6478ff;
}
.guide-item h3 {
    color: #6478ff;
    margin-bottom: 5px;
}

/* 游戏截图 */
.screenshot-section {
    background: #101025;
}
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.screenshot-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
    border: 2px solid transparent;
}
.screenshot-img:hover {
    transform: scale(1.05);
    border-color: #6478ff;
}

/* 用户评价 */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.review-item {
    background: #121230;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(100,120,255,0.1);
}
.user-name {
    font-size: 18px;
    font-weight: bold;
    color: #6478ff;
    margin-bottom: 5px;
}
.star {
    color: #ffd700;
    font-size: 16px;
    margin-bottom: 10px;
}

/* 页脚 */
.footer {
    background: #080818;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(100,120,255,0.1);
}

/* 自适应适配 */
@media (max-width: 992px) {
    .nav {
        display: none;
    }
    .menu-btn {
        display: flex;
    }
    .banner-content h1 {
        font-size: 40px;
    }
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 32px;
    }
    .section-title {
        font-size: 28px;
    }
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}