:root {
  --lb-primary: #2759d6;
  --lb-bg: rgba(15, 23, 42, 0.85);
  --lb-glass: rgba(255, 255, 255, 0.08);
}

.dfmp4lbp__overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dfmp4lbp__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.dfmp4lbp__backdrop {
  position: absolute;
  inset: 0;
  background: var(--lb-bg);
}

.dfmp4lbp__modal {
  position: relative;
  width: min(1140px, 94vw);
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dfmp4lbp__overlay.is-open .dfmp4lbp__modal {
  transform: scale(1) translateY(0);
}

.dfmp4lbp__close {
  position: absolute;
  top: 50px;
  right: 5%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: var(--lb-glass);
  color: #fff;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000001;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dfmp4lbp__close:hover {
  background: var(--lb-primary);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 20px rgba(39, 89, 214, 0.4);
}

@media (max-width: 768px) {
  .dfmp4lbp__close {
    top: 50px;
    right: 5%;
    width: 48px;
    height: 48px;
    font-size: 28px;
  }
}

.dfmp4lbp__content {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.dfmp4lbp__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.dfmp4lbp__locked {
  overflow: hidden !important;
  padding-right: var(--scrollbar-width, 0px);
}

/* Custom Scrollbar for the video container if needed */
.dfmp4lbp__content::-webkit-scrollbar {
  width: 6px;
}

.dfmp4lbp__content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}