.koeba-exit-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.koeba-exit-modal.is-open {
  display: flex;
}

.koeba-exit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.koeba-exit-modal__card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 32px 24px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: koeba-exit-pop 0.25s ease-out;
}

@keyframes koeba-exit-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.koeba-exit-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #888;
  padding: 4px 8px;
}
.koeba-exit-modal__close:hover { color: #222; }

.koeba-exit-modal__lead {
  display: inline-block;
  color: #fff;
  background: #e85d75;
  font-weight: 700;
  margin: 0 0 14px;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.koeba-exit-modal__title {
  font-size: 20px;
  line-height: 1.45;
  margin: 0 0 12px;
  color: #222;
  font-weight: 800;
}
.koeba-exit-modal__title strong {
  color: #e85d75;
  font-size: 1.25em;
}

.koeba-exit-modal__sub {
  color: #555;
  font-size: 13px;
  margin: 0 0 20px;
  line-height: 1.6;
}

.koeba-exit-modal__cta {
  display: block;
  background: linear-gradient(135deg, #ff6b8a, #e85d75);
  color: #fff;
  padding: 16px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  font-size: 17px;
  margin-bottom: 12px;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 16px rgba(232, 93, 117, 0.35);
}
.koeba-exit-modal__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(232, 93, 117, 0.45);
  color: #fff;
}

.koeba-exit-modal__dismiss {
  background: none;
  border: 0;
  color: #888;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 8px;
}
.koeba-exit-modal__dismiss:hover { color: #444; }

@media (max-width: 480px) {
  .koeba-exit-modal__card { padding: 28px 20px 20px; }
  .koeba-exit-modal__title { font-size: 18px; }
}
