.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-pour-intro {
  position: fixed;
  z-index: 2147483646;
  inset: 0;
  overflow: hidden;
  background: #160d09;
  color: #fff;
  pointer-events: none;
  animation: sparco-pour-intro-shell 3.6s ease both;
}

.sparco-pour-intro::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 6, 4, 0.12) 38%, rgba(12, 6, 4, 0.76) 100%),
    radial-gradient(circle at 50% 56%, transparent 22%, rgba(12, 6, 4, 0.18) 100%);
  content: "";
}

.sparco-pour-intro img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 42%;
  animation: sparco-pour-intro-image 3.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.sparco-pour-intro span {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: max(28px, env(safe-area-inset-bottom));
  left: 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  animation: sparco-pour-intro-label 3.6s ease both;
}

.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-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-title-impact {
  0% {
    opacity: 0;
    letter-spacing: -0.09em;
    text-shadow: 0 0 0 rgba(239, 107, 46, 0);
    transform: translate3d(-18px, 0, 0) scale(0.96);
  }

  58% {
    opacity: 1;
    text-shadow: 0 0 26px rgba(239, 107, 46, 0.34);
    transform: translate3d(2px, 0, 0) scale(1.01);
  }

  100% {
    opacity: 1;
    text-shadow: 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);
  }
}

@keyframes sparco-pour-intro-shell {
  0% {
    opacity: 1;
  }

  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes sparco-pour-intro-image {
  0% {
    clip-path: inset(0 0 100% 0);
    filter: brightness(0.78) saturate(0.84);
    transform: scale(1.1);
  }

  38% {
    clip-path: inset(0);
  }

  72% {
    filter: brightness(1) saturate(1.04);
  }

  100% {
    clip-path: inset(0);
    filter: brightness(0.92) saturate(1);
    transform: scale(1);
  }
}

@keyframes sparco-pour-intro-label {
  0%,
  28% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  44%,
  82% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  100% {
    opacity: 0;
  }
}

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

  .sparco-pwa-prompt {
    right: 16px;
    top: max(16px, env(safe-area-inset-top));
    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-impact-ready .sparco-hero h1 {
    animation: sparco-mobile-title-impact 1.35s cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
  }

  .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 {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sparco-pwa-action {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (min-width: 601px) {
  .sparco-pour-intro {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sparco-pour-intro {
    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-impact-ready .sparco-hero h1,
  .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;
  }
}
