/* ==========================================================================
   全局 CSS 变量与设计体系 (火山引擎&现代简约科技风)
   ========================================================================== */
:root {
  --primary: #165DFF;
  --primary-hover: #0E42D2;
  --primary-light: rgba(22, 93, 255, 0.08);
  --secondary: #36CFC9;
  --secondary-light: rgba(54, 207, 201, 0.08);
  --accent: #FF7D00;
  --accent-light: rgba(255, 125, 0, 0.08);
  --dark: #1D2129;
  --dark-light: #2E333F;
  --text-primary: #1D2129;
  --text-secondary: #4E5969;
  --text-muted: #86909C;
  --light: #F2F3F5;
  --white: #FFFFFF;
  --success: #00B42A;
  --success-light: rgba(0, 180, 42, 0.08);
  --warning: #FF7D00;
  --danger: #F53F3F;
  --danger-light: rgba(245, 63, 63, 0.08);
  --info: #86909C;
  --info-light: rgba(134, 144, 156, 0.08);
  --gray-50: #F9FAFB;
  --gray-100: #F2F3F5;
  --gray-200: #E5E6EB;
  --gray-300: #C9CDD4;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 30px rgba(0, 0, 0, 0.12);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --container-width: 1200px;
}

/* 基础重构 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--gray-50);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 响应式容器 */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 基础排版 */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* SVG现代图标全局适配 */
.icon {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.icon-star {
  fill: currentColor;
  stroke: none;
  color: #ffb400;
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.25);
}

.btn-outline {
  background-color: var(--white);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-hero-download {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 93, 255, 0.3);
}
.btn-hero-download:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(22, 93, 255, 0.4);
}

/* 头部导航 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.logo img {
  height: 36px;
  width: 36px;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-btn .btn {
  padding: 8px 20px;
  font-size: 14px;
}

/* 移动端导航触发器 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px;
}
.mobile-menu-btn:hover {
  color: var(--primary);
}
.mobile-menu-btn .icon {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 20px 20px;
  box-shadow: var(--shadow-sm);
}
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
}
.mobile-menu a:hover {
  color: var(--primary);
  background-color: var(--gray-100);
}
.mobile-menu .btn {
  margin-top: 10px;
  width: 100%;
}

/* 主体间距 */
main {
  flex-grow: 1;
  margin-top: 72px;
}

/* ==========================================================================
   英雄板块 (Hero Section)
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(22,93,255,0.04) 0%, rgba(54,207,201,0.04) 100%);
  padding: 80px 0 120px;
  overflow: hidden;
}

.hero .bg-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

.hero .blob-1 {
  bottom: -50px;
  right: -50px;
  width: 320px;
  height: 320px;
  background-color: var(--primary);
}

.hero .blob-2 {
  top: 20%;
  left: 20%;
  width: 360px;
  height: 360px;
  background-color: var(--secondary);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-ratings {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-group {
  display: flex;
}

.avatar-group img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  margin-left: -8px;
}
.avatar-group img:first-child {
  margin-left: 0;
}

.rating-info {
  font-size: 14px;
  color: var(--text-secondary);
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 2px;
  font-size: 13px;
}

.rating-score {
  color: var(--dark);
  font-weight: 700;
  margin-left: 6px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-box {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
}

.hero-image-box:hover {
  transform: scale(1.02);
}

.hero-image-box .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.badge-perfect {
  background-color: var(--success);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-right: 10px;
}

.overlay-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}

.hero-decor-1 {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background-color: var(--accent-light);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hero-decor-2 {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 160px;
  height: 160px;
  background-color: var(--primary-light);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.wave-separator {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-separator svg {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   模块标题 (Section Title)
   ========================================================================== */
.section-space {
  padding: 96px 0;
}

.section-space-gray {
  background-color: var(--gray-50);
}

.section-space-white {
  background-color: var(--white);
}

.center-title {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.center-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.center-title p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ==========================================================================
   三栏网格架构 & 卡片
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card-feature {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gray-300);
}

.feature-img-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.feature-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card-feature:hover .feature-img-wrapper img {
  transform: scale(1.08);
}

.feature-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-main-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.bg-icon-primary { background-color: var(--primary-light); color: var(--primary); }
.bg-icon-warning { background-color: var(--accent-light); color: var(--accent); }
.bg-icon-secondary { background-color: var(--secondary-light); color: var(--secondary); }
.bg-icon-danger { background-color: var(--danger-light); color: var(--danger); }
.bg-icon-info { background-color: var(--info-light); color: var(--info); }
.bg-icon-accent { background-color: var(--accent-light); color: var(--accent); }

.feature-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-content p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-check-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-check-list li .icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}
.feature-learn-more:hover {
  color: var(--primary-hover);
  gap: 8px;
}

/* ==========================================================================
   支持的经典游戏板块 (Games Section)
   ========================================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.game-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  aspect-ratio: 1;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.game-card:hover .game-img {
  transform: scale(1.08);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--white);
}

.game-overlay h3 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.game-overlay p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.card-more-games {
  background-color: rgba(22, 93, 255, 0.04);
  border: 2px dashed rgba(22, 93, 255, 0.25);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 1;
}

.card-more-games:hover {
  background-color: rgba(22, 93, 255, 0.08);
  border-color: var(--primary);
}

.more-games-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
  transition: var(--transition);
}

.card-more-games:hover .more-games-circle {
  background-color: var(--primary);
  color: var(--white);
}

.card-more-games h3 {
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 2px;
}

.card-more-games p {
  font-size: 13px;
  color: rgba(22, 93, 255, 0.7);
}

/* 修复成功率统计卡片 */
.repair-stats-card {
  margin-top: 64px;
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}

.repair-stats-card h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-item-label {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   使用流程 (Steps Section)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-badge {
  width: 64px;
  height: 64px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
  border: 4px solid var(--white);
  z-index: 10;
}

.step-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  width: 100%;
}

.step-icon-wrapper {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==========================================================================
   用户评价板块 (Testimonials Section)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  color: #ffb400;
  font-size: 12px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-product {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* 大流量数据板 */
.general-stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.gen-stat-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.gen-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.gen-stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   下载选择大厅 (Download Game Section) - 现代科技风(与全站色调完美互维)
   ========================================================================== */
.download-section {
  background-color: var(--white);
  padding: 96px 0;
  color: var(--text-primary);
  position: relative;
  border-top: 1px solid var(--gray-200);
}

.download-section .light-text h2 {
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.download-section .light-text p {
  color: var(--text-secondary);
}

.download-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.download-game-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.download-game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(22, 93, 255, 0.08);
  border-color: rgba(22, 93, 255, 0.3);
}

.d-game-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.d-game-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.download-game-card:hover .d-game-img-wrapper img {
  transform: scale(1.06);
}

.d-game-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(134, 144, 156, 0.1);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: none;
}

.d-game-badge.badge-hot {
  background-color: rgba(255, 125, 0, 0.1);
  color: var(--accent);
}

.d-game-badge.badge-compat {
  background-color: rgba(0, 180, 42, 0.1);
  color: var(--success);
}

.d-game-badge.badge-cloud {
  background-color: rgba(22, 93, 255, 0.1);
  color: var(--primary);
}

.d-game-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.d-game-info h4 {
  color: var(--text-primary);
  font-size: 17px;
  margin-bottom: 4px;
}

.d-game-info p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.btn-d-game {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  width: 100%;
}

.btn-d-game:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25);
}

.btn-d-game .icon {
  width: 1.15em;
  height: 1.15em;
}

.d-footer-safety {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
  flex-wrap: wrap;
}

.d-footer-safety .icon {
  color: var(--success);
}

.download-image-box {
  position: relative;
}

.download-image-box img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  max-width: 100%;
  height: auto;
}

.version-bubble {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background-color: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-card-hover);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
}

.version-num {
  font-size: 20px;
  font-weight: 800;
}

.version-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   常见问题板块 (FAQ Section)
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background-color: var(--white);
  overflow: hidden;
  transition: var(--transition);
}

.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-toggle:hover {
  background-color: var(--gray-50);
}

.faq-arrow {
  color: var(--text-muted);
  font-size: 16px;
  transition: transform 0.3s ease;
}

.faq-arrow.rotate-180 {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 24px;
  font-size: 14.5px;
  color: var(--text-secondary);
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s linear, padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.7;
}

.faq-content.show {
  max-height: 280px; /* 大于常见折叠展开高度，利于 max-height 缓动 */
  opacity: 1;
  padding: 0 24px 20px;
}

/* ==========================================================================
   联系我们 (Contact Section)
   ========================================================================== */
.contact-banner {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
}

.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.contact-header h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.contact-header p {
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.contact-item {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-icon-wrapper {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-item h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.contact-item a {
  font-size: 15px;
  color: var(--text-secondary);
}
.contact-item a:hover {
  color: var(--primary);
}

/* ==========================================================================
   页脚 (Footer Section)
   ========================================================================== */
footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.brand-box img {
  height: 28px;
  width: 28px;
}

.footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--dark-light);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 16px;
}

.social-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-menu a:hover {
  color: var(--primary);
}

/* 页脚订阅 */
.subscribe-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 16px;
}

.sub-form {
  display: flex;
  margin-bottom: 12px;
}

.sub-input {
  flex-grow: 1;
  padding: 10px 16px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 14px;
}
.sub-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.sub-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.sub-btn {
  padding: 0 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border: none;
  background-color: var(--primary);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.sub-btn:hover {
  background-color: var(--primary-hover);
}

.sub-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4) !important;
}

/* 版权底部 */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: rgba(255,255,255,0.4);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.4);
}
.footer-legal-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* ==========================================================================
   悬浮功能 (Floating Elements)
   ========================================================================== */
.btn-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
}

.btn-back-to-top:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(22, 93, 255, 0.2);
  border-color: var(--primary);
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   全系列响应式媒体查询
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 32px;
  }
  .games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-ratings {
    justify-content: center;
  }
  .download-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    height: 64px;
  }
  main {
    margin-top: 64px;
  }
  .nav-menu, .nav-btn {
    display: none !important;
  }
  .mobile-menu-btn {
    display: block;
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .general-stats-panel {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .repair-stats-card, .contact-banner {
    padding: 30px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .testimonials-grid, .grid-3 {
    grid-template-columns: 1fr;
  }
  .stats-grid, .general-stats-panel {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .download-games-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}