/* ================================
   CONTAINER RESPONSIVO
================================ */
.vtplaypro-player-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  z-index: 0;
}

.vtplaypro-player-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
  border-radius: 5px;
}

/* ================================
   SHIELD
================================ */
.vtplaypro-shield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: transparent;
}

/* ================================
   POSTER
================================ */
.vtplaypro-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.vtplaypro-iframe,
.vtplaypro-iframe iframe {
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: calc(100% + 120px);
  border: none;
  z-index: 2;
}

/* ================================
   OVERLAY DE PAUSA
================================ */
.vtplaypro-pause-overlay {
  position: absolute;
  inset: 0;
  background: var(--vtplaypro-color, #ff0000);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 900;
}

.vtplaypro-pause-message {
  color: var(--vtplaypro-color_text, #fff);
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  padding: 0 20px;
}

.vtplaypro-pause-options {
  display: flex;
  gap: 160px;
}

.vtplaypro-pause-button {
  all: unset; /* limpa heranças */
  background-color: transparent !important;
  color: var(--vtplaypro-color_text, #fff) !important;
  border: 2px solid var(--vtplaypro-color_text, #fff) !important;
  border-radius: 50% !important;
  width: 50px;
  height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  transition: background-color 0.2s;
  position: relative;
  padding: 0 !important;
}

.vtplaypro-pause-button svg {
  width: 24px;
  height: 24px;
  color: inherit !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.vtplaypro-button-label {
  position: absolute;
  bottom: -30px;
  color: var(--vtplaypro-color_text, #fff);
  font-size: 12px;
  white-space: nowrap;
  width: 140px;
  text-align: center;
}

@media (max-width: 480px) {
  .vtplaypro-pause-options {
    gap: 100px;
  }

  .vtplaypro-volume {
    display: none;
  }
}

/* ================================
   BOTÃO DE PLAY INICIAL
================================ */
.vtplaypro-play-button {
  all: unset;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 10px;
  color: var(--vtplaypro-color_text, #fff) !important;
  width: 200px;
  height: 150px;
  border: 2px solid #FFF !important;
  border-radius: 5%;
  background: var(--vtplaypro-color, #ff0000) !important;
  position: relative;
  cursor: pointer !important;
}

.play_pulse {
  animation: vtplaypro-pulse 1.5s infinite;
}

.vtplaypro-play-button::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 26px solid #fff;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  transform: translate(-50%, -50%);
}

.vtplaypro-initial-play-icon svg {
  width: 60px;
  height: 60px;
  fill: currentColor !important;
  color: var(--vtplaypro-color_text, #fff) !important;
}

.vtplaypro-initial-play-title,
.vtplaypro-initial-play-text {
  font-size: 12px;
  color: var(--vtplaypro-color_text, #fff) !important;
}

/* ================================
   CONTROLES DE SOM
================================ */
.vtplaypro-controles {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.vtplaypro-volume {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vtplaypro-player:hover .vtplaypro-volume {
  opacity: 1;
  pointer-events: auto;
}

.vtplaypro-controles button {
  all: unset;
  background: none !important;
  color: var(--vtplaypro-color_text, #fff) !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.vtplaypro-controles button svg {
  fill: currentColor !important;
  stroke: currentColor !important;
  color: var(--vtplaypro-color_text, #fff) !important;
  width: 18px;
  height: 18px;
}

.vtplaypro-controles input[type="range"] {
  width: 100px;
}

/* ================================
   BARRA VOLUME
================================ */
.vtplaypro-volume {
  -webkit-appearance: none;
  width: 100px;
  height: 4px;
  border-radius: 5px;
  background: rgba(255,255,255,0.3);
  outline: none;
  cursor: pointer;
  --val: 100%;
}

.vtplaypro-volume::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    #fff 0%,
    #fff var(--val),
    rgba(255,255,255,0.3) var(--val),
    rgba(255,255,255,0.3) 100%
  );
}
.vtplaypro-volume::-moz-range-track {
  height: 4px;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    #fff 0%,
    #fff var(--val),
    rgba(255,255,255,0.3) var(--val),
    rgba(255,255,255,0.3) 100%
  );
}

.vtplaypro-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  margin-top: -4px;
}
.vtplaypro-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

/* ================================
   BARRA DE PROGRESSO
================================ */
.vtplaypro-controls {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  padding: 0 10px;
  z-index: 5;
}

.vtplaypro-progress {
  background: rgba(255,255,255,0.3);
  height: 5px;
  border-radius: 5px;
  cursor: pointer;
}

.vtplaypro-progress-bar {
  background: var(--vtplaypro-color, #ff0000);
  width: 0%;
  height: 100%;
  border-radius: 5px;
  transition: width 0.3s linear;
}

/* ================================
   BOTÃO DE PAUSE
================================ */
.vtplaypro-pause-btn {
  position: absolute;
  bottom: 20px;
  left: 5px;
  z-index: 3;
  background: rgba(0,0,0,0.6);
  color: #fff !important;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: sans-serif;
}

.vtplaypro-continue {
  margin-top: 12px;
  font-size: 16px;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  display: none;
}





/* ================================
   ANIMAÇÃO PULSANTE
================================ */
@keyframes vtplaypro-pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}
