.exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(8px);
}

.exit-overlay:focus {
  outline: none;
}

[data-guarantee-badge] {
  width: min(48vw, 190px);
}

.exit-popup {
  position: relative;
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 24px;
  padding: 30px 26px 24px;
  color: #e2e8f0;
  text-align: center;
  background: linear-gradient(155deg, #172554 0%, #0f172a 55%, #022c22 100%);
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.55);
}

.exit-popup::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: '';
  background: linear-gradient(90deg, #34d399, #fbbf24, #38bdf8);
}

.exit-popup-badge {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  place-items: center;
  border: 3px solid #fbbf24;
  border-radius: 999px;
  color: #fef3c7;
  font-family: Outfit, sans-serif;
  font-size: 24px;
  font-weight: 900;
  background: #047857;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.exit-popup h3 {
  margin: 0 0 9px;
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.exit-popup p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
}

.exit-price {
  margin: 18px 0;
  padding: 15px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.62);
}

.exit-old {
  color: #94a3b8;
  font-size: 18px;
  text-decoration: line-through;
}

.exit-new {
  margin-left: 9px;
  color: #fde68a;
  font-family: Outfit, sans-serif;
  font-size: 32px;
  font-weight: 900;
}

.exit-coupon {
  display: block;
  margin-top: 4px;
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 700;
}

.exit-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(90deg, #10b981, #0d9488);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(16, 185, 129, 0.36);
}

.exit-close,
.exit-skip {
  border: 0;
  color: #94a3b8;
  cursor: pointer;
  background: transparent;
}

.exit-close {
  position: absolute;
  top: 12px;
  right: 16px;
  padding: 4px;
  font-size: 26px;
  line-height: 1;
}

.exit-skip {
  margin-top: 13px;
  padding: 4px 8px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.exit-close:focus-visible,
.exit-skip:focus-visible,
.exit-btn:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}

body.exit-popup-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .exit-popup {
    padding: 27px 20px 21px;
    border-radius: 20px;
  }

  .exit-popup h3 {
    font-size: 21px;
  }
}
