.mypixellab-video-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 30px auto;
}

.video-thumbnail {
  position: relative;
  background-size: cover;
  background-position: center;
  padding-top: 56.25%; /* 16:9 ratio */
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}
.video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.6);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  overflow: visible;
}

/* Play icon inside */
.video-icon i {
  font-size: 26px;
  color: #fff;
  z-index: 3;
  position: relative;
}

/* Ripples behind the background circle */
.video-icon::before,
.video-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%) scale(1);
  z-index: 1;
  animation: rippleCircle 2.4s infinite ease-in-out;
}

.video-icon::after {
  animation-delay: 0.8s;
}

/* Ripple animation from icon size outward */
@keyframes rippleCircle {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  70% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}


.basicLightbox {
  background: rgba(0, 0, 0, 0.95) !important; /* darker background */
}
video-popup-wrap {
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 40px;
}

.video-popup-wrap iframe {
  width: 100%;
  height: 562px; /* 16:9 aspect ratio for 1000px width */
  border: none;
}

.video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  z-index: 99999;
  font-family: Arial, sans-serif;
  background: var(--ar-accent);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
}