body {
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #ede9fe 100%);
}

/* ---------- The button that opens the popup ---------- */
.open-btn {
  padding: 14px 32px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background-color: #1096a0;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.open-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.open-btn:active {
  transform: translateY(0);
}

/* ---------- The dark background overlay ---------- */
/* This covers the whole screen and sits behind the popup box */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.25s ease;
}


/* ---------- The white popup box in the middle ---------- */

.popup-box {
  background-color: white;
  padding: 32px 36px;
  border-radius: 20px;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: popIn 0.3s ease;
}

/* The soft circle sitting behind the emoji */
.icon-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef2ff, #ede9fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.popup-box h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: black;
  margin: 0 0 8px;
}

.popup-box p {
  color: #4b5563;
  line-height: 1.5;
  margin: 0 0 20px;
}

/* ---------- The close button inside the popup ---------- */

.close-btn {
  padding: 10px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  background-color: transparent;
  border: 1.5px solid #e5e7eb;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.close-btn:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

/* ---------- This class hides an element ---------- */

.hidden {
  display: none;
}

/* ---------- Animations ---------- */
/* These play automatically the moment an element becomes visible */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
