.aninja-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,0.60);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:999999;
  padding:18px;
}
.aninja-popup{
  background:#ffffff;
  width:440px;
  max-width:96vw;
  border-radius:14px;
  box-shadow:0 18px 60px rgba(0,0,0,0.35);
  position:relative;
  text-align:center;
  overflow:hidden;
}
.aninja-close{
display:flex !important;
align-items:center !important;
justify-content:center !important;
width:36px;
height:36px;
border-radius:50%;
background:#fff;
color:#000;
font-size:20px;
font-weight:700;
line-height:1;
position:absolute;
top:-12px;
right:-12px;
cursor:pointer;
box-shadow:0 4px 12px rgba(0,0,0,.25);
z-index:9999;
}
.aninja-close:hover{ background:rgba(0,0,0,0.14); }

.aninja-imglink img{
  width:100%;
  display:block;
}

.aninja-text{ padding:14px 16px 0; }
.badge{
  display:inline-block;
  background:linear-gradient(45deg,#ff0033,#ff7a00);
  color:#fff;
  padding:7px 14px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  animation:pulse 1.2s infinite;
  margin-bottom:10px;
}
@keyframes pulse{
  0%{ transform:scale(1); }
  50%{ transform:scale(1.08); }
  100%{ transform:scale(1); }
}

.codebox{
  padding:12px 16px 0;
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}
.codebox .code{
  background:#000;
  color:#fff;
  padding:7px 12px;
  border-radius:8px;
  font-weight:800;
  letter-spacing:1px;
}
.copybtn{
  border:0;
  border-radius:8px;
  padding:8px 12px;
  cursor:pointer;
  background:#ff0033;
  color:#fff;
  font-weight:700;
}
.copybtn:hover{ opacity:.92; }
.toast{ font-size:13px; color:#1a7f37; min-width:90px; }

.aninja-countdown{
  padding:10px 16px 0;
  font-weight:800;
  color:#ff0033;
}

.cta{
  display:block;
  margin:16px;
  padding:12px 14px;
  border-radius:10px;
  background:#ff0033;
  color:#fff;
  text-decoration:none;
  font-weight:800;
}
.cta:hover{ opacity:.93; }

.aninja-close{
display:flex !important;
align-items:center !important;
justify-content:center !important;
width:36px;
height:36px;
border-radius:50%;
background:#fff;
color:#000;
font-size:20px;
font-weight:700;
line-height:1;
position:absolute;
top:-12px;
right:-12px;
cursor:pointer;
box-shadow:0 4px 12px rgba(0,0,0,.25);
z-index:9999;
}
/* FORCE visible close button (white solid circle + black X) */
.aninja-close{
display:flex !important;
align-items:center !important;
justify-content:center !important;
width:36px;
height:36px;
border-radius:50%;
background:#fff;
color:#000;
font-size:20px;
font-weight:700;
line-height:1;
position:absolute;
top:-12px;
right:-12px;
cursor:pointer;
box-shadow:0 4px 12px rgba(0,0,0,.25);
z-index:9999;
}

/* Make discount code visually distinct */
.codebox .code{
  border:2px dashed rgba(0,0,0,0.25);
}


/* Close button: always visible (solid white circle + black/setting-colored X) */
.aninja-popup .aninja-close{
display:flex !important;
align-items:center !important;
justify-content:center !important;
width:36px;
height:36px;
border-radius:50%;
background:#fff;
color:#000;
font-size:20px;
font-weight:700;
line-height:1;
position:absolute;
top:-12px;
right:-12px;
cursor:pointer;
box-shadow:0 4px 12px rgba(0,0,0,.25);
z-index:9999;
}
.aninja-popup .aninja-close:hover{ transform:scale(1.06); }

/* Corner position */
.aninja-overlay.corner{ justify-content:flex-end; align-items:flex-end; }
.aninja-overlay.corner .aninja-popup{ margin:0 18px 18px 0; }

/* Code is clearly a "code" */
.codebox .code{ border:2px dashed rgba(0,0,0,0.25); }
