/* CityGames Studio — cozy warm theme */
:root {
  --bg: #FBF4DC;            /* warm cream */
  --paper: #FFFDF6;
  --ink: #2D2418;
  --muted: #5C4C33;
  --accent: #8A6D1F;        /* deep honey */
  --accent-soft: #EFE4C2;
  --line: #E4D8B8;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0 auto; max-width: 1080px; padding: 0 20px 60px;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* top bar */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.wordmark { font-weight: 800; letter-spacing: -0.02em; font-size: 20px; }
.wordmark span { color: var(--muted); font-weight: 600; }
.topbar nav { display: flex; gap: 18px; }
.topbar nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 10px; border-radius: 10px; }
.topbar nav a:hover { background: var(--accent-soft); }

/* hero */
.hero { text-align: center; padding: 34px 0 26px; }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: var(--accent); margin: 0 0 6px; }
.hero h1 { font-size: clamp(52px, 9vw, 84px); line-height: 1.02; margin: 0 0 8px; letter-spacing: -0.03em; }
.tagline { font-size: clamp(20px, 3vw, 26px); color: var(--muted); margin: 0 0 22px; }
.rules-line { max-width: 560px; margin: 0 auto 26px; font-size: 18px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #FFF7E6; font-weight: 700; font-size: 18px;
  padding: 14px 26px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(45, 36, 24, 0.22);
}
.store-badge.pending { background: #B7A87F; color: #FFFDF6; box-shadow: none; cursor: default; }

/* phone gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; padding: 18px 0 4px; }
.how { max-width: 640px; margin: 18px auto; }
.frame {
  margin: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: 24px; padding: 10px;
  box-shadow: 0 16px 34px rgba(45, 36, 24, 0.13);
  text-align: center;
}
.frame img { width: 100%; height: auto; border-radius: 16px; display: block; }
.frame figcaption { font-size: 14px; color: var(--muted); padding: 10px 4px 4px; }

/* how to play */
.how { max-width: 640px; margin: 30px auto; }
.how h2, .features h2 { font-size: 30px; letter-spacing: -0.02em; margin-bottom: 14px; }
.steps { padding-left: 20px; }
.steps li { margin: 10px 0; }

/* features */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 8px 20px rgba(45,36,24,0.07);
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card { min-height: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* doc pages (support / privacy) */
.doc { max-width: 720px; margin: 26px auto 0; }
.doc h1 { font-size: 34px; letter-spacing: -0.02em; }
.doc h2 { font-size: 22px; margin-top: 30px; }
.doc dt { font-weight: 700; margin-top: 16px; }
.doc dd { margin: 4px 0 0; }

footer { border-top: 1px solid var(--line); margin-top: 46px; padding-top: 18px; color: var(--muted); font-size: 15px; text-align: center; }

@media (max-width: 560px) {
  .topbar { flex-direction: column; gap: 10px; }
  .hero { padding-top: 16px; }
}
