/* ===== Swiper General ===== */
.sky-success-wrapper {
  position: relative;
  width: 100%;
}

.sky-slide-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.sky-slide-img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* ===== Play Icon ===== */
.sky-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 5;
}

.sky-play-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
  transition: transform 0.3s ease;
}

.sky-slide-thumb:hover .sky-play-icon {
  background: rgba(0, 0, 0, 0.7);
}

.sky-play-icon:hover svg {
  transform: scale(1.1);
}

/* ===== Bottom Title & Description ===== */
.sky-bottom-box {
  text-align: center;
  margin-top: 10px;
}

.sky-slide-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.sky-slide-desc {
  font-size: 15px;
  color: #555;
}

/* ===== Modal Popup ===== */
.sky-modal {
  display: none; /* Hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.sky-modal.sky-modal-active {
  display: flex !important;
}

.sky-modal-inner {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.sky-modal-content iframe,
.sky-modal-content video {
  width: 100%;
  height: 500px;
  display: block;
}

/* Close Button */
.sky-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 34px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
}

.sky-modal-close:hover {
  color: #ff4e4e;
}

/* Responsive */
@media (max-width: 768px) {
  .sky-modal-content iframe,
  .sky-modal-content video {
    height: 300px;
  }
  .sky-play-icon {
    width: 55px;
    height: 55px;
  }
  .sky-play-icon svg {
    width: 24px;
    height: 24px;
  }
}
