/* ─── Exit intent popup (6b) ─────────────────────────────────────────────── */

@keyframes ff-exit-glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 184, 74, 0.35);
  }

  50% {
    box-shadow: 0 0 18px 2px rgba(232, 184, 74, 0.18);
  }
}

.ff-exit-6b__dialog {
  width: 100%;
  max-width: 440px;
  border: 1px solid rgba(232, 184, 74, 0.5);
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(232, 184, 74, 0.12);
  background: #100d28;
  font-family: var(--ff-font-ui, 'Hanken Grotesk', system-ui, sans-serif);
}

.ff-exit-6b__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.ff-exit-6b__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 9, 26, 0.3),
    rgba(9, 7, 22, 0.86) 58%,
    rgba(8, 6, 20, 0.95)
  );
  pointer-events: none;
}

.ff-exit-6b__content {
  position: relative;
  padding: 32px 30px;
}

.ff-exit-6b__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #c9c3dc;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.ff-exit-6b__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f5c542;
  background: rgba(11, 9, 26, 0.65);
  border: 1px solid rgba(232, 184, 74, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
  backdrop-filter: blur(3px);
}

.ff-exit-6b__badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e0607a;
  box-shadow: 0 0 7px #e0607a;
}

.ff-exit-6b__spacer {
  height: 96px;
}

.ff-exit-6b__headline {
  font-family: var(--ff-font-display, 'Bricolage Grotesque', sans-serif);
  font-weight: 800;
  font-size: clamp(52px, 14vw, 74px);
  line-height: 1;
  color: #f5c542;
  text-shadow:
    0 4px 30px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(232, 184, 74, 0.4);
}

.ff-exit-6b__subhead {
  font-family: var(--ff-font-display, 'Bricolage Grotesque', sans-serif);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  margin-top: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.ff-exit-6b__detail {
  font-size: 13px;
  line-height: 1.5;
  color: #c9c3dc;
  margin: 8px 0 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.ff-exit-6b__timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: rgba(224, 96, 122, 0.14);
  border: 1px solid rgba(224, 96, 122, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  backdrop-filter: blur(3px);
}

.ff-exit-6b__timer-icon {
  color: #e0607a;
  flex-shrink: 0;
}

.ff-exit-6b__timer-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #ff8fa5;
  letter-spacing: 0.03em;
}

.ff-exit-6b__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 800;
  font-size: 15.5px;
  color: #1a1430;
  background: linear-gradient(180deg, #f5c542, #e8b84a);
  animation: ff-exit-glow-pulse 2.6s ease-in-out infinite;
}

.ff-exit-6b__decline {
  display: inline-block;
  margin-top: 11px;
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 11.5px;
  font-weight: 600;
  color: #a79fc0;
  text-decoration: underline;
  cursor: pointer;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

@media (max-width: 479px) {
  .ff-exit-6b__content {
    padding: 28px 22px;
  }

  .ff-exit-6b__spacer {
    height: 72px;
  }

  .ff-exit-6b__subhead {
    font-size: 17px;
  }
}
