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

:root {
  --bg: #0f0f1a;
  --bg-card: #1a1a2e;
  --text: #e8e8f0;
  --text-muted: #9898b0;
  --accent: #ff6b6b;
  --accent2: #4ecdc4;
  --accent3: #ffe66d;
  --gradient: linear-gradient(135deg, #ff6b6b, #ff8e53, #ffe66d, #4ecdc4, #45b7d1);
  --radius: 12px;
  --max-width: 800px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(15, 15, 26, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
  padding: 0 24px;
}
nav .inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
nav .logo {
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none;
}
nav .links { display: flex; gap: 24px; }
nav .links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s;
}
nav .links a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(78, 205, 196, 0.08) 0%, transparent 60%);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.hero .subtitle {
  font-size: 1.2rem; color: var(--text-muted); max-width: 500px; margin: 0 auto 40px;
}
.hero .badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 99px;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.25);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Game Card ── */
.game-section { padding: 40px 24px 80px; }
.game-card {
  max-width: 700px; margin: 0 auto;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.game-card .card-header {
  padding: 40px 40px 0;
  display: flex; align-items: center; gap: 20px;
}
.game-card .app-icon {
  width: 80px; height: 80px; border-radius: 18px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800;
  color: #0f0f1a;
  flex-shrink: 0;
}
.game-card .card-header h2 {
  font-size: 1.6rem; font-weight: 700;
}
.game-card .card-header p {
  color: var(--text-muted); font-size: 0.95rem; margin-top: 4px;
}
.game-card .card-body { padding: 32px 40px 40px; }
.game-card .features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 20px;
}
.game-card .feature {
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.04);
}
.game-card .feature .icon { font-size: 1.4rem; margin-bottom: 8px; }
.game-card .feature h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.game-card .feature p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.store-badges { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.2s;
}
.store-badge:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }

/* ── Footer ── */
footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
footer .links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
footer .links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
footer .links a:hover { color: var(--text); }
footer .copy { color: var(--text-muted); font-size: 0.8rem; }

/* ── Legal pages ── */
.legal-page {
  padding: 100px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.legal-page h1 {
  font-size: 2rem; font-weight: 700; margin-bottom: 8px;
}
.legal-page .updated {
  color: var(--text-muted); font-size: 0.85rem; margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 1.2rem; font-weight: 600; margin-top: 36px; margin-bottom: 12px;
  color: var(--accent2);
}
.legal-page p, .legal-page li {
  color: var(--text-muted); margin-bottom: 12px; font-size: 0.95rem;
}
.legal-page ul { padding-left: 20px; margin-bottom: 12px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--accent2); }

/* ── Support page ── */
.support-page {
  padding: 100px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.support-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
.support-page p { color: var(--text-muted); margin-bottom: 12px; }
.support-page a { color: var(--accent2); font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .game-card .card-header { flex-direction: column; text-align: center; padding: 32px 24px 0; }
  .game-card .card-body { padding: 24px; }
  .game-card .features { grid-template-columns: 1fr; }
  nav .links { gap: 16px; }
  nav .links a { font-size: 0.8rem; }
}
