/* Popup background overlay */
.page-popup {
  position: fixed;
  inset: 0;
  background: rgba(255, 182, 193, 0.35); /* soft pink haze */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(8px) saturate(140%);
  animation: fadePink 0.45s ease;
}

/* Liquid glass popup */
.page-popup-content {
  width: 95%;                  /* wider */
  max-width: 500px;            /* bigger for desktop */
  padding: 35px 40px;

  background: rgba(255, 255, 255, 0.25);  /* transparent base */
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  border-radius: 26px;
  border: 1.6px solid rgba(255, 150, 210, 0.4);

  box-shadow: 
    0 10px 40px rgba(255, 105, 180, 0.22),
    inset 0 0 35px rgba(255, 255, 255, 0.4);

  text-align: center;
  position: relative;
  animation: scaleIn 0.28s ease;
}

/* Title */
.page-popup-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #b10063;
  margin-bottom: 12px;
}

/* Body text */
.page-popup-content p {
  font-size: 17px;
  line-height: 1.55;
  color: #5b265a;
  font-weight: 500;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(255, 200, 230, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  font-size: 20px;
  color: #a12b75;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.25);
  transition: 0.25s;
}

.popup-close:hover {
  background: rgba(255, 180, 220, 0.8);
  transform: scale(1.1);
  color: #c00071;
}

/* Animations */
@keyframes fadePink {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.75); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
