.lp-ytplayer {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 800px !important;
  /* Cap width to prevent deformation */
  margin: 20px auto !important;
  /* Center for better appearance */
  background: #000 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  aspect-ratio: 16 / 9 !important;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: max-width 0.3s ease;
}

.lp-ytplayer.lp-ytplayer-active {
  max-width: 900px !important;
  /* Slightly larger when active but still capped */
  cursor: default;
}

.lp-yt-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 20 !important;
  background: rgba(0, 0, 0, 0.6) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  cursor: pointer !important;
  backdrop-filter: blur(4px) !important;
  transition: background 0.2s !important;
  font-family: 'Poppins', sans-serif !important;
}

.lp-yt-close:hover {
  background: rgba(220, 38, 38, 0.8) !important;
}

.lp-ytplayer img.lp-yt-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
}

.lp-yt-play {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 68px !important;
  height: 48px !important;
  background-color: rgba(33, 33, 33, 0.8) !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background-color 0.2s !important;
}

.lp-yt-play::before {
  content: '' !important;
  border-style: solid !important;
  border-width: 10px 0 10px 15px !important;
  border-color: transparent transparent transparent white !important;
  display: inline-block !important;
}

.lp-ytplayer:hover .lp-yt-play {
  background-color: #f00 !important;
}

.lp-ytplayer iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

/* Responsivo */
@media (max-width: 768px) {
  .lp-yt-play {
    width: 56px !important;
    height: 40px !important;
  }

  .lp-ytplayer {
    max-width: 100% !important;
  }
}