/* ===== 全局基础 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --dark: #0f0f1a;
  --dark2: #16162a;
  --dark3: #1e1e38;
  --card: #1a1a2e;
  --card-border: rgba(124,58,237,0.2);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --success: #10b981;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,15,26,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(124,58,237,0.15);
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.logo i {
  color: var(--primary-light);
  font-size: 24px;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
}

.nav-links a {
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover {
  color: #fff;
  background: rgba(124,58,237,0.15);
}

.nav-actions { display: flex; gap: 12px; align-items: center; }

.btn-outline {
  padding: 8px 20px;
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(124,58,237,0.15);
  border-color: var(--primary-light);
  color: #fff;
}

.btn-primary {
  padding: 8px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.4);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  border-top: 1px solid rgba(124,58,237,0.15);
  background: rgba(15,15,26,0.95);
}
.mobile-menu a {
  padding: 12px 0;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-weight: 500;
}
.mobile-menu a:hover { color: #fff; }
.mobile-menu.open { display: flex; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px 60px;
  gap: 40px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  bottom: -50px;
  right: 100px;
}

.floating-icon {
  position: absolute;
  color: rgba(124,58,237,0.25);
  animation: float 6s ease-in-out infinite;
}
.icon1 { font-size: 32px; top: 15%; left: 8%; animation-delay: 0s; }
.icon2 { font-size: 24px; top: 70%; left: 5%; animation-delay: 1s; }
.icon3 { font-size: 28px; top: 30%; right: 10%; animation-delay: 2s; }
.icon4 { font-size: 20px; top: 80%; right: 15%; animation-delay: 0.5s; }
.icon5 { font-size: 36px; top: 55%; left: 50%; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
}
.hero-badge i { color: #f59e0b; }

.hero-content h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-hero-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(124,58,237,0.35);
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.5);
}

.btn-hero-outline {
  padding: 14px 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 0;
  align-items: center;
}

.stat {
  text-align: center;
  padding: 0 24px;
}
.stat:first-child { padding-left: 0; }

.stat span {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}
.stat p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ===== Hero Visual ===== */
.hero-visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.device-mockup {
  position: relative;
  width: 340px;
}

.screen {
  background: var(--dark2);
  border: 2px solid rgba(124,58,237,0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(124,58,237,0.1);
  position: relative;
}

.screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.screen-content {
  padding: 24px;
}

.game-preview { width: 100%; }

.gp-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.gp-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.gp-dot.red { background: #ef4444; }
.gp-dot.yellow { background: #f59e0b; }
.gp-dot.green { background: #10b981; }

.gp-title {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.gp-list { display: flex; flex-direction: column; gap: 8px; }

.gp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.gp-item.active {
  background: rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.3);
  color: var(--primary-light);
}

.gp-item i { width: 16px; text-align: center; }
.gp-item span:nth-child(2) { flex: 1; }

.badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(16,185,129,0.2);
  color: #10b981;
  font-weight: 600;
}
.badge.off {
  background: rgba(148,163,184,0.1);
  color: var(--text-muted);
}
.badge.new-b {
  background: rgba(6,182,212,0.2);
  color: var(--secondary);
}

.device-shadow {
  height: 20px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.3) 0%, transparent 70%);
  margin-top: 12px;
}

/* ===== 平台标签 ===== */
.platforms-bar {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 28px 0;
}

.platforms-bar .container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.platforms-bar > .container > p {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
}

.platform-logos {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.platform-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: default;
}
.platform-logo i { font-size: 18px; color: rgba(124,58,237,0.6); }
.platform-logo:hover { color: var(--text); }
.platform-logo:hover i { color: var(--primary-light); }

/* ===== 通用 section 样式 ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
}

/* ===== 模拟器区域 ===== */
.emulators-section {
  padding: 100px 0;
  background: var(--dark);
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover {
  border-color: rgba(124,58,237,0.4);
  color: var(--text);
}
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  border-color: transparent;
  color: #fff;
}

.emulator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.emu-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.emu-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.emu-card.hidden { display: none; }

.emu-card-header {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.emu-card-header.nes   { background: linear-gradient(135deg, #dc2626, #991b1b); }
.emu-card-header.snes  { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.emu-card-header.n64   { background: linear-gradient(135deg, #d97706, #92400e); }
.emu-card-header.ps1   { background: linear-gradient(135deg, #1d4ed8, #1e3a8a); }
.emu-card-header.ps2   { background: linear-gradient(135deg, #059669, #064e3b); }
.emu-card-header.sega  { background: linear-gradient(135deg, #0891b2, #164e63); }
.emu-card-header.gba   { background: linear-gradient(135deg, #7c3aed, #0891b2); }
.emu-card-header.nds   { background: linear-gradient(135deg, #dc2626, #7c3aed); }
.emu-card-header.mame  { background: linear-gradient(135deg, #b45309, #78350f); }

.emu-icon {
  font-size: 48px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.emu-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(8px);
}
.emu-badge.hot {
  background: rgba(239,68,68,0.8);
}
.emu-badge.new {
  background: rgba(6,182,212,0.8);
}

.emu-card-body {
  padding: 20px;
  flex: 1;
}

.emu-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.emu-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.emu-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.emu-meta i { color: var(--accent); margin-right: 4px; }

.emu-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  color: var(--primary-light);
}

.emu-card-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 10px;
}

.btn-download {
  flex: 1;
  padding: 10px;
  background: linear-gradient(135deg, var(--primary), #6d28d9);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-download:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124,58,237,0.4);
}

.btn-more {
  padding: 10px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-more:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ===== 特性区域 ===== */
.features-section {
  padding: 100px 0;
  background: var(--dark2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-icon.purple { background: rgba(124,58,237,0.2); color: var(--primary-light); }
.feature-icon.blue   { background: rgba(59,130,246,0.2); color: #60a5fa; }
.feature-icon.green  { background: rgba(16,185,129,0.2); color: #34d399; }
.feature-icon.orange { background: rgba(245,158,11,0.2); color: #fbbf24; }
.feature-icon.red    { background: rgba(239,68,68,0.2); color: #f87171; }
.feature-icon.cyan   { background: rgba(6,182,212,0.2); color: var(--secondary); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== 下载区域 ===== */
.download-section {
  padding: 100px 0;
  background: var(--dark);
}

.download-box {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(6,182,212,0.08));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 24px;
  padding: 64px;
  display: flex;
  gap: 64px;
  align-items: center;
}

.download-left { flex: 1; }

.download-left h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.download-left > p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}
.dl-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.dl-btn i { font-size: 24px; }
.dl-btn div { display: flex; flex-direction: column; }
.dl-btn small { font-size: 11px; color: var(--text-muted); }
.dl-btn strong { font-size: 14px; font-weight: 700; }

.dl-btn.windows i { color: #60a5fa; }
.dl-btn.mac i { color: #e2e8f0; }
.dl-btn.android i { color: #34d399; }
.dl-btn.ios i { color: #a78bfa; }

.version-info {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.version-info i { color: var(--secondary); }

/* 手机模型 */
.download-right { flex-shrink: 0; }

.phone-mockup {
  width: 240px;
  background: var(--dark2);
  border: 2px solid rgba(124,58,237,0.3);
  border-radius: 36px;
  padding: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.08);
  position: relative;
}
.phone-mockup::before {
  content: '';
  display: block;
  width: 60px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin: 0 auto 16px;
}

.phone-screen {
  background: var(--dark3);
  border-radius: 24px;
  overflow: hidden;
}

.phone-app { padding: 16px; }

.app-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.app-header-bar i { color: var(--primary-light); }

.app-games {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.app-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
}

.app-game-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
}
.nes-c { background: linear-gradient(135deg, #dc2626, #991b1b); }
.gba-c { background: linear-gradient(135deg, #7c3aed, #0891b2); }
.ps-c  { background: linear-gradient(135deg, #1d4ed8, #059669); }
.kof-c { background: linear-gradient(135deg, #d97706, #dc2626); }

.app-progress {
  padding: 10px 0 4px;
}
.prog-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  animation: progress-pulse 2s ease-in-out infinite;
}
@keyframes progress-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.app-progress span {
  font-size: 10px;
  color: var(--text-muted);
}

/* ===== 评价区域 ===== */
.reviews-section {
  padding: 100px 0;
  background: var(--dark2);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.review-card.featured {
  border-color: rgba(124,58,237,0.3);
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.04));
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.av1 { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.av2 { background: linear-gradient(135deg, #0891b2, #0e7490); }
.av3 { background: linear-gradient(135deg, #dc2626, #b91c1c); }

.review-header div strong {
  display: block;
  font-size: 15px;
  color: #fff;
}
.review-header div p {
  font-size: 12px;
  color: var(--text-muted);
}

.stars {
  margin-left: auto;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 1px;
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.review-platform {
  font-size: 12px;
  color: rgba(124,58,237,0.7);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 100px 0;
  background: var(--dark);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: rgba(124,58,237,0.3);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  gap: 16px;
}
.faq-q i {
  color: var(--primary-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q i { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a {
  max-height: 200px;
}
.faq-a p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 16px;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  transition: var(--transition);
}
.social-links a:hover {
  background: rgba(124,58,237,0.2);
  border-color: rgba(124,58,237,0.4);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--primary-light);
  transition: var(--transition);
}
.footer-bottom a:hover { color: #fff; }

/* ===== 弹窗 ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.open { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: var(--dark2);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 24px;
  padding: 48px;
  max-width: 560px;
  width: 100%;
  position: relative;
  animation: slideUp 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.modal-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary-light);
  margin: 0 auto 20px;
}

.modal h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.modal > p {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.modal-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.modal-platform-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.modal-platform-btn:hover {
  background: rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-2px);
}
.modal-platform-btn i { font-size: 28px; color: var(--primary-light); }
.modal-platform-btn span { font-size: 14px; font-weight: 700; color: #fff; }
.modal-platform-btn small { font-size: 11px; color: var(--text-muted); text-align: center; }

.download-progress {
  margin-top: 24px;
  text-align: center;
}
.dp-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}
.dp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}
#dpText {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* 登录表单 */
.login-form { display: flex; flex-direction: column; gap: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus {
  border-color: rgba(124,58,237,0.5);
  background: rgba(124,58,237,0.08);
}
.form-group input::placeholder { color: rgba(255,255,255,0.25); }

.btn-primary.full {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
  border-radius: 10px;
}

.login-foot {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 0;
}
.login-foot a { color: var(--primary-light); font-weight: 600; }
.login-foot a:hover { color: #fff; }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a1a2e;
  border: 1px solid rgba(124,58,237,0.4);
  color: #fff;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 120px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .download-box { flex-direction: column; padding: 40px; gap: 40px; text-align: center; }
  .download-btns { justify-content: center; }
  .version-info { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .mobile-menu-btn { display: block; }
  .platforms-bar .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .emulator-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .download-box { padding: 28px 24px; }
  .download-right { display: none; }
  .modal { padding: 28px 24px; }
  .modal-platforms { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .hero-buttons { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
}
