/* ═══════════════════════════════════════════════════════════
   BirthdayNaija — Onboarding Tour
   Mobbin-style: centered card, dark overlay, dot progress
   ═══════════════════════════════════════════════════════════ */

/* lock scroll when tour is open */
body.bn-tour-open { overflow: hidden; }

/* ── overlay ───────────────────────────────────────────────── */
.bn-tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* start hidden; JS adds --in after a rAF to animate */
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bn-tour-overlay--in  { opacity: 1; }
.bn-tour-overlay--out { opacity: 0; pointer-events: none; }

/* ── card ──────────────────────────────────────────────────── */
.bn-tour-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.bn-tour-overlay--in .bn-tour-card { transform: translateY(0); }

/* ── emoji ─────────────────────────────────────────────────── */
.bn-tour-emoji {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 18px;
}

/* ── title ─────────────────────────────────────────────────── */
.bn-tour-title {
  font-family: var(--poppins, 'Poppins', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink, #111111);
  margin: 0 0 12px;
  line-height: 1.25;
}

/* ── body ──────────────────────────────────────────────────── */
.bn-tour-body {
  font-family: var(--inter, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-800, #666666);
  margin: 0 0 28px;
}
.bn-tour-body strong {
  color: var(--ink, #111111);
  font-weight: 600;
}

/* ── footer ─────────────────────────────────────────────────── */
.bn-tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ── dots ───────────────────────────────────────────────────── */
.bn-tour-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.bn-tour-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grey-100, #ededed);
  transition: background 0.2s, transform 0.2s;
}
.bn-tour-dot--active {
  background: linear-gradient(135deg, var(--g1, #ff4b2b), var(--g2, #ff416c));
  transform: scale(1.25);
}

/* ── skip button ─────────────────────────────────────────────── */
.bn-tour-skip {
  background: none;
  border: none;
  padding: 8px 4px;
  font-family: var(--inter, 'Inter', sans-serif);
  font-size: 13px;
  color: var(--grey-500, #8a8a8a);
  cursor: pointer;
  transition: color 0.15s;
  white-space: nowrap;
}
.bn-tour-skip:hover { color: var(--ink, #111111); }

/* ── next button ─────────────────────────────────────────────── */
.bn-tour-next {
  background: linear-gradient(135deg, var(--g1, #ff4b2b) 0%, var(--g2, #ff416c) 60%, var(--g3, #ff8e53) 100%);
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: 10px 22px;
  font-family: var(--poppins, 'Poppins', sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s;
}
.bn-tour-next:hover  { opacity: 0.88; transform: translateY(-1px); }
.bn-tour-next:active { transform: translateY(0); opacity: 1; }

/* ── mobile tweaks ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .bn-tour-card {
    padding: 28px 20px 22px;
    border-radius: 16px;
  }
  .bn-tour-emoji { font-size: 40px; margin-bottom: 14px; }
  .bn-tour-title { font-size: 18px; }
  .bn-tour-next  { padding: 10px 18px; font-size: 12px; }
}
