
  #lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 9999;
  }

  #lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #lightbox-content {
    position: relative;
    width: 90%;
    max-width: 600px;
  }

  #close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
  }

  #video-thumbnail {
    cursor: pointer;
    width: 320px;
  }

#player-container {
  width: 600px;          /* ← set any width you want */
  aspect-ratio: 16 / 9;  /* keeps the height correct */
  max-width: 100%;
  margin: auto;

}

#player {
    width: 600px !important;
    height: 338px !important;
}
