/* ============================================
   跑跑西游记 · 新版推广页 PC 样式
   结构参考行业通用新服专题页版式，文案与配色原创
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #23516b;
  background: #e8f4fb;
  min-width: 1200px;
}
a { text-decoration: none; color: inherit; }
img { border: 0; vertical-align: top; }
ul { list-style: none; }
.wrap { width: 1200px; margin: 0 auto; position: relative; }

/* ---------- 顶部通栏 ---------- */
#topbar { height: 74px; background: rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(30,90,130,.12); position: fixed; top: 0; left: 0; right: 0; z-index: 900; }
#topbar .wrap { height: 74px; display: flex; align-items: center; }
#topbar .logo img { height: 52px; }
#topbar .cadpa { display: flex; align-items: center; margin-left: 18px; }
#topbar .cadpa img { height: 44px; }
#topbar .topnav { margin-left: auto; }
#topbar .topnav a { display: inline-block; margin-left: 26px; font-size: 16px; color: #2a6f9e; font-weight: bold; }
#topbar .topnav a:hover { color: #e8862c; }

/* ---------- Hero 大图 ---------- */
#hero { height: 700px; position: relative; overflow: hidden; background: #7fc4e8; }
#hero .herobg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
#hero .shade { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(10,50,80,.25) 0%, rgba(10,50,80,0) 40%, rgba(232,244,251,1) 100%); }
#hero .herotxt { position: relative; z-index: 2; padding-top: 150px; text-align: center; }
#hero .herotxt .gamename { width: 560px; margin: 0 auto 8px; filter: drop-shadow(0 6px 14px rgba(10,40,70,.45)); }
#hero .herotxt h1 {
  font-size: 84px; line-height: 1.15; color: #fff; letter-spacing: 6px;
  text-shadow: 0 4px 0 #1d6fa8, 0 8px 24px rgba(10,40,70,.5);
}
#hero .herotxt h1 em { font-style: normal; color: #ffd75e; }
#hero .ribbon {
  display: inline-block; margin-top: 18px; padding: 10px 46px; font-size: 24px; font-weight: bold; color: #1d6fa8;
  background: linear-gradient(180deg, #fffdf4, #ffefc2); border: 2px solid #ffd75e; border-radius: 40px;
  box-shadow: 0 4px 12px rgba(10,40,70,.25);
}

/* ---------- 新服列表条 ---------- */
#serverbar { margin-top: -70px; position: relative; z-index: 5; }
#serverbar .bar {
  width: 1200px; margin: 0 auto; background: #fff; border: 2px solid #bfe2f4; border-radius: 24px;
  box-shadow: 0 10px 26px rgba(30,90,130,.14); padding: 16px 30px; display: flex; align-items: center;
}
#serverbar .bar .tag { flex: none; font-size: 20px; font-weight: bold; color: #fff; background: linear-gradient(180deg, #55b7ee, #2a8fd0); border-radius: 20px; padding: 8px 22px; margin-right: 24px; }
#serverbar .bar ul { flex: 1; display: flex; justify-content: space-between; }
#serverbar .bar li { text-align: center; }
#serverbar .bar li b { display: block; font-size: 19px; color: #23516b; }
#serverbar .bar li span { font-size: 14px; color: #7da6bd; }

/* ---------- 三步骤：固定悬浮右侧 ---------- */
#steps { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); width: 320px; z-index: 800; padding: 0; }
#steps .step-card { width: 100%; margin-bottom: 20px; }
#steps .step-card .qrx { margin-bottom: 14px; }
#steps .step-card .qrx img { width: 108px; height: 108px; }
#steps .btn-main, #steps .btn-blue { min-width: 160px; padding: 11px 34px; font-size: 19px; }
.step-card {
  width: 374px; background: #fff; border: 2px solid #bfe2f4; border-radius: 26px; padding: 30px 34px 34px;
  box-shadow: 0 10px 26px rgba(30,90,130,.12); position: relative; text-align: center;
}
.step-card .no {
  position: absolute; top: -28px; left: 26px; width: 56px; height: 56px; line-height: 56px; border-radius: 50%;
  background: linear-gradient(180deg, #55b7ee, #2a8fd0); color: #fff; font-size: 30px; font-weight: bold;
  box-shadow: 0 4px 10px rgba(42,143,208,.4); font-family: Georgia, serif;
}
.step-card h3 { font-size: 26px; color: #1d6fa8; margin: 6px 0 4px; }
.step-card .sub { font-size: 14px; color: #8fb4c9; margin-bottom: 20px; }
.step-card .regbox input {
  width: 100%; height: 46px; border: 1px solid #cfe6f2; border-radius: 10px; margin-bottom: 14px;
  padding: 0 16px; font-size: 15px; color: #456; background: #f6fbfe; outline: none;
}
.step-card .regbox input:focus { border-color: #55b7ee; }
.step-card .agree { text-align: left; font-size: 13px; color: #8fb4c9; margin: 4px 0 18px; }
.btn-main {
  display: inline-block; min-width: 200px; padding: 13px 44px; font-size: 21px; font-weight: bold; color: #fff;
  background: linear-gradient(180deg, #ffb64e, #f68f1f); border-radius: 40px; letter-spacing: 4px;
  box-shadow: 0 6px 14px rgba(246,143,31,.4); transition: transform .15s;
}
.btn-main:hover { transform: translateY(-3px); }
.btn-blue {
  display: inline-block; min-width: 200px; padding: 13px 44px; font-size: 21px; font-weight: bold; color: #fff;
  background: linear-gradient(180deg, #55b7ee, #2a8fd0); border-radius: 40px; letter-spacing: 4px;
  box-shadow: 0 6px 14px rgba(42,143,208,.4); transition: transform .15s;
}
.btn-blue:hover { transform: translateY(-3px); }
.step-card .qrx { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 8px 0 20px; }
.step-card .qrx img { width: 128px; height: 128px; border: 1px solid #e3f1f9; border-radius: 12px; padding: 8px; background: #fff; }
.step-card .qrx .ways { text-align: left; font-size: 15px; color: #456; line-height: 34px; }
.step-card .qrx .ways b { color: #1d6fa8; }
.step-card .gifticon { font-size: 64px; line-height: 1; margin: 10px 0 16px; }

/* ---------- 通用章节标题 ---------- */
.section { padding: 56px 0 30px; }
#features { padding-top: 24px; }
.sec-head { text-align: center; margin-bottom: 38px; }
.sec-head .idx { font-size: 15px; color: #9cc3d8; letter-spacing: 8px; font-family: Georgia, serif; }
.sec-head h2 { font-size: 44px; color: #1d6fa8; letter-spacing: 3px; margin: 6px 0; }
.sec-head h2 i { font-style: normal; color: #f68f1f; }
.sec-head p { font-size: 17px; color: #7da6bd; letter-spacing: 2px; }

/* ---------- 01 福利 ---------- */
#welfare .copytip { width: 100%; }
#welfare .giftcode {
  width: 760px; margin: 34px auto 0; background: #fff; border: 2px dashed #f6a73c; border-radius: 50px;
  padding: 12px 20px 12px 36px; display: flex; align-items: center; box-shadow: 0 8px 20px rgba(30,90,130,.1);
}
#welfare .giftcode b { font-size: 19px; color: #23516b; margin-right: 22px; }
#welfare .giftcode .code { flex: 1; font-size: 26px; font-weight: bold; color: #f68f1f; letter-spacing: 2px; font-family: Consolas, monospace; }
#welfare .giftcode .btn-copy {
  flex: none; cursor: pointer; font-size: 17px; font-weight: bold; color: #fff; background: linear-gradient(180deg, #ffb64e, #f68f1f);
  border: 0; border-radius: 30px; padding: 9px 30px;
}
#welfare .copytip { text-align: center; font-size: 14px; color: #2f9e4d; height: 24px; margin-top: 8px; visibility: hidden; }
#welfare .copied .copytip { visibility: visible; }

/* ---------- 02 特色轮播 ---------- */
#features .frame {
  background: #fff; border: 2px solid #bfe2f4; border-radius: 26px; padding: 18px; box-shadow: 0 12px 28px rgba(30,90,130,.14);
}
#features .swiper-container { width: 100%; height: 560px; border-radius: 16px; overflow: hidden; }
#features .swiper-slide { position: relative; }
#features .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
#features .swiper-slide .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 34px 22px; color: #fff;
  background: linear-gradient(180deg, rgba(10,40,70,0), rgba(10,40,70,.75));
}
#features .swiper-slide .cap b { font-size: 26px; letter-spacing: 2px; }
#features .swiper-slide .cap span { display: block; font-size: 15px; opacity: .85; margin-top: 4px; }
#features .swiper-pagination-bullet { width: 12px; height: 12px; border-radius: 12px; background: #fff; opacity: .5; }
#features .swiper-pagination-bullet-active { opacity: 1; background: #ffb64e; }
#features .swiper-button-next, #features .swiper-button-prev { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.85); color: #2a8fd0; font-weight: bold; box-shadow: 0 4px 10px rgba(10,40,70,.25); }
#features .swiper-button-next::after, #features .swiper-button-prev::after { font-size: 18px; }

/* ---------- 03 活动 tab ---------- */
#acts .tabs { display: flex; justify-content: center; gap: 18px; margin-bottom: 30px; flex-wrap: wrap; }
#acts .tabs li {
  cursor: pointer; padding: 12px 38px; font-size: 20px; font-weight: bold; color: #2a6f9e;
  background: #fff; border: 2px solid #bfe2f4; border-radius: 40px; transition: all .15s;
}
#acts .tabs li:hover { color: #f68f1f; border-color: #ffd75e; }
#acts .tabs li.on { color: #fff; background: linear-gradient(180deg, #55b7ee, #2a8fd0); border-color: #2a8fd0; box-shadow: 0 6px 14px rgba(42,143,208,.35); }
#acts .panel { display: none; background: #fff; border: 2px solid #bfe2f4; border-radius: 26px; padding: 40px 56px 46px; box-shadow: 0 12px 28px rgba(30,90,130,.14); }
#acts .panel.show { display: block; }
#acts .panel h3 { font-size: 28px; color: #1d6fa8; margin-bottom: 22px; letter-spacing: 1px; }
#acts .panel .item { margin-bottom: 24px; }
#acts .panel .item .k {
  display: inline-block; font-size: 16px; font-weight: bold; color: #fff; background: linear-gradient(180deg, #55b7ee, #2a8fd0);
  border-radius: 20px; padding: 5px 24px; margin-bottom: 10px;
}
#acts .panel .item p { font-size: 16px; line-height: 30px; color: #456; }
#acts .panel table { width: 100%; border-collapse: collapse; margin-top: 6px; }
#acts .panel table th { background: #2a8fd0; color: #fff; font-size: 15px; padding: 10px; }
#acts .panel table td { border: 1px solid #d8ecf7; font-size: 15px; color: #456; padding: 9px; text-align: center; background: #fbfdff; }

/* ---------- 右侧浮动 ---------- */
#fabs { position: fixed; right: 16px; bottom: 24px; z-index: 950; }
#fabs a {
  display: block; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 12px;
  background: #fff; border: 2px solid #bfe2f4; box-shadow: 0 4px 12px rgba(30,90,130,.2);
  font-size: 12px; color: #2a6f9e; font-weight: bold; text-align: center; line-height: 52px;
}
#fabs a:hover { background: #2a8fd0; border-color: #2a8fd0; color: #fff; }

/* ---------- 页脚 ---------- */
#footer { background: #fff; border-top: 3px solid #55b7ee; padding: 26px 0 34px; }
#footer .flogo { text-align: center; margin-bottom: 16px; }
#footer .flogo img { height: 64px; }
#footer .copyright { text-align: center; font-size: 13px; color: #9bb7c7; line-height: 24px; }
#footer .copyright .tips { color: #2a8fd0; }
