/* Catnip Arcade website — brand-constant teal, matches the app's play field. */

:root {
  --teal-deep: #16394f;
  --teal: #255a7c;
  --teal-light: #2e6e96;
  --cream: #f6f1e7;
  --cream-dim: rgba(246, 241, 231, 0.72);
  --orange: #f2a93b;
  --orange-deep: #b97b3f;
  --coral: #e86a5e;
  --gold: #f2c14e;
  --card: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.14);
}

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

body {
  font-family: ui-rounded, "SF Pro Rounded", Quicksand, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: linear-gradient(175deg, var(--teal-light) 0%, var(--teal) 38%, var(--teal-deep) 100%);
  background-attachment: fixed;
  color: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

/* ---------- hero ---------- */

.hero {
  text-align: center;
  padding: 56px 0 24px;
}

.hero img.cat {
  width: min(300px, 62vw);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.hero .subgames {
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  font-weight: 700;
  margin-top: 2px;
}

.hero .subgames .pop { color: var(--coral); }
.hero .subgames .jump { color: var(--gold); }
.hero .subgames .eat { color: var(--orange); }

.hero .tagline {
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  color: var(--cream-dim);
  margin-top: 12px;
}

.coming {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--orange);
  color: #35240b;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* ---------- intro ---------- */

.intro {
  text-align: center;
  max-width: 620px;
  margin: 36px auto 0;
  font-size: 1.08rem;
  color: var(--cream-dim);
}

/* ---------- game cards ---------- */

.games {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 44px;
}

@media (min-width: 720px) {
  .games { grid-template-columns: repeat(3, 1fr); }
}

.game {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 26px 22px;
  text-align: center;
}

.game svg {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
}

.game h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.game h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream-dim);
  margin-bottom: 10px;
}

.game p {
  font-size: 0.98rem;
  color: var(--cream-dim);
}

/* ---------- details strip ---------- */

.details {
  margin-top: 44px;
  text-align: center;
  color: var(--cream-dim);
  font-size: 0.98rem;
}

.details p + p { margin-top: 8px; }

/* ---------- footer ---------- */

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--cream-dim);
}

footer .links { margin-bottom: 8px; }
footer .links a { margin: 0 10px; color: var(--cream); }

/* ---------- legal pages ---------- */

.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal .home {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 600;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.legal .updated {
  color: var(--cream-dim);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 8px;
}

.legal p, .legal li {
  color: var(--cream-dim);
  font-size: 1rem;
}

.legal ul { padding-left: 22px; margin-top: 6px; }
.legal li { margin-bottom: 6px; }
