*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  font-size:15px;line-height:1.8;color:#333;background:#fff;
}
img{max-width:100%;height:auto;border:0;display:block}
a{color:#b8860b;text-decoration:none}
h1,h2,h3{margin:0;font-weight:700;line-height:1.35}
p{margin:0}
.container{max-width:1180px;margin:0 auto;padding:0 16px}

/* ============ 顶部纯图片 LOGO（靠左） ============ */
.site-header{background:#fff;padding:10px 0}
.site-header .container{display:flex;justify-content:flex-start;align-items:center}
.logo{display:inline-block}
.logo img{width:200px;max-width:52vw;height:auto}

/* HERO */
.hero{
  position:relative;
  width:100%;
  min-height:300px;
  padding:40px 16px;
  display:flex;align-items:center;justify-content:center;text-align:center;
  border:0;
  background-color:#241308;
  background-image:url("../img/bg.jpg");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  overflow:hidden;
}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.62));
  pointer-events:none;
}
.hero-inner{position:relative;z-index:1;max-width:720px;width:100%;color:#fff}
.hero h1{font-size:23px;letter-spacing:2px;color:#ffe9b0;text-shadow:0 2px 12px rgba(0,0,0,.6)}
.hero-sub{margin-top:8px;font-size:14px;color:#f7d27a;letter-spacing:1px}
.hero-desc{margin-top:10px;font-size:13.5px;color:rgba(255,255,255,.82);line-height:1.8}
.hero-btns{margin-top:20px;display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.btn{
  display:inline-block;min-width:124px;padding:10px 24px;border-radius:40px;
  font-size:14px;font-weight:700;text-align:center;letter-spacing:1px;
  transition:transform .2s ease,box-shadow .2s ease;
}
.btn:active{transform:scale(.97)}
.btn-primary{
  background:linear-gradient(135deg,#ffe08a,#c9a227);color:#3a1e05;
  box-shadow:0 8px 20px rgba(201,162,39,.38);
}
.btn-ghost{border:2px solid #f7d27a;color:#ffe9b0;background:rgba(255,255,255,.04)}

/* ============ 通用区块 ============ */
.section{padding:42px 0}
.section-alt{background:#fffdf8}
.section-title{
  font-size:21px;color:#2a1508;text-align:center;letter-spacing:1px;
}
.section-title::after{
  content:"";display:block;width:58px;height:3px;margin:12px auto 0;border-radius:2px;
  background:linear-gradient(90deg,#ffe08a,#c9a227);
}
.section-desc{text-align:center;color:#8b8b8b;font-size:13px;margin:12px 0 26px}

/* ============ 热门游戏推荐（单列列表） ============ */
.hot-list{
  list-style:none;margin:0 auto;padding:0;max-width:900px;
}
.hot-list li{
  display:flex;align-items:flex-start;gap:12px;
  background:#fff;border:1px solid #f2e6cf;border-radius:12px;
  padding:14px 16px;margin-bottom:12px;
  transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease;
}
.hot-list li:hover{
  box-shadow:0 8px 20px rgba(201,162,39,.14);
  transform:translateY(-2px);border-color:#e3bf74;
}
.hot-num{
  flex:0 0 30px;width:30px;height:30px;line-height:30px;text-align:center;
  border-radius:8px;font-size:13px;font-weight:700;color:#3a1e05;
  background:linear-gradient(135deg,#ffe08a,#c9a227);
  box-shadow:0 3px 8px rgba(201,162,39,.28);
}
.hot-body{flex:1 1 auto;min-width:0}
.hot-body h3{
  font-size:15px;color:#2a1508;
  display:flex;align-items:center;flex-wrap:wrap;gap:8px;
}
.hot-body h3 .tag{
  flex:0 0 auto;font-size:11px;font-weight:400;color:#a9761a;
  background:#fff3d6;border-radius:20px;padding:2px 9px;line-height:1.6;
}
.hot-body p{font-size:13.5px;color:#5c5c5c;margin-top:5px}

/* ============ 游戏攻略（纯文字列表，无卡片格子） ============ */
.guide-text{
  max-width:900px;margin:0 auto;
}
.guide-text article{
  padding:14px 0;
  border-bottom:1px dashed #f0e2c8;
}
.guide-text article:last-child{border-bottom:0}
.guide-text h3{
  font-size:16px;color:#2a1508;margin-bottom:8px;
  padding-left:14px;position:relative;
}
.guide-text h3::before{
  content:"";position:absolute;left:0;top:7px;width:6px;height:6px;border-radius:50%;
  background:linear-gradient(135deg,#ffe08a,#c9a227);
}
.guide-text p{font-size:14px;color:#5c5c5c}

/* ============ 装备展示 ============ */
.equip-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;
  max-width:880px;margin:0 auto;
}
.equip-item{max-width:275px;margin:0 auto;width:100%}
.equip-item img{
  width:100%;
  aspect-ratio:275 / 385;
  height:auto;
  object-fit:cover;
  border:0;
  display:block;
}
.equip-item figcaption{
  margin-top:8px;text-align:center;font-size:12px;color:#8b8b8b;
}

/* ============ 游戏展示（轮换） ============ */
.slides{
  position:relative;width:100%;max-width:900px;margin:0 auto;
  aspect-ratio:16 / 9;border-radius:14px;overflow:hidden;background:#111;
}
.slides img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity .9s ease;border:0;
}
.slides img.is-active{opacity:1}
.slides-dots{display:flex;gap:8px;justify-content:center;margin-top:16px}
.slides-dots i{
  width:8px;height:8px;border-radius:50%;background:#e6d7b6;display:block;
  transition:background .3s ease,width .3s ease;
}
.slides-dots i.on{background:#c9a227;width:22px;border-radius:4px}

/* ============ 问答 ============ */
.faq-list{max-width:900px;margin:0 auto}
.faq-item{
  background:#fffdf8;border-left:4px solid #c9a227;
  border-radius:0 12px 12px 0;padding:16px 18px;margin-bottom:14px;
}
.faq-item h3{font-size:16px;color:#2a1508;margin-bottom:8px}
.faq-item p{font-size:14px;color:#5c5c5c}

/* ============ 防沉溺 ============ */
.notice{padding:0 16px 40px}
.notice-box{
  max-width:900px;margin:0 auto;text-align:center;
  background:#fff9e9;border:1px dashed #e3bf74;border-radius:14px;
  padding:22px 18px;
}
.notice-box strong{display:block;font-size:15px;color:#a9761a;margin-bottom:10px;letter-spacing:1px}
.notice-box p{font-size:13px;color:#8a6a24;line-height:2}

/* ============ 页脚 ============ */
.site-footer{
  border-top:1px solid #f2e6cf;padding:22px 16px 30px;text-align:center;
  font-size:12px;color:#a0a0a0;line-height:1.9;background:#fff;
}
.site-footer a{color:#a0a0a0}
.site-footer .copy{color:#8b8b8b}

/* ============ 平板及以上 ============ */
@media (min-width:768px){
  body{font-size:15.5px}
  .logo img{width:200px}
  .hero{min-height:360px;padding:52px 16px}
  .hero h1{font-size:30px}
  .hero-sub{font-size:15px;margin-top:10px}
  .hero-desc{font-size:14px}
  .btn{min-width:140px;padding:11px 28px;font-size:15px}
  .section{padding:56px 0}
  .section-title{font-size:26px}

  .hot-list li{padding:16px 20px;gap:16px}
  .hot-num{flex:0 0 32px;width:32px;height:32px;line-height:32px;font-size:14px}
  .hot-body h3{font-size:17px}
  .hot-body p{font-size:14px}

  .guide-text article{padding:18px 0}
  .guide-text h3{font-size:17px}
  .guide-text p{font-size:14.5px}

  .equip-grid{gap:22px}
  .faq-item{padding:20px 24px}
  .faq-item h3{font-size:17px}
  .faq-item p{font-size:14.5px}
}