/* Static SEO landing pages (about, how-to-play, faq, yapboz) */
:root {
  --bg: #f5ebe0;
  --card: rgba(255,255,255,0.55);
  --text: #1f2937;
  --muted: #475569;
  --accent: #3b6dc7;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
.sp-nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245,235,224,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.sp-logo img { width: 32px; height: 32px; }
.sp-logo span { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.sp-nav-links { display: flex; gap: 18px; align-items: center; }
.sp-nav-links a {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px;
  transition: color 0.12s;
}
.sp-nav-links a:hover { color: var(--text); }
.sp-cta {
  background: var(--text); color: #fff; padding: 9px 18px; border-radius: 10px;
  font-weight: 700; font-size: 14px; text-decoration: none;
  transition: background 0.12s;
}
.sp-cta:hover { background: #0f172a; }
.sp-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.sp-hero {
  text-align: center;
  margin-bottom: 48px;
}
.sp-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: "opsz" 144;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 18px;
}
.sp-hero p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 580px;
}
.sp-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 36px 0 14px;
}
.sp-section h3 {
  font-weight: 700;
  font-size: 18px;
  margin: 24px 0 8px;
}
.sp-section p, .sp-section li {
  font-size: 16px;
  color: #334155;
}
.sp-section ul, .sp-section ol { padding-left: 22px; }
.sp-section li { margin-bottom: 6px; }
.sp-section a { color: var(--accent); }
.sp-faq-item {
  padding: 18px 22px;
  border: 1px solid rgba(0,0,0,0.07);
  background: var(--card);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  margin-bottom: 12px;
}
.sp-faq-item h3 { margin: 0 0 6px; font-size: 17px; }
.sp-faq-item p { margin: 0; color: #475569; }
.sp-footer {
  text-align: center;
  padding: 30px 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  color: #64748b;
  font-size: 14px;
}
.sp-footer a { color: var(--muted); text-decoration: none; margin: 0 10px; font-weight: 600; }
.sp-footer a:hover { color: var(--text); }

.version-badge {
  position: fixed; right: 12px; bottom: 10px; z-index: 70;
  padding: 4px 10px;
  background: rgba(31, 41, 55, 0.55);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 11px; font-weight: 500; letter-spacing: 0.03em;
  border-radius: 999px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition: background 0.12s, color 0.12s, transform 0.12s;
}
.version-badge:hover { background: rgba(31, 41, 55, 0.85); color: #fff; transform: translateY(-1px); }

/* Dark mode for static SEO pages */
[data-theme="dark"] body {
  background-color: #0b0f17;
  background-image: url('/bg-black.png'), url('/bg-black.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #e5e7eb;
}
[data-theme="dark"] .sp-nav {
  background: rgba(11, 15, 23, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .sp-logo { color: #f3f4f6; }
[data-theme="dark"] .sp-nav-links a { color: #94a3b8; }
[data-theme="dark"] .sp-nav-links a:hover { color: #f3f4f6; }
[data-theme="dark"] .sp-cta { background: #f3f4f6; color: #0f1117; }
[data-theme="dark"] .sp-cta:hover { background: #fff; }
[data-theme="dark"] .sp-hero h1 { color: #f3f4f6; }
[data-theme="dark"] .sp-hero p { color: #94a3b8; }
[data-theme="dark"] .sp-section h2,
[data-theme="dark"] .sp-section h3 { color: #f3f4f6; }
[data-theme="dark"] .sp-section p,
[data-theme="dark"] .sp-section li { color: #c0c5d4; }
[data-theme="dark"] .sp-section a { color: #60a5fa; }
[data-theme="dark"] .sp-faq-item {
  background: rgba(20, 24, 35, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sp-faq-item p { color: #94a3b8; }
[data-theme="dark"] .sp-footer {
  color: #94a3b8;
  border-top-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sp-footer a { color: #c0c5d4; }
[data-theme="dark"] .sp-footer a:hover { color: #f3f4f6; }
