/* pbjtimegame.com v1, 2026-10-08. Palette pulled from the box art: sky, jelly purple, peanut brown, jar red, grass. */
:root {
  --sky: #7ccbf0;
  --sky-lt: #d7f0fc;
  --jelly: #6f3596;
  --jelly-dk: #4e2270;
  --pink: #e8488a;
  --pb: #c27a38;
  --pb-lt: #f2c58e;
  --red: #d9342b;
  --grass: #6cbd45;
  --bread: #f6e2b8;
  --ink: #2b2140;
  --paper: #fffdf7;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jelly); }
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; line-height: 1.1; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); color: var(--jelly-dk); }
h3 { font-size: 1.35rem; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 253, 247, .92); backdrop-filter: blur(8px); border-bottom: 3px solid var(--ink); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.mini-mark { text-decoration: none; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.35rem; display: flex; gap: 6px; align-items: baseline; }
.mm-pb { color: var(--pb); }
.mm-t { color: #fff; background: var(--jelly); padding: 0 10px; border-radius: 999px; font-size: 1.05rem; }
nav { display: flex; gap: 6px; align-items: center; }
nav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 8px 10px; border-radius: 999px; font-size: .95rem; }
nav a:hover { background: var(--sky-lt); }
nav .nav-cta { background: var(--jelly); color: #fff; border: 2px solid var(--ink); }
nav .nav-cta:hover { background: var(--jelly-dk); }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #8fd5f5 0%, var(--sky) 55%, #a9e0f7 100%); padding: 48px 0 110px; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .9; filter: drop-shadow(0 6px 0 rgba(43, 33, 64, .06)); }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.c1 { width: 180px; height: 52px; top: 40px; left: -30px; }
.c1::before { width: 90px; height: 90px; top: -45px; left: 30px; }
.c1::after { width: 64px; height: 64px; top: -30px; left: 95px; }
.c2 { width: 220px; height: 60px; top: 70px; right: -40px; }
.c2::before { width: 110px; height: 110px; top: -58px; left: 40px; }
.c2::after { width: 76px; height: 76px; top: -36px; left: 120px; }
.c3 { width: 140px; height: 40px; bottom: 150px; left: 46%; opacity: .7; }
.c3::before { width: 70px; height: 70px; top: -36px; left: 26px; }
.c3::after { width: 50px; height: 50px; top: -24px; left: 76px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 14px; font-weight: 800; font-size: .85rem; }
.wordmark { margin: 0 0 18px; display: flex; flex-direction: column; align-items: flex-start; transform: rotate(-3deg); }
.wordmark span { display: block; font-weight: 700; paint-order: stroke fill; -webkit-text-stroke: 8px #fff; letter-spacing: .5px; text-transform: uppercase; }
.wm-pb { color: var(--pb); font-size: clamp(2.1rem, 5.6vw, 3.6rem); text-shadow: 0 5px 0 rgba(43, 33, 64, .18); }
.wm-jelly { color: var(--jelly); font-size: clamp(3.4rem, 10vw, 6.2rem); line-height: .95; margin-left: .6em; text-shadow: 0 6px 0 rgba(43, 33, 64, .2); }
.wm-time { color: #fff; -webkit-text-stroke: 0 !important; background: var(--jelly); border: 4px solid #fff; border-radius: 999px; padding: 0 22px; font-size: clamp(1.8rem, 5vw, 3rem); margin: 4px 0 0 2.6em; box-shadow: 0 6px 0 rgba(43, 33, 64, .2); }
.lead { font-size: 1.2rem; font-weight: 700; max-width: 34em; margin: 0 0 18px; }
.badges { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { background: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 6px 12px; display: flex; flex-direction: column; align-items: center; min-width: 78px; box-shadow: 0 4px 0 var(--ink); }
.badges b { font-family: "Fredoka", sans-serif; font-size: 1.3rem; color: var(--jelly); line-height: 1.1; }
.badges span { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.15rem; padding: 12px 26px; border-radius: 999px; border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--ink); cursor: pointer; transition: transform .08s, box-shadow .08s; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn-jelly { background: var(--jelly); color: #fff; }
.btn-jelly:hover { background: var(--jelly-dk); }
.btn-bread { background: var(--bread); color: var(--ink); }
.btn-bread:hover { background: #f1d597; }
.hero-photo { margin: 0; transform: rotate(1.5deg); }
.hero-photo img { border-radius: var(--radius); border: 5px solid #fff; box-shadow: 0 14px 0 rgba(43, 33, 64, .18), 0 24px 50px rgba(43, 33, 64, .25); }
.grass { position: absolute; left: 0; right: 0; bottom: -2px; height: 80px; background:
  radial-gradient(28px 40px at 14px 80px, var(--grass) 98%, transparent) 0 0 / 28px 80px repeat-x,
  linear-gradient(transparent 55%, var(--grass) 55%); }

/* band */
.time-band { background: var(--grass); color: #fff; text-align: center; padding: 6px 0 34px; border-bottom: 3px solid var(--ink); }
.band-line { margin: 0; font-weight: 800; font-style: italic; font-size: 1.15rem; }
.band-big { margin: 0; font-family: "Fredoka", sans-serif; font-weight: 700; font-size: clamp(2rem, 6vw, 3.4rem); text-transform: uppercase; paint-order: stroke fill; -webkit-text-stroke: 6px var(--ink); letter-spacing: 1px; }

/* how it plays */
.play { padding: 70px 0; text-align: center; }
.steps { list-style: none; padding: 0; margin: 22px 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.step { position: relative; border: 3px solid var(--ink); border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: 0 6px 0 var(--ink); }
.step p { margin: 0; font-weight: 600; }
.step-n { position: absolute; top: -20px; left: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--ink); font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.2rem; }
.s-bread { background: #f3dcf3; }
.s-bread h3 { color: #8a3d94; }
.s-pb { background: #eaf6c8; }
.s-pb h3 { color: #4c8a12; }
.s-jelly { background: #dbf0fb; }
.s-jelly h3 { color: #1f6fa8; }
.play-note { font-weight: 700; max-width: 40em; margin: 0 auto; }
.goal-label { display: inline-block; margin: 6px 0 0; background: var(--grass); color: #fff; border: 3px solid var(--ink); border-radius: 999px; padding: 2px 16px; font-family: "Fredoka", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.grownups { margin: 0; font-weight: 800; color: var(--jelly-dk); }

/* deck */
.deck { background: var(--sky-lt); padding: 70px 0; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.deck-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.deck-photo { margin: 0; transform: rotate(-1.5deg); }
.deck-photo img { border-radius: var(--radius); border: 5px solid #fff; box-shadow: 0 12px 0 rgba(43, 33, 64, .15); }
.chips { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 3px solid var(--ink); border-radius: 999px; padding: 6px 16px; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.05rem; box-shadow: 0 3px 0 var(--ink); }
.chip-bread { background: #c99be0; }
.chip-pb { background: #c6e86b; }
.chip-jelly { background: #8fd0f5; }
.chip-wild { background: linear-gradient(90deg, #ff8fb1, #ffd36b, #9be37a, #8fd0f5, #c99be0); }
.chip-special { background: #fff; }
.fine { font-size: .92rem; opacity: .85; }

/* fit */
.fit { padding: 70px 0; }
.fit h2 { text-align: center; }
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.fit-card { background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 0 6px 0 var(--pb-lt); }
.fit-card h3 { color: var(--red); }
.fit-card p { margin: 0; }

/* get a copy */
.get { background: var(--jelly); color: #fff; padding: 70px 0; border-top: 3px solid var(--ink); }
.get h2 { color: #fff; }
.get-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.get-copy p { font-size: 1.1rem; font-weight: 600; }
.get-box { margin-top: 18px; border-radius: 16px; border: 4px solid #fff; transform: rotate(-2deg); width: 100%; max-width: 380px; }
.hero-grid > *, .deck-grid > *, .get-grid > * { min-width: 0; }
.get-form { background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: 0 8px 0 var(--jelly-dk); display: grid; gap: 14px; }
.get-form label { display: grid; gap: 6px; font-weight: 800; }
.get-form input, .get-form select, .get-form textarea { font: inherit; font-weight: 600; padding: 11px 13px; border: 2px solid #b9aecb; border-radius: 12px; background: #fbf9ff; color: var(--ink); width: 100%; }
.get-form input:focus, .get-form select:focus, .get-form textarea:focus { outline: 3px solid var(--sky); border-color: var(--jelly); }
.get-form .btn { justify-self: start; }
.req, .opt { font-weight: 600; font-size: .85rem; opacity: .7; }
.hp { position: absolute; left: -9999px; }
.get-form .fine a { color: var(--jelly); }

/* crew */
.crew { padding: 60px 0; text-align: center; }
.crew-list { list-style: none; padding: 0; margin: 20px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.crew-list li { background: var(--bread); border: 3px solid var(--ink); border-radius: 18px; padding: 14px; display: grid; gap: 4px; }
.crew-list span { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--pb); }
.crew-list b { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.1rem; }

/* footer */
.foot { background: var(--ink); color: #e9e4f3; padding: 34px 0 40px; font-size: .95rem; text-align: center; }
.foot p { margin: 6px 0; }
.foot a { color: #fff; }
.foot-facts { font-family: "Fredoka", sans-serif; font-size: 1.1rem; color: #fff; }
.warn { opacity: .9; }

/* simple pages */
.page { padding: 50px 0 70px; max-width: 760px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--jelly-dk); }

@media (max-width: 860px) {
  .hero { padding: 30px 0 100px; }
  .hero-grid, .deck-grid, .get-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps, .fit-grid { grid-template-columns: 1fr; gap: 30px; }
  .crew-list { grid-template-columns: 1fr 1fr; }
  nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .crew-list { grid-template-columns: 1fr; }
  .badges { display: grid; grid-template-columns: 1fr 1fr; max-width: 300px; }
  .badges li { min-width: 0; }
  .wm-jelly { margin-left: .3em; }
  .wm-time { margin-left: 1.6em; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
