/* ============ /poke/ — base comic/pop styles ============ */
/* Standalone copy of the main-site base styles. systems.css loads on top of this. */

:root {
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bangers', 'Impact', 'Arial Black', sans-serif;

  --ink:    #14121a;
  --white:  #ffffff;
  --cream:  #fff6d6;
  --grey:   #eeeaf3;
  --yellow: #ffcf1a;
  --red:    #ef3b2f;
  --blue:   #2f6fea;
  --sky:    #6db8ff;

  --shadow: 7px 7px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.45;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { max-width: 100%; }

.container { width: min(100% - 2rem, 1100px); margin-inline: auto; }

/* ---- Typography ---- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(0,0,0,.08);
}
.display.outline {
  color: var(--white);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 5px 5px 0 var(--ink);
}

/* ---- Nav ---- */
.nav {
  background: var(--yellow);
  border-bottom: 4px solid var(--ink);
  position: sticky; top: 0; z-index: 20;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.logo {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-size: 1.9rem; letter-spacing: .06em; line-height: 1;
}
.logo .go { color: var(--red); }

/* ---- Pokéball ---- */
.pokeball {
  position: relative; display: inline-block; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid var(--ink);
  background: linear-gradient(to bottom, var(--red) 0 50%, var(--white) 50% 100%);
  box-shadow: 2px 2px 0 var(--ink);
}
.pokeball::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 3px; background: var(--ink); transform: translateY(-50%);
}
.pokeball::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--ink);
  transform: translate(-50%, -50%);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); letter-spacing: .07em; font-size: 1.3rem; line-height: 1;
  padding: .8rem 1.4rem; border-radius: 12px;
  border: 4px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  background: var(--white); color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  user-select: none;
}
.btn:hover  { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px);  box-shadow: 2px 2px 0 var(--ink); }
.btn-white { background: var(--white); }
.btn-red   { background: var(--red);  color: var(--white); }
.btn-blue  { background: var(--blue); color: var(--white); }

/* ---- Panels ---- */
.panel {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

/* ---- Burst badge ---- */
.burst {
  --burst-bg: var(--yellow);
  position: absolute; z-index: 3;
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); letter-spacing: .05em; line-height: .95;
  color: var(--ink);
  background: var(--burst-bg);
  clip-path: polygon(50% 0%, 61% 12%, 76% 6%, 80% 21%, 95% 25%, 90% 40%, 100% 50%, 90% 60%, 95% 75%, 80% 79%, 76% 94%, 61% 88%, 50% 100%, 39% 88%, 24% 94%, 20% 79%, 5% 75%, 10% 60%, 0% 50%, 10% 40%, 5% 25%, 20% 21%, 24% 6%, 39% 12%);
  filter: drop-shadow(3px 3px 0 var(--ink));
  pointer-events: none;
}

/* ---- Halftone backgrounds ---- */
.halftone-blue {
  background-color: var(--blue);
  background-image:
    radial-gradient(rgba(255,255,255,.22) 1.6px, transparent 1.7px),
    radial-gradient(rgba(0,0,0,.14) 1.6px, transparent 1.7px);
  background-size: 14px 14px, 14px 14px;
  background-position: 0 0, 7px 7px;
}

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---- Steps (How it works) ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.step { position: relative; padding: 2.2rem 1.4rem 1.4rem; }
.step .art {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--yellow); border: 4px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  display: grid; place-items: center; font-size: 1.8rem; line-height: 1;
}
.step h3 { font-family: var(--font-display); letter-spacing: .05em; font-size: 1.5rem; margin-bottom: .4rem; }
.step p { font-weight: 700; color: #444; }

/* ---- Footer ---- */
.footer { background: var(--ink); color: var(--white); border-top: 4px solid var(--yellow); padding: 2.2rem 0 1.6rem; }
.footer .logo { color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .85rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.footer-links a:hover { color: var(--yellow); }
.disclaimer { font-size: .75rem; font-weight: 600; color: #b8b4c4; line-height: 1.5; max-width: 820px; }

@media (max-width: 560px) {
  .logo { font-size: 1.6rem; }
  .btn { font-size: 1.15rem; padding: .7rem 1.1rem; }
}
