﻿/* 鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€
   game-page.css 鈥?shared styles for all game
   and coming-soon pages (header, footer, etc.)
   鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€鈹€ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0f1117;
  --surface: #1a1d27;
  --surface2: #21263a;
  --border: #2e3248;
  --accent: #f97316;
  --accent-dim: rgba(249,115,22,0.12);
  --green: #22c55e;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --muted2: #8896aa;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* 鈹€鈹€ HEADER 鈹€鈹€ */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,17,23,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { font-size: 1.35rem; font-weight: 900; text-decoration: none; color: var(--text); letter-spacing: -0.01em; }
.logo em { color: var(--accent); font-style: normal; }
nav { display: flex; gap: 0.25rem; }
nav a {
  color: var(--muted); text-decoration: none; font-size: 0.88rem;
  padding: 0.4rem 0.85rem; border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
nav a:hover { color: var(--text); background: var(--surface); }

/* 鈹€鈹€ GAME HEADER 鈹€鈹€ */
.game-header {
  max-width: 1100px; margin: 2rem auto 0; padding: 0 1.5rem;
}
/* ── BREADCRUMB ── */
.breadcrumb-wrap { max-width: 1100px; margin: 1rem auto 0; padding: 0 1.5rem; }
.breadcrumb { font-size: 0.78rem; color: var(--muted2); margin-bottom: 0.75rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { margin: 0 0.35rem; }
.game-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900;
  letter-spacing: -0.02em; margin-bottom: 0.4rem;
}
.game-title em { color: var(--accent); font-style: normal; }
.game-subtitle { font-size: 0.9rem; color: var(--muted); margin-top: 0.25rem; letter-spacing: 0.01em; }
.game-meta { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; margin-top: 0.6rem; }
.badge-live {
  background: var(--green); color: #fff; font-size: 0.65rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.08em;
}
.badge-soon {
  background: var(--surface2); color: var(--muted); border: 1px solid var(--border);
  font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.badge-free {
  background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(249,115,22,0.25);
  font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.game-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin-top: 0.6rem; }
.game-desc code { font-family: monospace; background: var(--surface2); padding: 0.1em 0.4em; border-radius: 4px; font-size: 0.85em; }

/* 鈹€鈹€ COMING SOON PANEL 鈹€鈹€ */
.coming-soon-wrap {
  max-width: 1100px; margin: 1.75rem auto 0; padding: 0 1.5rem;
  display: grid; grid-template-columns: 160px 1fr; gap: 1.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden;
}
.cs-thumb {
  min-height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.cs-body {
  padding: 1.75rem 1.5rem 1.75rem 0;
  display: flex; flex-direction: column; gap: 0.75rem; justify-content: center;
}
.cs-title { font-size: 1.15rem; font-weight: 800; }
.cs-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.cs-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.25rem; }

/* ── INFO CARDS / FLOWCHART ── */
.game-info { max-width: 1100px; margin: 2.5rem auto 0; padding: 0 1.5rem 4rem; }
.info-heading { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; }
.info-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
}
.info-card {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.4rem 1rem;
  position: relative;
}
.info-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -0.6rem;
  top: 2.1rem;
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}
.info-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 2px solid rgba(249,115,22,0.35);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  flex-shrink: 0;
}
.info-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.info-title { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.3rem; }
.info-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.info-desc code { font-family: monospace; background: var(--surface2); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.85em; }
@media (max-width: 600px) {
  .info-grid { flex-direction: column; gap: 0; }
  .info-card:not(:last-child)::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -0.5rem; transform: translateX(-50%); }
}

/* ── PAGE HEADER (about / privacy / terms) ── */
.page-header {
  max-width: 1100px; margin: 2rem auto 0; padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.page-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900;
  letter-spacing: -0.02em; margin-top: 0.5rem;
}
.page-title em { color: var(--accent); font-style: normal; }

/* ── PROSE (about / privacy / terms) ── */
.prose {
  max-width: 1100px; margin: 2rem auto 0; padding: 0 1.5rem 4rem;
}
.prose h2 {
  font-size: 1.15rem; font-weight: 800; margin: 2rem 0 0.6rem; color: var(--text);
}
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; margin-bottom: 0.75rem; }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.65rem 1.3rem; background: var(--accent); color: #fff;
  border: none; border-radius: 10px; font-size: 0.88rem; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: opacity 0.15s, transform 0.1s;
}
.btn-primary:hover { opacity: 0.9; transform: scale(1.02); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.6rem 1.2rem; background: transparent; color: var(--muted);
  border: 1px solid var(--border); border-radius: 10px; font-size: 0.88rem;
  text-decoration: none; cursor: pointer; transition: color 0.15s, border-color 0.15s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

/* 鈹€鈹€ PROSE (privacy page) 鈹€鈹€ */
.prose {
  max-width: 1100px; margin: 2rem auto 0; padding: 0 1.5rem 4rem;
}
.prose h2 { font-size: 1.15rem; font-weight: 800; margin: 2rem 0 0.6rem; color: var(--text); }
.prose p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; margin-bottom: 0.9rem; }
.prose ul { padding-left: 1.4rem; margin-bottom: 0.9rem; }
.prose li { font-size: 0.9rem; color: var(--muted); line-height: 1.75; }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose .updated { font-size: 0.78rem; color: var(--muted2); margin-top: -0.5rem; }

/* 鈹€鈹€ FOOTER 鈹€鈹€ */
footer { border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-inner {
  max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.5rem;
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand p { font-size: 0.8rem; color: var(--muted2); margin-top: 0.5rem; max-width: 260px; line-height: 1.55; }
.footer-links h4 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted2); margin-bottom: 0.75rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links a { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto; padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted2);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}

@media (max-width: 540px) {
  .coming-soon-wrap { grid-template-columns: 1fr; }
  .cs-thumb { min-height: 120px; }
  .cs-body { padding: 0 1.25rem 1.5rem; }
}
@media (max-width: 480px) {
  .header-inner { padding: 0.75rem 1rem; }
  nav { display: none; }
  .game-header, .game-info, .prose { padding-left: 1rem; padding-right: 1rem; }
  .coming-soon-wrap { margin-left: 1rem; margin-right: 1rem; }
}

/* ── FAQ ── */
.game-faq { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }
details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; transition: border-color 0.2s;
}
details[open] { border-color: var(--accent); }
summary {
  padding: 1rem 1.25rem; font-size: 0.92rem; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; list-style: none; user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.2rem; font-weight: 400; color: var(--muted); flex-shrink: 0; }
details[open] summary::after { content: '×'; }
.faq-body { padding: 0 1.25rem 1rem; font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
.faq-body a { color: var(--accent); text-decoration: none; }
.faq-body a:hover { text-decoration: underline; }

/* ── GAME PROSE ── */
.game-prose { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem 2.5rem; }
.game-prose p { color: var(--muted); font-size: 0.9rem; line-height: 1.75; margin-bottom: 0.8rem; }
.game-prose p:last-child { margin-bottom: 0; }

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.2s;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); }
