#minimal-popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: none; /* Will be set to flex via JS */
  align-items: center;
  justify-content: center;
  /* Allow clicks to reach card only: */
  pointer-events: none;
}

#minimal-popup-card {
  position: relative;
  min-width: 320px;
  max-width: 90vw;
  min-height: 120px;
  max-height: 90vh;
  background: rgba(18,18,18,0.95); /* Slightly more solid, improves readability */
  border-radius: 24px;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.35);
  padding: 2.5em 2em 1.5em 2em;
  text-align: center;
  overflow: hidden;
  /* Only card is clickable: */
  pointer-events: all;
}

#minimal-popup-bg {
  position: absolute;
  z-index: 1;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.10; /* Increase this for more visible BG (try 0.7, 0.8 etc) */
  pointer-events: none; /* Prevent covering UI! */
  transition: opacity 0.3s;
}

#minimal-popup-logo {
  position: relative;
  z-index: 2;
  max-width: 90px;
  margin: 0 auto 1.2em auto;
  display: block;
}

#minimal-popup-message {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 1.18em;
  margin-bottom: 1.4em;
  font-family: 'Inter', Arial, sans-serif;
}

#minimal-popup-btn {
  display: inline-block;
  padding: 0.5em 2.2em;
  margin: 0.2em auto 0.6em auto;
  border-radius: 2em;
  background: #fff;
  color: #1a1a1a;
  border: none;
  font-size: 1.15em;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.12);
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  z-index: 2;
  text-decoration: none;
  position: relative;
}

#minimal-popup-btn:hover {
  background: #ececec;
  color: #111;
}

#minimal-popup-dismiss {
  display: inline-block;
  padding: 0.45em 2em;
  border-radius: 2em;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-size: 1em;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 500;
  margin-top: 0;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
  z-index: 2;
  position: relative;
}

#minimal-popup-dismiss:hover {
  background: #fff;
  color: #181818;
  border-color: #fff;
}

#minimal-popup-close-x {
  position: absolute;
  top: 1em; right: 1.15em;
  font-size: 2em;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  opacity: 0.88;
  padding: 0 0.2em;
  transition: color 0.14s, opacity 0.14s;
}

#minimal-popup-close-x:hover {
  color: #ff5858;
  opacity: 1;
}