/* Fullscreen blurred background */
.modal-overlay {
    
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
  }
  
  /* Modal box */
  .modal-content {
    background-color: #111; /* dark background */
    color: #fff;
    border-radius: 12px;
    max-width: 1000px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
  }
  
  /* Top visual (image/video) */
  .modal-top img,
  .modal-top video {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Scrollable body content */
  .modal-body {
    padding: 24px;
    overflow-y: auto;
  }
  
  /* Close button */
  .close-modal {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 28px;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
  }
  
