body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0f0f0f;
}

/* BACKDROP */
.modal {
  position: fixed;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;

  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

/* ACTIVE */
.modal.show {
  opacity: 1;
  visibility: visible;
}

/* MODAL CARD */
.modal-content {
  width: 100%;
  max-width: 380px; /* smaller for mobile */

  padding: 24px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.9);

  text-align: center;
  position: relative;

  transform: translateY(40px) scale(0.9);
  opacity: 0;

  transition: all 0.4s ease;
}

/* SHOW ANIMATION */
.modal.show .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* CLOSE */
.close {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 18px;
}

/* BADGE */
.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 10px;
  color: white;
  margin-bottom: 12px;

  background: linear-gradient(135deg, #7b2ff7, #f107a3);
}

/* TITLE */
.title {
  font-size: 18px;
  margin-bottom: 8px;
}

/* TEXT */
.desc {
  font-size: 13px;
  line-height: 1.5;
  color: #444;
}

/* BUTTON */
.cta {
  margin-top: 16px;
  padding: 12px;
  width: 100%;

  border: none;
  border-radius: 999px;

  color: white;
  font-weight: 600;

  background: linear-gradient(135deg, #7b2ff7, #f107a3);
}

/* DIVIDER */
hr {
  margin: 16px 0;
}

/* 🔥 IMPORTANT MOBILE FIX */
@media (max-height: 600px) {
  .modal {
    align-items: flex-start; /* top align */
    padding-top: 40px;
  }
}