/* ==========================================================================
   BetPro Pakistan — promo popup (editable via Customizer)
   ========================================================================== */
.bp-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.bp-popup[hidden] {
  display: none;
}

.bp-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bp-popup.open .bp-popup-overlay {
  opacity: 1;
}

.bp-popup-card {
  position: relative;
  width: 100%;
  max-width: 26rem;
  text-align: center;
  padding: 2.5rem 1.75rem 2rem;
  border-radius: var(--radius-2xl);
  border: 1px solid hsl(var(--primary) / 0.25);
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, hsl(var(--primary) / 0.14), transparent 70%),
    hsl(220 18% 10%);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.bp-popup.open .bp-popup-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.bp-popup-x {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.bp-popup-x:hover {
  color: hsl(var(--foreground));
}

.bp-popup-x .icon {
  width: 1rem;
  height: 1rem;
}

.bp-popup-badge {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary) / 0.12);
  border: 1px solid hsl(var(--primary) / 0.3);
}

.bp-popup-badge .icon {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--primary));
}

.bp-popup-card h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: hsl(var(--foreground));
  margin-bottom: 0.65rem;
}

.bp-popup-card p {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.bp-popup-card .btn-cta {
  width: 100%;
}
