.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.4s ease;
}

.popup-box {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  position: relative;
  animation: slideIn 0.5s ease;
}

.popup-box h2 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #333;
}

.popup-box p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.popup-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.popup-links a {
    flex: 1 1 150px;
    text-align: center;
  margin: 5px 0;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 6px;
  background-color: #007bff;
  color: white;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.popup-links a:hover {
  background-color: #0056b3;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #888;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #333;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
