/* Wave Dash 样式表 - 霓虹太空风格 */
:root {
  --bg: #0a0a1a;
  --bg2: #12122a;
  --fg: #e8e8ff;
  --muted: #9999bb;
  --accent: #00f0ff;
  --accent2: #ff00aa;
  --accent3: #7a5cff;
  --border: #2a2a4a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: rgba(10, 10, 26, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.logo {
  font-size: 20px; font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}
.main-nav a {
  color: var(--fg); margin-left: 18px; font-size: 14px; font-weight: 500;
}
.main-nav a:hover { color: var(--accent); text-decoration: none; }

/* 游戏区 */
.game-section { padding: 24px 0; }
.game-title {
  font-size: 44px; font-weight: 800; text-align: center;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.game-tagline { text-align: center; color: var(--muted); margin-bottom: 20px; font-size: 16px; }

.game-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 20px;
}
.game-canvas-wrap {
  background: #050510;
  border: 2px solid var(--accent);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.3);
}
#gameCanvas { display: block; width: 100%; height: auto; }

.game-sidebar {
  display: flex; flex-direction: column; gap: 14px;
}
.game-sidebar h3 { font-size: 18px; color: var(--accent); margin-bottom: 6px; }
.controls-list { list-style: none; font-size: 15px; color: var(--muted); }
.controls-list li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.controls-list strong { color: var(--fg); }

/* 广告位占位 */
.ad-slot {
  background: var(--bg2);
  border: 1px dashed var(--border);
  border-radius: 6px;
  min-height: 90px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 12px;
}
.ad-banner { min-height: 100px; margin: 24px 0; }

/* 相关游戏 */
.related-section { padding: 32px 0; border-top: 1px solid var(--border); }
.related-section h2 { font-size: 24px; margin-bottom: 8px; }
.related-section > p { color: var(--muted); margin-bottom: 20px; }
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.game-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  padding: 12px;
}
.game-card iframe {
  width: 100%; height: 160px; border: 0; border-radius: 4px;
  background: #000; margin-bottom: 8px;
}
.game-card h3 { font-size: 16px; color: var(--accent); margin-bottom: 4px; }
.game-card p { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

/* 内容区 */
.content-section { padding: 32px 0; max-width: 760px; }
.content-section h2 {
  font-size: 24px; margin: 28px 0 12px;
  color: var(--fg);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}
.content-section p { margin-bottom: 14px; color: #c8c8e0; }
.content-section strong { color: var(--accent); }

.steps-list, .tips-list {
  margin: 12px 0 12px 20px;
  color: #c8c8e0;
}
.steps-list li, .tips-list li { margin-bottom: 8px; }
.steps-list strong, .tips-list strong { color: var(--accent); }

.faq h3 {
  font-size: 17px; color: var(--accent2); margin: 18px 0 6px;
}
.faq p { color: #c8c8e0; margin-bottom: 10px; }

/* Footer */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 32px 0 16px;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 { font-size: 14px; color: var(--accent); margin-bottom: 10px; }
.footer-col a {
  display: block; color: var(--muted); font-size: 13px; padding: 3px 0;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 24px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--muted); text-align: center;
}

/* 响应式 */
@media (max-width: 760px) {
  .game-wrap { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .main-nav a { margin-left: 10px; font-size: 13px; }
  .game-title { font-size: 28px; }
}
