/* ===== 武林外传·十年之约 官网模板样式（迅睿CMS 4.7.2 专用）===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "STKaiti", "KaiTi", sans-serif;
  color: #2b2417; background: #f7f3ea; line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* 隐藏但保留给搜索引擎的H1 */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 顶部导航 ---------- */
.wx-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(20,14,6,.92), rgba(20,14,6,.72));
  border-bottom: 1px solid rgba(212,175,55,.35);
  backdrop-filter: blur(6px);
}
.wx-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wx-logo { display: flex; align-items: center; }
.wx-logo img { height: 40px; width: auto; }
.wx-nav { display: flex; align-items: center; gap: 6px; }
.wx-nav a {
  color: #e8d9b0; font-size: 15px; padding: 8px 16px; border-radius: 6px;
  transition: all .25s; letter-spacing: 1px;
}
.wx-nav a:hover, .wx-nav a.on { color: #fff; background: rgba(212,175,55,.25); }
.wx-nav .wx-dl {
  background: linear-gradient(135deg, #e8c34a, #d19a1f); color: #3a2400; font-weight: 700;
  margin-left: 8px; box-shadow: 0 2px 10px rgba(209,154,31,.4);
}
.wx-nav .wx-dl:hover { background: linear-gradient(135deg, #f2d26a, #dcaa2c); color: #3a2400; }

/* ---------- Hero 主视觉 ---------- */
.wx-hero {
  position: relative; width: 100%; min-height: 100vh; min-height: calc(100vh - 64px);
  display: flex; align-items: flex-end; justify-content: center;
  background: url('/static/wuxia/bg-hero.jpg') center center / cover no-repeat;
  padding: 120px 20px 60px;
}
.wx-hero-mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%); }
.wx-hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1080px; }
.wx-hero-slogan { text-align: center; color: #fff; margin-bottom: 34px; }
.wx-hero-slogan h1 {
  font-size: 52px; font-weight: 900; letter-spacing: 8px;
  text-shadow: 0 4px 18px rgba(0,0,0,.55); font-family: "STKaiti","KaiTi",serif;
}
.wx-hero-slogan p { font-size: 20px; margin-top: 10px; letter-spacing: 4px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }

/* 双下载卡 */
.wx-dl-cards { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.wx-dl-card {
  position: relative; width: 470px; max-width: 92vw; border-radius: 16px; overflow: hidden;
  border: 2px solid rgba(255,215,120,.7); box-shadow: 0 12px 34px rgba(0,0,0,.45);
}
.wx-dl-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.wx-dl-card .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.78) 100%); }
.wx-dl-body { position: relative; z-index: 2; padding: 200px 26px 24px; color: #fff; }
.wx-dl-body h3 { font-size: 24px; font-weight: 800; letter-spacing: 2px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.wx-dl-body p { font-size: 14px; opacity: .92; margin: 6px 0 14px; }
.wx-dl-btn {
  display: inline-block; padding: 10px 40px; border-radius: 999px;
  background: linear-gradient(135deg, #e8c34a, #d19a1f); color: #3a2400; font-weight: 700; font-size: 16px;
  box-shadow: 0 4px 16px rgba(209,154,31,.5); transition: transform .2s;
}
.wx-dl-btn:hover { transform: translateY(-2px); }
.wx-dl-btn.green { background: linear-gradient(135deg, #7fca6a, #4f9d3a); color: #fff; box-shadow: 0 4px 16px rgba(79,157,58,.5); }

/* ---------- 区块通用 ---------- */
.wx-section { padding: 70px 0; position: relative; }
.wx-section-head { text-align: center; margin-bottom: 36px; }
.wx-section-head .en { color: #b08d2f; letter-spacing: 6px; font-size: 13px; }
.wx-section-head h2 { font-size: 34px; letter-spacing: 4px; color: #33230c; font-family: "STKaiti","KaiTi",serif; }
.wx-section-head p { color: #7a6a4d; margin-top: 8px; font-size: 15px; }

/* 游戏特色轮播 */
.wx-feature { background: url('/static/wuxia/bg-feature.jpg') center top / cover no-repeat; }
.wx-carousel { position: relative; max-width: 965px; margin: 0 auto; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 44px rgba(0,0,0,.3); }
.wx-carousel .track { position: relative; width: 100%; padding-top: 58.03%; /* 965:560 */ }
.wx-carousel .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.wx-carousel .slide.on { opacity: 1; }
.wx-carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.wx-carousel .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 20px 14px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); text-align: center;
}
.wx-carousel .cap b { font-size: 20px; letter-spacing: 3px; }
.wx-carousel .cap span { display: block; font-size: 13px; opacity: .9; margin-top: 2px; }
.wx-carousel .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,.35); color: #fff; font-size: 20px; line-height: 42px; text-align: center;
}
.wx-carousel .arrow:hover { background: rgba(212,175,55,.8); }
.wx-carousel .prev { left: 14px; } .wx-carousel .next { right: 14px; }
.wx-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.wx-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d8cba6; cursor: pointer; transition: all .3s; }
.wx-dots i.on { background: #c89a26; width: 26px; border-radius: 6px; }

/* 资讯区 */
.wx-news { background: url('/static/wuxia/bg-news.jpg') center top / cover no-repeat; }
.wx-tabs { display: flex; justify-content: center; gap: 14px; margin-bottom: 30px; }
.wx-tabs a {
  padding: 8px 28px; border-radius: 999px; border: 1px solid #c9a33f; color: #6d5520;
  background: rgba(255,255,255,.75); font-size: 15px; transition: all .25s;
}
.wx-tabs a.on { background: linear-gradient(135deg,#e8c34a,#d19a1f); color: #3a2400; font-weight: 700; }
.wx-news-list { max-width: 960px; margin: 0 auto; }
.wx-news-item {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 12px;
  background: rgba(255,255,255,.9); border-radius: 12px; border-left: 4px solid #c89a26;
  transition: transform .2s, box-shadow .2s;
}
.wx-news-item:hover { transform: translateX(4px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.wx-news-item .t { flex: 1; font-size: 16px; color: #33230c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wx-news-item .d { color: #9a8456; font-size: 13px; white-space: nowrap; }
.wx-news-more { text-align: center; margin-top: 20px; }
.wx-news-more a { display: inline-block; padding: 9px 34px; border-radius: 999px; border: 1px solid #c9a33f; color: #6d5520; background: rgba(255,255,255,.85); transition: all .25s; }
.wx-news-more a:hover { background: #c89a26; color: #fff; }

/* ---------- 列表页 / 内容页 ---------- */
.wx-page { padding-top: 110px; min-height: 60vh; }
.wx-crumb { font-size: 14px; color: #8a7a58; padding: 16px 0 8px; }
.wx-crumb a { color: #b08d2f; }
.wx-card { background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 6px 24px rgba(0,0,0,.06); margin-bottom: 20px; }
.wx-card h1 { font-size: 26px; color: #33230c; font-family: "STKaiti","KaiTi",serif; }
.wx-meta { color: #a3926d; font-size: 13px; margin: 10px 0 18px; }
.wx-article-list .item { display: block; padding: 16px 6px; border-bottom: 1px dashed #e4dcc6; }
.wx-article-list .item:hover h3 { color: #c89a26; }
.wx-article-list h3 { font-size: 18px; color: #33230c; transition: color .2s; }
.wx-article-list .desc { color: #8a7a58; font-size: 14px; margin-top: 4px; }
.wx-article-list .meta { color: #b0a07e; font-size: 12px; margin-top: 6px; }

/* 资讯图文卡片列表 */
.wx-news-grid { display: flex; flex-direction: column; gap: 14px; }
.wx-news-card {
  display: flex; gap: 16px; background: #fbf8f0; border-radius: 12px; overflow: hidden;
  border: 1px solid #ece2c8; transition: box-shadow .25s, transform .25s;
}
.wx-news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.wx-news-card .thumb { width: 300px; min-width: 300px; height: 190px; overflow: hidden; background: #e8e0cc; }
.wx-news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.wx-news-card .body { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; min-width: 0; }
.wx-news-card h3 { font-size: 18px; color: #33230c; line-height: 1.5; }
.wx-news-card:hover h3 { color: #c89a26; }
.wx-news-card .desc { color: #8a7a58; font-size: 14px; margin-top: 8px; flex: 1; }
.wx-news-card .meta { color: #b0a07e; font-size: 12px; margin-top: 12px; display: flex; gap: 18px; }
.wx-news-card .meta .hits::before { content: "👁"; margin-right: 4px; }
.wx-page .content { font-size: 16px; color: #3c3322; line-height: 1.9; }
.wx-page .content img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.wx-page .content p { margin-bottom: 12px; }
.wx-pager { text-align: center; margin: 24px 0; }
.wx-pager a, .wx-pager span { display: inline-block; margin: 0 4px; padding: 6px 13px; border-radius: 6px; background: #fff; border: 1px solid #e0d6bb; color: #6d5520; }
.wx-pager .current { background: #c89a26; color: #fff; border-color: #c89a26; }

/* ---------- 页脚 ---------- */
.wx-footer { background: #1c1408; color: #c9b98e; padding: 46px 0 22px; }
.wx-footer .grid { display: flex; gap: 40px; flex-wrap: wrap; }
.wx-footer .brand { flex: 1 1 320px; }
.wx-footer .brand h3 { color: #e8c34a; font-size: 20px; letter-spacing: 2px; }
.wx-footer .brand p { font-size: 14px; margin-top: 10px; line-height: 1.8; color: #a99a72; }
.wx-footer .links { flex: 1 1 160px; }
.wx-footer .links h4 { color: #e8c34a; margin-bottom: 12px; font-size: 15px; }
.wx-footer .links a { display: block; padding: 5px 0; color: #a99a72; font-size: 14px; }
.wx-footer .links a:hover { color: #fff; }
.wx-footer .copy { text-align: center; border-top: 1px solid rgba(232,195,74,.2); margin-top: 30px; padding-top: 18px; font-size: 13px; color: #8a7a58; }

/* ---------- 移动端 ---------- */
@media (max-width: 760px) {
  .wx-hero-slogan h1 { font-size: 30px; letter-spacing: 4px; }
  .wx-hero-slogan p { font-size: 15px; }
  .wx-dl-body { padding-top: 140px; }
  .wx-dl-body h3 { font-size: 19px; }
  .wx-nav a { font-size: 13px; padding: 8px 10px; }
  .wx-logo img { height: 32px; }
  .wx-section { padding: 46px 0; }
  .wx-section-head h2 { font-size: 26px; }
  .wx-carousel .cap b { font-size: 16px; }
  .wx-news-item .d { display: none; }
  .wx-news-card { flex-direction: column; }
  .wx-news-card .thumb { width: 100%; min-width: 0; height: 180px; }
  .wx-news-card .body { padding: 14px 16px; }
}
