/* ================= 基础重置 ================= */
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  background:#fff;color:#333;font-size:15px;line-height:1.75;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
  overflow-x:hidden;
}
img{border:0;display:block;max-width:100%}
a{text-decoration:none;color:inherit}
h1,h2,h3{font-weight:700}
.wrap{width:100%;max-width:750px;margin:0 auto;padding:0 14px}

/* 锚点跳转间距 */
#guide,#pay,#equip,#show,#faq{scroll-margin-top:16px}

/*顶部 LOGO + 导航（同一行） */
.site-header{
  width:100%;max-width:750px;margin:0 auto;
  padding:12px 14px;background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.site-header .logo{
  width:200px;height:auto;flex-shrink:0;
}
.site-header .logo img{width:100%;height:auto;margin:0}

/* 导航栏 */
.site-nav{flex:1 1 auto;min-width:0}
.site-nav ul{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  list-style:none;
  gap:4px 20px;
}
.site-nav li a{
  display:inline-block;
  font-size:14px;
  font-weight:700;
  color:#333;
  padding:6px 0;
  letter-spacing:.5px;
  transition:color .2s;
  border-bottom:2px solid transparent;
  white-space:nowrap;
}
.site-nav li a:hover,
.site-nav li a:focus{
  color:#c9a227;
  border-bottom-color:#c9a227;
}

/* ================= HERO 区域 ================= */
.hero{
  position:relative;padding:52px 18px 46px;text-align:center;color:#fff;
  background-image:url("../img/bg.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  border:0;
}
/* 加强遮罩层：暗色渐变 + 整体压暗，让文字更突出 */
.hero::after{
  content:'';position:absolute;left:0;top:0;right:0;bottom:0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.65) 100%);
  pointer-events:none;
}
.hero>*{position:relative;z-index:2}
.hero h1{
  font-size:24px;line-height:1.45;letter-spacing:1px;color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.9),0 1px 3px rgba(0,0,0,.85);
}
.hero h1 em{font-style:normal;color:#ffd76a;text-shadow:0 2px 10px rgba(0,0,0,.9)}
.hero p{
  margin-top:10px;font-size:13.5px;color:#f2f2f2;
  text-shadow:0 1px 6px rgba(0,0,0,.9);
}
.hero-btns{margin-top:24px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.btn{
  display:inline-block;min-width:132px;padding:12px 22px;border-radius:999px;
  font-size:15px;font-weight:700;text-align:center;line-height:1.2;
  transition:transform .2s,box-shadow .2s;
}
.btn-primary{background:linear-gradient(135deg,#f7cc5c,#d99a1c);color:#3a2600;box-shadow:0 6px 18px rgba(217,154,28,.45)}
.btn-ghost{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.8)}
.btn:active{transform:translateY(1px) scale(.98)}

/* ================= 通用区块标题 ================= */
.sec{margin-top:30px}
.sec-head{text-align:center;margin-bottom:16px}
.sec-head h2{display:inline-block;font-size:19px;color:#101820;position:relative;padding-bottom:9px}
.sec-head h2::after{
  content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);
  width:40px;height:3px;border-radius:2px;background:linear-gradient(90deg,#c9a227,#f0d27a);
}
.sec-head .sec-desc{display:block;font-size:12px;color:#aaa;font-weight:400;margin-top:6px}

/* ================= 游戏攻略 ================= */
.guide-list{display:grid;gap:11px}
.guide-item{border:1px solid #f0f0f0;border-radius:10px;padding:13px 14px;background:#fcfcfc}
.guide-item h3{font-size:15px;color:#111;margin-bottom:6px;line-height:1.6}
.guide-item h3 em{font-style:normal;color:#c9a227;font-weight:700;margin-right:6px}
.guide-item p{font-size:13.5px;color:#666}

/* ================= 充值介绍 ================= */
.pay-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.pay-card{
  position:relative;border:1px solid #f0f0f0;border-radius:10px;padding:14px 10px;
  text-align:center;background:#fff;
}
.pay-card .amount{font-size:20px;font-weight:700;color:#e4393c;line-height:1.3}
.pay-card .amount small{font-size:12px;font-weight:400}
.pay-card .diamond{margin-top:6px;font-size:13px;color:#333;font-weight:700}
.pay-card .extra{margin-top:4px;font-size:12px;color:#999}
.pay-card .hot{
  position:absolute;top:-9px;right:8px;background:linear-gradient(135deg,#f7cc5c,#d99a1c);
  color:#3a2600;font-size:11px;font-weight:700;padding:1px 8px;border-radius:999px;
}
.pay-note{margin-top:12px;font-size:12px;color:#999;line-height:1.9}

/* ================= 装备展示 ================= */
.equip-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,275px));
  gap:16px;
  justify-content:center;
}
.equip-item{margin:0}
.equip-item img{
  width:100%;height:auto;aspect-ratio:275/385;object-fit:cover;
  border-radius:8px;border:0;
}
.equip-item figcaption{
  margin-top:7px;font-size:12px;color:#888;text-align:center;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

/* ================= 游戏展示（轮播） ================= */
.slider{position:relative;width:100%;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#0d1b2a}
.slide{
  position:absolute;left:0;top:0;width:100%;height:100%;
  object-fit:cover;opacity:0;transition:opacity .8s ease;
}
.slide.is-active{opacity:1}
.slider-dots{position:absolute;left:0;right:0;bottom:9px;display:flex;justify-content:center;gap:6px;z-index:3}
.slider-dots i{
  width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.5);
  transition:all .3s;cursor:pointer;
}
.slider-dots i.on{width:18px;border-radius:4px;background:#f0d27a}

/* ================= 问答区域 ================= */
.faq-list{display:grid;gap:10px}
.faq-item{border:1px solid #f0f0f0;border-left:3px solid #c9a227;border-radius:8px;padding:13px 14px;background:#fcfcfc}
.faq-item h3{font-size:15px;color:#111;margin-bottom:8px;line-height:1.6}
.faq-item h3 span{
  display:inline-block;min-width:26px;height:22px;line-height:22px;text-align:center;
  background:#101820;color:#f0d27a;border-radius:5px;font-size:12px;margin-right:8px;padding:0 5px;
}
.faq-item p{font-size:13.5px;color:#666}

/* ================= 防沉溺提示 ================= */
.tip-box{
  margin:28px 0 0;border:1px dashed #e2c76e;background:#fffdf3;border-radius:10px;
  padding:14px 16px;color:#8a6d1f;font-size:12.5px;line-height:1.95;
}
.tip-box strong{display:block;font-size:14px;color:#a8801a;margin-bottom:5px}
.tip-box p+p{margin-top:6px}

/* ================= 页脚 ================= */
.site-footer{
  margin-top:28px;padding:20px 14px 32px;border-top:1px solid #eee;
  background:#fafafa;text-align:center;color:#999;font-size:12px;line-height:2;
}
.site-footer a{color:#999}

/* ================= 移动端适配 ================= */
@media (max-width:900px){
  .equip-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .equip-item figcaption{font-size:11px}
}
/* 窄屏：LOGO 与导航分行显示，导航居中 */
@media (max-width:640px){
  .site-header{
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding-bottom:0;
  }
  .site-header .logo{width:180px}
  .site-nav{width:100%;border-top:1px solid #f0f0f0;margin-top:8px;padding-top:4px}
  .site-nav ul{justify-content:center;gap:2px 16px}
  .site-nav li a{font-size:13px;padding:6px 0}
}
@media (max-width:360px){
  .hero h1{font-size:21px}
  .btn{min-width:118px;font-size:14px;padding:11px 16px}
  .site-nav ul{gap:2px 10px}
  .site-nav li a{font-size:12px}
}








/* ================= 最新攻略 & 玩家心得 ================= */
.latest-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.latest-col {
  background: #fff;
  border: 1px solid #e6dfcf;
  border-radius: 10px;
  padding: 18px 18px 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}

.latest-col-title {
  margin: 0 0 12px;
  padding-bottom: 10px;
  font-size: 20px;
  color: #7a4b12;
  border-bottom: 1px solid #eee4d2;
}

.latest-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.latest-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #eee4d2;
}

.latest-list li:last-child {
  border-bottom: 0;
}

.latest-list a {
  flex: 1;
  min-width: 0;
  color: #333;
  text-decoration: none;
  line-height: 1.6;
  font-size: 15px;
}

.latest-list a:hover {
  color: #b8860b;
  text-decoration: underline;
}

.latest-list time {
  flex: 0 0 auto;
  color: #999;
  font-size: 13px;
  line-height: 1.6;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .latest-board {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .latest-col {
    padding: 14px 14px 8px;
  }

  .latest-col-title {
    font-size: 18px;
  }

  .latest-list a {
    font-size: 14px;
  }
}




