/* ========== POPUP ========== */
.popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
  background: no-repeat center / cover;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  width: 400px;
  text-align: center;
  color: #d3cde0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid #5b1d87;
}

.popup-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  z-index: 0;
}

.popup-content * {
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  color: #d3cde0;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s ease;
}

.popup-close:hover {
  color: #9de938;
}

.popup-title {
  font-size: 20px;
  margin: 0 0 10px;
  color: #d3cde0;
}

.popup-text {
  font-size: 14px;
  margin: 0 0 20px;
  color: #d3cde0;
}

.popup-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #9de938;
  color: #000000;
  border-radius: 4px;
  text-decoration: none;
  margin: 0 auto;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #9de938;
}

.popup-btn:hover {
  background: #7bc82a;
  border-color: #7bc82a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(157, 233, 56, 0.4);
}

@media (max-width: 480px) {
  .popup-content {
    width: 90%;
  }
  .popup-title {
    font-size: 18px;
  }
  .popup-text {
    font-size: 13px;
  }
}