/* ==========================================================================
   Player de Vídeo Nativo VSL Desbloqueada — Padovesi Assessoria Esportiva
   Formato Vertical 9:16, Autoplay Mudo, Smart Progress Bar e Overlay de Som
   ========================================================================== */

.vsl-container {
  width: 100%;
  max-width: 380px; /* Ergonomia perfeita 9:16 para celular e desktop */
  margin: 30px auto;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(30, 99, 56, 0.2);
  background-color: #000000;
  border: 2px solid var(--color-primary);
}

.vsl-video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 177.77%; /* Proporção 9:16 exata (16 / 9 * 100) */
  background-color: #000;
}

.vsl-video-element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay Pulsante: Toque para Ouvir com Som */
.vsl-audio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  padding: 20px;
  text-align: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.vsl-pulse-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF;
  padding: 16px 26px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulseAudioBtn 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.vsl-pulse-button span.icon {
  font-size: 1.4rem;
}

.vsl-audio-sub {
  color: #F7F9F2;
  font-size: 0.88rem;
  margin-top: 12px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

@keyframes pulseAudioBtn {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.8); }
  70% { transform: scale(1.04); box-shadow: 0 0 0 18px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Smart Progress Bar (Barra de Carregamento Inteligente) */
.smart-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.25);
  z-index: 15;
}

.smart-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F59E0B 0%, #DBE12C 100%);
  transition: width 0.15s linear;
}
