/* ===== Light Neon Popup (Designe-R Style v2) ===== */

/* Overlay */
#my-newsletter-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  z-index: 9999;
}

/* Popup */
#my-newsletter-popup {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 30px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  color: #333;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  box-shadow: 0 0 25px rgba(255, 0, 128, 0.25);
  position: relative;
  animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

/* Close button */
#my-newsletter-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: transparent;
  border: none;
  color: #ff2d7a;
  font-size: 26px;
  cursor: pointer;
  transition: 0.3s;
}
#my-newsletter-close:hover {
  color: #cc00ff;
  transform: scale(1.2);
}

/* Headings & text */
#my-newsletter-popup h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #222;
  font-weight: 700;
}
#my-newsletter-popup p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
}

/* Form */
#my-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#my-newsletter-email {
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  color: #333;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
}
#my-newsletter-email:focus {
  border-color: #ff66cc;
  box-shadow: 0 0 10px rgba(255, 0, 128, 0.3);
}

/* Button */
#my-newsletter-submit {
  background: linear-gradient(90deg, #ff2d7a, #cc00ff);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.25s ease;
  box-shadow: 0 0 12px rgba(255, 0, 128, 0.5);
}
#my-newsletter-submit:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(255, 0, 128, 0.7);
}

/* Message */
#my-newsletter-message {
  font-size: 15px;
  margin-top: 12px;
  color: #cc00ff;
  font-weight: 500;
}

/* Thank You Text */
.thankyou-text {
  font-size: 1rem;
  color: #cc00ff;
  font-weight: 600;
  margin-top: 10px;
  text-shadow: 0 0 8px rgba(255, 0, 128, 0.3);
  animation: fadeUp 0.6s ease-out;
}

@keyframes fadeUp {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 480px) {
  #my-newsletter-popup {
    padding: 26px 18px;
  }
  #my-newsletter-popup h2 {
    font-size: 1.4rem;
  }
}
