.mascot-arch {
  background:
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.7) 0 8%, transparent 28%),
    linear-gradient(155deg, #e5f1ec 0%, #b8d8cf 58%, #8fbdb1 100%);
}

.mascot-arch::before {
  width: 430px;
  height: 430px;
  right: -130px;
  top: -100px;
  background: rgba(255,255,255,.36);
}

.mascot-arch::after {
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: -100px;
  background: rgba(217,120,69,.34);
}

.hero-mascot {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -1.5%;
  width: min(95%, 540px);
  height: 95%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: drop-shadow(0 24px 22px rgba(9,43,59,.22));
  animation: mascot-float 5.5s ease-in-out infinite;
}

.mascot-halo {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 46%;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,.42);
  box-shadow: 0 0 0 22px rgba(255,255,255,.12), 0 0 0 48px rgba(255,255,255,.07);
}

.mascot-sparkle {
  position: absolute;
  z-index: 4;
  color: #d97845;
  text-shadow: 0 0 15px rgba(255,255,255,.9);
  animation: mascot-twinkle 2.2s ease-in-out infinite;
}

/* Mantiene los mensajes del hero por delante de Cosmito para que sean legibles. */
.hero-visual .floating-card {
  z-index: 7;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 42px rgba(9,43,59,.2);
}

.hero-visual .fc-one {
  left: -42px;
  top: 12%;
}

.hero-visual .fc-two {
  right: -28px;
  bottom: 10%;
}
.sparkle-one { right: 11%; top: 19%; font-size: 2.2rem; }
.sparkle-two { left: 12%; top: 39%; font-size: 1.25rem; animation-delay: -1.1s; }

@keyframes mascot-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes mascot-twinkle {
  50% { opacity: .28; transform: scale(.72) rotate(20deg); }
}

@media (max-width: 900px) {
  .hero-mascot { width: min(88%, 470px); height: 96%; }
  .hero-visual .fc-one { left: -6px; }
  .hero-visual .fc-two { right: -4px; }
}

@media (max-width: 600px) {
  .hero-mascot { width: 94%; height: 98%; }
  .sparkle-one { right: 8%; top: 14%; }
  .hero-visual .fc-one { top: 3%; left: 2px; }
  .hero-visual .fc-two { right: 2px; bottom: 4%; }
}

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