.bg-popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(2,10,25,.72);
  display:grid;
  place-items:center;
  padding:20px;
  z-index:9999;
  backdrop-filter:blur(8px);
}
.bg-popup-shell{
  width:min(720px, 100%);
  border-radius:24px;
  border:1px solid rgba(212,176,92,.20);
  background:
    radial-gradient(circle at top right, rgba(212,176,92,.10), transparent 26%),
    linear-gradient(180deg, rgba(18,42,86,.98) 0%, rgba(10,24,52,.98) 100%);
  color:#f8f1d4;
  box-shadow:0 24px 60px rgba(0,0,0,.40);
  position:relative;
  overflow:hidden;
}
.bg-popup-close{
  position:absolute;
  top:12px;
  right:14px;
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(212,176,92,.18);
  background:rgba(255,255,255,.05);
  color:#f6d88b;
  font-size:22px;
  cursor:pointer;
}
.bg-popup-head,
.bg-popup-body,
.bg-popup-actions{
  padding:22px 24px;
}
.bg-popup-head{
  border-bottom:1px solid rgba(212,176,92,.12);
}
.bg-popup-badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(212,176,92,.12);
  color:#f1d38a;
  border:1px solid rgba(212,176,92,.18);
  font-size:.82rem;
  font-weight:800;
  margin-bottom:10px;
}
.bg-popup-head h2{
  margin:0 0 8px;
  color:#fff1c2;
}
.bg-popup-head p{
  margin:0;
  color:#c9c1a2;
}
.bg-popup-meta{
  color:#f5df9e;
  font-weight:700;
  margin-bottom:10px;
}
.bg-popup-content{
  color:#d9d2b6;
  line-height:1.75;
}
.bg-popup-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  border-top:1px solid rgba(212,176,92,.12);
}
.bg-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
}
.bg-btn-primary{
  background:linear-gradient(180deg, #e6c878 0%, #b4872b 100%);
  color:#08162f;
}
.bg-btn-secondary{
  background:rgba(255,255,255,.06);
  color:#fff2c7;
  border:1px solid rgba(212,176,92,.18);
}
.bg-btn-ghost{
  background:transparent;
  color:#f6dc95;
  border:1px dashed rgba(212,176,92,.28);
}
.popup-cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
