/* =====================================================
   POPUP SIMPLE
   ===================================================== */

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.popup-overlay.show {
  display: flex;
}

.popup {
  position: relative;
  max-width: 800px;
  width: 90%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  animation: popupZoom 0.3s ease;
}

@keyframes popupZoom {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 35px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.popup .close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: rotate(90deg);
}

.popup-content {
  width: 100%;
}

.popup-content a {
  display: block;
  line-height: 0;
}

.popup-content img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 767px) {
  .popup {
    width: 95%;
    max-width: 500px;
  }

  .popup .close {
    font-size: 30px;
    width: 30px;
    height: 30px;
  }
}