/* ============================================================
   首页补充样式
   由原 pages/index.vue、components/footers.vue 的 scoped 样式转换而来
   ============================================================ */

/* ---------- 游戏卡片 上架时间角标（原 index.vue .updatetime） ---------- */
.updatetime {
  background: linear-gradient(90deg, #ebc077, #f9e4bf 64.671%, #f2d29b 84.431%);
  color: #1a1400;
  padding: 6px 16px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 12px;
  overflow: hidden;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.4s ease;
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 10;
  max-width: calc(100% - 20px);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- 微信 / QQ 内置浏览器拦截页（原 index.vue .wxbox） ---------- */
.wxbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 999999;
  display: none;
  flex-direction: column;
  align-items: center;
}

.wxbox.show {
  display: flex;
}

.wxbox .title {
  font-size: 30px;
  color: #111111;
  font-weight: 600;
  margin-bottom: 32px;
}

.wxbox .copy-btn {
  width: 90%;
  max-width: 720px;
  height: 50px;
  background-color: #007aff;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.wxbox .copy-btn:active {
  opacity: 0.85;
}

.wxbox .top-banner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: auto;
  min-height: 200px;
  background: url("../assets/img/topbg.jpg") no-repeat right top;
  background-size: contain;
}

.wxbox .main-wrap {
  padding: 80px 20px 40px;
  text-align: center;
  margin-top: 100px;
}

.wxbox .step-text {
  font-size: 22px;
  color: #0066ff;
  font-weight: 500;
  line-height: 2;
  margin-bottom: 80px;
}

.wxbox .link-line {
  font-size: 18px;
  color: #0066ff;
  position: relative;
  margin: 30px 0;
  word-break: break-all;
}

.wxbox .link-line::before,
.wxbox .link-line::after {
  content: "——";
  color: #0066ff;
  opacity: 0.6;
  padding: 0 10px;
}

.wxbox .tip-line {
  font-size: 18px;
  color: #0066ff;
  margin-bottom: 60px;
}

/* ---------- 底部（原 components/footers.vue） ---------- */
.wrapper_1200 {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.footer-line {
  flex-shrink: 0;
  width: 100%;
  height: 1px;
  background: radial-gradient(ellipse 50% 5375% at 50% 100%, #ff6b35 1%, rgba(255, 107, 53, 0));
}

.footer {
  background-color: #1A1A1A;
}

.footer .wrapper_1200 {
  background-color: #1A1A1A;
}

.footer .links {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e3e3e3;
  padding: 17px 0;
  font-weight: 400;
  font-size: 12px;
  color: #c9b896;
  line-height: 14px;
  flex-wrap: wrap;
}

.footer .links a {
  color: #c9b896;
  margin-right: 10px;
}

.footer .recordNum {
  text-align: center;
  padding: 30px 0 48px 0;
}

.footer .recordNum .address {
  margin-left: 40px;
}

.footer .recordNum .record {
  margin-top: 6px;
}

.footer .recordNum .record .num {
  margin-left: 10px;
}

.footer .recordNum .record .num:hover {
  color: #e93323;
}

/* 右侧悬浮窗 - 回到顶部 */
.floatWindow {
  position: fixed;
  right: 0;
  bottom: 15%;
  width: 70px;
  z-index: 99;
  cursor: pointer;
  background-color: #fff;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
}

.floatWindow .list .item {
  position: relative;
  width: 100%;
  height: 74px;
  text-align: center;
  font-size: 12px;
  color: #5c5c5c;
  padding: 12px 0;
  box-sizing: border-box;
}

.floatWindow .list .item:hover {
  color: #e93323;
}

.floatWindow .list .item .iconfont {
  margin-bottom: 5px;
  font-size: 25px;
}

.floatWindow .list .item~.item:before {
  position: absolute;
  content: " ";
  width: 48px;
  height: 1px;
  background-color: #f0f0f0;
  top: 0;
  left: 50%;
  margin-left: -24px;
}

/* ---------- 顶部导航欢迎语（原 header_top.vue 内联样式提取） ---------- */
.logop {
  font-size: 16px;
  color: #fff2dc;
}

@media (max-width: 992px) {
  .logop {
    font-size: 10px;
    display: none;
  }
}

/* ---------- 加载提示 ---------- */
.games-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #c9b896;
  padding: 60px 0;
  font-size: 16px;
}
