.sparco-motion-ready .sparco-reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--sparco-delay, 0ms);
  will-change: opacity, transform;
}

.sparco-motion-ready .sparco-reveal.sparco-in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.sparco-motion-ready .sparco-hero-media.sparco-in-view img {
  animation: sparco-product-float 5.2s ease-in-out 900ms infinite;
}

.sparco-motion-ready .sparco-hero::before {
  animation: sparco-orbit 11s ease-in-out infinite alternate;
}

.sparco-hero-bubbles {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.sparco-hero-bubbles span {
  position: absolute;
  bottom: -10%;
  left: var(--sparco-bubble-left);
  width: var(--sparco-bubble-size);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 214, 188, 0.55);
  border-radius: 50%;
  box-shadow:
    inset 2px 2px 5px rgba(255, 255, 255, 0.34),
    0 0 18px rgba(239, 107, 46, 0.2);
  opacity: 0;
  animation: sparco-bubble-rise var(--sparco-bubble-duration) ease-in infinite;
  animation-delay: var(--sparco-bubble-delay);
}

.sparco-kv-ready .sparco-hero h1 span {
  display: block;
  animation: sparco-kv-title-line 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sparco-kv-ready .sparco-hero h1 span:nth-child(2) {
  animation-delay: 130ms;
}

.sparco-kv-ready .sparco-hero h1 span:nth-child(3) {
  animation-delay: 260ms;
}

.sparco-button-sheen {
  position: absolute;
  z-index: 1;
  top: -55%;
  left: -42%;
  width: 24%;
  height: 220%;
  background: rgba(255, 255, 255, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: skewX(-18deg);
}

.sparco-motion-ready .sparco-button-sheen {
  animation: sparco-button-shine 4.8s ease-in-out 1.8s infinite;
}

.sparco-pwa-prompt {
  position: fixed;
  z-index: 999999;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(390px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(23, 13, 9, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  color: #fff;
  font-family: inherit;
  backdrop-filter: blur(16px);
  animation: sparco-pwa-enter 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sparco-pwa-prompt[hidden] {
  display: none;
}

.sparco-pwa-prompt.is-page-scrolled {
  animation: none;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -24px, 0) scale(0.96);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.sparco-pwa-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

.sparco-pwa-copy {
  min-width: 0;
}

.sparco-pwa-copy strong,
.sparco-pwa-copy span {
  display: block;
}

.sparco-pwa-copy strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.sparco-pwa-copy span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.35;
}

.sparco-pwa-action {
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: #d52a1e;
  color: #fff;
  cursor: pointer;
  font: 800 12px/1 inherit;
}

.sparco-pwa-close {
  position: absolute;
  top: -9px;
  right: -7px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #2b1710;
  color: #fff;
  cursor: pointer;
  font: 700 17px/1 system-ui;
  place-items: center;
}

.sparco-pwa-action:focus-visible,
.sparco-pwa-close:focus-visible,
.sparco-back-to-top:focus-visible {
  outline: 3px solid #ff9b64;
  outline-offset: 3px;
}

.sparco-back-to-top {
  position: fixed;
  z-index: 999998;
  right: 22px;
  bottom: max(22px, env(safe-area-inset-bottom));
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(23, 13, 9, 0.92);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  color: #fff;
  cursor: pointer;
  font: 800 24px/1 system-ui;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  place-items: center;
}

.sparco-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes sparco-product-float {
  0%,
  100% {
    transform:
      translate3d(
        var(--sparco-parallax-x, 0px),
        calc(var(--sparco-parallax-y, 0px) + var(--sparco-scroll-lift, 0px)),
        0
      )
      rotate(var(--sparco-parallax-r, 0deg))
      scale(var(--sparco-scroll-scale, 1));
  }

  50% {
    transform:
      translate3d(
        var(--sparco-parallax-x, 0px),
        calc(
          var(--sparco-parallax-y, 0px) + var(--sparco-scroll-lift, 0px) - 14px
        ),
        0
      )
      rotate(calc(var(--sparco-parallax-r, 0deg) + 0.7deg))
      scale(var(--sparco-scroll-scale, 1));
  }
}

@keyframes sparco-orbit {
  from {
    transform: translate3d(-12px, 6px, 0) scale(0.95);
  }

  to {
    transform: translate3d(18px, -14px, 0) scale(1.08);
  }
}

@keyframes sparco-bubble-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.54);
  }

  12% {
    opacity: 0.72;
  }

  72% {
    opacity: 0.42;
  }

  100% {
    opacity: 0;
    transform: translate3d(18px, -112vh, 0) scale(1.22);
  }
}

@keyframes sparco-kv-title-line {
  0% {
    opacity: 0;
    filter: blur(12px);
    letter-spacing: -0.11em;
    transform: translate3d(-44px, 34px, 0) rotate(-2deg) scale(0.92);
  }

  64% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(4px, -2px, 0) rotate(0.2deg) scale(1.015);
  }

  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
  }
}

@keyframes sparco-button-shine {
  0%,
  68% {
    left: -42%;
    opacity: 0;
  }

  72% {
    opacity: 1;
  }

  90% {
    left: 124%;
    opacity: 1;
  }

  94%,
  100% {
    left: 124%;
    opacity: 0;
  }
}

@keyframes sparco-pwa-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes sparco-mobile-product-impact {
  0% {
    opacity: 0;
    filter: blur(12px) saturate(0.82);
    transform: translate3d(0, 110px, 0) scale(0.86);
  }

  34% {
    opacity: 1;
    filter: blur(1px) saturate(1.06);
  }

  62% {
    filter: blur(0) saturate(1.04);
    transform: translate3d(0, -10px, 0) scale(1.02);
  }

  82% {
    transform: translate3d(0, 2px, 0) scale(0.998);
  }

  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes sparco-mobile-flare {
  0% {
    opacity: 0;
    transform: translate3d(0, 80px, 0) scale(0.3);
  }

  38% {
    opacity: 0.62;
    transform: translate3d(0, -8px, 0) scale(1.25);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes sparco-mobile-cta-impact {
  0%,
  36% {
    box-shadow: 0 14px 34px rgba(213, 42, 30, 0.28);
    transform: scale(1);
  }

  52% {
    box-shadow:
      0 0 0 6px rgba(213, 42, 30, 0.1),
      0 20px 46px rgba(213, 42, 30, 0.44);
    transform: scale(1.018);
  }

  68%,
  100% {
    box-shadow: 0 14px 34px rgba(213, 42, 30, 0.28);
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .sparco-motion-ready .sparco-reveal {
    transform: translate3d(0, 24px, 0) scale(0.99);
    transition-duration: 520ms, 620ms;
  }

  .sparco-pwa-prompt {
    z-index: 90;
    right: 16px;
    top: calc(max(16px, env(safe-area-inset-top)) + 72px);
    bottom: auto;
  }

  .sparco-back-to-top {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .sparco-motion-ready.sparco-impact-ready .sparco-hero-media.sparco-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation: sparco-mobile-product-impact 3.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .sparco-hero-bubbles span {
    box-shadow:
      inset 2px 2px 5px rgba(255, 255, 255, 0.42),
      0 0 22px rgba(239, 107, 46, 0.28);
  }

  .sparco-impact-ready .sparco-hero::after {
    animation: sparco-mobile-flare 3.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .sparco-impact-ready .et_pb_button.sparco-primary-button,
  .sparco-impact-ready .sparco-primary-button .et_pb_button {
    animation: sparco-mobile-cta-impact 3.4s ease-out 320ms both;
  }
}

@media (max-width: 420px) {
  .sparco-pwa-prompt {
    right: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100vw - 24px);
    padding: 11px 12px;
    border-radius: 16px;
  }

  .sparco-pwa-icon {
    display: none;
  }

  .sparco-pwa-action {
    min-height: 40px;
    padding: 0 13px;
  }
}

@media (min-width: 981px) {
  .sparco-hero-bubbles span:nth-child(even) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sparco-hero-bubbles {
    display: none;
  }

  .sparco-motion-ready .sparco-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sparco-motion-ready .sparco-hero-media.sparco-in-view img,
  .sparco-motion-ready.sparco-impact-ready .sparco-hero-media.sparco-reveal,
  .sparco-kv-ready .sparco-hero h1 span,
  .sparco-impact-ready .sparco-hero::after,
  .sparco-impact-ready .et_pb_button.sparco-primary-button,
  .sparco-impact-ready .sparco-primary-button .et_pb_button,
  .sparco-motion-ready .sparco-hero::before,
  .sparco-button-sheen,
  .sparco-pwa-prompt,
  .sparco-back-to-top {
    animation: none;
    transition: none;
  }

  .et_pb_button.sparco-primary-button,
  .sparco-primary-button .et_pb_button {
    transition: none !important;
  }
}
