/* Festive texture and anchored cracker for the Why Choose section only. */
#why-innovel {
  --why-festive-red-wash: rgba(97, 7, 18, 0.18);
  --why-festive-red-shade: rgba(67, 5, 15, 0.28);
  --why-festive-cracker-glow: rgba(255, 197, 89, 0.5);
  background-color: #830b18;
  background-image:
    linear-gradient(180deg, var(--why-festive-red-wash), var(--why-festive-red-shade)),
    url("assets/image 85.png");
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
}

#why-innovel > .why-festive-cracker {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 62%;
  display: block;
  width: clamp(66px, 9vw, 88px);
  aspect-ratio: 89 / 87;
  background: url("assets/burst-cracker.png") center / contain no-repeat;
  /* Static peak lighting; the burst animates only opacity/transform because
     brightness()/drop-shadow() are paint-only properties. */
  filter: brightness(1.18) drop-shadow(0 0 9px var(--why-festive-cracker-glow));
  opacity: 0.9;
  pointer-events: none;
  transform-origin: center;
  will-change: transform, opacity;
  animation: why-festive-cracker-burst 3.2s ease-in-out infinite;
}

/* Existing content remains the foreground stacking layer. */
#why-innovel > .why-inner {
  position: relative;
  z-index: 1;
}

@keyframes why-festive-cracker-burst {
  0%,
  100% {
    opacity: 0.661;
    transform: scale(0.98);
  }

  46% {
    opacity: 1;
    transform: scale(1.035);
  }

  72% {
    opacity: 0.806;
    transform: scale(1.01);
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  #why-innovel > .why-festive-cracker {
    left: 63%;
    width: clamp(60px, 7.2vw, 76px);
  }
}

@media (max-width: 767px) {
  #why-innovel > .why-festive-cracker {
    top: 10px;
    right: 16px;
    left: auto;
    width: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #why-innovel > .why-festive-cracker {
    animation: none;
  }
}
