/* =========================================================
   Ravenswood Games — loud, tilted, sticker-bombed.
   ========================================================= */

:root {
  --ink: #1b0b26;
  --plum: #2a0f3d;
  --grape: #6d28d9;
  --paper: #fff5e1;
  --white: #fff;
  --fmk: #e5249b;
  --teal: #2ff0dc;
  --sun: #ffe135;
  --red: #ff3b30;
  --slate: #4b4b4b;
  --parch: #efe2c4;

  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 18px;

  --display: "Luckiest Guy", "Arial Black", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --type: "Special Elite", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(27, 11, 38, .08) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.pixel { image-rendering: pixelated; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1180px; margin: 0 auto; }
section { padding: clamp(3rem, 8vw, 6rem) 16px; position: relative; }
.center { text-align: center; }
.section-sub { max-width: 36rem; margin: -.25rem auto 2.5rem; text-align: center; font-size: 1.2rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--sun); padding: .5rem 1rem; border: 3px solid var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 4px dashed var(--fmk); outline-offset: 4px; }

.test-banner {
  background: repeating-linear-gradient(-45deg, var(--sun) 0 18px, #ffd000 18px 36px);
  border-bottom: 3px solid var(--ink);
  text-align: center;
  font-size: .9rem;
  font-weight: 800;
  padding: .45rem 16px;
}

/* ---------- Loud text ---------- */

.loud {
  display: inline-block;
  color: var(--sun);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 4px 4px 0 var(--red), 8px 8px 0 var(--ink);
  animation: wobble 2.8s ease-in-out infinite;
}
.loud-red {
  color: var(--red);
  text-shadow: 4px 4px 0 var(--sun), 8px 8px 0 var(--ink);
}
.loud-pink {
  color: var(--fmk);
  text-shadow: 4px 4px 0 var(--sun), 8px 8px 0 var(--red);
}
.loud-static { animation: none; }

.kicker {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: .3em .9em .2em;
  font-family: var(--type);
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}
.kicker-sun { background: var(--sun); }
.kicker-red { background: var(--red); color: var(--white); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: .03em;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  color: var(--ink);
  background: var(--sun);
  border: 4px solid var(--ink);
  border-radius: 999px;
  padding: .7em 1.4em .5em;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}
.btn:hover, .btn:focus-visible {
  transform: translate(-2px, -2px) rotate(-1.5deg);
  box-shadow: 7px 7px 0 var(--ink);
  background: var(--red);
  color: var(--white);
}
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-big { font-size: clamp(1.25rem, 3vw, 1.65rem); }
.btn-small { font-size: 1rem; padding: .55em 1em .38em; border-width: 3px; }
.btn-teal { background: var(--teal); }
.btn-pink { background: var(--fmk); color: var(--white); }
.btn-light { background: var(--white); }
.btn.is-disabled { background: #ccc; color: #555; cursor: not-allowed; transform: rotate(-2deg); }
.btn.is-disabled:hover { background: #ccc; color: #555; box-shadow: var(--shadow-sm); }

.link-arrow { font-weight: 900; text-decoration: none; border-bottom: 3px solid currentColor; }
.link-arrow:hover { color: var(--fmk); }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 16px;
  background: var(--grape);
  border-bottom: 4px solid var(--ink);
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--white);
  -webkit-text-stroke: 1px var(--ink);
  text-shadow: 2px 2px 0 var(--ink);
  white-space: nowrap;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: var(--ink); transition: transform .4s ease; }
.brand:hover img { transform: rotate(-25deg) scale(1.12); }

.nav { display: flex; align-items: center; gap: .4rem 1.4rem; }
.nav-link {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--white);
  text-decoration: none;
  text-shadow: 2px 2px 0 var(--ink);
  letter-spacing: .03em;
  padding: .3rem 0 .1rem;
}
.nav-link:hover { color: var(--sun); }

.nav-games { position: relative; }
.nav-drop {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 230px;
  margin: .4rem 0 0;
  padding: .5rem;
  list-style: none;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg) translateY(-6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-drop::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-games:hover .nav-drop, .nav-games:focus-within .nav-drop { opacity: 1; visibility: visible; transform: rotate(-1.5deg) translateY(0); }
.nav-drop a {
  display: flex; align-items: center; gap: .6rem;
  padding: .45rem .6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}
.nav-drop a:hover { background: var(--sun); }
.nav-drop em { font-style: normal; font-family: var(--type); font-size: .8rem; background: var(--ink); color: var(--white); padding: 0 .4em; border-radius: 4px; margin-left: auto; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.dot-fmk { background: var(--fmk); } .dot-fafo { background: var(--sun); } .dot-bombast { background: var(--red); }
.dot-six { background: var(--parch); } .dot-bob { background: #8be04e; }

.nav-toggle { display: none; background: var(--sun); border: 3px solid var(--ink); border-radius: 10px; width: 48px; height: 44px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 3px; background: var(--ink); margin: 0 auto; position: relative; border-radius: 2px; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .brand-games { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 16px 1.25rem;
    background: var(--grape);
    border-bottom: 4px solid var(--ink);
    display: none;
  }
  .nav.open { display: flex; }
  .nav-link { font-size: 1.6rem; padding: .5rem 0; }
  .nav-drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: var(--shadow-sm); margin: 0 0 .75rem; }
  .nav .btn { margin-top: .5rem; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--plum);
  background-image:
    radial-gradient(rgba(255, 255, 255, .08) 1.5px, transparent 1.5px),
    radial-gradient(circle at 85% 20%, rgba(229, 36, 155, .45), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(47, 240, 220, .25), transparent 40%);
  background-size: 22px 22px, auto, auto;
  color: var(--white);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 1180px;
  margin: 0 auto;
}
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); color: var(--white); text-shadow: 4px 4px 0 var(--ink); }
.hero h1 .loud { font-size: 1.12em; margin-top: .08em; }
.hero .lede { font-size: 1.3rem; max-width: 33rem; margin: 0 0 2rem; color: #f3e8ff; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.price-note { font-weight: 800; color: #f3e8ff; }
.price-note s { opacity: .7; }
.price-note b { color: var(--sun); font-size: 1.3em; }

.hero-art {
  position: relative;
  display: block;
  border: 5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(3deg);
  transition: transform .25s ease;
  background: var(--white);
}
.hero-art img { border-radius: 12px; aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; }
.hero-art:hover { transform: rotate(0deg) scale(1.02); }

.sticker {
  position: absolute;
  top: -40px;
  right: -30px;
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  padding-top: .3rem;
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: .9;
  color: var(--ink);
  text-align: center;
  background: var(--sun);
  clip-path: polygon(50% 0%, 61% 12%, 77% 6%, 80% 22%, 96% 26%, 89% 41%, 100% 54%, 86% 63%, 89% 80%, 73% 81%, 65% 96%, 51% 87%, 37% 98%, 29% 82%, 12% 84%, 13% 67%, 0% 57%, 10% 43%, 2% 28%, 18% 22%, 21% 6%, 38% 11%);
  animation: spin-pulse 4s ease-in-out infinite;
  z-index: 2;
}
.sticker small { display: block; font-size: .95rem; }
.sticker-red { background: var(--red); color: var(--white); text-shadow: 2px 2px 0 var(--ink); }
.sticker-sm { width: 92px; height: 92px; font-size: 1.25rem; top: -22px; right: -18px; background: var(--red); color: var(--white); }

.tag {
  position: absolute;
  left: 18px;
  bottom: -22px;
  padding: .3em .8em .15em;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
  background: var(--teal);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-5deg);
  z-index: 2;
}
.tag-alt { left: auto; right: 24px; bottom: auto; top: 52%; background: var(--fmk); color: var(--white); transform: rotate(6deg); }

/* "Also on the shelf" quick jump */
.quick-jump { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2.2rem; }
.quick-jump > span { font-family: var(--type); font-size: .95rem; color: #d8c6f0; margin-right: .2rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3em .85em .25em;
  font-weight: 900;
  font-size: .95rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s;
}
.chip:nth-child(odd) { transform: rotate(-2deg); }
.chip:nth-child(even) { transform: rotate(2deg); }
.chip:hover { transform: rotate(0) translateY(-3px); background: var(--sun); }

/* ---------- Marquee ---------- */

.marquee {
  display: block;
  overflow: hidden;
  text-decoration: none;
  background: var(--sun);
  color: var(--ink);
  border-block: 4px solid var(--ink);
  transform: rotate(-1.5deg);
  margin: -1.2rem -20px 0;
  position: relative;
  z-index: 3;
}
.marquee-pink { background: var(--fmk); color: var(--white); transform: rotate(1.2deg); margin: 0 -20px; }
.marquee-pink .marquee-track { text-shadow: 2px 2px 0 var(--ink); animation-direction: reverse; }
.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  padding: .85rem 0 .6rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
}
.marquee-track span { flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Game lineup ---------- */

.lineup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  max-width: 1180px;
  margin: 0 auto;
}
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.game-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  padding: 1.4rem;
  border-bottom: 4px solid var(--ink);
  border-radius: 13px 13px 0 0;
}
a.game-card:hover { transform: rotate(0) translate(-3px, -6px) scale(1.02); box-shadow: 12px 12px 0 var(--ink); z-index: 2; }
a.game-card:hover img { animation: jiggle .5s ease; }
.tilt-l { transform: rotate(-2deg); }
.tilt-r { transform: rotate(2deg); }
.gc-body { display: flex; flex-direction: column; gap: .2rem; padding: 1rem 1.2rem 1.25rem; flex: 1; }
.gc-title { font-family: var(--display); font-size: 1.85rem; line-height: 1.05; }
.gc-line { font-weight: 700; }
.gc-cta { margin-top: auto; padding-top: .6rem; font-weight: 900; }
.gc-tag {
  position: absolute;
  top: -16px;
  right: -12px;
  z-index: 2;
  padding: .3em .75em .15em;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .02em;
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(7deg);
}
.tag-new { background: var(--sun); animation: spin-pulse 3s ease-in-out infinite; }
.tag-hot { background: var(--red); color: var(--white); }
.tag-free { background: var(--teal); }
.tag-soon { background: var(--white); }
.tag-secret { background: var(--ink); color: var(--white); }
.tag-hold { background: #ccc; }

.gc-fmk img { background: var(--teal); }
.gc-fafo img { background: var(--slate); }
.gc-bombast img { background: var(--ink); }
.gc-six img { background: var(--parch); }
.gc-che img { background: var(--sun); }
.gc-bob img { background: #fff; }
.gc-fmk { grid-column: span 1; }

/* ---------- Feature bands ---------- */

.band { border-block: 4px solid var(--ink); }
.band-sun { background: var(--sun); background-image: radial-gradient(rgba(27, 11, 38, .1) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.band-red { background: var(--red); color: var(--white); background-image: radial-gradient(rgba(0, 0, 0, .12) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.band-plum { background: var(--plum); color: var(--white); background-image: radial-gradient(rgba(255, 255, 255, .08) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.band-pink { background: var(--fmk); color: var(--white); background-image: radial-gradient(rgba(0, 0, 0, .1) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.band-parch { background: var(--parch); }
.band-red h2, .band-plum h2, .band-pink h2 { text-shadow: 4px 4px 0 var(--ink); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.split-rev > :first-child { order: 2; }

.polaroid {
  position: relative;
  background: var(--white);
  padding: 14px 14px 56px;
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  color: var(--ink);
  transition: transform .25s;
}
.polaroid:hover { transform: rotate(0) scale(1.02); }
.polaroid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  text-align: center;
  font-family: var(--type);
  font-size: 1.1rem;
}
.polaroid-r { transform: rotate(3deg); }

.card-fan { position: relative; height: clamp(320px, 42vw, 460px); }
.card-fan img {
  position: absolute;
  width: 46%;
  top: 50%;
  left: 50%;
  border: 4px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.card-fan img:nth-child(1) { transform: translate(-90%, -50%) rotate(-12deg); }
.card-fan img:nth-child(2) { transform: translate(-10%, -52%) rotate(9deg); }
.card-fan:hover img:nth-child(1) { transform: translate(-100%, -54%) rotate(-18deg); }
.card-fan:hover img:nth-child(2) { transform: translate(0%, -56%) rotate(15deg); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 2.4rem 1.5rem 1.5rem;
  background: var(--white);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  counter-increment: step;
}
.steps li:nth-child(odd) { transform: rotate(-1.5deg); }
.steps li:nth-child(even) { transform: rotate(1.5deg); }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: -28px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding-top: 6px;
  font-family: var(--display);
  font-size: 2rem;
  background: var(--sun);
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
}
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; }

/* ---------- Rules / content cards ---------- */

.paper-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--ink);
}
.paper-card h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.paper-card h3 { margin-top: 1.6em; }
.paper-card ol, .paper-card ul { padding-left: 1.3em; }
.paper-card li { margin-bottom: .6em; }
.paper-card li::marker { font-family: var(--display); color: var(--fmk); }

.variants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
}
.variant {
  background: var(--white);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.3rem 1.4rem 1.1rem;
}
.variant:nth-child(4n+1) { transform: rotate(-1.2deg); }
.variant:nth-child(4n+2) { transform: rotate(1deg); }
.variant:nth-child(4n+3) { transform: rotate(.8deg); }
.variant:nth-child(4n) { transform: rotate(-1deg); }
.variant .v-num { font-family: var(--type); font-size: .9rem; text-transform: uppercase; color: var(--fmk); }
.variant h3 { margin: .1em 0 .35em; }
.variant p { margin: 0; }

.decks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0; }
.deck {
  text-align: center;
  padding: 1rem .6rem .8rem;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 800;
  line-height: 1.25;
}
.deck b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.deck:nth-child(1) { background: #3a1046; color: var(--white); transform: rotate(-2deg); }
.deck:nth-child(2) { background: #c6f3ff; transform: rotate(1.5deg); }
.deck:nth-child(3) { background: #2a1236; color: var(--white); transform: rotate(-1deg); }
.deck:nth-child(4) { background: #f4d6f7; transform: rotate(2deg); }

.specs { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; list-style: none; margin: 1.25rem 0 1.75rem; }
.specs li {
  font-family: var(--type);
  font-size: .95rem;
  padding: .3em .8em;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
}
.specs li:nth-child(odd) { transform: rotate(-1.5deg); }
.specs li:nth-child(even) { transform: rotate(1.5deg); }

.example-cards { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0 1.5rem; }
.ex-card {
  flex: 1 1 200px;
  padding: 1rem 1.1rem;
  font-family: var(--type);
  font-size: 1.05rem;
  line-height: 1.35;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
}
.ex-card-around { background: var(--slate); color: var(--sun); transform: rotate(-2deg); }
.ex-card-out { background: var(--sun); color: var(--ink); transform: rotate(2deg); }

/* ---------- Game page hero ---------- */

.game-hero { border-bottom: 4px solid var(--ink); overflow: hidden; }
.game-hero h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); }
.game-hero .lede { font-size: 1.3rem; max-width: 34rem; }
.theme-fmk .game-hero { background-color: var(--fmk); color: var(--white); }
.theme-fafo .game-hero { background-color: var(--slate); color: var(--white); }
.theme-bombast .game-hero { background-color: var(--red); color: var(--white); }
.theme-six .game-hero { background-color: var(--parch); }
.theme-bob .game-hero { background-color: #102a18; color: var(--white); }
.game-hero { background-image: radial-gradient(rgba(0, 0, 0, .12) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.game-hero h1 { text-shadow: 4px 4px 0 var(--ink); }
.theme-six .game-hero h1 { text-shadow: 4px 4px 0 var(--red); }
.game-art { position: relative; }
.game-art > img { border: 5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: rotate(3deg); background: var(--white); }

/* ---------- Shop ---------- */

.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 3rem); max-width: 1080px; margin: 0 auto; }
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.product-img { position: relative; display: block; border-bottom: 4px solid var(--ink); }
.product-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 13px 13px 0 0; }
.product-body { padding: 1.3rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.6rem; }
.product-body h3 a { text-decoration: none; }
.product-tagline { font-weight: 700; }
.product-price { font-size: 1.2rem; margin-top: auto; }
.product-price b { font-family: var(--display); font-weight: 400; font-size: 2.2rem; color: var(--fmk); -webkit-text-stroke: 1px var(--ink); text-shadow: 3px 3px 0 var(--sun); }
.product-price s { opacity: .55; margin-left: .3rem; }
.product-ctas { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.4rem; margin-top: 3rem; font-weight: 800; }
.trust span::before { content: "★ "; color: var(--fmk); }

.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  padding: 0 1.25rem;
}
.faq summary { cursor: pointer; font-family: var(--display); font-size: 1.3rem; padding: 1rem 0 .8rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding-bottom: 1rem; margin: 0; }

/* ---------- Involved cards ---------- */

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; max-width: 1080px; margin: 0 auto; }
.mini-card {
  background: var(--white);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.mini-card:nth-child(1) { transform: rotate(-1.5deg); }
.mini-card:nth-child(2) { transform: rotate(1deg); }
.mini-card:nth-child(3) { transform: rotate(-.5deg); }
.mini-card .emoji { font-size: 2.4rem; line-height: 1; display: block; margin-bottom: .5rem; }
.mini-card h3 { margin-bottom: .35em; }

/* ---------- Pixel critters (Fireball Bob) ---------- */

.critters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; max-width: 1080px; margin: 0 auto; }
.critter { background: var(--white); color: var(--ink); border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; text-align: center; }
.critter img { width: 160px; height: 160px; margin: 0 auto .75rem; }
.critter:nth-child(odd) { transform: rotate(-1.5deg); }
.critter:nth-child(even) { transform: rotate(1.5deg); }

/* ---------- Big CTA ---------- */

.big-cta { text-align: center; }
.big-cta .kicker { justify-self: center; }
.big-cta h2 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
.big-cta .btn { margin-top: 1rem; }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: #e9ddf5; padding: 3.5rem 16px 1.5rem; border-top: 4px solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; max-width: 1180px; margin: 0 auto; }
.footer-raven { width: 90px; opacity: .95; transform: scaleX(-1) rotate(-6deg); margin-bottom: .5rem; }
.footer-title { font-family: var(--display); font-size: 1.7rem; color: var(--sun); text-shadow: 3px 3px 0 var(--red); margin-bottom: .3rem; }
.footer-h { font-family: var(--display); font-size: 1.25rem; color: var(--teal); margin-bottom: .5rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .35rem; }
.footer a { color: #fff; text-decoration-color: var(--fmk); text-decoration-thickness: 2px; text-underline-offset: 3px; word-break: break-word; }
.footer a:hover { color: var(--sun); }
.footer-bottom { max-width: 1180px; margin: 2.5rem auto 0; padding-top: 1.25rem; border-top: 2px dashed rgba(255, 255, 255, .2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .95rem; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; translate: 0 30px; transition: opacity .5s ease, translate .5s ease; }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Animations ---------- */

@keyframes wobble {
  0%, 100% { transform: rotate(-2deg) scale(1); }
  50% { transform: rotate(2deg) scale(1.04); }
}
@keyframes spin-pulse {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.08); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes jiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .lineup { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards-3, .critters { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 820px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split-rev > :first-child { order: 0; }
  .hero-art { max-width: 460px; margin: 1rem auto 0; }
  .steps { grid-template-columns: 1fr; max-width: 520px; gap: 2.5rem; }
  .products { grid-template-columns: 1fr; max-width: 520px; }
  .variants { grid-template-columns: 1fr; }
  .decks { grid-template-columns: repeat(2, 1fr); }
  .game-art { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .lineup { grid-template-columns: 1fr; max-width: 400px; }
  .game-card img { height: 220px; }
  .sticker { width: 110px; height: 110px; font-size: 1.7rem; top: -30px; right: -10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .loud { -webkit-text-stroke-width: 1.5px; text-shadow: 3px 3px 0 var(--red), 6px 6px 0 var(--ink); }
}
