.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  padding: 1em;
}

.popup-content {
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 2.5em 2em;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1.5em;
}

.popup-content h3 {
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  margin: 0 0 1em;
}

.popup-description {
  font-size: 0.95em;
  color: #333;
  margin: 0 0 1em;
}

.popup-note {
  font-size: 0.9em;
  color: #555;
  margin: 0 0 2em;
}

.popup-close {
  border: none;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup-x {
  position: absolute;
  top: 1em;
  right: 1em;
  background: transparent;
  color: #888;
  font-size: 1.5em;
  padding: 0;
  width: auto;
}

.popup-content p.head-text {
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.popup-x:hover {
  color: #000;
}

@media screen and (max-width: 640px) {
  .popup-content {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
    justify-content: center;
    padding: 3em 1em;
  }

  .popup-close {
    width: 90%;
    max-width: 300px;
  }

  .popup-content h3 {
    font-size: 1.1em;
  }

  .popup-description,
  .popup-note {
    font-size: 0.9em;
  }

  .popup-x {
    width: 20px;
    top: 0.8em;
    right: 0.8em;
  }
}
