/* Home mascot + koopbare skins */
.mascot-hero {
  position: relative;
  overflow: hidden;
  min-height: 205px;
  margin: 10px 0 24px;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: 1fr 170px;
  align-items: center;
  gap: 12px;
  border-radius: 30px;
  color: white;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.22), transparent 26%),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
  box-shadow: var(--shadow);
}
.mascot-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -72px;
  bottom: -112px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.mascot-copy { position: relative; z-index: 2; min-width: 0; }
.mascot-kicker {
  margin: 0 0 5px;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mascot-copy h2 {
  margin: 0;
  color: white;
  font-size: clamp(30px, 8vw, 46px);
  line-height: .98;
  letter-spacing: -.05em;
}
.mascot-copy > p:not(.mascot-kicker) {
  max-width: 270px;
  margin: 10px 0 16px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.45;
}
.mascot-shop-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 13px;
  color: white;
  background: rgba(255,255,255,.12);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(8px);
}
.mascot-shop-button:active { transform: scale(.975); }
.mascot-stage {
  position: relative;
  z-index: 2;
  height: 155px;
  display: grid;
  place-items: center;
}

.mascot-character {
  --skin-main: #63a5ff;
  --skin-dark: #0b4fc1;
  --skin-light: #eaf3ff;
  position: relative;
  width: 128px;
  height: 145px;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.16));
  animation: mascot-float 3.4s ease-in-out infinite;
}
.mascot-head {
  position: absolute;
  z-index: 4;
  width: 98px;
  height: 90px;
  left: 15px;
  top: 12px;
  border-radius: 43% 43% 46% 46%;
  background: linear-gradient(155deg, var(--skin-light) 0 9%, var(--skin-main) 10% 100%);
  box-shadow: inset 0 -8px 0 rgba(0,0,0,.06);
}
.mascot-ear {
  position: absolute;
  z-index: 2;
  width: 34px;
  height: 44px;
  top: 18px;
  border-radius: 60% 60% 42% 42%;
  background: var(--skin-main);
}
.mascot-ear-left { left: 4px; transform: rotate(-22deg); }
.mascot-ear-right { right: 4px; transform: rotate(22deg); }
.mascot-eye {
  position: absolute;
  top: 33px;
  width: 14px;
  height: 18px;
  border-radius: 50%;
  background: #071a37;
  box-shadow: inset 4px 3px 0 0 white;
}
.mascot-eye-left { left: 24px; }
.mascot-eye-right { right: 24px; }
.mascot-mouth {
  position: absolute;
  width: 24px;
  height: 11px;
  left: 37px;
  top: 61px;
  border-bottom: 3px solid #071a37;
  border-radius: 0 0 50% 50%;
}
.mascot-body {
  position: absolute;
  z-index: 3;
  width: 82px;
  height: 62px;
  left: 23px;
  bottom: 4px;
  border-radius: 38px 38px 27px 27px;
  background: linear-gradient(160deg, var(--skin-main), var(--skin-dark));
}
.mascot-badge {
  position: absolute;
  z-index: 5;
  left: 49px;
  bottom: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.62);
  border-radius: 10px;
  color: white;
  background: rgba(0,0,0,.13);
  font-size: 15px;
  font-weight: 950;
}
.mascot-cap,
.mascot-visor,
.mascot-ring { display: none; }

/* Skater */
.skin-cap { --skin-main: #50a0ff; --skin-dark: #193a72; --skin-light: #f3f8ff; }
.skin-cap .mascot-cap {
  position: absolute;
  z-index: 8;
  display: block;
  width: 76px;
  height: 28px;
  left: 9px;
  top: -8px;
  border-radius: 38px 38px 9px 10px;
  background: #17223b;
  transform: rotate(-5deg);
}
.skin-cap .mascot-cap::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 10px;
  right: -22px;
  bottom: 1px;
  border-radius: 8px;
  background: #17223b;
  transform: rotate(5deg);
}
.skin-cap .mascot-badge { background: #17223b; }

/* Astronaut */
.skin-space { --skin-main: #f6f9ff; --skin-dark: #a7bce0; --skin-light: #ffffff; }
.skin-space .mascot-head { border: 5px solid #d9e6fa; }
.skin-space .mascot-visor {
  position: absolute;
  z-index: 7;
  display: block;
  width: 74px;
  height: 50px;
  left: 7px;
  top: 17px;
  border: 3px solid rgba(255,255,255,.78);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(18,61,111,.25), rgba(9,34,72,.52));
  box-shadow: inset 8px 8px 16px rgba(255,255,255,.2);
}
.skin-space .mascot-body { border: 4px solid #d9e6fa; }
.skin-space .mascot-badge { color: #173b68; background: #e7f1ff; border-color: #9bb7db; }
.skin-space .mascot-eye { z-index: 9; }
.skin-space .mascot-mouth { z-index: 9; }

/* Neon */
.skin-neon { --skin-main: #711cff; --skin-dark: #19134e; --skin-light: #d8ffff; filter: drop-shadow(0 0 16px rgba(78,245,255,.45)) drop-shadow(0 18px 18px rgba(0,0,0,.2)); }
.skin-neon .mascot-head,
.skin-neon .mascot-body { box-shadow: inset 0 -8px 0 rgba(0,0,0,.12), 0 0 18px rgba(68,238,255,.35); }
.skin-neon .mascot-ring {
  position: absolute;
  z-index: 1;
  display: block;
  width: 150px;
  height: 48px;
  left: -11px;
  top: 66px;
  border: 4px solid #5df5ff;
  border-radius: 50%;
  opacity: .78;
  transform: rotate(-12deg);
  box-shadow: 0 0 14px #5df5ff;
}
.skin-neon .mascot-badge { background: #19134e; box-shadow: 0 0 12px #5df5ff; }

.exercise-heading { padding-top: 0 !important; }

/* Skin cards in de bestaande shop */
.shop-item-card.skin-shop-card .shop-item-preview::after { content: "W"; display: grid; place-items: center; color: white; font-size: 24px; font-weight: 950; transform: none; }
.shop-preview-skin-classic { background: linear-gradient(145deg, #cfe2ff, #2875ff); }
.shop-preview-skin-cap { background: linear-gradient(145deg, #75b7ff, #17223b 76%); }
.shop-preview-skin-space { background: radial-gradient(circle at 78% 18%, white 0 2px, transparent 3px), radial-gradient(circle at 25% 35%, white 0 1px, transparent 2px), linear-gradient(145deg, #5d78a6, #111c36 76%); }
.shop-preview-skin-neon { background: radial-gradient(circle at 50% 50%, #5df5ff 0 5%, transparent 6%), linear-gradient(145deg, #8a2dff, #111037 72%); }
.shop-item-card.skin-shop-card.is-skin-active { border-color: rgba(11,92,255,.42); }
.shop-item-card.skin-shop-card.is-skin-active .shop-action-button { color: var(--success); background: var(--success-bg); }

html[data-theme="night"] .mascot-hero { background: radial-gradient(circle at 82% 18%, rgba(126,169,255,.18), transparent 26%), linear-gradient(135deg, #07111f, #16335d); }
html[data-theme="ocean"] .mascot-hero { background: radial-gradient(circle at 82% 18%, rgba(255,255,255,.18), transparent 26%), linear-gradient(135deg, #063e42, #078f95); }

@keyframes mascot-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}

@media (max-width: 560px) {
  .mascot-hero { min-height: 184px; grid-template-columns: 1fr 126px; padding: 22px 20px; border-radius: 26px; }
  .mascot-stage { height: 136px; transform: scale(.88); transform-origin: center; }
  .mascot-copy h2 { font-size: 33px; }
  .mascot-copy > p:not(.mascot-kicker) { margin: 8px 0 13px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-character { animation: none; }
}
