/* The Club Roblox player website, in the Candy bounce brand (the Club Roblox design system,
   https://claude.ai/artifact/EYzrJabHHptSjVNZBX7ZJV). Stickers: a 3px ink keyline, round corners and a hard
   lavender-deep drop. Text on every pastel is ink. The page's CSP allows no inline styles, so everything is here. */

:root {
  --lavender: #b79af2; --lavender-light: #c5adf6; --mint: #6fd0cc; --candy: #ff6fae; --sunshine: #ffd84d;
  --lavender-deep: #6e4fd8; --ink: #2a1e52; --sticker: #ffffff; --mist: #e6dffb;
  --surface: #f7f4ff; --raised: #ffffff; --line: #e6dffb; --text: #2a1e52; --muted: #625889;
  --link: #6e4fd8; --focus: #6e4fd8;
  --keyline: var(--ink); --drop: var(--lavender-deep);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --display: "Fredoka", "Fredoka One", "Nunito", system-ui, sans-serif;
  --body: "Nunito", "Fredoka", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface: #1c1536; --raised: #2f2563; --line: #463a80; --text: #f7f4ff; --muted: #b9aedd;
    --link: #b79af2; --focus: #ffd84d; --mist: #463a80; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --surface: #1c1536; --raised: #2f2563; --line: #463a80; --text: #f7f4ff; --muted: #b9aedd;
  --link: #b79af2; --focus: #ffd84d; --mist: #463a80; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--surface); color: var(--text); font: 400 16px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--focus); border-radius: 12px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- buttons ---------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
  font: 600 18px/24px var(--display); text-decoration: none; cursor: pointer;
  color: var(--ink); background: var(--sticker); border: 3px solid var(--keyline); border-radius: 9999px;
  box-shadow: 0 4px 0 var(--drop); transition: transform 180ms var(--spring), box-shadow 180ms var(--spring), background-color 120ms ease;
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--drop); }
.btn:focus-visible { box-shadow: 0 4px 0 var(--drop), 0 0 0 3px var(--surface), 0 0 0 6px var(--focus); border-radius: 9999px; }
.btn-candy { background: var(--candy); }
.btn-go { background: var(--sunshine); }
.btn-mint { background: var(--mint); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 16px; }

/* ---- header ----------------------------------------------------------------------------------- */
.top { background: var(--lavender); border-bottom: 3px solid var(--keyline); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 72px; flex-wrap: wrap; padding-block: 6px; }
.top .brand img { height: 56px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a:not(.btn) {
  font: 600 17px/1 var(--display); color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 9999px;
  border: 3px solid transparent;
}
.nav a:not(.btn):hover { background: var(--lavender-light); }
.nav a[aria-current="page"] { background: var(--sticker); border-color: var(--keyline); }
@media (max-width: 520px) {
  .top .brand img { height: 46px; }
  .nav a:not(.btn) { padding: 7px 8px; font-size: 15px; border-width: 2px; }
  .nav { gap: 2px; }
}

/* ---- sunburst bands --------------------------------------------------------------------------- */
.burst {
  position: relative; overflow: hidden; background-color: var(--lavender); color: var(--ink);
  border-bottom: 3px solid var(--keyline);
}
.spark { position: absolute; width: 40px; height: 40px; pointer-events: none; }
.spark.s1 { top: 9%; left: 8%; width: 46px; height: 46px; }
.spark.s2 { top: 16%; right: 9%; width: 36px; height: 36px; }
.spark.s3 { bottom: 14%; left: 14%; width: 28px; height: 28px; }
.spark.s4 { bottom: 22%; right: 13%; width: 30px; height: 30px; }
@media (max-width: 640px) { .spark.s3, .spark.s4 { display: none; } }

.hero { text-align: center; padding: 40px 0 56px; }
.hero .logo { width: min(520px, 86vw); margin: 0 auto; }
.hero h1 { font-weight: 700; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin: 20px 0 10px; text-wrap: balance; }
.hero .lead { font-size: clamp(17px, 1.8vw, 20px); max-width: 30em; margin: 0 auto 26px; text-wrap: balance; font-weight: 600; }
.cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.proof {
  display: inline-block; margin-top: 26px; padding: 6px 16px; font: 600 14px/20px var(--body);
  background: var(--sticker); color: var(--ink); border: 3px solid var(--keyline); border-radius: 9999px;
  font-variant-numeric: tabular-nums;
}
.badge {
  display: inline-flex; align-items: center; font: 700 18px/24px var(--display); padding: 4px 12px;
  border: 3px solid var(--keyline); border-radius: 9999px; background: var(--sunshine); color: var(--ink);
  box-shadow: 0 0 0 5px var(--sticker), 0 0 0 8px var(--keyline), 0 5px 0 8px var(--drop); transform: rotate(-4deg);
}
.hero .badge { margin-top: 6px; }

.band { text-align: center; padding: 34px 0 38px; }
.band h1 { font-weight: 700; font-size: clamp(32px, 4.4vw, 44px); line-height: 1.1; }
.band .lede { max-width: 40em; margin: 10px auto 0; font-weight: 600; text-wrap: balance; }

/* ---- panels and cards ------------------------------------------------------------------------- */
.panel { background: var(--raised); color: var(--text); border: 3px solid var(--keyline); border-radius: 24px; box-shadow: 0 6px 0 var(--drop); }
.section { padding-block: 48px 8px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { font-weight: 700; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; }
.section-head p { color: var(--muted); margin-top: 4px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 24px; }
.feature .ic { width: 56px; height: 56px; border-radius: 9999px; display: grid; place-items: center; font-size: 28px; color: var(--ink); border: 3px solid var(--keyline); }
.ic-mint { background: var(--mint); }
.ic-candy { background: var(--candy); }
.ic-sun { background: var(--sunshine); }
.feature h3 { font-weight: 600; font-size: 22px; line-height: 1.2; margin: 16px 0 6px; }
.feature p { color: var(--muted); }

/* rarest pets strip on the home page */
.rarest { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 980px) { .rarest { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .rarest { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* latest update teaser */
.latest { padding: 0; overflow: hidden; }
.latest .title-bar { background: var(--lavender); color: var(--ink); border-bottom: 3px solid var(--keyline); }
.latest .post-body { padding: 18px 20px 20px; }
.latest .more { margin-top: 16px; }

/* join the club */
.join { position: relative; overflow: hidden; text-align: center; padding: 44px 20px; margin-block: 48px 8px; }
.join h2 { font-weight: 700; font-size: clamp(26px, 3.4vw, 34px); }
.join p { color: var(--muted); max-width: 28em; margin: 8px auto 22px; text-wrap: balance; }
.join .spark.s1 { top: 18px; left: 6%; width: 34px; height: 34px; }
.join .spark.s2 { top: 36px; right: 7%; width: 26px; height: 26px; }
.join .spark.s3 { bottom: 24px; left: auto; right: 12%; width: 22px; height: 22px; display: block; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.socials a {
  width: 48px; height: 48px; border-radius: 9999px; display: grid; place-items: center; font-size: 20px;
  color: var(--ink); background: var(--sticker); border: 3px solid var(--keyline); box-shadow: 0 4px 0 var(--drop);
}

/* ---- footer ----------------------------------------------------------------------------------- */
.foot { margin-top: 48px; padding-block: 28px 44px; border-top: 3px solid var(--keyline); font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 10px; }
.foot a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--text); text-decoration: underline; }

/* ---- rarities page ---------------------------------------------------------------------------- */
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-top: 28px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--raised); border: 3px solid var(--keyline); border-radius: 9999px; }
.seg-btn { border: 0; background: none; color: var(--text); font: 600 17px/1 var(--display); padding: 9px 20px; border-radius: 9999px; cursor: pointer; }
.seg-btn.on { background: var(--mint); color: var(--ink); }
.controls input, .controls select {
  font: 600 15px/1.2 var(--body); color: var(--text); background: var(--raised);
  border: 3px solid var(--keyline); border-radius: 12px; padding: 9px 12px; min-height: 48px;
}
.controls input { flex: 1 1 200px; min-width: 0; }
.count { color: var(--muted); font-size: 14px; font-weight: 600; margin: 16px 0 12px; }
.notice { background: var(--raised); border: 3px solid var(--keyline); border-radius: 16px; padding: 12px 16px; margin-bottom: 16px; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 18px; padding-bottom: 8px; }
@media (max-width: 420px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card {
  background: var(--raised); color: var(--text); border: 3px solid var(--keyline); border-radius: 16px; box-shadow: 0 4px 0 var(--drop);
  padding: 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
}
.pic { width: 100px; height: 100px; object-fit: contain; border-radius: 12px; background: var(--mist); }
.pic.none { display: block; }
@media (max-width: 420px) { .pic { width: 76px; height: 76px; } }
.name { font: 600 17px/1.2 var(--display); overflow-wrap: anywhere; }
.row { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; align-items: center; }
.owned { font-size: 13px; color: var(--muted); font-weight: 600; }

/* Rarity pills keep the game's own rarity colours (the backpack rims, the PET MARKET boards), so a rarity reads the
   same here as in game; they gain the brand keyline. MYTHIC keeps its in-game gradient. The in-game rarity is not shown (owner, 2026-10-26). */
.pill { display: inline-block; padding: 1px 9px; border: 2px solid var(--keyline); border-radius: 9999px; font: 700 12px/18px var(--body); letter-spacing: 0.03em; white-space: nowrap; }
.t1 { background: rgb(152, 188, 255); color: #0d1a33; }
.t2 { background: rgb(120, 120, 255); color: #0b0b40; }
.t3 { background: rgb(0, 0, 255); color: #ffffff; }
.t4 { background: rgb(255, 0, 255); color: #2a002a; }
.t5 { background: rgb(255, 0, 0); color: #ffffff; }
.t6 { background: rgb(255, 255, 70); color: #2a2a00; }
.t7 { background: linear-gradient(90deg, #ff4fd8, #7b5cff 25%, #2fd6ff 50%, #7b5cff 75%, #ff4fd8) 0 0 / 200% 100%; color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.pill.none { background: var(--mist); color: var(--text); }

/* Status tags in brand colours. */
.tag { display: inline-block; padding: 1px 8px; border: 2px solid var(--keyline); border-radius: 8px; font: 700 12px/18px var(--body); color: var(--ink); }
.s-classic { background: var(--mint); }
.s-premium { background: var(--sunshine); }
.s-vaulted { background: var(--lavender); }
.s-retired { background: var(--sticker); }

.key { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; margin: 12px 0 16px; }
.key div { display: flex; gap: 8px; align-items: center; }
.key dt, .key dd { margin: 0; }
.explain { padding: 22px 24px; margin-top: 40px; }
.explain h2 { font-weight: 700; font-size: 24px; }
.explain p { color: var(--muted); margin-top: 8px; }

/* ---- updates page ----------------------------------------------------------------------------- */
.posts { display: grid; gap: 28px; padding-top: 32px; max-width: 820px; margin-inline: auto; }
.post { padding: 0; overflow: hidden; }
.title-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 20px; background: var(--lavender); color: var(--ink); border-bottom: 3px solid var(--keyline); }
.title-bar h2, .title-bar h3 { font-weight: 700; font-size: 22px; line-height: 28px; }
.title-bar time { font-weight: 700; font-size: 14px; }
.post-body { padding: 18px 20px 22px; }
.post-body .note { color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.post-body ul { margin: 0; padding-left: 22px; }
.post-body li + li { margin-top: 6px; }
.post-body li::marker { color: var(--lavender-deep); }
:root[data-theme="dark"] .post-body li::marker { color: var(--lavender); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .post-body li::marker { color: var(--lavender); } }
.posts-notice { max-width: 820px; margin: 32px auto 0; }
.discord-note { text-align: center; color: var(--muted); margin-top: 28px; font-weight: 600; }

/* ---- events (Roblox experience events, /api/public/events) ---------------------------------------------------- */
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
@media (max-width: 420px) { .events { grid-template-columns: 1fr; } }
.past-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.event { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.event-pic { aspect-ratio: 16 / 9; background: var(--lavender); border-bottom: 3px solid var(--keyline); display: grid; place-items: center; overflow: hidden; }
.event-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--spring); }
.event-pic .pic-spark { width: 64px; height: 64px; object-fit: contain; }
.event:hover .event-pic img:not(.pic-spark) { transform: scale(1.05); }
.event-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 20px; flex: 1; }
.event-body .btn { align-self: flex-start; margin-top: auto; }
.event-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.event-title { font-weight: 600; font-size: 22px; line-height: 1.2; }
.event-sub { font-weight: 700; }
.event-desc, .event-sub { color: var(--muted); }
.event-desc { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.event-when { font-weight: 700; font-size: 14px; }
.e-past .event-title { font-size: 19px; }
.e-past .event-pic img { opacity: 0.85; }
.when-tag { display: inline-flex; align-items: center; gap: 6px; padding: 1px 9px; border: 2px solid var(--keyline); border-radius: 9999px; font: 700 12px/18px var(--body); color: var(--ink); }
.onnow { background: var(--candy); }
.onnow::before { content: ""; width: 8px; height: 8px; border-radius: 9999px; background: var(--sticker); border: 2px solid var(--keyline); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }
.soon { background: var(--sunshine); }
.ended { background: var(--sticker); }
.s-cat { background: var(--mist); color: var(--text); }
.events > .event { animation: pop 480ms var(--spring) backwards; }
.events > .event:nth-child(2) { animation-delay: 70ms; }
.events > .event:nth-child(3) { animation-delay: 140ms; }
.events > .event:nth-child(n+4) { animation-delay: 210ms; }
.event:hover { transform: translateY(-5px); box-shadow: 0 11px 0 var(--drop); }
.event { transition: transform 220ms var(--spring), box-shadow 220ms var(--spring); }

/* ---- motion (2026-10-26, owner: "animate the buttons a bit and bring the site to life") -------------------------
   Springy and bouncy, never fast or flashing. All of it stops for prefers-reduced-motion (end of this file). */

/* the sunburst turns slowly behind everything in its band */
.burst::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 260vmax; height: 260vmax; margin: -130vmax 0 0 -130vmax;
  background: repeating-conic-gradient(from 0deg at 50% 50%, var(--lavender) 0deg 15deg, var(--lavender-light) 15deg 30deg);
  animation: spin 140s linear infinite; pointer-events: none;
}
.burst > .wrap { position: relative; z-index: 1; }
.burst > .spark, .burst > .confetti { z-index: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* buttons: lift on hover, squash on press */
.btn:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--drop); }
.btn:active { transform: translateY(3px) scale(0.98); box-shadow: 0 1px 0 var(--drop); transition-duration: 60ms; }
.btn .i { transition: transform 200ms var(--spring); }
.btn:hover .i { transform: translateX(3px) scale(1.15); }
.btn-candy { animation: nudge 6s ease-in-out 2.5s infinite; }
.btn-candy:hover, .btn-candy:active { animation: none; }
@keyframes nudge {
  0%, 86%, 100% { transform: none; }
  89% { transform: rotate(-3deg) scale(1.04); }
  92% { transform: rotate(3deg) scale(1.04); }
  95% { transform: rotate(-1.5deg); }
}
.nav a:not(.btn) { transition: transform 180ms var(--spring), background-color 120ms ease; }
.nav a:not(.btn):hover { transform: translateY(-2px); }
.top .brand img { transition: transform 260ms var(--spring); }
.top .brand:hover img { transform: rotate(-6deg) scale(1.08); }

/* hero: the logo bobs, the badge wobbles, sparkles twinkle, confetti drifts */
.hero .logo { animation: bob 5s ease-in-out infinite; transform-origin: 50% 80%; }
.hero .logo:hover { animation: boing 700ms var(--spring); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes boing {
  0% { transform: scale(1); } 30% { transform: scale(1.06, 0.94); } 55% { transform: scale(0.97, 1.04); } 100% { transform: scale(1); }
}
.badge { animation: wobble 4s ease-in-out 1s infinite; }
@keyframes wobble {
  0%, 70%, 100% { transform: rotate(-4deg); }
  78% { transform: rotate(3deg) scale(1.08); }
  86% { transform: rotate(-7deg) scale(1.04); }
  93% { transform: rotate(-2deg); }
}
.spark { animation: twinkle 3.2s ease-in-out infinite; }
.spark.s2 { animation-duration: 2.6s; animation-delay: 0.7s; }
.spark.s3 { animation-duration: 3.8s; animation-delay: 1.3s; }
.spark.s4 { animation-duration: 2.9s; animation-delay: 0.3s; }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
  50% { transform: scale(0.72) rotate(25deg); opacity: 0.75; }
}
.confetti {
  position: absolute; width: 14px; height: 14px; border-radius: 9999px; border: 2px solid var(--keyline);
  pointer-events: none; animation: drift 7s ease-in-out infinite;
}
.confetti.mint { background: var(--mint); }
.confetti.candy { background: var(--candy); }
.confetti.sun { background: var(--sunshine); }
.confetti.white { background: var(--sticker); }
.confetti.k1 { top: 30%; left: 20%; }
.confetti.k2 { top: 58%; left: 6%; width: 10px; height: 10px; animation-delay: -2s; animation-duration: 8s; }
.confetti.k3 { top: 72%; left: 27%; width: 11px; height: 11px; animation-delay: -4s; }
.confetti.k4 { top: 34%; right: 21%; width: 12px; height: 12px; animation-delay: -1s; animation-duration: 9s; }
.confetti.k5 { top: 62%; right: 6%; animation-delay: -5s; }
.confetti.k6 { top: 80%; right: 28%; width: 10px; height: 10px; animation-delay: -3s; animation-duration: 6.5s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0); } 33% { transform: translate(6px, -14px); } 66% { transform: translate(-5px, -6px); }
}
@media (max-width: 640px) { .confetti.k1, .confetti.k3, .confetti.k4, .confetti.k6 { display: none; } }

/* cards and panels: lift on hover; cards pop in */
.feature, .card, .socials a, .post { transition: transform 220ms var(--spring), box-shadow 220ms var(--spring); }
.feature:hover { transform: translateY(-5px); box-shadow: 0 11px 0 var(--drop); }
.feature:hover .ic { animation: wiggle 600ms ease-in-out; }
@keyframes wiggle {
  0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg) scale(1.1); } 50% { transform: rotate(10deg) scale(1.1); } 75% { transform: rotate(-5deg); }
}
.card:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 9px 0 var(--drop); }
.card .pic { transition: transform 260ms var(--spring); }
.card:hover .pic { transform: scale(1.08) translateY(-2px); }
.socials a:hover { transform: translateY(-3px) rotate(-8deg); box-shadow: 0 7px 0 var(--drop); }
.pop > .card, .rarest > .card, .posts > .post { animation: pop 480ms var(--spring) backwards; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(0.92); } to { opacity: 1; transform: none; } }
.pop > .card:nth-child(2), .rarest > .card:nth-child(2), .posts > .post:nth-child(2) { animation-delay: 50ms; }
.pop > .card:nth-child(3), .rarest > .card:nth-child(3), .posts > .post:nth-child(3) { animation-delay: 100ms; }
.pop > .card:nth-child(4), .rarest > .card:nth-child(4), .posts > .post:nth-child(4) { animation-delay: 150ms; }
.pop > .card:nth-child(5), .rarest > .card:nth-child(5), .posts > .post:nth-child(5) { animation-delay: 200ms; }
.pop > .card:nth-child(6), .rarest > .card:nth-child(6) { animation-delay: 250ms; }
.pop > .card:nth-child(7) { animation-delay: 300ms; }
.pop > .card:nth-child(8) { animation-delay: 350ms; }
.pop > .card:nth-child(9) { animation-delay: 400ms; }
.pop > .card:nth-child(10) { animation-delay: 450ms; }
.pop > .card:nth-child(n+11) { animation-delay: 500ms; }

/* the Pets / Items switch and the MYTHIC shimmer */
.seg-btn { transition: background-color 160ms ease, transform 200ms var(--spring); }
.seg-btn:active { transform: scale(0.94); }
.seg-btn.on { animation: pick 300ms var(--spring); }
@keyframes pick { from { transform: scale(0.85); } to { transform: none; } }
.t7 { animation: shimmer 3.5s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* sections rise into view as you scroll (motion.js sets .motion only when it can reveal them) */
.motion [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity 600ms ease, translate 700ms var(--spring), transform 220ms var(--spring), box-shadow 220ms var(--spring); }
.motion [data-reveal].in { opacity: 1; translate: 0 0; }
.motion [data-reveal="2"] { transition-delay: 90ms, 90ms, 0ms, 0ms; }
.motion [data-reveal="3"] { transition-delay: 180ms, 180ms, 0ms, 0ms; }

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