/* ========================================================
   ESTILOS - LANDING PAGE VSL +18 VIP
   Paleta: Preto Profundo, Vermelho Rubi, Rosa Neon / Sedução
   ======================================================== */

:root {
  --bg-primary: #08080a;
  --bg-card: rgba(18, 18, 24, 0.85);
  --accent-red: #ff1a53;
  --accent-pink: #e60067;
  --accent-glow: rgba(255, 26, 83, 0.45);
  --accent-gradient: linear-gradient(135deg, #ff1744 0%, #d80064 50%, #99003d 100%);
  --button-hover: linear-gradient(135deg, #ff2e5c 0%, #ea006f 50%, #b30048 100%);
  --text-primary: #ffffff;
  --text-secondary: #a0a0ab;
  --text-muted: #6e6e7c;
  --border-glow: rgba(255, 26, 83, 0.25);
  --header-height: 44px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(230, 0, 103, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(255, 23, 68, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 60%, rgba(153, 0, 61, 0.1) 0%, transparent 45%);
  background-attachment: fixed;
}

/* ================= HEADER FIXO / COUNTDOWN ================= */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: linear-gradient(90deg, #180309 0%, #2b0010 50%, #180309 100%);
  border-bottom: 1px solid rgba(255, 26, 83, 0.4);
  box-shadow: 0 4px 20px rgba(255, 23, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #ff1744;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff1744;
  animation: pulse-dot 1.2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #ff1744; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.top-bar-text {
  color: #f3f3f5;
  font-size: 0.8rem;
}

.timer-badge {
  background: #ff1744;
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(255, 23, 68, 0.6);
  animation: timer-glow 1.5s infinite alternate;
}

@keyframes timer-glow {
  0% { box-shadow: 0 0 8px rgba(255, 23, 68, 0.5); }
  100% { box-shadow: 0 0 18px rgba(255, 23, 68, 0.95); }
}

/* ================= CONTAINER PRINCIPAL ================= */
.vsl-wrapper {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 16px 24px;
}

.vsl-card {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ================= HEADLINE ================= */
.headline-section {
  margin-bottom: 12px;
  width: 100%;
}

.badge-tag {
  display: inline-block;
  background: rgba(255, 26, 83, 0.12);
  color: var(--accent-red);
  border: 1px solid rgba(255, 26, 83, 0.35);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.headline-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: #f7f7f7;
  letter-spacing: -0.3px;
}

.highlight-text {
  background: linear-gradient(90deg, #ff2a6d, #ff5e98);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 42, 109, 0.4);
}

/* ================= CONTAINER DO VÍDEO 9:16 ================= */
.video-container-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 340px; /* Largura ideal para formato 9:16 vertical */
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 
    0 10px 35px rgba(0, 0, 0, 0.8),
    0 0 25px rgba(255, 26, 83, 0.35);
  border: 1.5px solid rgba(255, 26, 83, 0.45);
}

#vsl-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #000;
}

/* Overlay de Play com Áudio */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  z-index: 20;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.video-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-button-pulse {
  width: 76px;
  height: 76px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 30px var(--accent-glow);
  animation: pulse-btn 1.6s infinite;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.play-icon {
  width: 36px;
  height: 36px;
  margin-left: 4px;
}

@keyframes pulse-btn {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(255, 26, 83, 0.7); }
  70% { transform: scale(1.08); box-shadow: 0 0 0 22px rgba(255, 26, 83, 0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(255, 26, 83, 0); }
}

.overlay-text {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 26, 83, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* Botão Mudo/Desmudo */
.sound-toggle-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 15, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  backdrop-filter: blur(8px);
  transition: transform 0.2s, background 0.2s;
}

.sound-toggle-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 26, 83, 0.8);
}

/* Badge de espectadores ao vivo */
.live-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 26, 83, 0.4);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 30;
  pointer-events: none;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #ff1744;
  border-radius: 50%;
  box-shadow: 0 0 6px #ff1744;
  animation: pulse-dot 1s infinite alternate;
}

/* ================= CTA BUTTON ================= */
.cta-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-button {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--accent-gradient);
  color: #ffffff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 10px 25px rgba(255, 23, 68, 0.45),
    0 0 15px rgba(255, 23, 68, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: cta-pulse 2s infinite ease-in-out;
}

@keyframes cta-pulse {
  0% { transform: scale(1); box-shadow: 0 8px 25px rgba(255, 23, 68, 0.4); }
  50% { transform: scale(1.025); box-shadow: 0 12px 35px rgba(255, 23, 68, 0.7); }
  100% { transform: scale(1); box-shadow: 0 8px 25px rgba(255, 23, 68, 0.4); }
}

.cta-button:hover {
  transform: scale(1.03) translateY(-2px);
  background: var(--button-hover);
  box-shadow: 0 14px 40px rgba(255, 23, 68, 0.85);
}

.cta-button:active {
  transform: scale(0.98);
}

.cta-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.cta-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.92;
  letter-spacing: 0.3px;
}

/* Efeito de brilho passando no botão */
.cta-shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.35) 50%, 
    transparent 100%
  );
  transform: skewX(-25deg);
  animation: shine 2.8s infinite;
}

@keyframes shine {
  0% { left: -150%; }
  35% { left: 180%; }
  100% { left: 180%; }
}

/* ================= SELOS DE SEGURANÇA E DISCREÇÃO ================= */
.security-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-icon {
  width: 13px;
  height: 13px;
  fill: #ff2a6d;
}

/* ================= RESPONSIVIDADE ================= */
@media (max-height: 700px) {
  .headline-title {
    font-size: 1.05rem;
  }
  .badge-tag {
    font-size: 0.65rem;
    padding: 2px 8px;
    margin-bottom: 4px;
  }
  .video-frame {
    max-height: calc(100dvh - 200px);
  }
  .cta-title {
    font-size: 1.05rem;
  }
  .cta-button {
    padding: 12px 16px;
  }
}

@media (min-width: 768px) {
  .vsl-card {
    max-width: 520px;
  }
  .headline-title {
    font-size: 1.35rem;
  }
  .video-frame {
    max-width: 380px;
    max-height: calc(100vh - 240px);
  }
}
