@keyframes stars {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 1000px; }
}

.matrix-bg {
  background: url('images/matrix-bg.gif') repeat;
  animation: stars 60s linear infinite;
  color: white;
}

/* Video Container - Full width, 75% visible height of 16:9 video */
.video-crop-container {
  width: 100%;
  position: relative;
  padding-top: 42.25%; /* 16:9 aspect ratio (9/16*75%) */
  overflow: hidden;
  background: #000;
}

.video-crop-container iframe {
  position: absolute;
  top: -16.66%; /* Crop 25% total (12.5% from top and bottom) */
  left: 0;
  width: 100%;
  height: 133.33%; /* 100% / 0.75 */
  border: none;
}



/* Video Container - Full Width with 75% Height (4:3 Aspect Ratio) */
.video-responsive-container {
  width: 100%;
  position: relative;
  padding-top: 75%; /* 4:3 Aspect Ratio */
  overflow: hidden;
  background: #000;
}

.video-responsive-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video Close Button */
.video-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 100;
  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 20px;
  cursor: pointer;
}

/* Video Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.video-overlay h1 {
  font-size: 2.25rem;
  font-weight: bold;
}
