.exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 28, 36, 0.72);
  backdrop-filter: blur(3px);
}

.exit-popup {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 32px 26px 24px;
  border: 2px solid hsl(var(--gold) / 0.5);
  border-radius: 22px;
  background: hsl(var(--background));
  color: hsl(var(--primary));
  text-align: center;
  font-family: inherit;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.exit-popup h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.exit-popup p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.55;
}

.exit-gift {
  margin-bottom: 8px;
  font-size: 2.7rem;
  line-height: 1;
}

.exit-price {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: center;
  gap: 6px 12px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid hsl(var(--gold) / 0.35);
  border-radius: 15px;
  background: hsl(var(--gold) / 0.1);
}

.exit-old {
  color: hsl(var(--muted-foreground));
  font-size: 1.1rem;
  text-decoration: line-through;
}

.exit-new {
  color: hsl(var(--primary));
  font-size: 2rem;
  font-weight: 900;
}

.exit-price small {
  grid-column: 1 / -1;
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
}

.exit-btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 16px 18px;
  background: linear-gradient(90deg, hsl(var(--gold)), hsl(var(--gold-light)));
  color: hsl(var(--primary));
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exit-btn:hover,
.exit-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px hsl(var(--gold) / 0.3);
}

.exit-close,
.exit-skip {
  border: 0;
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
}

.exit-close {
  position: absolute;
  top: 10px;
  right: 14px;
  padding: 6px;
  font-size: 1.55rem;
  line-height: 1;
}

.exit-skip {
  margin-top: 13px;
  padding: 5px;
  font-size: 0.88rem;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .exit-btn {
    transition: none;
  }
}
