:root {
  --rr-pltv-navy: #071423;
  --rr-pltv-gold: #d9a93d;
  --rr-pltv-gold-light: #f2cd79;
  --rr-pltv-white: #ffffff;
}

.rr-pltv-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.rr-pltv-overlay.is-visible {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.rr-pltv-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(217,169,61,.22), transparent 30%),
    linear-gradient(135deg, rgba(1,6,13,.96), rgba(7,20,35,.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rr-pltv-shell {
  position: relative;
  width: min(92vw, 560px);
  height: min(92dvh, 995px);
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(242,205,121,.95), rgba(102,72,22,.72), rgba(242,205,121,.45));
  box-shadow: 0 32px 90px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.18) inset;
  animation: rrPltvEnter .7s cubic-bezier(.2,.9,.2,1) both;
}

.rr-pltv-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
}

.rr-pltv-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.rr-pltv-gradient {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.rr-pltv-gradient-top {
  top: 0;
  height: 28%;
  background: linear-gradient(to bottom, rgba(0,0,0,.72), transparent);
}

.rr-pltv-gradient-bottom {
  bottom: 0;
  height: 36%;
  background: linear-gradient(to top, rgba(0,0,0,.84), transparent);
}

.rr-pltv-content {
  position: absolute;
  left: 28px;
  right: 28px;
  z-index: 3;
  color: var(--rr-pltv-white);
  font-family: inherit;
}

.rr-pltv-content-top {
  top: 26px;
  display: grid;
  gap: 4px;
}

.rr-pltv-kicker {
  color: var(--rr-pltv-gold-light);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 800;
}

.rr-pltv-content-top strong {
  font-size: clamp(24px, 4vw, 38px);
  line-height: .98;
  letter-spacing: -.03em;
  max-width: 9ch;
  text-shadow: 0 12px 30px rgba(0,0,0,.35);
}

.rr-pltv-content-top small {
  opacity: .86;
  font-size: 13px;
  font-weight: 600;
}

.rr-pltv-content-bottom {
  bottom: 26px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.rr-pltv-whatsapp,
.rr-pltv-sound {
  border: 0;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  text-decoration: none !important;
}

.rr-pltv-whatsapp {
  color: #071423 !important;
  background: linear-gradient(135deg, #25d366, #8ff0b4);
  box-shadow: 0 15px 32px rgba(37,211,102,.34);
}

.rr-pltv-wa-icon {
  font-size: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid currentColor;
  position: relative;
}

.rr-pltv-wa-icon:after {
  content: '';
  position: absolute;
  width: 6px;
  height: 2px;
  left: 4px;
  top: 8px;
  background: currentColor;
  transform: rotate(35deg);
  border-radius: 2px;
}

.rr-pltv-sound {
  color: #ffffff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
}

.rr-pltv-close {
  position: absolute;
  z-index: 5;
  top: -14px;
  right: -14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(7,20,35,.96);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0,0,0,.32);
}

body.rr-pltv-lock {
  overflow: hidden !important;
}

@media (min-width: 1024px) {
  .rr-pltv-overlay {
    padding: 28px;
  }

  .rr-pltv-shell {
    width: min(38vw, 620px);
    height: min(92dvh, 1060px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .rr-pltv-shell {
    width: min(70vw, 560px);
    height: min(88dvh, 995px);
  }
}

@media (max-width: 600px) {
  .rr-pltv-overlay {
    padding: 0;
  }

  .rr-pltv-shell {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    border-radius: 0;
    padding: 0;
    background: #000;
    aspect-ratio: auto;
  }

  .rr-pltv-video-wrap {
    border-radius: 0;
  }

  .rr-pltv-close {
    top: max(12px, env(safe-area-inset-top));
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .rr-pltv-content {
    left: 20px;
    right: 20px;
  }

  .rr-pltv-content-top {
    top: max(22px, calc(env(safe-area-inset-top) + 16px));
    padding-right: 48px;
  }

  .rr-pltv-content-bottom {
    bottom: max(20px, calc(env(safe-area-inset-bottom) + 18px));
    flex-direction: column;
    align-items: stretch;
  }

  .rr-pltv-whatsapp,
  .rr-pltv-sound {
    width: 100%;
    min-height: 52px;
    font-size: 14px;
  }
}

@keyframes rrPltvEnter {
  from { opacity: 0; transform: scale(.94) translateY(18px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
