#dopapopup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 26, 47, 0.9);
  z-index: 9999;
  transition: opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
}

#dopapopup.visible {
  opacity: 1;
  pointer-events: auto;
}

#dopapopup.hidden {
  opacity: 0;
}

#dopapopup .popup-inner {
  background: #F7F7F2;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  color: #1C1917;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#dopapopup h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
}

#dopapopup p {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

#dopapopup .popup-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: #8B7EC8;
  color: #0A1A2F;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
}

#dopapopup .popup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.45);
}

#dopapopup .close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6B7280;
}

@media (max-width: 480px) {
  #dopapopup .popup-inner {
    width: 100%;
    border-radius: 0;
    min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 20px;
  }
}
