.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  z-index: 10000;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  line-height: 1;
  transition: transform 0.2s;
}

.video-modal-close:hover {
  transform: scale(1.2);
}

#modalVideo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
  }

  .video-modal-close {
    top: -35px;
    font-size: 30px;
  }
}
