/* Brain Mochi blog — static pages, shares the game's design tokens */
:root {
  --bg: #fff6e9;
  --surface: #fffdf8;
  --accent: #ff7a1a;
  --accent-press: #e86908;
  --ink: #2a2118;
  --muted: #8a7f70;
  --flame: #ff5a2c;
  --tier-dim: #efe4d3;
  --radius: 22px;
  --radius-sm: 14px;
  --font: "Baloo 2", "Quicksand", "Trebuchet MS", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  font-size: 17px;
}

/* header */
.blog-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 760px; margin: 0 auto; padding: 18px 20px;
}
.blog-header .wordmark {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 19px; text-decoration: none; color: var(--ink);
}
.blog-header nav a {
  color: var(--accent); font-weight: 700; text-decoration: none; margin-left: 16px;
}
.blog-header nav a:hover { text-decoration: underline; }

/* layout */
main { max-width: 760px; margin: 0 auto; padding: 0 20px 48px; }
article h1 { font-size: 34px; line-height: 1.2; font-weight: 800; margin: 10px 0 6px; }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
article h2 { font-size: 24px; font-weight: 800; margin: 34px 0 10px; }
article p { margin: 0 0 16px; }
article a { color: var(--accent); font-weight: 600; }
article ul, article ol { margin: 0 0 16px; padding-left: 24px; }
article li { margin-bottom: 8px; }
.hero-img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 2px solid var(--tier-dim); display: block; margin: 6px 0 22px;
}
blockquote {
  margin: 0 0 16px; padding: 12px 18px; background: var(--surface);
  border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted); font-style: italic;
}

/* CTA */
.cta-box {
  background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius);
  padding: 22px; text-align: center; margin: 30px 0;
}
.cta-box p { margin: 0 0 14px; font-weight: 700; font-size: 18px; }
.btn-play {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 800;
  font-size: 18px; padding: 15px 28px; border-radius: var(--radius-sm);
  text-decoration: none; box-shadow: 0 5px 0 var(--accent-press);
}
.btn-play:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--accent-press); }
.cta-sub { color: var(--muted) !important; font-size: 13px !important; font-weight: 600 !important; margin-top: 10px !important; }

/* index cards */
.post-list { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.post-card {
  display: block; background: var(--surface); border: 2px solid var(--tier-dim);
  border-radius: var(--radius); padding: 0; overflow: hidden;
  text-decoration: none; color: var(--ink); transition: transform .08s, border-color .08s;
}
.post-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.post-card img { width: 100%; height: auto; display: block; }
.post-card .card-body { padding: 16px 20px 18px; }
.post-card h2 { margin: 0 0 6px; font-size: 21px; line-height: 1.3; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* related + footer */
.related { background: var(--surface); border-radius: var(--radius); padding: 18px 22px; margin-top: 34px; }
.related h3 { margin: 0 0 10px; font-size: 17px; }
.related ul { margin: 0; padding-left: 20px; }
.related li { margin-bottom: 6px; }
.blog-footer {
  max-width: 760px; margin: 0 auto; padding: 22px 20px 40px;
  color: var(--muted); font-size: 13px; text-align: center;
  border-top: 1px solid var(--tier-dim);
}
.blog-footer a { color: var(--accent); font-weight: 600; }

@media (max-width: 480px) {
  article h1 { font-size: 27px; }
  article h2 { font-size: 21px; }
  body { font-size: 16px; }
}
