:root {
  --bg: #F7F4EE;
  --ink: #1B2540;
  --muted: #7A7F90;
  --card: #FFFFFF;
  --line: #ECE6DB;
  --blue: #2F7BE0;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 980px; margin: 0 auto; padding: 36px 20px 50px; }

.hero { text-align: center; margin-bottom: 34px; }
.mascot { width: 112px; height: 112px; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(47, 123, 224, .25)); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
h1 { font-family: "Fredoka", ui-rounded, system-ui, sans-serif; font-weight: 700; font-size: 56px; letter-spacing: -1px; margin: 8px 0 4px; }
.tag { color: var(--muted); font-size: 19px; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card {
  display: block; background: var(--card); border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(27, 37, 64, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
a.card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(27, 37, 64, .12); }
a.card:active { transform: translateY(-1px) scale(.99); }
.thumb { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.thumb svg { width: 78%; height: 78%; transition: transform .3s ease; }
a.card:hover .thumb svg { transform: scale(1.05); }
.thumb.halvsies { background: #FBE9D4; }
.thumb.geo { background: #DDEEFF; }
.thumb.rand { background: #EFE6FF; }
.thumb span { font-size: 54px; filter: grayscale(.2); }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; letter-spacing: .5px;
}
.info { padding: 14px 18px 18px; }
.info h2 { font-family: "Fredoka", ui-rounded, system-ui, sans-serif; font-weight: 600; font-size: 22px; margin: 0 0 4px; }
.info p { margin: 0; color: var(--muted); line-height: 1.4; }
.card.soon { opacity: .6; }
.card.soon .info p { font-weight: 700; }

.foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 40px; }
.thumb .badge { font-size: 12px; filter: none; }
