/* Jackrabbit Games — warm desert identity with pixel-game accents.
   Sunny sand + terracotta + cactus green; clean modern type, pixel sprites in the art. */
:root {
  --sky: #a9d3dd;
  --sand: #f5e2c0;
  --sand-2: #efd3a6;
  --cream: #fdf3df;
  --terra: #cf6b3a;
  --terra-dk: #a9451f;
  --cactus: #5f9147;
  --gold: #f0a831;
  --ink: #3a2517;
  --ink-dim: #8a6f57;
  --line: rgba(58, 37, 23, 0.14);
  --panel: #fff8ea;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--sand);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6; min-height: 100vh; overflow-x: hidden;
}
a { color: var(--terra-dk); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }
img.pixel, .pixel svg { image-rendering: pixelated; }

/* ---- nav ---- */
header { position: sticky; top: 0; z-index: 20;
  background: rgba(253, 243, 223, 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 34px; color: var(--terra); }
.brand .brand-logo { height: 38px; width: auto; display: block; }
.nav .spacer { flex: 1; }
.nav a.link { color: var(--ink-dim); font-weight: 700; font-size: 0.95rem; }
.nav a.link:hover { color: var(--ink); text-decoration: none; }

/* ---- hero desert scene ---- */
/* Title sits up in the sky; the mascot sits on the dune at the bottom. */
.hero { position: relative; min-height: 90vh; display: flex; flex-direction: column;
  align-items: center; text-align: center; overflow: hidden; }
.hero .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .scene svg { width: 100%; height: 100%; display: block; }
.hero .content { position: relative; z-index: 2; padding: 7vh 24px 0; }
.hero .hero-mascot { position: relative; z-index: 2; margin-top: auto;
  height: min(42vh, 330px); width: auto; display: block;
  filter: drop-shadow(0 10px 16px rgba(120, 55, 20, 0.28)); }
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4.8rem); font-weight: 900; letter-spacing: -0.02em;
  line-height: 0.92; margin-top: 10px; color: var(--ink);
  text-shadow: 0 2px 0 rgba(255, 248, 234, 0.6);
}
.hero .tag { color: var(--terra-dk); font-weight: 800; font-size: 1.2rem; margin-top: 14px;
  text-shadow: 0 1px 0 rgba(255, 248, 234, 0.7); }
.hero .down { margin-top: 24px; display: inline-block; color: #fff; font-weight: 800;
  font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--terra); padding: 11px 22px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(160, 70, 30, 0.4); }
.hero .down:hover { background: var(--terra-dk); text-decoration: none; }

/* ---- sections ---- */
main { position: relative; z-index: 2; background: var(--sand); }
section { padding: 32px 0; }
.eyebrow { color: var(--terra); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; }
h2 { font-size: 1.9rem; font-weight: 900; margin: 4px 0 6px; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 800; margin: 22px 0 6px; color: var(--ink); }
p { color: var(--ink-dim); margin: 10px 0; }

/* game card */
.game { display: flex; gap: 20px; align-items: center; background: var(--panel);
  border: 1px solid var(--line); border-radius: 22px; padding: 22px; margin: 18px 0;
  box-shadow: 0 10px 26px rgba(120, 80, 40, 0.14); transition: transform 0.18s, box-shadow 0.18s; }
.game:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(120, 80, 40, 0.22); text-decoration: none; }
.game .icon { width: 84px; height: 84px; border-radius: 20px; flex-shrink: 0; box-shadow: 0 6px 16px rgba(0,0,0,0.28); }
.game h2 { margin: 0; font-size: 1.5rem; color: var(--ink); }
.game p { margin: 6px 0 0; }
.badge { display: inline-block; font-size: 0.76rem; font-weight: 800; color: #fff;
  background: var(--cactus); border-radius: 999px; padding: 3px 11px; margin-top: 10px; }

/* individual game page */
.gamehero { text-align: center; padding: 54px 0 8px; }
.gamehero .icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 30px rgba(120,80,40,0.28); }
.gamehero h1 { font-size: clamp(2.2rem, 7vw, 3rem); font-weight: 900; margin-top: 18px; }
.gamehero .tag { color: var(--terra-dk); font-weight: 800; font-size: 1.1rem; margin-top: 8px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px 26px; margin: 20px 0 40px; box-shadow: 0 10px 26px rgba(120,80,40,0.12); }
.panel p.lead { color: var(--ink); font-size: 1.08rem; }

/* legal */
.legal { padding: 44px 0 60px; }
.legal h1 { font-size: 2.1rem; font-weight: 900; }
.legal .updated { color: var(--ink-dim); font-size: 0.9rem; margin-top: 2px; }
.legal a.back { display: inline-block; margin-bottom: 22px; font-weight: 800; }
.legal .card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 16px 0; }
.legal ul { margin: 10px 0 10px 22px; color: var(--ink-dim); }

footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 26px 0 46px;
  color: var(--ink-dim); font-size: 0.9rem; position: relative; z-index: 2; background: var(--sand); }
footer .nav { height: auto; flex-wrap: wrap; gap: 18px; }
