/* ============================================================
   五月 WUYUP —— 深蓝科技风

   ⚠️ 老浏览器约束：这些页面会被老安卓 WebView 打开。那种浏览器碰到
   不认识的写法会把「整条规则」丢掉——元素凭空消失，而且电脑上测不出来。
   所以本文件只用 flex + 绝对定位 + px/%。
   禁用清单见 README「老浏览器兼容」一节（故意不抄在这里：检查脚本按
   文本扫，注释里写一遍也会被算成违规）。
   ============================================================ */

/* ---------- 颜色（取自同行站实测） ----------
   顶栏   #062341     头图深   #000f1d
   内页蓝 #081e4d     亮蓝     #29a3ff
   橙     #ff8a1e → #ff6a00
   ------------------------------------------------- */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: #fff;
  color: #1c2430;
  font-size: 15px;
  line-height: 1.75;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; border: 0; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =========================================================
   顶栏
   ========================================================= */
.hdr {
  position: relative;
  z-index: 50;
  background: #062341;
  background-image: -webkit-linear-gradient(left, #04192f 0%, #072a4e 50%, #04192f 100%);
  background-image: linear-gradient(to right, #04192f 0%, #072a4e 50%, #04192f 100%);
  border-bottom: 1px solid rgba(41, 163, 255, 0.18);
}

.hdr-in { display: flex; align-items: center; height: 84px; }

.logo { display: flex; align-items: center; flex: 0 0 auto; margin-right: auto; }
.logo img {
  width: 56px; height: 47px;
  /* 这个 LOGO 是黑色线稿，深蓝底上必须反白才看得见 */
  -webkit-filter: invert(100%);
  filter: invert(100%);
}
.logo-txt { margin-left: 12px; color: #fff; }
.logo-cn { font-size: 20px; font-weight: 700; letter-spacing: 3px; line-height: 1.2; }
.logo-en {
  font-size: 12px; letter-spacing: 5px; color: #6fc0ff;
  line-height: 1.2; margin-top: 2px;
}

/* 导航：中文大字 + 下面小号英文 */
.nav { display: flex; align-items: center; }
.nav a {
  position: relative;
  display: block;
  text-align: center;
  padding: 0 20px;
  color: #cfe2f5;
}
.nav .cn { display: block; font-size: 16px; line-height: 1.35; }
.nav .en { display: block; font-size: 10px; line-height: 1.3; letter-spacing: 1px; color: #7d9dbf; }
.nav a:hover .cn, .nav a:hover .en { color: #fff; }
.nav a.on .cn { color: #29a3ff; }
.nav a.on .en { color: #29a3ff; }
/* 选中项下面那个小方块装饰 */
.nav a.on:after {
  content: "";
  position: absolute;
  left: 50%; bottom: -14px;
  margin-left: -9px;
  width: 18px; height: 6px;
  background: #29a3ff;
  -webkit-box-shadow: 8px 0 0 -2px #29a3ff, -8px 0 0 -2px rgba(41,163,255,.45);
  box-shadow: 8px 0 0 -2px #29a3ff, -8px 0 0 -2px rgba(41,163,255,.45);
}

.nav-toggle { display: none; }

/* =========================================================
   头图（首页大屏 / 内页小屏）
   ========================================================= */
.banner {
  position: relative;
  overflow: hidden;
  background: #041226;
  background-image: -webkit-linear-gradient(top, #071f3d 0%, #020b18 100%);
  background-image: linear-gradient(to bottom, #071f3d 0%, #020b18 100%);
}

/* 科技感底纹：用代码画，不依赖图片 */
.banner-grid {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background-image:
    -webkit-linear-gradient(rgba(41,163,255,.07) 1px, transparent 1px),
    -webkit-linear-gradient(left, rgba(41,163,255,.07) 1px, transparent 1px);
  background-image:
    linear-gradient(rgba(41,163,255,.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(41,163,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
}
.banner-glow {
  position: absolute;
  left: 50%; top: -30%;
  margin-left: -450px;
  width: 900px; height: 900px;
  background: -webkit-radial-gradient(center, ellipse, rgba(41,163,255,.22) 0%, rgba(41,163,255,0) 62%);
  background: radial-gradient(ellipse at center, rgba(41,163,255,.22) 0%, rgba(41,163,255,0) 62%);
}

/* 背后的巨大英文水印 */
.banner-mark {
  position: absolute;
  left: 0; right: 0; top: 50%;
  margin-top: -105px;
  text-align: center;
  font-size: 180px;
  font-weight: 800;
  letter-spacing: 18px;
  line-height: 1;
  color: rgba(255,255,255,.05);
  white-space: nowrap;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
}

.banner-in { position: relative; z-index: 2; text-align: center; color: #fff; }

/* 首页大屏 */
.banner-home .banner-in { padding: 150px 0 160px; }
.banner-home h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}
.banner-sub {
  display: inline-block;
  margin: 24px 0 0;
  padding: 7px 34px;
  font-size: 17px;
  color: #d5e8ff;
  border-top: 1px solid rgba(41,163,255,.35);
  border-bottom: 1px solid rgba(41,163,255,.35);
  letter-spacing: 1px;
}

/* 首屏四个平行四边形按钮 */
.banner-btns { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.skew-btn {
  position: relative;
  margin: 7px;
  padding: 11px 34px;
  color: #eaf4ff;
  font-size: 15px;
  letter-spacing: 1px;
  border: 1px solid rgba(41,163,255,.5);
  background: rgba(10,40,78,.55);
  -webkit-transform: skewX(-12deg);
  transform: skewX(-12deg);
  cursor: pointer;
}
.skew-btn span {
  display: block;
  -webkit-transform: skewX(12deg);
  transform: skewX(12deg);
}
.skew-btn:hover { background: rgba(41,163,255,.28); border-color: #29a3ff; color: #fff; }

/* 内页小屏 */
.banner-page { background-image: -webkit-linear-gradient(top, #0a2352 0%, #050f2e 100%);
               background-image: linear-gradient(to bottom, #0a2352 0%, #050f2e 100%); }
.banner-page .banner-in { padding: 74px 0 78px; text-align: right; }
.banner-page h1 { margin: 0; font-size: 36px; letter-spacing: 4px; }
.banner-page .banner-mark { text-align: right; font-size: 92px; margin-top: -66px; letter-spacing: 6px; }
.banner-page .banner-in .wrap { position: relative; z-index: 2; }
.banner-desc {
  margin: 14px 0 0;
  font-size: 13px;
  color: #9fc2e6;
  line-height: 1.9;
}

/* =========================================================
   区块
   ========================================================= */
.sec { position: relative; padding: 70px 0; overflow: hidden; }
.sec-gray { background: #f2f5f9; }
.sec-dark { background: #071c36; color: #dce9f7; }

/* 区块标题：中文 + 英文小字，背后超大浅色水印 */
.sec-hd { position: relative; text-align: center; margin-bottom: 44px; }
.sec-mark {
  position: absolute;
  left: 0; right: 0; top: 50%;
  margin-top: -48px;
  font-size: 74px;
  font-weight: 800;
  letter-spacing: 10px;
  line-height: 1;
  color: rgba(28,36,48,.05);
  white-space: nowrap;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
}
.sec-dark .sec-mark { color: rgba(255,255,255,.055); }
.sec-hd h2 {
  position: relative;
  margin: 0;
  font-size: 28px;
  letter-spacing: 3px;
  color: #123a68;
}
.sec-dark .sec-hd h2 { color: #fff; }
.sec-hd h2 b { color: #29a3ff; font-weight: 700; }
.sec-hd p {
  position: relative;
  margin: 12px 0 0;
  font-size: 14px;
  color: #6b7a8d;
  letter-spacing: 1px;
}
.sec-dark .sec-hd p { color: #90b2d4; }
/* 标题两侧小方块装饰 */
.sec-hd h2:before, .sec-hd h2:after {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  background: #29a3ff;
  vertical-align: middle;
  margin: 0 14px;
}
.sec-hd h2:before { -webkit-box-shadow: -11px 6px 0 -2px rgba(41,163,255,.5); box-shadow: -11px 6px 0 -2px rgba(41,163,255,.5); }
.sec-hd h2:after  { -webkit-box-shadow:  11px -6px 0 -2px rgba(41,163,255,.5); box-shadow:  11px -6px 0 -2px rgba(41,163,255,.5); }

/* =========================================================
   按钮
   ========================================================= */
.btn {
  display: inline-block;
  padding: 11px 30px;
  border-radius: 24px;
  font-size: 15px;
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 1px;
}
.btn-orange {
  background: #ff8a1e;
  background-image: -webkit-linear-gradient(left, #ff9c3c, #ff6a00);
  background-image: linear-gradient(to right, #ff9c3c, #ff6a00);
  -webkit-box-shadow: 0 6px 16px rgba(255,122,24,.32);
  box-shadow: 0 6px 16px rgba(255,122,24,.32);
}
.btn-blue {
  background: #29a3ff;
  background-image: -webkit-linear-gradient(left, #47b4ff, #1785e0);
  background-image: linear-gradient(to right, #47b4ff, #1785e0);
  -webkit-box-shadow: 0 6px 16px rgba(41,163,255,.32);
  box-shadow: 0 6px 16px rgba(41,163,255,.32);
}
.btn-ghost { background: #fff; color: #2b5d92; border: 1px solid #d5dfea; border-radius: 6px; }
.btn-ghost:hover { border-color: #29a3ff; color: #1785e0; }

/* =========================================================
   产品卡片
   ========================================================= */
.prods { display: flex; flex-wrap: wrap; margin: -10px; }
.prod {
  width: 100%;
  margin: 10px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.prod-shot {
  height: 168px;
  border-radius: 8px;
  background: #eef3f9;
  background-image: -webkit-linear-gradient(top, #f4f8fc, #e3ebf4);
  background-image: linear-gradient(to bottom, #f4f8fc, #e3ebf4);
  border: 1px solid #e2e9f1;
  position: relative;
  overflow: hidden;
}
.prod-shot img { width: 100%; height: 100%; }
/* 没有截图时的占位纹理 */
.prod-shot.ph:after {
  content: "软件截图";
  position: absolute;
  left: 0; right: 0; top: 50%;
  margin-top: -12px;
  color: #a8bdd2;
  font-size: 13px;
  letter-spacing: 2px;
}
.prod h3 { margin: 16px 0 6px; font-size: 19px; color: #1785e0; letter-spacing: 1px; }
.prod p { margin: 0 0 16px; font-size: 13px; color: #6b7a8d; min-height: 60px; }
.prod .btns { display: flex; justify-content: center; flex-wrap: wrap; margin-top: auto; }
.prod .btns .btn { margin: 4px; padding: 9px 20px; font-size: 13px; }

/* =========================================================
   游戏徽章
   ========================================================= */
.games { display: flex; flex-wrap: wrap; justify-content: center; margin: -12px; }
.game { width: 25%; padding: 12px; text-align: center; }
.game-ic {
  width: 112px; height: 112px;
  margin: 0 auto;
  border-radius: 56px;
  border: 4px solid #fff;
  -webkit-box-shadow: 0 8px 20px rgba(18,58,104,.18);
  box-shadow: 0 8px 20px rgba(18,58,104,.18);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  text-align: center;
}
.game span { display: block; margin-top: 12px; font-size: 14px; color: #44586e; }

/* =========================================================
   文章列表
   ========================================================= */
.news-list { border-top: 1px solid #e6ebf2; }
.news-item { display: flex; padding: 26px 4px; border-bottom: 1px dashed #dde4ec; }
.news-date { flex: 0 0 110px; text-align: center; }
.news-day { font-size: 26px; font-weight: 700; color: #1785e0; line-height: 1.2; }
.news-ym { font-size: 12px; color: #98a6b6; }
.news-body { flex: 1 1 auto; min-width: 0; }
.news-body h3 { margin: 0 0 8px; font-size: 17px; color: #1c2430; }
.news-item:hover .news-body h3 { color: #1785e0; }
.news-body p { margin: 0; font-size: 13px; color: #758394; }
.news-more { display: block; margin-top: 10px; text-align: right; font-size: 13px; color: #1785e0; }

.pager { display: flex; justify-content: center; margin-top: 30px; }
.pager a, .pager span {
  min-width: 34px; height: 34px; line-height: 32px;
  margin: 0 4px; padding: 0 9px;
  text-align: center;
  border: 1px solid #dde4ec;
  border-radius: 5px;
  font-size: 14px;
  color: #5b6b7d;
}
.pager .cur { background: #29a3ff; border-color: #29a3ff; color: #fff; }

/* 文章正文 */
.article { max-width: 860px; margin: 0 auto; }
.article h1 { font-size: 26px; margin: 0 0 10px; line-height: 1.5; }
.article-meta { font-size: 13px; color: #98a6b6; padding-bottom: 18px; border-bottom: 1px solid #e6ebf2; margin-bottom: 26px; }
.article-body { font-size: 15px; line-height: 2; color: #33414f; }
.article-body img { margin: 16px auto; border-radius: 6px; }
.article-body h2 { font-size: 20px; margin: 28px 0 12px; }
.article-body h3 { font-size: 17px; margin: 22px 0 10px; }
.article-body p { margin: 0 0 16px; }
.article-body a { color: #1785e0; text-decoration: underline; }
.article-body blockquote {
  margin: 16px 0; padding: 10px 16px;
  border-left: 3px solid #29a3ff; background: #f2f7fc; color: #4a5a6c;
}

/* =========================================================
   右侧固定联系条
   ========================================================= */
.side {
  position: fixed;
  right: 14px; top: 50%;
  margin-top: -130px;
  z-index: 60;
}
.side-item { position: relative; margin-bottom: 10px; }
.side-btn {
  width: 46px; height: 46px;
  border-radius: 23px;
  background: #fff;
  border: 1px solid #e0e8f1;
  -webkit-box-shadow: 0 4px 14px rgba(18,58,104,.16);
  box-shadow: 0 4px 14px rgba(18,58,104,.16);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.side-btn svg { width: 22px; height: 22px; fill: #1785e0; }
.side-btn:hover { background: #29a3ff; }
.side-btn:hover svg { fill: #fff; }

/* 悬浮弹出的号码卡 */
.side-pop {
  position: absolute;
  right: 56px; top: 50%;
  margin-top: -33px;
  width: 232px;
  background: #fff;
  border: 1px solid #e0e8f1;
  border-radius: 10px;
  padding: 12px 14px;
  -webkit-box-shadow: 0 8px 24px rgba(18,58,104,.18);
  box-shadow: 0 8px 24px rgba(18,58,104,.18);
  display: none;
  text-align: left;
}
/* 电脑上鼠标悬停就展开；手机上没有悬停，靠 JS 点一下加 open 这个 class。
   只写 :hover 的话，手机用户看到三个图标怎么点都没反应。 */
.side-item:hover .side-pop,
.side-item.open .side-pop { display: block; }
.side-pop .t { font-size: 12px; color: #98a6b6; }
.side-pop .v { font-size: 15px; font-weight: 600; color: #1c2430; word-break: break-all; margin: 2px 0 9px; }
.side-pop .btn { padding: 7px 16px; font-size: 13px; border-radius: 6px; }

/* =========================================================
   页脚
   ========================================================= */
.ft { background: #0a2145; color: #9fb6d1; padding: 50px 0 0; }
.ft-in { display: flex; flex-wrap: wrap; padding-bottom: 40px; }
.ft-col { width: 100%; margin-bottom: 26px; }
.ft-brand h3 { margin: 0 0 12px; font-size: 20px; color: #fff; letter-spacing: 2px; }
.ft-brand p { margin: 0; font-size: 14px; color: #8fa9c6; }
.ft-col h4 { margin: 0 0 14px; font-size: 16px; color: #fff; font-weight: 600; }
.ft-col li { font-size: 13px; line-height: 2.2; }
.ft-col li a:hover { color: #29a3ff; }
.ft-copy {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: #6d87a5;
  background: #07182f;
}

/* =========================================================
   复制提示
   ========================================================= */
.toast {
  position: fixed;
  left: 50%; bottom: 46px;
  margin-left: -170px;
  width: 340px;
  background: #0d2b50;
  color: #fff;
  text-align: center;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}
.toast-show { opacity: 1; visibility: visible; }

/* =========================================================
   响应式
   ========================================================= */
@media (min-width: 760px) {
  .prod { width: calc(50% - 20px); }
  .ft-col { width: 50%; }
}
@media (min-width: 1000px) {
  .prod { width: calc(25% - 20px); }
  .ft-brand { width: 42%; }
  .ft-col { width: 29%; }
}

@media (max-width: 899px) {
  .hdr-in { height: 60px; }
  .logo img { width: 40px; height: 40px; }
  .logo-cn { font-size: 17px; letter-spacing: 2px; }
  .logo-en { font-size: 10px; letter-spacing: 3px; }

  /* 手机上导航收起来 */
  .nav-toggle {
    display: block;
    width: 40px; height: 40px;
    border: 0; background: none; cursor: pointer; padding: 0;
  }
  .nav-toggle i {
    display: block; height: 2px; background: #cfe2f5; margin: 7px 9px;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 60px;
    background: #062341;
    border-top: 1px solid rgba(41,163,255,.2);
    flex-direction: column;
    padding: 6px 0;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; text-align: left; padding: 11px 22px; }
  .nav a.on:after { display: none; }
  .nav .en { display: inline; margin-left: 8px; }

  .banner-mark { font-size: 62px; letter-spacing: 8px; margin-top: -34px; }
  .banner-home .banner-in { padding: 64px 0 70px; }
  .banner-home h1 { font-size: 24px; letter-spacing: 1px; }
  .banner-sub { font-size: 14px; padding: 6px 18px; }
  .banner-page .banner-in { padding: 46px 0 48px; text-align: center; }
  .banner-page h1 { font-size: 25px; }
  .banner-page .banner-mark { text-align: center; font-size: 52px; }
  .banner-desc { font-size: 12px; }

  .sec { padding: 46px 0; }
  .sec-mark { font-size: 40px; letter-spacing: 5px; margin-top: -26px; }
  .sec-hd { margin-bottom: 30px; }
  .sec-hd h2 { font-size: 22px; letter-spacing: 2px; }
  .sec-hd h2:before, .sec-hd h2:after { margin: 0 9px; }

  .game { width: 50%; }
  .game-ic { width: 88px; height: 88px; border-radius: 44px; font-size: 15px; }

  .news-item { display: block; padding: 20px 2px; }
  .news-date { text-align: left; margin-bottom: 8px; }
  .news-day { display: inline; font-size: 20px; }
  .news-ym { display: inline; margin-left: 6px; }

  /* 手机上右侧固定条挪到底部一条 */
  .side {
    right: 0; left: 0; top: auto; bottom: 0;
    margin-top: 0;
    background: #fff;
    border-top: 1px solid #e0e8f1;
    display: flex;
    padding: 7px 6px;
  }
  .side-item { flex: 1 1 0; margin: 0; text-align: center; }
  .side-btn { margin: 0 auto; width: 40px; height: 40px; border: 0; box-shadow: none; }
  .side-pop {
    right: 6px; left: 6px; top: auto; bottom: 56px;
    width: auto; margin-top: 0;
  }
  body { padding-bottom: 58px; }

  .toast { width: 86%; left: 7%; margin-left: 0; bottom: 70px; }
}
