
#bdsSitePopup[hidden]{
  display:none !important;
}

#bdsSitePopup{
  position:fixed;
  inset:0;
  z-index:90000;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(2,6,23,.72);
  backdrop-filter:blur(10px);
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
}

#bdsSitePopup.is-open{
  opacity:1;
  pointer-events:auto;
}

.bds-popup-card{
  width:min(92vw, 460px);
  border:1px solid rgba(239,68,68,.32);
  border-radius:22px;
  background:
    radial-gradient(circle at top left, rgba(239,68,68,.20), transparent 42%),
    linear-gradient(180deg, rgba(15,23,42,.98), rgba(2,6,23,.98));
  box-shadow:0 24px 80px rgba(0,0,0,.55);
  overflow:hidden;
  transform:translateY(10px) scale(.98);
  transition:transform .22s ease;
}

#bdsSitePopup.is-open .bds-popup-card{
  transform:translateY(0) scale(1);
}

.bds-popup-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.bds-popup-brand{
  font-family:"BDSFL", system-ui, sans-serif;
  font-size:1.7rem;
  line-height:1;
  letter-spacing:1px;
  text-transform:lowercase;
  color:#fff;
}

.bds-popup-brand .fl{
  color:#ef4444;
}

.bds-popup-close{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(148,163,184,.10);
  color:#e5e7eb;
  font-weight:900;
  cursor:pointer;
}

.bds-popup-close:active{
  transform:translateY(1px);
}

.bds-popup-body{
  padding:18px 16px 16px;
  display:grid;
  gap:12px;
}

.bds-popup-type{
  display:inline-flex;
  width:max-content;
  align-items:center;
  justify-content:center;
  padding:.32rem .58rem;
  border-radius:999px;
  background:rgba(239,68,68,.14);
  border:1px solid rgba(239,68,68,.35);
  color:#fecaca;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

#bdsPopupTitle{
  margin:0;
  color:#fff;
  font-size:1.12rem;
  line-height:1.15;
  letter-spacing:-.02em;
}

#bdsPopupMessage{
  margin:0;
  color:#cbd5e1;
  font-size:.93rem;
  line-height:1.5;
}

.bds-popup-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin-top:4px;
}

.bds-popup-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:.72rem .95rem;
  color:#fff;
  background:rgba(148,163,184,.12);
  font-weight:900;
  text-decoration:none;
}

.bds-popup-btn.primary{
  border-color:rgba(239,68,68,.5);
  background:linear-gradient(135deg,#ef4444,#991b1b);
  box-shadow:0 12px 28px rgba(239,68,68,.18);
}

@media (max-width:420px){
  .bds-popup-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .bds-popup-btn{
    width:100%;
  }
}