.popup-modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex; /* always flex, don’t toggle */
}

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

.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 880px;
  text-align: center;
  position: relative;
  color: #000;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.popup-content h2{
    font-size: 64px;
    font-weight: bold;
    line-height: 1.1em;
    margin-bottom: 24px;
}

@media(max-width:768px){
    .popup-content h2{
        font-size: 32px;
    }
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

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