*{margin:0;padding:0;box-sizing:border-box;}
body{
    font-family:"Microsoft Yahei",sans-serif;
    background:#12141b;
    color:#e2e2e2;
    line-height:1.7;
}
.container{
    max-width:1200px;
    margin:0 auto;
    padding:0 16px;
}
.sec-title{
    text-align:center;
    font-size:30px;
    margin-bottom:36px;
    color:#ffbc42;
}
.section{
    padding:60px 0;
}
.bg-dark{
    background:#181b26;
}

/* header导航 */
.header{
    background:rgba(12,14,20,0.95);
    position:sticky;
    top:0;
    z-index:999;
    border-bottom:1px solid #272b38;
}
.nav-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:64px;
}
.logo{
    font-size:22px;
    color:#ffbc42;
    font-weight:bold;
}
.nav a{
    color:#ccc;
    text-decoration:none;
    margin:0 12px;
    transition:0.25s;
}
.nav a:hover{
    color:#ffbc42;
}
.menu-btn{
    display:none;
    font-size:26px;
    cursor:pointer;
}

/* banner */
.banner{
    height:440px;
    background:url("images/bg_banner.jpg") center/cover no-repeat;
    display:flex;
    align-items:center;
    position:relative;
}
.banner::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.65);
}
.banner-inner{
    position:relative;
    z-index:2;
}
.banner h1{
    font-size:42px;
    margin-bottom:12px;
    color:#fff;
}
.banner p{
    font-size:18px;
    color:#ddd;
    margin-bottom:24px;
}
.btn-primary{
    display:inline-block;
    background:#ff9500;
    color:#000;
    padding:12px 30px;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
}

/* 两栏布局 */
.two-col{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:32px;
    align-items:center;
}
.pic{
    width:100%;
    border-radius:8px;
    border:1px solid #333848;
}

/* 特色卡片网格 */
.card-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}
.card-item{
    background:#202430;
    padding:26px 20px;
    border-radius:8px;
    border:1px solid #2f3444;
}
.card-icon{
    font-size:36px;
    margin-bottom:12px;
}
.card-item h3{
    margin-bottom:10px;
    color:#ffbc42;
}

/* 势力卡片 */
.force-list{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:18px;
}
.force-card{
    background:#202430;
    padding:18px;
    border-radius:8px;
    border:1px solid #2f3444;
}
.force-card h4{
    color:#ffbc42;
    margin-bottom:8px;
}

/* ==========新增：游戏截图画廊========== */
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}
.gallery-item{
    overflow:hidden;
    border-radius:8px;
    border:1px solid #2f3444;
}
.gallery-item img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:transform 0.3s ease;
}
.gallery-item img:hover{
    transform:scale(1.06);
}

/* 下载区域 */
.download-box{
    max-width:800px;
}
.download-inner{
    text-align:center;
}
.download-buttons{
    margin:30px 0;
}
.btn-download{
    background:#d47500;
    border:none;
    color:#fff;
    padding:14px 32px;
    font-size:16px;
    border-radius:6px;
    margin:0 10px;
    cursor:pointer;
}
.tip-text{
    color:#999;
    font-size:14px;
}

/* footer */
.footer{
    background:#0b0d13;
    text-align:center;
    padding:24px 0;
    color:#888;
    font-size:14px;
}

/* 移动端适配 */
@media(max-width:900px){
    .two-col{
        grid-template-columns:1fr;
    }
    .card-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }
}
@media(max-width:600px){
    .nav{
        display:none;
    }
    .menu-btn{
        display:block;
    }
    .card-grid{
        grid-template-columns:1fr;
    }
    .gallery-grid{
        grid-template-columns:1fr;
    }
    .banner h1{
        font-size:30px;
    }
    .banner{
        height:320px;
    }
    .btn-download{
        margin:8px 4px;
        padding:12px 20px;
    }
}
