:root {
  --gold: #c9a84c;
  --dark: #0f0a1f;
  --dark-card: #1a1130;
  --white: #ffffff;
  --grey-text: #b9aee0;
  --border: #2a2350;
  --vsl-red: #e11d48;
  --vsl-red-dark: #9f1239;
  /* Degradado azulado-violeta (difuminado) */
  --grad: linear-gradient(90deg, #c026d3 0%, #8b5cf6 45%, #38bdf8 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  background: radial-gradient(
      ellipse at 78% 22%,
      rgba(139, 92, 246, 0.35) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 20% 8%,
      rgba(192, 38, 211, 0.22) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #1a1236 0%, #0f0a1f 60%, #0a0716 100%);
  background-attachment: fixed;
  color: var(--white);
  line-height: 1.5;
}

.urgency {
  display: block;
  width: max-content;
  max-width: 90%;
  margin: 0.9rem auto 0;
  background: rgba(26, 17, 48, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 999px;
  color: #e9e4ff;
  text-align: center;
  padding: 0.5rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.2);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.brand span {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Bloque promocional (texto principal) */
.promo {
  text-align: center;
  margin: 0 0 1.5rem;
  font-family: Arial, Helvetica, sans-serif;
}

.promo__headline {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 4.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
}

.promo__sub {
  margin: 0 0 1.35rem;
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
}

.promo__line {
  margin: 0 0 1.1rem;
  font-size: clamp(1.15rem, 3.4vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--white);
}

.promo__line:last-child {
  margin-bottom: 0;
}

/* Palabras destacadas con degradado difuminado (antes azules) */
.promo-blue {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Palabras destacadas tipo resaltado degradado (antes rojas) */
.promo-red {
  display: inline-block;
  padding: 0.05em 0.4em;
  border-radius: 0.35em;
  background: var(--grad);
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
}

.player-shell {
  position: relative;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

/* Plyr theme */
.player-shell .plyr {
  --plyr-color-main: var(--white);
  --plyr-video-background: #000;
}

.player-shell .plyr__video-wrapper {
  background: #000;
}

/* Sin barra nativa de Plyr */
.player-shell .plyr__progress,
.player-shell .plyr__time {
  display: none !important;
}

/* Controles ocultos hasta hover o tap */
.player-shell .plyr__controls {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  padding-top: 2rem;
}

.player-shell:hover .plyr__controls,
.player-shell.is-controls-visible .plyr__controls,
.player-shell .plyr--paused .plyr__controls {
  opacity: 1;
  visibility: visible;
}

.player-shell.is-pause-overlay .plyr__controls {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Overlay al pausar */
.pause-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 6px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.92);
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.pause-overlay[hidden] {
  display: none !important;
}

.pause-overlay__title {
  margin: 0;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  color: #facc15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pause-overlay__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.25rem);
  width: 100%;
  max-width: 520px;
}

.pause-overlay__text {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: clamp(0.72rem, 2.8vw, 0.95rem);
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: left;
  color: #fff;
}

.pause-overlay__text em {
  font-style: normal;
  color: #facc15;
}

.pause-overlay__stop {
  flex-shrink: 0;
  width: clamp(4.5rem, 18vw, 6.5rem);
  height: clamp(4.5rem, 18vw, 6.5rem);
  animation: stopPulse 1.6s ease-in-out infinite;
}

.pause-overlay__stop svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(225, 29, 72, 0.45));
}

@keyframes stopPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.pause-overlay__cta-wrap {
  position: relative;
  margin-top: 0.35rem;
  width: 100%;
  max-width: 420px;
}

.pause-overlay__cta {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.85rem 2.5rem 0.85rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #ef4444, #dc2626);
  color: #fff;
  font-family: inherit;
  font-size: clamp(0.8rem, 3vw, 1rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
}

.pause-overlay__cta:active {
  transform: scale(0.98);
}

.pause-overlay__finger {
  position: absolute;
  right: 0.35rem;
  bottom: -0.35rem;
  width: clamp(2.5rem, 10vw, 3.25rem);
  height: clamp(2.5rem, 10vw, 3.25rem);
  pointer-events: none;
  animation: fingerTap 1.1s ease-in-out infinite;
}

.pause-overlay__finger svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

@keyframes fingerTap {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* Barra roja fija debajo del video — siempre visible */
.vsl-progress {
  width: 100%;
  height: 6px;
  background: #1f1f1f;
  pointer-events: none;
}

.vsl-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--vsl-red-dark), var(--vsl-red));
  will-change: width;
}

.note {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-text);
}

.note a {
  color: var(--gold);
}

footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.7rem;
  color: #6b7280;
  line-height: 1.6;
}
