:root {
  --bg-top: #12172e;
  --bg-bottom: #211438;
  --accent: #66ccff;
  --gold: #ffd15c;
  --success: #5ceb9e;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.66);
  --text-faint: rgba(255, 255, 255, 0.4);
  --panel: rgba(255, 255, 255, 0.06);
  --panel-stroke: rgba(255, 255, 255, 0.12);
  --radius: 20px;
  --font: -apple-system, "SF Pro Rounded", "Hiragino Maru Gothic ProN",
    "Hiragino Sans", system-ui, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(160deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ヘッダー */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand { font-weight: 800; letter-spacing: 2px; font-size: 20px; }
.brand span { color: var(--accent); }
.lang-switch { font-size: 14px; color: var(--text-secondary); }

/* ヒーロー */
.hero { text-align: center; padding: 64px 0 48px; }
.hero h1 {
  font-size: clamp(48px, 12vw, 92px);
  font-weight: 800; letter-spacing: 6px;
  text-shadow: 0 0 40px rgba(102, 204, 255, 0.45);
}
.hero h1 span { color: var(--accent); }
.hero .tagline {
  margin-top: 16px; font-size: clamp(18px, 4vw, 24px);
  color: var(--text-secondary); font-weight: 600;
}
.hero .lead {
  margin: 24px auto 0; max-width: 560px; color: var(--text-secondary);
  font-size: 16px;
}

.cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 32px; padding: 16px 36px;
  background: var(--accent); color: var(--bg-top);
  font-weight: 800; font-size: 18px; border-radius: 16px;
  box-shadow: 0 10px 30px rgba(102, 204, 255, 0.35);
}
.cta:hover { text-decoration: none; transform: translateY(-1px); }
.cta-note { display: block; margin-top: 12px; font-size: 13px; color: var(--text-faint); }

/* セクション */
section { padding: 40px 0; }
h2 {
  font-size: 26px; font-weight: 800; margin-bottom: 24px; text-align: center;
}

/* 特長グリッド */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--panel); border: 1px solid var(--panel-stroke);
  border-radius: var(--radius); padding: 22px;
}
.feature .ic { font-size: 26px; }
.feature h3 { font-size: 17px; margin: 10px 0 6px; }
.feature p { font-size: 14px; color: var(--text-secondary); }

/* スクリーンショット */
.shots {
  display: flex; gap: 16px; overflow-x: auto;
  padding: 8px 24px 20px; margin: 0 -24px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots img {
  flex: 0 0 auto; width: 230px; height: auto;
  border-radius: 22px; scroll-snap-align: center;
  border: 1px solid var(--panel-stroke);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--panel-stroke); border-radius: 8px; }

/* 遊び方 */
.steps { counter-reset: step; max-width: 560px; margin: 0 auto; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--panel-stroke);
  border-radius: 16px; padding: 18px; margin-bottom: 12px;
}
.step .n {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(102, 204, 255, 0.18); color: var(--accent);
  display: grid; place-items: center; font-weight: 800;
}
.step p { font-size: 15px; }

/* フッター */
footer {
  border-top: 1px solid var(--panel-stroke); margin-top: 40px;
  padding: 28px 0 48px; text-align: center;
  color: var(--text-faint); font-size: 13px;
}
footer a { color: var(--text-secondary); }
footer .links { margin-bottom: 10px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* プライバシーなど本文ページ */
.doc { padding: 32px 0 16px; }
.doc h1 { font-size: 30px; font-weight: 800; margin-bottom: 6px; }
.doc .updated { color: var(--text-faint); font-size: 13px; margin-bottom: 28px; }
.doc h2 { text-align: left; font-size: 20px; margin: 28px 0 10px; }
.doc p, .doc li { color: var(--text-secondary); font-size: 15px; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.back { display: inline-block; margin: 8px 0 24px; font-size: 14px; }
