:root {
  --bg: #0f1320;
  --bg-soft: #161c2e;
  --card: #1d2538;
  --accent: #f4a259;
  --accent-2: #5b8def;
  --text: #e8ecf5;
  --muted: #9aa6c2;
  --radius: 14px;
  --maxw: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #1b2540 0%, var(--bg) 60%);
  color: var(--text);
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 19, 32, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.9;
}
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
  text-align: center;
  padding: 40px 0 24px;
}
.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin: 0 0 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subtitle {
  color: var(--muted);
  margin: 0 auto;
  max-width: 640px;
}

/* 引流按钮 */
.cta-button {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 34px;
  border-radius: 9999px;
  background: var(--accent);
  color: #0f1320;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(244,162,89,0.35);
  transition: background-color .2s ease, transform .2s ease;
}
.cta-button:hover {
  background: #ffb877;
  transform: translateY(-2px);
}
.cta-button:active { background: #e08f44; }

/* Game frame */
.game-section { padding: 8px 0 32px; }
.game-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.game-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.game-poster {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(15,19,32,0.55), rgba(15,19,32,0.85)),
    repeating-linear-gradient(45deg, #20304f 0 20px, #1a2742 20px 40px);
  transition: opacity .3s ease;
}
.game-frame.is-playing .game-poster {
  opacity: 0;
  pointer-events: none;
}
.play-btn {
  width: 78px; height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #0f1320;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(244,162,89,0.18);
  transition: transform .2s ease;
}
.game-poster:hover .play-btn { transform: scale(1.08); }
.poster-text { color: var(--text); margin: 0; font-weight: 600; }

/* Content */
.content {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin-bottom: 28px;
}
.content h2 {
  color: var(--accent);
  font-size: 1.35rem;
  margin: 26px 0 10px;
}
.content h2:first-child { margin-top: 0; }
.content p { color: var(--text); margin: 0 0 14px; }

/* FAQ */
.faq {
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin-bottom: 36px;
}
.faq h2 { color: var(--accent-2); margin-top: 0; }
.faq-item {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 14px 0;
}
.faq-item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 26px 0;
  text-align: center;
  color: var(--muted);
}
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.88rem; }
  .content, .faq { padding: 18px 16px; }
  .play-btn { width: 64px; height: 64px; font-size: 1.6rem; }
}
