.video-container {
    position: relative;
    width: 740px;
    height: 460px;
    margin: 0 auto;
  }
  
  .custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 30px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s ease;
    user-select: none;
  }
  
  .custom-play-button:hover {
    background: rgba(0, 0, 0, 0.8);
  }

  /*VIDEO INDICE*/
  /* Fondo oscuro */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.video-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Recuadro central de vídeo */
.video-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Botón de cerrar */
.close-button {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 30px;
  background: white;
  color: black;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  z-index: 10000;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  padding: 14px 28px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.play-overlay:hover {
  background-color: rgba(0, 0, 0, 0.85);
}
  