
:root {
  --vsl-maxw: 720px;
  --vsl-bg: #fff;

  --vsl-player-w: 400px;
  --vsl-player-w-stage: 680px;
  --vsl-player-ratio: 0.8;
  --vsl-stage-reserve: 240px;
  --vsl-pitch-reserve: 0px;
  --vsl-rest-w: var(--vsl-player-w);
  --vsl-screen-h: 100vh;

  --vsl-top-h: 52px;

  --vsl-headline: 30px;
  --vsl-headline-stage: 23px;
  --vsl-headline-pitch: 21px;
  --vsl-headline-m: 23px;
  --vsl-headline-stage-m: 19px;
  --vsl-headline-pitch-m: 17px;

  --vsl-green-top: #0f8340;
  --vsl-green-bottom: #0e7c3a;
  --vsl-green-hover-top: #0c7536;
  --vsl-green-hover-bottom: #0a6a31;
  --vsl-red: #d92626;

  --vsl-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

body {
  overflow-x: hidden;
  overflow-x: clip;
}

.esconder {
  display: none;
}


.vsl-top {
  height: var(--vsl-top-h);
  overflow: hidden;
  transition:
    height 0.5s var(--vsl-ease),
    border-color 0.5s ease;
}

body.is-stripped .vsl-top {
  height: 0;
  border-bottom-color: transparent;
}


.vsl-headline h1 {
  font-size: var(--vsl-headline);
  transition: font-size 0.45s ease;
}

body.is-stage .vsl-headline h1 {
  font-size: var(--vsl-headline-stage);
}

body.is-revealed .vsl-headline h1 {
  font-size: var(--vsl-headline-pitch);
}


.vsl-video {
  position: relative;
  background: var(--vsl-bg);
}

body.is-stripped .vsl-video {
  position: sticky;
  top: 0;
  z-index: 30;
}

.vsl-video__gutter {
  transition: padding 0.5s var(--vsl-ease);
}

.vsl-video__box {
  --stage-w: var(--vsl-player-w);
  position: relative;
  width: 100%;
  max-width: var(--stage-w);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 6px;
  background: #0f0f0f;
  transition:
    max-width 0.5s var(--vsl-ease),
    border-radius 0.5s ease,
    box-shadow 0.5s ease;
}

.vsl-video__box vturb-smartplayer {
  display: block;
  width: 100%;
  max-width: 100% !important;
  --player-vertical-width: var(--stage-w) !important;
}

body.is-stripped .vsl-video__box {
  --stage-w: max(
    var(--vsl-rest-w),
    min(var(--vsl-player-w-stage), (var(--vsl-screen-h) - var(--vsl-stage-reserve)) * var(--vsl-player-ratio))
  );
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

body.is-revealed .vsl-video__box {
  --stage-w: min(var(--vsl-player-w), (var(--vsl-screen-h) - var(--vsl-pitch-reserve)) * var(--vsl-player-ratio));
}

body.is-revealed.is-stripped .vsl-video__box {
  --stage-w: min(
    max(
      var(--vsl-rest-w),
      min(var(--vsl-player-w-stage), (var(--vsl-screen-h) - var(--vsl-stage-reserve)) * var(--vsl-player-ratio))
    ),
    (var(--vsl-screen-h) - var(--vsl-pitch-reserve)) * var(--vsl-player-ratio)
  );
}

@supports (height: 100dvh) {
  :root {
    --vsl-screen-h: 100dvh;
  }
}


.vsl-comments {
  transition: opacity 0.6s ease;
}

body.is-clearing .vsl-comments {
  opacity: 0;
  pointer-events: none;
}

body.is-cleared .vsl-comments {
  display: none;
}

.vsl-cta,
.vsl-comments {
  scroll-margin-top: calc(var(--sticky-h, 0px) + 16px);
}


.vsl-cta {
  max-width: var(--vsl-maxw);
  margin: 0 auto;
  padding: 14px 16px 34px;
  text-align: center;
}

.vsl-cta__button,
.vsl-cta__stock {
  opacity: 0;
  transition:
    opacity 0.45s ease-out,
    transform 0.45s ease-out;
}

.vsl-cta__stock {
  transform: translateY(10px);
}

body.is-revealed .vsl-cta__button {
  opacity: 1;
  transition-delay: 0.55s;
}

body.is-revealed .vsl-cta__stock {
  opacity: 1;
  transform: none;
  transition-delay: 0.75s;
}

.vsl-cta__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--vsl-player-w);
  min-height: 62px;
  margin: 0 auto;
  padding: 12px 18px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--vsl-green-top), var(--vsl-green-bottom));
  color: #fff !important;
  font-size: clamp(17px, 4.4vw, 24px);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 2px 6px rgba(6, 68, 30, 0.35);
  touch-action: manipulation;
  animation: vslPulse 1.5s ease-in-out infinite;
}

.vsl-cta__button span {
  white-space: nowrap;
}

.vsl-cta__button:active {
  filter: brightness(0.92);
}

.vsl-cta__button:hover,
.vsl-cta__button:focus-visible {
  background: linear-gradient(180deg, var(--vsl-green-hover-top), var(--vsl-green-hover-bottom));
  color: #fff !important;
}

.vsl-cta__button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 42%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(0) skewX(-18deg);
  animation: vslSheen 3s ease-in-out infinite;
}

.vsl-cta__stock {
  margin: 16px auto 0;
  color: var(--vsl-red);
  font-size: clamp(11px, 4.4vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}

.vsl-cta__stock strong {
  display: inline-block;
  min-width: 2.1em;
  color: #111;
  font-size: 1.15em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.vsl-cta__stock strong.is-dropping {
  animation: vslDrop 0.34s ease-out;
}

.vsl-cta__dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--vsl-red);
  box-shadow: 0 0 0 0 rgba(239, 38, 38, 0.7);
  vertical-align: baseline;
  animation: vslDot 1.6s ease-out infinite;
}

body.cta-offscreen .vsl-cta__button,
body.cta-offscreen .vsl-cta__button::after,
body.cta-offscreen .vsl-cta__dot {
  animation-play-state: paused;
}

.vsl-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@keyframes vslPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 22px rgba(21, 156, 72, 0.3);
  }
  50% {
    transform: scale(1.035);
    box-shadow: 0 18px 38px rgba(53, 212, 111, 0.55);
  }
}

@keyframes vslSheen {
  0% {
    transform: translateX(0) skewX(-18deg);
  }
  55%,
  100% {
    transform: translateX(440%) skewX(-18deg);
  }
}

@keyframes vslDot {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 38, 38, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(239, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 38, 38, 0);
  }
}

@keyframes vslDrop {
  0% {
    transform: translateY(-3px);
    color: var(--vsl-red);
  }
  55% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
    color: #111;
  }
}


@media (max-width: 640px) {
  .vsl-headline h1 {
    font-size: var(--vsl-headline-m);
  }

  body.is-stage .vsl-headline h1 {
    font-size: var(--vsl-headline-stage-m);
  }

  body.is-revealed .vsl-headline h1 {
    font-size: var(--vsl-headline-pitch-m);
  }

  body.is-stripped .vsl-video__gutter {
    padding-right: 0;
    padding-left: 0;
  }

  body.is-stripped .vsl-video__box {
    border-radius: 0;
  }

  .vsl-cta {
    padding: 12px 16px 26px;
  }

  .vsl-cta__button {
    min-height: 56px;
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vsl-cta__button,
  .vsl-cta__dot,
  .vsl-cta__stock strong.is-dropping {
    animation: none;
  }

  .vsl-cta__button {
    box-shadow: 0 12px 24px rgba(21, 156, 72, 0.35);
  }

  .vsl-cta__button::after {
    display: none;
  }

  .vsl-top,
  .vsl-headline h1,
  .vsl-video__gutter,
  .vsl-video__box,
  .vsl-comments,
  .vsl-cta__button,
  .vsl-cta__stock {
    transition: none;
  }
}
