/* Lock scroll */
body.popup-open {
  overflow: hidden;
}

/* Popup wrapper */
#construction-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark blur overlay */
.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(6px);
}

/* Hide by default to prevent flicker */
#construction-popup {
    display: none;
}

/* Show only when JS allows */
#construction-popup.active {
    display: flex;
}


/* Popup card */
.popup-content {
  position: relative;
  background: linear-gradient(145deg, #ffffff, #f4f4f4);
  width: 100%;
  max-width: 460px;
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  z-index: 2;
  animation: popupScale 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
}

/* Logo */
.popup-logo {
  max-width: 160px;
  margin-bottom: 25px;
}

/* Heading */
.popup-content h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #324a51;
}

/* Sub text */
.popup-content p {
  font-size: 16px;
  color: #666;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #324a51;
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.12);
}

/* Animation */
@keyframes popupScale {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .popup-content {
    margin: 20px;
    padding: 40px 25px;
  }

  .popup-content h2 {
    font-size: 22px;
  }
}
