.monsterfun-home {
  --paper: #fff8e8;
}

.monsterfun-home .hero {
  min-height: 94vh;
  background:
    radial-gradient(circle at 88% 76%, rgba(114, 209, 208, .18) 0 160px, transparent 162px),
    radial-gradient(circle at 10% 86%, rgba(168, 204, 69, .18) 0 150px, transparent 152px),
    linear-gradient(145deg, #fff4cc 0%, #f4f9df 50%, #edfafa 100%);
}

.monsterfun-home .hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -2;
  height: min(34vh, 300px);
  background:
    radial-gradient(circle at 50% -14%, rgba(255, 255, 255, .42) 0 170px, transparent 172px),
    repeating-conic-gradient(from -18deg at 50% -12%, rgba(136, 64, 155, .74) 0 10deg, rgba(255, 248, 232, .94) 10deg 20deg, rgba(168, 204, 69, .72) 20deg 30deg, rgba(255, 248, 232, .94) 30deg 40deg),
    linear-gradient(180deg, rgba(255, 255, 255, .18), transparent);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 92% 76%, 84% 62%, 76% 76%, 68% 62%, 60% 76%, 52% 62%, 44% 76%, 36% 62%, 28% 76%, 20% 62%, 12% 76%, 4% 62%, 0 70%);
  opacity: .62;
  filter: drop-shadow(0 18px 28px rgba(36, 22, 45, .12));
  transform-origin: top center;
  animation: tent-breathe 7s ease-in-out infinite, tent-color-shift 12s ease-in-out infinite;
}

.monsterfun-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: min(30vh, 270px);
  z-index: -1;
  width: 100%;
  height: 62px;
  border-radius: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 50%, var(--coral) 0 13px, transparent 14px),
    radial-gradient(circle at 18% 50%, var(--sun) 0 13px, transparent 14px),
    radial-gradient(circle at 28% 50%, var(--lime) 0 13px, transparent 14px),
    radial-gradient(circle at 38% 50%, var(--sky) 0 13px, transparent 14px),
    radial-gradient(circle at 48% 50%, var(--violet) 0 13px, transparent 14px),
    radial-gradient(circle at 58% 50%, var(--coral) 0 13px, transparent 14px),
    radial-gradient(circle at 68% 50%, var(--sun) 0 13px, transparent 14px),
    radial-gradient(circle at 78% 50%, var(--lime) 0 13px, transparent 14px),
    radial-gradient(circle at 88% 50%, var(--sky) 0 13px, transparent 14px),
    linear-gradient(180deg, rgba(136, 64, 155, .15) 0 3px, transparent 4px);
  opacity: .72;
  filter: drop-shadow(0 10px 14px rgba(36, 22, 45, .11));
  animation: bunting-sway 4.8s ease-in-out infinite, bunting-run 11s linear infinite;
}

.monsterfun-home .hero-grid::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 18%;
  z-index: -1;
  width: 230px;
  height: 150px;
  border-radius: 999px;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 48%, rgba(255, 255, 255, .9) 0 17px, transparent 18px),
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .76) 0 12px, transparent 13px),
    radial-gradient(circle at 76% 52%, rgba(255, 255, 255, .7) 0 15px, transparent 16px),
    linear-gradient(135deg, rgba(114, 209, 208, .24), rgba(168, 204, 69, .2));
  animation: soft-pop 5.2s ease-in-out infinite;
}

.monsterfun-home .stage-card {
  border-width: 8px;
  border-color: rgba(255, 255, 255, .86);
  border-radius: 30px;
  box-shadow: 0 28px 72px rgba(36, 22, 45, .18);
}

.monsterfun-home .stage-card.primary {
  width: 68%;
  height: 76%;
  right: 0;
  top: 4%;
  border-radius: 190px 190px 34px 34px;
  transform: rotateY(-8deg) rotateX(3deg) translateZ(70px);
}

.monsterfun-home .stage-card.side {
  width: 44%;
  height: 38%;
  left: 6%;
  bottom: 5%;
  border-radius: 34px 34px 34px 90px;
  transform: rotateY(12deg) rotateZ(-2deg) translateZ(120px);
}

.monsterfun-home .stage-card.mini {
  display: none;
}

.monsterfun-home .stats-strip {
  display: none;
}

.monsterfun-home .hero {
  min-height: 104vh;
  padding-bottom: 92px;
}

.monsterfun-home .hero-stage {
  min-height: 680px;
  overflow: visible;
}

.monsterfun-home .stage-card.primary {
  height: 68%;
  top: 8%;
}

.monsterfun-home .stage-card.side {
  height: 34%;
  bottom: 9%;
}

.monsterfun-home .hero-stage::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 2%;
  top: 0;
  bottom: 2%;
  z-index: -2;
  border-radius: 210px 210px 42px 42px;
  background:
    radial-gradient(ellipse at 50% 100%, transparent 0 44%, rgba(168, 204, 69, .16) 45% 47%, transparent 48%),
    linear-gradient(180deg, rgba(255, 248, 232, .82), rgba(223, 245, 210, .42));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55);
}

.monsterfun-home .section.dark {
  background:
    radial-gradient(circle at 12% 22%, rgba(246, 200, 95, .28) 0 90px, transparent 92px),
    radial-gradient(circle at 86% 18%, rgba(114, 209, 208, .18) 0 120px, transparent 122px),
    linear-gradient(180deg, #fff8e8, #effaf6);
}

.monsterfun-home .section.dark::after {
  content: "";
  position: absolute;
  inset: 12% -7% auto auto;
  width: min(720px, 54vw);
  height: min(520px, 44vw);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 16% 100%, transparent 0 72px, rgba(136, 64, 155, .16) 73px 77px, transparent 78px),
    radial-gradient(ellipse at 42% 100%, transparent 0 94px, rgba(168, 204, 69, .2) 95px 99px, transparent 100px),
    radial-gradient(ellipse at 70% 100%, transparent 0 82px, rgba(114, 209, 208, .18) 83px 87px, transparent 88px);
  opacity: .72;
}

@keyframes tent-breathe {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.025); }
}

@keyframes bunting-sway {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@keyframes tent-color-shift {
  0%,
  100% {
    filter: drop-shadow(0 18px 28px rgba(36, 22, 45, .12)) saturate(1);
  }

  50% {
    filter: drop-shadow(0 22px 34px rgba(36, 22, 45, .15)) saturate(1.12);
  }
}

@keyframes bunting-run {
  to {
    background-position:
      9% 50%,
      19% 50%,
      29% 50%,
      39% 50%,
      49% 50%,
      59% 50%,
      69% 50%,
      79% 50%,
      89% 50%,
      32px 0;
  }
}

@media (max-width: 760px) {
  .monsterfun-home .hero {
    min-height: 100svh;
    padding-top: 94px;
    overflow: hidden;
    background:
      radial-gradient(circle at 92% 38%, rgba(168, 204, 69, .2) 0 110px, transparent 112px),
      radial-gradient(circle at 18% 90%, rgba(114, 209, 208, .18) 0 128px, transparent 130px),
      linear-gradient(160deg, #fff4cc 0%, #f5f9df 46%, #edfafa 100%);
  }

  .monsterfun-home .hero::before {
    height: 225px;
    clip-path: polygon(0 0, 100% 0, 100% 63%, 90% 78%, 80% 63%, 70% 78%, 60% 63%, 50% 78%, 40% 63%, 30% 78%, 20% 63%, 10% 78%, 0 64%);
    opacity: .62;
  }

  .monsterfun-home .hero::after {
    top: 196px;
    height: 44px;
    background:
      radial-gradient(circle at 10% 50%, var(--coral) 0 9px, transparent 10px),
      radial-gradient(circle at 24% 50%, var(--sun) 0 9px, transparent 10px),
      radial-gradient(circle at 38% 50%, var(--lime) 0 9px, transparent 10px),
      radial-gradient(circle at 52% 50%, var(--sky) 0 9px, transparent 10px),
      radial-gradient(circle at 66% 50%, var(--violet) 0 9px, transparent 10px),
      radial-gradient(circle at 80% 50%, var(--coral) 0 9px, transparent 10px),
      radial-gradient(circle at 94% 50%, var(--sun) 0 9px, transparent 10px),
      linear-gradient(180deg, rgba(136, 64, 155, .14) 0 2px, transparent 3px);
  }

  .monsterfun-home .hero-grid {
    display: block;
    min-height: calc(100svh - 122px);
  }

  .monsterfun-home .hero-grid > .reveal:first-child {
    position: relative;
    z-index: 5;
  }

  .monsterfun-home .eyebrow {
    font-size: .76rem;
    background: rgba(255, 255, 255, .88);
  }

  .monsterfun-home .hero h1 {
    max-width: 7.6ch;
    margin: 14px 0 12px;
    font-size: clamp(2.34rem, 13vw, 3.18rem);
    line-height: .92;
    text-shadow: 0 5px 0 rgba(255, 255, 255, .68);
  }

  .monsterfun-home .hero-copy {
    max-width: 24ch;
    margin-bottom: 16px;
    color: #312b3d;
    font-size: .96rem;
  }

  .monsterfun-home .cta-row {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    max-width: 100%;
    margin-top: 8px;
  }

  .monsterfun-home .btn {
    min-height: 46px;
    padding-inline: 12px;
    font-size: .9rem;
  }

  .monsterfun-home .btn.secondary {
    background: rgba(255, 255, 255, .86);
  }

  .monsterfun-home .hero-stage {
    position: absolute;
    right: -34px;
    top: 158px;
    z-index: 2;
    width: 192px;
    min-height: 270px;
    margin-top: 0;
    overflow: visible;
    animation: stage-arrive .72s cubic-bezier(.2, .72, .18, 1) .12s both;
  }

  .monsterfun-home .hero-stage::before {
    inset: 5% 2% 2% 6%;
    border-radius: 999px;
    background:
      radial-gradient(circle at 14% 30%, rgba(255, 255, 255, .82) 0 14px, transparent 15px),
      radial-gradient(circle at 72% 72%, rgba(255, 255, 255, .68) 0 18px, transparent 19px),
      linear-gradient(135deg, rgba(246, 200, 95, .34), rgba(114, 209, 208, .18));
    box-shadow: 0 18px 50px rgba(23, 20, 33, .08);
  }

  .monsterfun-home .stage-card.primary {
    width: 100%;
    height: 68%;
    right: 0;
    top: 4%;
    border-radius: 50%;
    transform: rotateY(-8deg) rotateZ(5deg) translateZ(46px);
  }

  .monsterfun-home .stage-card.side {
    width: 66%;
    height: 34%;
    left: -14px;
    bottom: 14%;
    border-radius: 32px;
    transform: rotateY(8deg) rotateZ(-7deg) translateZ(80px);
  }

  .monsterfun-home .stage-card.mini {
    display: none;
  }

  .monsterfun-home .stats-strip {
    display: none;
  }

  .monsterfun-home .hero-grid::after {
    width: 86px;
    height: 86px;
    right: 8%;
    top: 49%;
    opacity: .78;
  }

  .monsterfun-home .whatsapp-float {
    top: auto;
    right: 14px;
    bottom: 14px;
  }
}
