:root {
  --bg: #fbfaff;
  --panel: #ffffff;
  --panel-alt: #f3f1ff;
  --ink: #211f36;
  --ink-soft: #605c7e;
  --line: #e6e2fb;
  --brand: #6c4ff6;
  --brand-dark: #5237c9;
  --brand-soft: #efe9ff;
  --go: #ff6a4d;
  --go-dark: #e5502f;
  --ok: #1f9d6d;
  --warn: #b9781a;
  --warn-bg: #fff3e0;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --wrap: 1080px;
  --shadow: 0 4px 18px rgba(52, 34, 122, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--brand-dark);
}

h1, h2, h3 {
  line-height: 1.45;
  font-weight: 800;
  color: var(--ink);
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 18px;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

p {
  margin: 0 0 14px;
}

ul, ol {
  margin: 0 0 14px;
  padding-left: 0;
}

img {
  max-width: 100%;
}

/* PR bar */
.pr-band {
  background: #2b1f5c;
  color: #f4f1ff;
  text-align: center;
  padding: 9px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Header / nav */
.site-nav {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 12px;
}

.site-brand {
  font-weight: 800;
  color: var(--brand-dark);
  text-decoration: none;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav-links {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
}

.site-nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-cta {
  background: var(--go);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 106, 77, 0.32);
}

.btn-cta:hover {
  background: var(--go-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--panel);
  color: var(--brand-dark);
  border: 1px solid var(--line);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 15px 34px;
  font-size: 1.02rem;
  width: 100%;
}

@media (min-width: 480px) {
  .btn-lg {
    width: auto;
  }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, #efe9ff 0%, var(--bg) 65%);
  padding: 40px 0 34px;
}

.hero-kicker {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 1.7rem;
  margin: 0 0 14px;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 620px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 6px;
}

/* Sections */
.sect {
  padding: 40px 0;
}

.sect-alt {
  background: var(--panel-alt);
}

.sect-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

/* Game card grid (top page) */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.game-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.game-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-emoji {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.game-card h3 {
  margin: 0;
  font-size: 1rem;
}

.game-card-desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
  flex-grow: 1;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.badge-age {
  background: var(--warn-bg);
  color: var(--warn);
}

.game-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-dark);
}

/* Compare table */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin: 22px 0;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

.compare-table thead th {
  background: var(--brand);
  color: #fff;
}

.compare-table tbody tr:nth-child(even) {
  background: var(--panel-alt);
}

/* Checklist */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.check-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px 11px 34px;
  position: relative;
  font-size: 0.88rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 13px;
  color: var(--ok);
  font-weight: 900;
}

/* Age notice */
.age-notice {
  background: var(--warn-bg);
  border: 1px solid #f0d9ad;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.88rem;
  color: #6b4a10;
}

.age-notice strong {
  color: #573a0a;
}

/* Accordion (FAQ) */
.acc {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
}

.acc-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 3px 16px;
}

.acc-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 13px 0;
  list-style: none;
  position: relative;
  padding-right: 26px;
  font-size: 0.92rem;
}

.acc-item summary::-webkit-details-marker {
  display: none;
}

.acc-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 11px;
  font-size: 1.2rem;
  color: var(--brand);
}

.acc-item[open] summary::after {
  content: "−";
}

.acc-item p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

/* Game detail page */
.game-hero {
  background: linear-gradient(160deg, var(--brand-soft) 0%, var(--bg) 70%);
  padding: 34px 0 28px;
}

.game-hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.game-hero-emoji {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.game-hero h1 {
  font-size: 1.4rem;
  margin: 0;
}

.game-hero-genre {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  background: linear-gradient(160deg, var(--brand-dark) 0%, #3a2a90 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  margin: 30px 0;
}

.cta-band h2 {
  color: #fff;
  font-size: 1.25rem;
}

.cta-band p {
  color: #d9d2ff;
  font-size: 0.86rem;
}

.cta-fineprint {
  font-size: 0.74rem;
  color: #c3baf5;
  margin-top: 10px;
}

/* Ad banner placeholder */
.ad-slot {
  margin: 20px auto 0;
  max-width: 468px;
  border: 1px dashed #b8adf0;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  padding: 14px;
  text-align: center;
}

.ad-slot-label {
  display: inline-block;
  font-size: 0.68rem;
  color: #d9d2ff;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.ad-slot-msg {
  font-size: 0.76rem;
  color: #c3baf5;
  margin: 0;
}

/* Internal link list (other games) */
.other-games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.other-games a {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.back-link {
  display: inline-block;
  margin: 24px 0 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: #1c1738;
  color: #b7aee0;
  padding: 34px 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 0.84rem;
}

.footer-links a {
  color: #e3ddff;
  text-decoration: none;
  font-weight: 700;
}

.footer-pr {
  font-weight: 700;
  color: #fff;
  font-size: 0.82rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  line-height: 1.9;
  color: #8f86ba;
}

.footer-meta {
  font-size: 0.75rem;
  color: #6c6396;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .site-nav-links {
    display: none;
  }
}

@media (max-width: 420px) {
  .game-hero-top {
    gap: 10px;
  }

  .game-hero-emoji {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
  }
}
