/* POPUP INAUGURACION - PREMIUM DESIGN */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  position: relative;
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.popup-overlay.active .popup-content {
  transform: translateY(0);
}

.popup-image-link {
  display: block;
  width: 100%;
  line-height: 0;
}

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

.popup-close, .popup-confirm {
  position: absolute;
  top: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, background 0.3s ease;
  border: none;
  text-decoration: none;
}

.popup-close {
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
}

.popup-confirm {
  right: 65px;
  background: #c5a059; /* Dorado Palmaret */
}

.popup-close:hover, .popup-confirm:hover {
  transform: scale(1.1);
}

.popup-close:hover {
  background: white;
}

.popup-confirm:hover {
  background: #b38f4d;
}

.popup-close svg {
  width: 20px;
  height: 20px;
  stroke: #1b3a5c;
}

.popup-confirm svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .popup-content {
    max-width: 320px;
  }
}
