.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background: linear-gradient(135deg, rgba(132, 0, 216, 0.1), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 10px 40px rgba(132, 0, 216, 0.3);
  backdrop-filter: blur(20px);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.popup-close:hover {
  color: #fff;
}

.popup-icon {
  font-size: 60px;
  background: linear-gradient(135deg, #8400D8, #7c3aed, #8400D8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.popup-content h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 600;
}

.popup-content p {
  font-size: 16px;
  color: #999;
  line-height: 1.6;
  margin-bottom: 25px;
}

.popup-btn {
  background: linear-gradient(135deg, #8400D8, #7c3aed, #8400D8);
  background-size: 200% 100%;
  color: #fff;
  border: none;
  padding: 12px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.popup-btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(132, 0, 216, 0.4);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}