:root {
  --bg: #16102b; --bg-2: #1f1740; --ink: #f6f1ff; --muted: #b3a7d6;
  --pink: #ff4fa3; --yellow: #ffd23f; --cyan: #3ee6d3; --line: #35285f;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(255, 79, 163, .22), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(62, 230, 211, .16), transparent 38%);
  background-attachment: fixed;
  font: 17px/1.55 ui-rounded, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
a { color: var(--cyan); }
em { color: var(--yellow); font-style: normal; font-weight: 700; }

/* --- hero --- */
.hero { text-align: center; padding: clamp(2.5rem, 7vw, 5rem) 1.25rem 1.5rem; max-width: 900px;
  margin: 0 auto; }
.eyebrow { color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 1rem; }
h1 { margin: 0; font-size: clamp(3rem, 12vw, 7rem); line-height: .95; letter-spacing: -.03em;
  font-weight: 900; }
h1 span { display: inline-block; }
h1 span:nth-child(1) { color: var(--pink); transform: rotate(-4deg); text-shadow: 5px 5px 0 #000; }
h1 span:nth-child(2) { color: var(--yellow); transform: rotate(3deg) translateY(.08em);
  text-shadow: 5px 5px 0 #000; }
h1 span:nth-child(3) { color: var(--cyan); transform: rotate(-2deg); text-shadow: 5px 5px 0 #000; }
.lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink); max-width: 640px;
  margin: 1.6rem auto 0; }
.count { color: var(--muted); margin: 1rem 0 0; }
.count b { color: var(--yellow); font-size: 1.3em; }

/* --- game grid --- */
main { max-width: 1180px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.grid { display: grid; gap: 1.25rem; justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); }
.card { --accent: #7c5cff; display: flex; flex-direction: column; text-decoration: none;
  color: inherit; background: var(--bg-2); border: 3px solid #000; border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--accent); overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease; }
.card:hover, .card:focus-visible { transform: translate(-3px, -3px) rotate(-.6deg);
  box-shadow: 11px 11px 0 var(--accent); outline: none; }
.card:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--accent); }
.card-art { display: grid; place-items: center; font-size: 5rem; height: 170px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 35%, #000)); }
.card-body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); }
.badge { font-size: .62rem; vertical-align: middle; background: var(--pink); color: #fff;
  padding: .2em .6em; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: auto 0 0; padding: .4rem 0 0; }
.tags li { font-size: .7rem; border: 1px solid var(--line); color: var(--muted); padding: .15em .6em;
  border-radius: 999px; }
.empty { grid-column: 1 / -1; justify-self: center; width: min(560px, 100%); text-align: center;
  color: var(--muted); padding: 2.5rem 1.5rem; border: 3px dashed var(--line);
  border-radius: var(--radius); }
.empty-art { font-size: 4rem; line-height: 1; }
.empty h3 { color: var(--ink); margin: .8rem 0 .3rem; font-size: 1.4rem; }
.empty p { margin: 0; }

/* --- faq / footer --- */
.about { max-width: 720px; margin: 4rem auto 0; }
.about h2 { font-size: 1.5rem; margin: 0 0 1rem; }
.about dt { font-weight: 800; margin-top: 1rem; }
.about dd { margin: .15rem 0 0; color: var(--muted); }
/* --- the one sincere part of the site --- */
.pledge { max-width: 720px; margin: 3.5rem auto 0; padding: 1.5rem 1.6rem; background: var(--bg-2);
  border: 3px solid #000; border-radius: var(--radius); box-shadow: 7px 7px 0 var(--yellow); }
.pledge h2 { margin: 0 0 .6rem; font-size: 1.35rem; color: var(--yellow); }
.pledge p { margin: 0 0 .8rem; }
.pledge strong { color: var(--ink); }
.pledge-cta { margin: 0 !important; font-weight: 800; color: var(--cyan); }

footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 2rem 1rem 3rem;
  border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  .card, .card:hover { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}
