.vsl-gate {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: linear-gradient(165deg, #007a66 0%, #009e81 42%, #0b5f52 100%);
  color: #fff;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.vsl-gate[hidden] {
  display: none !important;
}

.vsl-gate__inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 18px calc(40px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vsl-gate__logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}

.vsl-gate h1 {
  margin: 0 0 8px;
  font-family: Nunito, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
}

.vsl-gate p {
  margin: 0 0 18px;
  font-family: Nunito, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  opacity: 0.92;
}

.vsl-gate__player {
  position: relative;
  width: min(42vw, 220px);
  max-width: 100%;
  margin: 0 auto 18px;
  aspect-ratio: 9 / 16;
  height: auto;
  max-height: min(36vh, 280px);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.vsl-gate__player.is-landscape {
  width: min(100%, 360px);
  aspect-ratio: 16 / 9;
  max-height: min(30vh, 200px);
}

.vsl-gate__player iframe,
.vsl-gate__player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
  object-fit: contain;
  object-position: center center;
}

.vsl-gate__player .vsl-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font: 700 13px Nunito, sans-serif;
  background: #0b0b0b;
}

.vsl-gate__player .vsl-loading.is-gone {
  display: none;
}

.vsl-sound-hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font: 800 12px Nunito, sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.vsl-sound-hint[hidden] {
  display: none !important;
}

.vsl-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  padding: 0;
}
.vsl-play-btn[hidden] {
  display: none !important;
}
.vsl-play-btn:active {
  transform: translate(-50%, -50%) scale(0.96);
}
.vsl-play-btn__icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.vsl-play-btn__label {
  font: 800 10px/1 Nunito, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
}

.vsl-gate .vsl-missing {
  margin: 0;
  padding: 24px;
  color: #bbb;
  font-family: Nunito, sans-serif;
  font-weight: 700;
}

.vsl-gate .prosseguir-button,
.vsl-gate .cta {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #ffc244;
  color: #16332e;
  font-family: Nunito, sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  position: sticky;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 2;
}

.vsl-gate .prosseguir-button:active,
.vsl-gate .cta:active {
  transform: scale(0.98);
}

.vsl-gate--checkout {
  background: rgba(14, 28, 26, 0.92);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.vsl-gate--checkout .vsl-gate__inner {
  background: #fff;
  color: #16332e;
  border-radius: 22px;
  margin: 24px auto;
  padding: 22px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  cursor: default;
  position: relative;
}

.vsl-gate--checkout .vsl-gate__logo {
  filter: none;
}

.vsl-gate--checkout p {
  color: #5c6b67;
  opacity: 1;
}
