body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: #f1f5f9;
}

/* Modal background */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Modal card */
.modal-content {
  width: 420px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  overflow: hidden;
  animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.88);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Header with animated gradient */
.modal-header {
  background: linear-gradient(
    120deg,
    #4f46e5,
    #6366f1,
    #22c55e
  );
  background-size: 300% 300%;
  animation: gradientMove 6s ease infinite;
  color: #ffffff;
  padding: 22px 20px;
  text-align: center;
  position: relative;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Close button */
.close {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.close:hover {
  background: rgba(255,255,255,0.4);
  transform: rotate(90deg);
}

/* Body */
.modal-body {
  padding: 24px;
  text-align: center;
}

/* WHAT’S NEW badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #22c55e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Links */
.modal-body a {
  display: block;
  margin: 12px 0;
  padding: 14px;
  border-radius: 10px;
  background: #f1f5f9;
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  transition: all 0.25s ease;
}

.modal-body a:hover {
  background: #e0e7ff;
  color: #3730a3;
  transform: translateY(-2px);
}

/* Footer */
.modal-footer {
  padding: 14px;
  background: #f8fafc;
  font-size: 13px;
  text-align: center;
  color: #64748b;
}

.modal-footer a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
}

.modal-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .modal-content {
    width: 92%;
  }
}
