:root {
  --pop-pink: #ffb5c2;
  --pop-blue: #add9ff;
  --pop-purple: #ccb8ff;
  --pop-mint: #b2ffe0;
  --pop-yellow: #fff2b2;
  --pop-peach: #ffd9ba;
  --pop-lavender: #e6d1ff;

  --rarity-uncommon: #4cc766;
  --rarity-rare: #4c8fff;
  --rarity-super: #a659f2;
  --rarity-ultra: #ffc733;

  --chip-pink: #ff6699;
  --chip-blue: #4c99ff;
  --chip-gold: #ffd600;

  --text-strong: #1f2240;
  --text-base: #2d315a;
  --text-soft: #50547a;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --container-width: 1160px;
  --section-space: clamp(3.5rem, 6vw, 6rem);
  --press-depth: 6px;
  --transition-fast: 120ms ease-out;
  --transition-medium: 220ms ease;
  --transition-slow: 400ms ease;
  --bounce-ease: cubic-bezier(0.34, 1.56, 0.64, 1);

  --glow-uncommon: rgba(76, 199, 102, 0.35);
  --glow-rare: rgba(76, 143, 255, 0.4);
  --glow-super: rgba(166, 89, 242, 0.45);
  --glow-ultra: rgba(255, 199, 51, 0.5);
  --sparkle-color: rgba(255, 255, 255, 0.85);
}

/* ── Keyframes ── */

@keyframes pp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pp-float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pp-capsule-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes pp-pulse-glow {
  0%, 100% { box-shadow: 0 var(--press-depth) 0 #d98ab0, 0 14px 24px rgba(93, 39, 86, 0.22), 0 0 0 0 rgba(255, 181, 194, 0); }
  50% { box-shadow: 0 var(--press-depth) 0 #d98ab0, 0 14px 24px rgba(93, 39, 86, 0.22), 0 0 18px 4px rgba(255, 181, 194, 0.45); }
}

@keyframes pp-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pp-border-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes pp-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

@keyframes pp-reveal-up {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes pp-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pp-particle-rise {
  0% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-80px) scale(0); }
}

@keyframes pp-count-pop {
  0% { opacity: 0; transform: scale(0.8); }
  60% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pp-shine-sweep {
  0% { left: -75%; }
  100% { left: 125%; }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text-base);
  background:
    radial-gradient(circle at 10% -8%, rgba(255, 181, 194, 0.85), rgba(255, 181, 194, 0) 44%),
    radial-gradient(circle at 90% -12%, rgba(173, 217, 255, 0.7), rgba(173, 217, 255, 0) 40%),
    linear-gradient(180deg, #fff9fd 0%, #fffaf4 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #203f9a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: "Fredoka", "Nunito", sans-serif;
  color: var(--text-strong);
  letter-spacing: 0.01em;
  margin-top: 0;
}

p {
  margin: 0;
  line-height: 1.6;
}

.mono {
  font-family: "Space Mono", "SF Mono", Menlo, Consolas, monospace;
}

.container {
  width: min(var(--container-width), calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  padding-top: 0.85rem;
}

.header-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  backdrop-filter: blur(9px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-strong);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(24, 31, 64, 0.2);
  transition: transform var(--transition-medium);
}

.brand:hover img {
  transform: rotate(15deg) scale(1.1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-menu a {
  padding: 0.52rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--text-strong);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.56);
}

.mobile-nav-toggle {
  display: none;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.92rem;
  background: linear-gradient(180deg, #fff 0%, #f7e7ff 100%);
  color: var(--text-strong);
  font: inherit;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(37, 40, 89, 0.16);
  cursor: pointer;
}

.section {
  padding-block: var(--section-space);
}

.section-alt {
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 235, 190, 0.65), rgba(255, 235, 190, 0) 44%),
    radial-gradient(circle at 88% 30%, rgba(198, 241, 255, 0.55), rgba(198, 241, 255, 0) 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.22));
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2,
.section-heading h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
}

.section-heading p {
  color: var(--text-soft);
  max-width: 66ch;
}

.section-heading h2 {
  background: linear-gradient(135deg, #2d1b69 0%, #3a5bc7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  position: relative;
}

.section::before {
  content: "• • •";
  display: block;
  text-align: center;
  color: rgba(204, 184, 255, 0.5);
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  padding-bottom: 1rem;
  pointer-events: none;
}

.hero + .section::before {
  content: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 243, 252, 0.86));
  border: 1px solid rgba(40, 44, 86, 0.1);
  color: #4d2f8c;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  text-shadow: 0 1px 2px rgba(77, 47, 140, 0.08);
}

.hero {
  position: relative;
  overflow: clip;
  border-radius: 0 0 clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  background: url("../images/bg_home_start.jpg") center 28% / cover no-repeat;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.8rem, 6vw, 5.2rem);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sparkle-color);
  pointer-events: none;
  z-index: 2;
  animation: pp-particle-rise 4s ease-out infinite;
}

.hero::before {
  left: 18%;
  bottom: 20%;
  box-shadow: 0 0 8px 2px rgba(255, 181, 194, 0.6);
}

.hero::after {
  right: 22%;
  bottom: 30%;
  box-shadow: 0 0 8px 2px rgba(173, 217, 255, 0.6);
  animation-delay: 1.8s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, rgba(18, 18, 52, 0.2) 0%, rgba(18, 18, 52, 0.58) 100%);
  background-size: 200% 200%;
  animation: pp-gradient-shift 12s ease infinite;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.hero-copy,
.hero-visual {
  color: #f9f7ff;
}

.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 0.65rem;
  text-wrap: balance;
  background: linear-gradient(135deg, #ffffff 0%, #ffd6e0 45%, #e0cfff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.93);
  text-shadow: 0 1px 4px rgba(16, 14, 62, 0.25);
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn-primary {
  animation: pp-pulse-glow 2.5s ease infinite;
}

.hero-stats {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0.62rem;
}

.hero-stats li {
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  font-family: "Space Mono", monospace;
}

.js-enabled .hero-stats li strong {
  opacity: 0;
  transform: scale(0.8);
}

.js-enabled .hero-stats li strong.is-counted {
  animation: pp-count-pop 400ms var(--bounce-ease) forwards;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  padding: 1rem;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.25) 45%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.25) 55%, transparent 60%);
  background-size: 200% 100%;
  animation: pp-shimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.hero-logo {
  width: min(90%, 320px);
  margin-inline: auto;
  filter: drop-shadow(0 20px 28px rgba(16, 14, 62, 0.38));
  animation: pp-float-slow 6s ease-in-out infinite;
}

.hero-visual-copy {
  margin-top: 0.6rem;
  text-align: center;
  color: #2b2f57;
  font-weight: 700;
}

.capsule-strip {
  margin-top: 0.95rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.capsule-strip img {
  width: clamp(56px, 8vw, 74px);
  filter: drop-shadow(0 10px 14px rgba(24, 23, 75, 0.22));
  animation: pp-capsule-bob 3s ease-in-out infinite;
}

.capsule-strip img:nth-child(1) { animation-delay: 0s; }
.capsule-strip img:nth-child(2) { animation-delay: 0.3s; }
.capsule-strip img:nth-child(3) { animation-delay: 0.6s; }
.capsule-strip img:nth-child(4) { animation-delay: 0.9s; }
.capsule-strip img:nth-child(5) { animation-delay: 1.2s; }

.steps-grid,
.minigame-grid,
.toy-grid {
  display: grid;
  gap: 1rem;
}

.step-card,
.toy-card,
.final-cta-shell,
.legal-content {
  padding: 1rem;
}

.step-card {
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 0 rgba(162, 146, 204, 0.42),
    0 26px 34px rgba(42, 45, 84, 0.22);
}

.step-card img {
  width: 70px;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 0.75rem;
  animation: pp-float 4s ease-in-out infinite;
}

.step-card:nth-child(1) img { animation-delay: 0s; }
.step-card:nth-child(2) img { animation-delay: 0.4s; }
.step-card:nth-child(3) img { animation-delay: 0.8s; }

.step-card h3,
.toy-card h3,
.minigame-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.step-card p,
.toy-card p,
.minigame-card p {
  color: var(--text-soft);
}

.minigame-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 1rem;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.minigame-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 12px 0 rgba(162, 146, 204, 0.42),
    0 28px 36px rgba(42, 45, 84, 0.22);
}

.minigame-card:hover::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.92));
}

.minigame-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.29;
}

.minigame-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.96));
}

.minigame-card > * {
  position: relative;
  z-index: 1;
}

.minigame-card--blitz::before {
  background-image: url("../images/bg_bonus_treasure_shelf.jpg");
}

.minigame-card--spin::before {
  background-image: url("../images/bg_bonus_lucky_crank.jpg");
}

.minigame-card--storm::before {
  background-image: url("../images/bg_bonus_capsule_drop.jpg");
}

.minigame-logo {
  width: min(170px, 48%);
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 12px 12px rgba(40, 35, 92, 0.18));
  animation: pp-float-slow 5s ease-in-out infinite;
}

.minigame-card:nth-child(1) .minigame-logo { animation-delay: 0s; }
.minigame-card:nth-child(2) .minigame-logo { animation-delay: 0.5s; }
.minigame-card:nth-child(3) .minigame-logo { animation-delay: 1s; }

.toy-grid {
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}

.toy-card {
  text-align: center;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.toy-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 0 rgba(162, 146, 204, 0.42),
    0 28px 36px rgba(42, 45, 84, 0.22);
}

/* Rarity: Uncommon */
.toy-card[data-rarity="uncommon"] {
  border-color: rgba(76, 199, 102, 0.25);
}

.toy-card[data-rarity="uncommon"]:hover {
  box-shadow:
    0 12px 0 rgba(162, 146, 204, 0.42),
    0 28px 36px rgba(42, 45, 84, 0.22),
    0 0 12px var(--glow-uncommon);
}

/* Rarity: Rare */
.toy-card[data-rarity="rare"] {
  border-color: rgba(76, 143, 255, 0.3);
  box-shadow:
    0 8px 0 rgba(162, 146, 204, 0.48),
    0 20px 30px rgba(42, 45, 84, 0.18),
    0 0 10px var(--glow-rare);
}

.toy-card[data-rarity="rare"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 12px var(--glow-rare);
  opacity: 0.5;
  animation: pp-border-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

/* Rarity: Super Rare */
.toy-card[data-rarity="super"] {
  border-color: rgba(166, 89, 242, 0.3);
  box-shadow:
    0 8px 0 rgba(162, 146, 204, 0.48),
    0 20px 30px rgba(42, 45, 84, 0.18),
    0 0 12px var(--glow-super);
}

.toy-card[data-rarity="super"]::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sparkle-color);
  box-shadow: 0 0 6px 2px rgba(166, 89, 242, 0.5);
  animation: pp-twinkle 2.5s ease-in-out infinite;
  pointer-events: none;
}

/* Rarity: Ultra Rare */
.toy-card[data-rarity="ultra"] {
  border-color: rgba(255, 199, 51, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 252, 240, 0.96) 0%, rgba(255, 248, 230, 0.94) 55%, rgba(255, 250, 235, 0.94) 100%);
  box-shadow:
    0 8px 0 rgba(204, 170, 80, 0.48),
    0 20px 30px rgba(42, 45, 84, 0.18),
    0 0 16px var(--glow-ultra);
}

.toy-card[data-rarity="ultra"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 215, 80, 0.15) 45%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 215, 80, 0.15) 55%, transparent 65%);
  background-size: 200% 100%;
  animation: pp-shimmer 4s ease-in-out infinite, pp-border-pulse 2s ease-in-out infinite;
  pointer-events: none;
}

.toy-card[data-rarity="ultra"]:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 14px 0 rgba(204, 170, 80, 0.42),
    0 32px 42px rgba(42, 45, 84, 0.24),
    0 0 24px var(--glow-ultra);
}

.toy-card img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  margin-inline: auto;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 11px 12px rgba(20, 25, 58, 0.16));
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

.toy-card:hover img {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 16px 18px rgba(20, 25, 58, 0.24));
}

.toy-card p {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

.rarity,
.category {
  font-size: 0.73rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.48rem;
}

.category {
  background: rgba(37, 43, 79, 0.09);
  color: #31365f;
}

.rarity-common {
  background: rgba(96, 96, 116, 0.12);
  color: #4d5070;
}

.rarity-uncommon {
  background: rgba(76, 199, 102, 0.18);
  color: #237939;
}

.rarity-rare {
  background: rgba(76, 143, 255, 0.2);
  color: #1e4ea8;
}

.rarity-super {
  background: rgba(166, 89, 242, 0.2);
  color: #6c2bb6;
}

.rarity-ultra {
  background: rgba(255, 199, 51, 0.24);
  color: #8a6100;
}

#collection {
  position: relative;
}

#collection::after {
  content: "";
  position: absolute;
  top: 3rem;
  right: 10%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 199, 51, 0.8);
  box-shadow: 0 0 10px 3px rgba(255, 199, 51, 0.4);
  animation: pp-twinkle 3s ease-in-out infinite;
  pointer-events: none;
}

.final-cta {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 222, 169, 0.55), rgba(255, 222, 169, 0) 45%),
    radial-gradient(circle at 86% 84%, rgba(175, 255, 218, 0.5), rgba(175, 255, 218, 0) 40%);
  background-size: 200% 200%;
  animation: pp-gradient-shift 10s ease infinite;
}

.final-cta-shell {
  text-align: center;
  padding: clamp(1.3rem, 4vw, 2.2rem);
}

.final-logo {
  width: min(80%, 280px);
  margin-inline: auto;
  margin-bottom: 0.75rem;
}

.final-cta-shell h2 {
  margin-bottom: 0.4rem;
}

.final-cta-shell p {
  margin-bottom: 1rem;
  color: var(--text-soft);
}

.final-cta-shell .btn-primary {
  animation: pp-pulse-glow 2.5s ease infinite;
}

.site-footer {
  padding: 1.3rem 0 4.7rem;
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  justify-content: space-between;
  color: #4c5074;
  font-size: 0.95rem;
}

.mobile-sticky-cta {
  position: fixed;
  left: 0.85rem;
  right: 0.85rem;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 0.65rem);
  z-index: 85;
  text-align: center;
  animation: pp-pulse-glow 2.5s ease infinite;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: var(--radius-pill);
  padding: 0.78rem 1.18rem;
  border: 0;
  text-decoration: none;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 700;
  color: #1f2348;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  pointer-events: none;
}

.btn:hover {
  text-decoration: none;
  filter: saturate(1.04);
}

.btn:hover::after {
  animation: pp-shine-sweep 600ms ease forwards;
}

.btn:active {
  transform: translateY(4px) scale(0.98);
  filter: saturate(1.12) brightness(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, #fff7fb 0%, #ffdce8 38%, #ffc7da 100%);
  box-shadow: 0 var(--press-depth) 0 #d98ab0, 0 14px 24px rgba(93, 39, 86, 0.22);
}

.btn-secondary {
  background: linear-gradient(180deg, #f4fbff 0%, #d3eeff 38%, #bde4ff 100%);
  box-shadow: 0 var(--press-depth) 0 #7fbce4, 0 14px 24px rgba(41, 79, 112, 0.2);
}

.btn-small {
  padding: 0.56rem 0.88rem;
  font-size: 0.88rem;
}

.can-surface {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 242, 255, 0.92) 55%, rgba(242, 247, 255, 0.92) 100%);
  border: 1px solid rgba(41, 45, 84, 0.11);
  box-shadow:
    0 8px 0 rgba(162, 146, 204, 0.48),
    0 20px 30px rgba(42, 45, 84, 0.18);
}

.can-surface::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  background: radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

.site-footer a,
.footer-shell a {
  font-weight: 700;
}

.legal-page .section-heading {
  margin-bottom: 1rem;
}

.legal-layout {
  max-width: 900px;
}

.legal-content {
  display: grid;
  gap: 1rem;
}

.legal-content section {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 0.9rem;
  border: 1px solid rgba(36, 38, 72, 0.09);
}

.legal-content h2 {
  margin-bottom: 0.3rem;
  font-size: 1.23rem;
}

.legal-nav {
  margin-left: auto;
}

:focus-visible {
  outline: 3px solid #235ce2;
  outline-offset: 3px;
}

.js-enabled [data-animate="reveal"] {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 340ms ease, transform 340ms var(--bounce-ease);
}

.js-enabled [data-animate="reveal"].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered delays for grid children */
.steps-grid [data-animate="reveal"]:nth-child(1) { transition-delay: 0ms; }
.steps-grid [data-animate="reveal"]:nth-child(2) { transition-delay: 80ms; }
.steps-grid [data-animate="reveal"]:nth-child(3) { transition-delay: 160ms; }

.minigame-grid [data-animate="reveal"]:nth-child(1) { transition-delay: 0ms; }
.minigame-grid [data-animate="reveal"]:nth-child(2) { transition-delay: 80ms; }
.minigame-grid [data-animate="reveal"]:nth-child(3) { transition-delay: 160ms; }

.toy-grid [data-animate="reveal"]:nth-child(1) { transition-delay: 0ms; }
.toy-grid [data-animate="reveal"]:nth-child(2) { transition-delay: 60ms; }
.toy-grid [data-animate="reveal"]:nth-child(3) { transition-delay: 120ms; }
.toy-grid [data-animate="reveal"]:nth-child(4) { transition-delay: 180ms; }
.toy-grid [data-animate="reveal"]:nth-child(5) { transition-delay: 240ms; }
.toy-grid [data-animate="reveal"]:nth-child(6) { transition-delay: 300ms; }
.toy-grid [data-animate="reveal"]:nth-child(7) { transition-delay: 360ms; }
.toy-grid [data-animate="reveal"]:nth-child(8) { transition-delay: 420ms; }
.toy-grid [data-animate="reveal"]:nth-child(9) { transition-delay: 480ms; }
.toy-grid [data-animate="reveal"]:nth-child(10) { transition-delay: 540ms; }
.toy-grid [data-animate="reveal"]:nth-child(11) { transition-delay: 600ms; }
.toy-grid [data-animate="reveal"]:nth-child(12) { transition-delay: 660ms; }

@media (max-width: 767px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 1rem;
    right: 1rem;
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    padding: 0.6rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 244, 255, 0.95));
    border: 1px solid rgba(34, 38, 72, 0.11);
    box-shadow: 0 18px 28px rgba(35, 39, 72, 0.2);
  }

  .js-enabled .nav-menu {
    display: none;
  }

  .js-enabled .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    text-align: center;
  }

  .hero {
    border-radius: 0 0 2rem 2rem;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .legal-nav {
    position: static;
    display: flex;
    flex-direction: row;
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .mobile-sticky-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.2fr 0.85fr;
    align-items: center;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .minigame-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (min-width: 1200px) {
  .hero-copy h1 {
    max-width: 16ch;
  }

  .toy-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0ms !important;
  }

  .js-enabled [data-animate="reveal"] {
    opacity: 1;
    transform: none;
  }
}
