:root {
  --bg-color: #fcfbfa;
  --text-main: #2e2a2b;
  --text-sub: #766e70;
  --arcade-red: #ff4757;
  --arcade-blue: #2ed5f5;
  --arcade-yellow: #feca57;
  --panel-bg: #ffffff;
  --panel-border: #e5e1de;
  --score-green: #1dd1a1;
  --shadow-light: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.1);
  --font-main: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pixel-font: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* 像素风边框和装饰 */
.pixel-border {
  position: relative;
  border: 2px solid var(--panel-border);
  border-radius: 8px;
  background: var(--panel-bg);
}
.pixel-border::before {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 10px;
  pointer-events: none;
}

/* 导航栏 */
.top-nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(252, 251, 250, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--panel-border);
  z-index: 1000;
  transition: transform 0.3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
}
.brand img { height: 32px; }
.nav-links {
  display: flex;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
}
.nav-links a:hover { color: var(--arcade-red); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.search-box {
  padding: 6px 12px;
  border: 2px solid var(--panel-border);
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  background: #fff;
}
.btn-nav-download {
  background: var(--arcade-red);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 4px 0 #cc2a3b;
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn-nav-download:active { transform: translateY(4px); box-shadow: 0 0 0 #cc2a3b; }

/* 首屏 Hero */
.hero-section {
  padding: 120px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.arcade-machine {
  flex: 1;
  max-width: 500px;
  background: #e0e0e0;
  border-radius: 20px 20px 10px 10px;
  padding: 20px;
  border: 6px solid #d1d1d1;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.1), var(--shadow-light);
  position: relative;
}
.crt-screen {
  background: #111;
  border-radius: 12px;
  padding: 10px;
  position: relative;
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}
.crt-screen::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(rgba(255,255,255,0.1) 50%, transparent 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 10;
}
.hero-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #222;
  padding: 10px;
  border-radius: 8px;
}
.hero-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.hero-card h3 { color: #fff; font-size: 20px; }
.hero-card .hook { color: #aaa; font-size: 14px; }
.hero-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.score-board {
  font-family: var(--pixel-font);
  color: var(--score-green);
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
}
.free-tag {
  background: var(--arcade-blue);
  color: #000;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 0 10px;
}
.joystick {
  width: 30px; height: 30px;
  background: #222; border-radius: 50%;
  position: relative;
}
.joystick::after {
  content: ''; position: absolute; top: -20px; left: 12px;
  width: 6px; height: 20px; background: #555; border-radius: 4px;
}
.btn-group { display: flex; gap: 10px; }
.btn-arcade {
  width: 40px; height: 40px; border-radius: 50%;
  box-shadow: 0 4px 0 rgba(0,0,0,0.2);
}
.btn-arcade.red { background: var(--arcade-red); }
.btn-arcade.blue { background: var(--arcade-blue); }

.hero-text { flex: 1; }
.hero-text h1 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 900;
}
.hero-text h1 span { color: var(--arcade-red); }
.hero-hook {
  font-size: 18px;
  color: var(--text-sub);
  margin-bottom: 30px;
}
.data-row {
  display: flex;
  gap: 20px;
  font-family: var(--pixel-font);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--score-green);
}
.download-buttons { display: flex; gap: 20px; }
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  min-height: 48px;
  flex: 1;
  text-align: center;
}
.btn-download.android { background: #3ddc84; color: #000; box-shadow: 0 6px 0 #2bb36b; }
.btn-download.ios { background: #007aff; box-shadow: 0 6px 0 #0056b3; }
.btn-download:active { transform: translateY(4px); box-shadow: none; }

/* 通用区块标题 */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 3px dashed var(--arcade-yellow);
}
.section-header h2::before {
  content: '▶';
  color: var(--arcade-red);
  font-size: 20px;
}

/* 热播推荐 */
.section-hot { max-width: 1200px; margin: 0 auto 60px; padding: 0 20px; }
.machine-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.mini-machine {
  background: #f0f0f0;
  border-radius: 12px;
  padding: 10px;
  border: 4px solid #e0e0e0;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.mini-machine:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.mini-machine.active { border-color: var(--arcade-red); box-shadow: 0 0 15px rgba(255,71,87,0.4); }
.mini-crt {
  background: #111;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 4px solid #fff;
}
.mini-crt img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.mini-crt .badge {
  position: absolute; top: 4px; right: 4px;
  font-size: 10px; padding: 2px 4px; border-radius: 4px; color: #fff; font-weight: bold;
}
.badge.exclusive { background: var(--arcade-red); }
.badge.free { background: var(--arcade-blue); color: #000; }
.badge.hot { background: var(--arcade-yellow); color: #000; }
.mini-info { margin-top: 10px; }
.mini-info h3 { font-size: 16px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-info .ep { font-size: 12px; color: var(--text-sub); }
.mini-info .score { font-family: var(--pixel-font); color: var(--score-green); font-weight: bold; font-size: 14px; margin-top: 4px; }

/* 更新日历 */
.section-calendar { max-width: 900px; margin: 0 auto 60px; padding: 0 20px; }
.task-board {
  background: #fff;
  border: 4px solid var(--panel-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-light);
}
.task-row {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 2px dashed var(--panel-border);
}
.task-row:last-child { border-bottom: none; }
.task-time {
  font-family: var(--pixel-font);
  font-size: 18px;
  font-weight: bold;
  width: 80px;
  color: var(--arcade-red);
}
.task-content { flex: 1; display: flex; gap: 10px; align-items: center; }
.task-content img { width: 40px; height: 53px; border-radius: 4px; object-fit: cover; }
.task-tag { font-size: 12px; padding: 2px 6px; background: #eee; border-radius: 4px; }
.task-row.active .task-tag { background: var(--arcade-red); color: #fff; animation: blink 1s infinite alternate; }
.task-row.future { opacity: 0.5; }
@keyframes blink { from { opacity: 1; } to { opacity: 0.3; } }

/* 排行榜 */
.section-ranking { max-width: 800px; margin: 0 auto 60px; padding: 0 20px; }
.rank-list {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  box-shadow: var(--shadow-light);
}
.rank-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #333;
}
.rank-item:last-child { border-bottom: none; }
.rank-num {
  font-family: var(--pixel-font);
  font-size: 24px;
  font-weight: bold;
  width: 40px;
  color: #888;
}
.rank-item.top1 .rank-num { color: var(--arcade-yellow); }
.rank-item.top2 .rank-num { color: #c0c0c0; }
.rank-item.top3 .rank-num { color: #cd7f32; }
.rank-cover { width: 40px; height: 53px; border-radius: 4px; object-fit: cover; margin-right: 15px; }
.rank-info { flex: 1; }
.rank-info h3 { font-size: 16px; margin-bottom: 4px; }
.rank-info .genre { font-size: 12px; color: #aaa; }
.rank-score { font-family: var(--pixel-font); color: var(--score-green); font-size: 16px; font-weight: bold; }
.rank-trend { margin-left: 10px; font-size: 14px; color: var(--arcade-red); }
.rank-trend.down { color: #1dd1a1; }

/* 题材分类 */
.section-genres { max-width: 1000px; margin: 0 auto 60px; padding: 0 20px; }
.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.genre-node {
  background: #fff;
  border: 2px solid var(--panel-border);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}
.genre-node:hover { transform: scale(1.02); border-color: var(--arcade-blue); box-shadow: var(--shadow-hover); }
.genre-node h3 { font-size: 18px; margin-bottom: 10px; }
.genre-covers { display: flex; justify-content: center; gap: 10px; margin-bottom: 10px; }
.genre-covers img { width: 50px; height: 66px; border-radius: 4px; object-fit: cover; }
.genre-desc { font-size: 12px; color: var(--text-sub); }

/* 独播首发 */
.section-exclusive { max-width: 1000px; margin: 0 auto 60px; padding: 0 20px; display: flex; gap: 40px; flex-wrap: wrap; }
.exclusive-main {
  flex: 1; min-width: 300px;
  background: #fff;
  border: 2px solid var(--arcade-yellow);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  box-shadow: 0 0 15px rgba(254, 202, 87, 0.3);
}
.ribbon {
  position: absolute; top: -10px; left: -10px;
  background: var(--arcade-red); color: #fff;
  padding: 4px 12px; font-weight: bold; font-size: 14px;
  transform: rotate(-5deg);
  border-radius: 4px;
}
.exclusive-main img { width: 100%; max-width: 200px; border-radius: 8px; margin: 0 auto 15px; }
.exclusive-main h3 { font-size: 22px; margin-bottom: 10px; text-align: center; }
.exclusive-main p { font-size: 14px; color: var(--text-sub); margin-bottom: 15px; }
.countdown { font-family: var(--pixel-font); font-size: 20px; color: var(--arcade-red); text-align: center; margin-bottom: 15px; font-weight: bold; }
.btn-reserve {
  display: block; width: 100%; padding: 12px; background: var(--arcade-yellow); border: none;
  border-radius: 8px; font-weight: bold; font-size: 16px; cursor: pointer;
}
.exclusive-list { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 15px; }
.exclusive-item { display: flex; gap: 15px; background: #fff; padding: 10px; border-radius: 8px; border: 1px solid var(--panel-border); }
.exclusive-item img { width: 50px; height: 66px; border-radius: 4px; object-fit: cover; }
.exclusive-item h4 { font-size: 16px; margin-bottom: 4px; }
.exclusive-item span { font-size: 12px; color: var(--text-sub); }

/* 免费专区 */
.section-free { max-width: 1200px; margin: 0 auto 60px; padding: 0 20px; }
.free-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.free-card {
  background: #fff; border-radius: 8px; padding: 10px; border: 1px solid var(--panel-border);
  transition: transform 0.2s;
}
.free-card:hover { transform: translateY(-3px); }
.free-card .lamp {
  background: #333; color: var(--arcade-blue); font-weight: bold; font-size: 10px;
  display: inline-block; padding: 2px 6px; border-radius: 4px; margin-bottom: 8px;
  border: 1px solid var(--arcade-blue);
}
.free-card img { width: 100%; border-radius: 4px; margin-bottom: 8px; }
.free-card h3 { font-size: 14px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.free-card span { font-size: 12px; color: var(--text-sub); }

/* 用户评价 */
.section-reviews { max-width: 1000px; margin: 0 auto 60px; padding: 0 20px; }
.review-stats { display: flex; justify-content: space-around; text-align: center; margin-bottom: 40px; }
.stat-num { font-family: var(--pixel-font); font-size: 28px; color: var(--arcade-red); font-weight: bold; }
.stat-label { font-size: 14px; color: var(--text-sub); }
.sticker-wall { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.sticker {
  background: #fff; padding: 15px; border-radius: 8px; box-shadow: var(--shadow-light);
  display: flex; align-items: center; gap: 10px; width: calc(50% - 10px);
  transform: rotate(-2deg); position: relative;
}
.sticker:nth-child(even) { transform: rotate(2deg); }
.sticker img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sticker .user-info h4 { font-size: 14px; margin-bottom: 4px; }
.sticker .stars { color: var(--arcade-yellow); font-size: 12px; }
.sticker .text { font-size: 13px; color: var(--text-sub); margin-top: 4px; }
.tape {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 15px; background: rgba(255,255,255,0.5); border: 1px solid rgba(0,0,0,0.1);
}

/* 常见问题 */
.section-faq { max-width: 800px; margin: 0 auto 60px; padding: 0 20px; }
.faq-list { background: #fff; border-radius: 12px; border: 2px solid var(--panel-border); padding: 20px; }
.faq-item { border-bottom: 1px solid var(--panel-border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  padding: 15px 0; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between;
}
.faq-a { padding-bottom: 15px; color: var(--text-sub); font-size: 14px; display: none; }
.faq-item.active .faq-a { display: block; }

/* 下载安装区 */
.section-download { max-width: 800px; margin: 0 auto 60px; padding: 0 20px; }
.steps { display: flex; gap: 20px; margin-bottom: 40px; }
.step-card { flex: 1; text-align: center; background: #fff; padding: 20px; border-radius: 12px; border: 2px solid var(--panel-border); }
.step-num { width: 30px; height: 30px; background: var(--arcade-blue); color: #000; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: bold; margin-bottom: 10px; }
.step-card h3 { font-size: 16px; margin-bottom: 10px; }
.step-card p { font-size: 13px; color: var(--text-sub); }
.download-coins { display: flex; gap: 20px; justify-content: center; }
.coin-btn {
  width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: bold; box-shadow: 0 6px 0 rgba(0,0,0,0.1);
  text-align: center; line-height: 1.2;
}
.coin-btn.android { background: #3ddc84; color: #000; border: 4px solid #2bb36b; }
.coin-btn.ios { background: #007aff; color: #fff; border: 4px solid #0056b3; }

/* 页脚 */
footer {
  background: #f0f0f0; padding: 40px 20px 20px; font-size: 13px; color: var(--text-sub);
  border-top: 2px solid var(--panel-border);
}
.footer-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer-col { flex: 1; min-width: 150px; }
.footer-col h4 { color: var(--text-main); margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a:hover { color: var(--arcade-red); }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #ddd; }
.footer-bottom p { margin-bottom: 8px; }
.footer-bottom a { color: var(--text-sub); }
.footer-bottom a:hover { text-decoration: underline; }

/* 移动端悬浮条 */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; width: 100%;
  background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); padding: 10px;
  z-index: 1000; justify-content: space-between; gap: 10px;
}
.mobile-bar .btn-download { padding: 10px; font-size: 16px; flex: 1; }

/* 响应式 */
@media (max-width: 992px) {
  .hero-section { flex-direction: column; gap: 30px; text-align: center; }
  .data-row { justify-content: center; }
  .download-buttons { justify-content: center; }
  .nav-links { display: none; }
}
@media (max-width: 768px) {
  .machine-wall { grid-template-columns: repeat(2, 1fr); }
  .exclusive-main img { max-width: 100%; }
  .sticker { width: 100%; }
  .steps { flex-direction: column; }
  .download-coins { flex-direction: column; align-items: center; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
  .hero-text h1 { font-size: 28px; }
  .task-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .task-content { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .download-buttons { flex-direction: column; }
  .btn-download { width: 100%; }
  .hero-card h3 { font-size: 18px; }
  .nav-actions .search-box { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}