/* ============================================
   TT游戏加速器 - 整站样式
   主色：#140f26 深紫黑 · #0ac2ff 青蓝 · #FF6A00 橙
   结构：基础 → 导航 → 首屏 → 功能区 → 游戏区
        → 下载/页脚 → 文章页 → 弹窗/分享 → 响应式
   ============================================ */

/* ===== 基础重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Helvetica Neue', Arial, sans-serif;
  background: #140f26;
  color: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== 顶部导航 ===== */
.page-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 55px 27px 85px;
  z-index: 999;
  background: rgba(20, 15, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 48px; width: 48px; object-fit: contain; filter: brightness(0) invert(1); }
.logo-box { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: .5px; white-space: nowrap; }
.logo-domain { font-size: 14px; color: #0ac2ff; letter-spacing: 1px; }
.nav { display: flex; align-items: center; }
.nav li { position: relative; margin-right: 40px; font-size: 18px; cursor: pointer; }
.nav li:last-child { margin-right: 0; }
.nav li a { color: #fff; transition: color .2s ease; }
.nav li:hover a { color: #0ac2ff; }
.nav li::after {
  content: "";
  position: absolute;
  bottom: -10px; left: 50%;
  width: 15px; height: 2px;
  background: #0ac2ff;
  transform: translateX(-50%) scaleX(0);
  transition: transform .2s ease-in-out;
}
.nav li:hover::after,
.nav .nav-active::after { transform: translateX(-50%) scaleX(1); }

/* ===== 首屏 Banner ===== */
.index-page {
  background: #140f26 url('features/bg-home.png') center / 100% 100% no-repeat;
  min-height: 100vh;
  height: 100vh;
  padding: 100px 0 60px;
  display: flex;
  align-items: center;
}
.carousel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 50px;
}
.carousel-item-left { flex: 1.8; display: flex; align-items: center; justify-content: center; min-width: 0; padding-left: 80px; }
.carousel-item-left .hero-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  animation: floatImg 6s ease-in-out infinite;
}
@keyframes floatImg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.carousel-item-right { flex: 1.2; display: flex; flex-direction: column; justify-content: center; padding-left: 60px; min-width: 0; }
.right-title {
  font-weight: 800;
  font-size: 60px;
  line-height: 1.15;
  background: linear-gradient(135deg, #fff 0%, #0ac2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(70px);
  opacity: 0;
  transition: transform .8s ease, opacity .8s ease;
  white-space: nowrap;
}
.right-title.in-visible { transform: translateY(0); opacity: 1; }
.right-desc {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  margin-top: 18px;
  transform: translateY(50px);
  opacity: 0;
  transition: transform .9s ease .15s, opacity .9s ease .15s;
  white-space: nowrap;
}
.right-desc.in-visible { transform: translateY(0); opacity: 1; }
.right-sub { color: rgba(255, 255, 255, .65); font-size: 16px; margin-top: 16px; line-height: 1.7; max-width: 95%; }

/* 首屏下载按钮 */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #FF6A00, #FF3D00);
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 12px 32px -8px rgba(255, 106, 0, .5);
  transition: transform .3s ease, box-shadow .3s ease;
  max-width: max-content;
}
.download-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(255, 106, 0, .6); }
.dl-text { display: flex; flex-direction: column; line-height: 1.2; }
.dl-text small { font-size: 12px; opacity: .85; }
.dl-text strong { font-size: 20px; font-weight: 700; }
.hero-tags { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-tags span {
  padding: 6px 16px;
  font-size: 13px;
  color: #0ac2ff;
  background: rgba(10, 194, 255, .1);
  border: 1px solid rgba(10, 194, 255, .3);
  border-radius: 100px;
}

/* ===== 通用区块标题 ===== */
.section-title { text-align: center; font-size: 40px; font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: .02em; }
.section-sub { text-align: center; font-size: 18px; color: rgba(255, 255, 255, .6); margin-bottom: 60px; }

/* ===== 核心功能区 ===== */
.features-section {
  padding: 100px 85px;
  background: #140f26;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.features-section .section-title { margin-bottom: 60px; }
.features-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 36px 28px;
  transition: transform .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(10, 194, 255, .3);
  box-shadow: 0 20px 50px -20px rgba(10, 194, 255, .2);
}
.fc-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.feature-card h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: rgba(255, 255, 255, .6); line-height: 1.7; }

/* ===== 支持游戏区 ===== */
.games-section {
  padding: 100px 85px;
  background: #0f0b1f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.games-grid { max-width: 1300px; width: 100%; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.game-card {
  position: relative;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: 24px 12px;
  text-align: center;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
  cursor: pointer;
}
.game-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .07); border-color: rgba(10, 194, 255, .3); }
.gc-icon { width: 64px; height: 64px; border-radius: 14px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: #fff; }
.gc-name { font-size: 14px; color: rgba(255, 255, 255, .85); font-weight: 500; }
.gi-tag { position: absolute; top: 8px; right: 8px; padding: 2px 8px; font-size: 10px; font-weight: 700; border-radius: 100px; letter-spacing: .05em; }
.gi-tag.hot { background: rgba(255, 106, 0, .2); color: #FF8533; }
.gi-tag.new { background: rgba(16, 185, 129, .2); color: #34D399; }

/* ===== 下载区 ===== */
.download-section { padding: 70px 85px 0; background: #140f26; min-height: 100vh; height: 100vh; display: flex; flex-direction: column; justify-content: flex-start; }
.download-section .section-title { flex-shrink: 0; margin-top: auto; }
.download-section .section-sub { flex-shrink: 0; }
.download-card {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.download-card:hover { border-color: rgba(10, 194, 255, .3); box-shadow: 0 20px 50px -20px rgba(10, 194, 255, .2); }
.dc-icon { width: 96px; height: 96px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: rgba(10, 194, 255, .1); color: #0ac2ff; border-radius: 50%; }
.download-card h3 { font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.download-card p { font-size: 14px; color: rgba(255, 255, 255, .5); margin-bottom: 28px; }
.dl-big-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: linear-gradient(135deg, #FF6A00, #FF3D00);
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 24px -6px rgba(255, 106, 0, .5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.dl-big-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(255, 106, 0, .6); }

/* ===== 页脚 ===== */
.page-copyright { background: #0a0716; padding: 24px 85px; border-top: 1px solid rgba(255, 255, 255, .06); user-select: none; margin-top: auto; width: 100%; }
.download-section .page-copyright { margin-left: -85px; margin-right: -85px; width: auto; }
.footer-info { max-width: 1200px; margin: 0 auto; text-align: center; color: #a9a9a9; font-size: 14px; }
.footer-info > div { margin-bottom: 10px; line-height: 1.8; }
.footer-info a { cursor: pointer; margin: 0 8px; color: #a9a9a9; transition: color .2s ease; }
.footer-info a:hover { color: #0ac2ff; text-decoration: underline; }

/* ===== 文章内页（教程 / 攻略 / 常见问题） ===== */
.article-page { min-height: 100vh; background: #140f26; padding: 150px 30px 60px; color: #e8e8f0; }
.article-container { max-width: 860px; margin: 0 auto; }
.article-title { font-size: 34px; font-weight: 800; color: #fff; margin-bottom: 14px; line-height: 1.35; }
.article-meta { color: rgba(255, 255, 255, .45); font-size: 13px; margin-bottom: 36px; }
.article-h2 { font-size: 23px; font-weight: 700; color: #0ac2ff; margin: 42px 0 16px; }
.article-p { font-size: 16px; line-height: 1.95; color: rgba(255, 255, 255, .85); margin-bottom: 16px; }
.article-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 22px 24px; margin: 18px 0; }
.article-list { list-style: none; padding: 0; }
.article-list li { position: relative; padding: 9px 0 9px 26px; line-height: 1.85; color: rgba(255, 255, 255, .85); font-size: 15px; }
.article-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; background: #0ac2ff; border-radius: 50%; }
.article-strong { color: #0ac2ff; font-weight: 700; }
.article-table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.article-table th, .article-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15px; color: rgba(255, 255, 255, .85); }
.article-table th { color: #0ac2ff; font-weight: 700; }
.article-nav { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.article-nav a { color: #0ac2ff; font-size: 15px; }
.article-nav a:hover { text-decoration: underline; }

/* ===== 礼包悬浮按钮 ===== */
.gift-fab {
  position: fixed;
  bottom: 30px; left: 30px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  animation: fabIn .5s ease 1s both;
  transition: transform .3s ease, opacity .3s ease;
}
.gift-fab:hover { transform: scale(1.08); }
@keyframes fabIn {
  from { opacity: 0; transform: scale(.3) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.gift-fab-icon { font-size: 62px; line-height: 1; animation: fabShake 3s ease-in-out infinite; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
@keyframes fabShake {
  0%, 70%, 100% { transform: rotate(0); }
  75% { transform: rotate(-12deg); }
  80% { transform: rotate(12deg); }
  85% { transform: rotate(-8deg); }
  90% { transform: rotate(8deg); }
  95% { transform: rotate(0); }
}
.gift-fab-text { font-size: 19px; font-weight: 800; color: #FF8A1E; letter-spacing: 3px; text-shadow: 0 2px 8px rgba(0, 0, 0, .7); }
.gift-fab.hidden { opacity: 0; pointer-events: none; transform: scale(.3); }
.gift-fab-pulse, .gift-fab-pulse2 { position: absolute; inset: 0; border-radius: 50%; display: none; pointer-events: none; }
.gift-fab-pulse { border: 3px solid rgba(255, 140, 50, .8); }
.gift-fab-pulse2 { border: 3px solid rgba(255, 170, 70, .6); }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(1.8); opacity: 0; } }

/* 样式 B：橙色大圆 + 呼吸 + 领取30天月卡 */
.gift-fab.gift-b {
  width: 108px; height: 108px; gap: 6px;
  background: linear-gradient(135deg, #FF8A1E 0%, #FF5A00 60%, #FF3D00 100%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .22);
  box-shadow: 0 12px 34px -6px rgba(255, 90, 0, .75), 0 0 32px -2px rgba(255, 140, 0, .6);
}
.gift-fab.gift-b:hover { box-shadow: 0 16px 44px -8px rgba(255, 90, 0, .85), 0 0 44px -2px rgba(255, 150, 0, .75); }
.gift-fab.gift-b .gift-fab-icon { font-size: 38px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.gift-fab.gift-b .gift-fab-text { font-size: 14px; color: #fff; letter-spacing: 1px; line-height: 1.3; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.gift-fab.gift-b .gift-fab-pulse { display: block; animation: fabPulse 2.4s ease-out infinite; }
.gift-fab.gift-b .gift-fab-pulse2 { display: block; animation: fabPulse 2.4s ease-out 1.2s infinite; }

/* 样式 C：青蓝胶囊（横向） */
.gift-fab.gift-c {
  flex-direction: row; gap: 8px; padding: 14px 24px;
  background: linear-gradient(135deg, #0ac2ff, #0090d4);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 10px 30px -6px rgba(10, 194, 255, .6), 0 0 26px -4px rgba(10, 194, 255, .5);
}
.gift-fab.gift-c .gift-fab-icon { font-size: 26px; }
.gift-fab.gift-c .gift-fab-text { font-size: 16px; color: #fff; letter-spacing: 2px; text-shadow: none; }

/* 样式 D：橙色圆 + 呼吸 + 激活码 */
.gift-fab.gift-d {
  width: 96px; height: 96px; gap: 6px;
  background: linear-gradient(135deg, #FF8A1E 0%, #FF5A00 60%, #FF3D00 100%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .22);
  box-shadow: 0 12px 34px -6px rgba(255, 90, 0, .75), 0 0 32px -2px rgba(255, 140, 0, .6);
}
.gift-fab.gift-d .gift-fab-icon { font-size: 34px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3)); }
.gift-fab.gift-d .gift-fab-text { font-size: 15px; color: #fff; letter-spacing: 2px; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.gift-fab.gift-d .gift-fab-pulse { display: block; animation: fabPulse 2.4s ease-out infinite; }
.gift-fab.gift-d .gift-fab-pulse2 { display: block; animation: fabPulse 2.4s ease-out 1.2s infinite; }

/* ===== 口令弹窗 ===== */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-mask.show { opacity: 1; visibility: visible; }
.modal-box {
  position: relative;
  width: 400px; max-width: 90vw;
  background: linear-gradient(160deg, #1a1330 0%, #140f26 100%);
  border: 1px solid rgba(10, 194, 255, .3);
  border-radius: 20px;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(10, 194, 255, .3);
  transform: scale(.8) translateY(20px);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
  overflow: hidden;
}
.modal-mask.show .modal-box { transform: scale(1) translateY(0); }
.modal-glow {
  position: absolute; top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(circle, rgba(10, 194, 255, .25), transparent 70%);
  pointer-events: none;
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  width: 32px; height: 32px;
  font-size: 24px; line-height: 1;
  color: rgba(255, 255, 255, .5);
  background: none; border: none; cursor: pointer;
  transition: color .2s ease;
  z-index: 2;
}
.modal-close:hover { color: #fff; }
.modal-content { position: relative; z-index: 1; }
.modal-icon { font-size: 48px; margin-bottom: 12px; animation: fabBounce 2s ease-in-out infinite; }
@keyframes fabBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.modal-title {
  font-size: 26px; font-weight: 800; margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 0%, #0ac2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modal-tip { font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.modal-code {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 auto 20px; padding: 14px 20px;
  background: rgba(10, 194, 255, .1);
  border: 1px dashed rgba(10, 194, 255, .5);
  border-radius: 12px;
  max-width: 260px;
}
.modal-code span { font-size: 24px; font-weight: 800; color: #0ac2ff; letter-spacing: 2px; font-family: Consolas, Monaco, monospace; }
.copy-btn {
  padding: 4px 12px; font-size: 12px; white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #FF6A00, #FF3D00);
  border: none; border-radius: 6px; cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.copy-btn:hover { transform: scale(1.05); }
.copy-btn.copied { background: linear-gradient(135deg, #10B981, #059669); }
.modal-desc { font-size: 15px; color: rgba(255, 255, 255, .85); line-height: 1.7; margin-bottom: 24px; }
.modal-btn {
  display: inline-block;
  padding: 14px 40px; margin-bottom: 12px;
  background: linear-gradient(135deg, #FF6A00, #FF3D00);
  color: #fff; border-radius: 10px;
  font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 24px -6px rgba(255, 106, 0, .5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.modal-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(255, 106, 0, .6); }
.modal-note { font-size: 12px; color: rgba(255, 255, 255, .35); }

/* ===== 分享按钮 ===== */
.share-bar { margin-top: 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.share-label { font-size: 14px; color: rgba(255, 255, 255, .55); }
.share-icons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.share-icon {
  width: 46px; height: 46px;
  border: none; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; cursor: pointer;
  box-shadow: 0 4px 12px -3px rgba(0, 0, 0, .4);
  transition: transform .25s ease, box-shadow .25s ease;
}
.share-icon:hover { transform: translateY(-3px); box-shadow: 0 8px 20px -4px rgba(0, 0, 0, .5); }
.share-icon-copy { background: linear-gradient(135deg, #0ac2ff, #0090d4); }
.share-icon-wechat { background: linear-gradient(135deg, #07c160, #059a4c); }
.share-icon-qq { background: linear-gradient(135deg, #12b7f5, #0a7fca); }
.share-icon-weibo { background: linear-gradient(135deg, #ff8200, #e6162d); }

/* 弹窗内分享区 */
.modal-share { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.modal-share-tip { display: block; text-align: center; margin-bottom: 12px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.modal-share .share-icons { justify-content: center; }
.modal-share .share-icon { width: 40px; height: 40px; font-size: 18px; }

/* ===== 分享提示 toast ===== */
.share-toast {
  position: fixed; bottom: 40px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0, 0, 0, .85); color: #fff;
  padding: 12px 24px; border-radius: 8px; font-size: 14px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 99999;
}
.share-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 微信扫码弹窗 ===== */
.qrcode-mask {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 99998;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.qrcode-mask.show { opacity: 1; visibility: visible; }
.qrcode-box {
  position: relative;
  background: linear-gradient(160deg, #1a1330, #140f26);
  border: 1px solid rgba(10, 194, 255, .3);
  border-radius: 20px;
  padding: 32px 36px;
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  transform: scale(.9);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.qrcode-mask.show .qrcode-box { transform: scale(1); }
.qrcode-close {
  position: absolute; top: 12px; right: 16px;
  width: 32px; height: 32px;
  font-size: 24px; line-height: 1;
  color: rgba(255, 255, 255, .5);
  background: none; border: none; cursor: pointer;
  transition: color .2s ease;
}
.qrcode-close:hover { color: #fff; }
.qrcode-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 16px; }
#qrcode { display: inline-block; background: #fff; padding: 10px; border-radius: 10px; margin-bottom: 16px; }
#qrcode img, #qrcode canvas { display: block; }
.qrcode-tip { font-size: 14px; color: rgba(255, 255, 255, .75); line-height: 1.7; }
.qrcode-tip2 { font-size: 13px; color: #0ac2ff; margin-top: 4px; }

/* ===== 滚动显现 ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.4, 0, .2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== 中屏自适应（769-1200px） ===== */
@media (min-width: 769px) and (max-width: 1200px) {
  .right-title { font-size: 48px; white-space: normal; }
  .right-desc { font-size: 20px; white-space: normal; }
  .carousel-item-right { padding-left: 30px; }
  .carousel-item-left { padding-left: 30px; }
  .page-header { padding: 20px 30px; }
  .nav li { margin-right: 24px; font-size: 16px; }
}

/* ===== 矮屏压缩 ===== */
@media (max-height: 800px) and (min-width: 769px) {
  .features-section, .games-section { padding: 40px 85px; }
  .features-section .section-title { margin-bottom: 30px; }
  .features-grid { gap: 20px; }
  .feature-card { padding: 24px 20px; }
  .feature-card .fc-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .feature-card h3 { font-size: 18px; margin-bottom: 8px; }
  .feature-card p { font-size: 13px; line-height: 1.5; }
  .games-section .section-title { font-size: 26px; margin-bottom: 10px; }
  .games-section .section-sub { font-size: 14px; margin-bottom: 18px; }
  .games-grid { gap: 12px; }
  .game-card { padding: 14px 8px; }
  .gc-icon { width: 46px; height: 46px; margin-bottom: 8px; font-size: 12px; }
  .gc-name { font-size: 13px; }
  .download-section { padding: 40px 60px 0; }
  .download-section .section-title { font-size: 32px; margin-bottom: 10px; }
  .download-section .section-sub { font-size: 15px; margin-bottom: 24px; }
  .download-card { padding: 28px; max-width: 380px; }
  .download-card .dc-icon { width: 72px; height: 72px; margin-bottom: 14px; }
  .download-card .dc-icon svg { width: 42px; height: 42px; }
  .download-card h3 { font-size: 21px; margin-bottom: 6px; }
  .download-card p { margin-bottom: 18px; }
  .page-copyright { padding: 18px 60px; }
  .download-section .page-copyright { margin-left: -60px; margin-right: -60px; width: auto; }
}

/* ===== 手机端 ===== */
@media (max-width: 768px) {
  .index-page, .features-section, .games-section, .download-section {
    min-height: auto; height: auto;
  }
  .download-section { padding: 50px 16px 0; }
  .download-section .section-title { margin-top: 0; }
  .index-page { padding: 90px 0 40px; }
  .carousel-item { flex-direction: column; padding: 0 20px; gap: 24px; }
  .carousel-item-left { padding-left: 0; width: 100%; }
  .carousel-item-right { padding-left: 0; align-items: center; text-align: center; }
  .right-title { font-size: 32px; white-space: normal; }
  .right-desc { font-size: 18px; white-space: normal; }
  .right-sub { max-width: 100%; }
  .page-header { padding: 14px 16px; }
  .logo-text { font-size: 16px; }
  .logo-img { height: 32px; width: 32px; }
  .logo-domain { font-size: 12px; }
  .nav { flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
  .nav li { margin-right: 12px; font-size: 13px; }
  .features-section, .games-section { padding: 50px 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 14px; margin-bottom: 32px; }
  .games-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .game-card { padding: 14px 8px; }
  .gc-icon { width: 48px; height: 48px; font-size: 12px; }
  .download-card { padding: 24px 20px; max-width: 360px; }
  .download-card .dc-icon { width: 64px; height: 64px; margin-bottom: 14px; }
  .download-card .dc-icon svg { width: 36px; height: 36px; }
  .download-card h3 { font-size: 20px; margin-bottom: 6px; }
  .download-card p { font-size: 13px; margin-bottom: 18px; }
  .download-card .dl-big-btn { padding: 12px 32px; font-size: 15px; }
  .download-section .section-title { margin-bottom: 10px; }
  .download-section .section-sub { margin-bottom: 24px; }
  .page-copyright { padding: 16px; margin-top: 24px; }
  .download-section .page-copyright { margin-left: -16px; margin-right: -16px; width: auto; }
  .footer-info > div { margin-bottom: 6px; line-height: 1.6; }
  .modal-box { width: 90%; padding: 32px 20px 24px; }
  .modal-title { font-size: 22px; }
  .modal-code span { font-size: 20px; }
  .gift-fab { bottom: 20px; left: 16px; }
  .gift-fab-icon { font-size: 40px; }
  .gift-fab-text { font-size: 13px; }
  .article-page { padding: 110px 16px 40px; }
  .article-title { font-size: 24px; }
  .article-h2 { font-size: 19px; margin: 32px 0 12px; }
  .article-p { font-size: 15px; }
  .article-table th, .article-table td { padding: 10px; font-size: 13px; }
}
