/* Thumbnail styling */
.video-thumbnail {
  position: relative;
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: filter 0.3s ease;
}
.video-thumbnail:hover {
  filter: brightness(1.2) contrast(1.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: white;
  background: rgba(0,0,0,0.6);
  padding: 10px 20px;
  border-radius: 50%;
}

/* Modal Overlay (hidden by default) */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}


/* Modal Content */
.modal-content {
  display: grid;
  position: relative;
  width: 80%;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Close Button (X) */
.close-btn {
  position: absolute;
  top: 20px;
  right: 0px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: filter 0.3s ease;
}
.close-btn:hover{
  filter: brightness(1.2) contrast(1.1);
}

/* Responsive Video Container */
.video-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}