/*全局基础样式*/
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family:"Microsoft Yahei",sans-serif;
    color:#333;
    line-height:1.7;
    background:#fff;
}
ul{
    list-style:none;
}
a{
    text-decoration:none;
    color:inherit;
}
img{
    max-width:100%;
    height:auto;
    display:block;
}
.container{
    width:100%;
    max-width:1200px;
    padding:0 15px;
    margin:0 auto;
}
.section{
    padding:60px 0;
}
.bg-gray{
    background-color:#f4f5f7;
}
.section-title{
    text-align:center;
    margin-bottom:40px;
}
.section-title h2{
    font-size:28px;
    color:#1f2937;
    position:relative;
    display:inline-block;
}
.section-title h2::after{
    content:"";
    width:60px;
    height:3px;
    background-color:#b82601;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:-8px;
}
.mt20{
    margin-top:20px;
}
/*按钮*/
.btn{
    display:inline-block;
    padding:10px 28px;
    border-radius:6px;
    font-size:16px;
    transition:all 0.3s;
    cursor:pointer;
}
.primary-btn{
    background:#b82601;
    color:#fff;
}
.primary-btn:hover{
    background:#941e00;
}
.outline-btn{
    border:2px solid #b82601;
    color:#b82601;
}
.outline-btn:hover{
    background:#b82601;
    color:#fff;
}

/*导航栏*/
.header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    background:rgba(0,0,0,0.85);
    z-index:999;
}
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:60px;
}
.logo{
    color:#fff;
    font-size:22px;
    font-weight:bold;
}
.menu-toggle{
    color:#fff;
    font-size:26px;
    cursor:pointer;
    display:none;
}
.nav-menu{
    display:flex;
    gap:28px;
}
.nav-link{
    color:#cccccc;
    transition:0.3s;
}
.nav-link.active,.nav-link:hover{
    color:#ffc145;
}

/*首屏banner*/
.banner{
    position:relative;
    height:100vh;
    display:flex;
    align-items:center;
    padding-top:60px;
}
.banner-bg{
    position:absolute;
    inset:0;
    background:url("images/banner_bg.jpg") center center / cover no-repeat;
    background-color:#222;
    z-index:-2;
}
.banner-bg::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.65);
    z-index:-1;
}
.banner-content{
    color:#fff;
    text-align:center;
}
.banner-content h1{
    font-size:48px;
    margin-bottom:16px;
}
.banner-content p{
    font-size:20px;
    color:#ddd;
    margin-bottom:35px;
}
.banner-btn-group{
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
}

/*游戏介绍*/
.content-card{
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 2px 12px rgba(0,0,0,0.08);
}
.content-card p{
    margin-bottom:14px;
    font-size:16px;
}
.two-col{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:25px;
}
.info-block{
    padding:18px;
    background:#f7f7f7;
    border-radius:8px;
}
.info-block h4{
    margin-bottom:8px;
    color:#b82601;
}

/*核心特色*/
.feature-list{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}
.feature-item{
    background:#fff;
    padding:28px 22px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
}
.feature-icon{
    width:44px;
    height:44px;
    background:#b82601;
    color:#fff;
    border-radius:50%;
    text-align:center;
    line-height:44px;
    font-size:18px;
    margin-bottom:14px;
}
.feature-item h3{
    margin-bottom:10px;
    font-size:19px;
}

/*截图区域*/
.screenshot-wrap{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}
.shot-item{
    overflow:hidden;
    border-radius:8px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}
.shot-item img{
    transition:transform 0.4s;
}
.shot-item img:hover{
    transform:scale(1.05);
}

/*游戏攻略*/
.guide-card{
    background:#fff;
    padding:26px;
    border-radius:10px;
    box-shadow:0 2px 12px rgba(0,0,0,0.07);
}
.guide-card h3{
    margin-bottom:14px;
    color:#b82601;
}
.guide-ul li{
    padding:7px 0;
    border-bottom:1px dashed #eee;
}
.guide-ul li:last-child{
    border-bottom:none;
}

/*下载*/
.download-box{
    max-width:700px;
    margin:0 auto;
}
.download-item{
    background:#fff;
    padding:30px;
    border-radius:10px;
    text-align:center;
    box-shadow:0 2px 12px rgba(0,0,0,0.08);
}
.download-item h4{
    font-size:20px;
    margin-bottom:8px;
}
.download-item p{
    color:#666;
    margin-bottom:22px;
}
.tips-text{
    margin-top:24px;
    padding:16px;
    background:#fff3cd;
    border-radius:8px;
    color:#856404;
}

/*页脚*/
.footer{
    background:#111;
    color:#aaa;
    text-align:center;
    padding:25px 0;
}

/*====移动端适配====*/
@media (max-width:992px){
    .feature-list{
        grid-template-columns:repeat(2,1fr);
    }
    .screenshot-wrap{
        grid-template-columns:repeat(2,1fr);
    }
    .two-col{
        grid-template-columns:1fr;
    }
}
@media (max-width:768px){
    .menu-toggle{
        display:block;
    }
    .nav-menu{
        position:absolute;
        top:60px;
        left:0;
        width:100%;
        background:rgba(0,0,0,0.95);
        flex-direction:column;
        padding:20px;
        gap:14px;
        display:none;
    }
    .nav-menu.show{
        display:flex;
    }
    .banner-content h1{
        font-size:32px;
    }
    .banner-content p{
        font-size:17px;
    }
    .feature-list{
        grid-template-columns:1fr;
    }
    .screenshot-wrap{
        grid-template-columns:1fr;
    }
    .section{
        padding:40px 0;
    }
}
