/* =========================
   Jangan Di Ambil yak bosku, pakai ide sendiri dung "Bukanseo"
========================= */
.btn-success {
  display: block;
  background: linear-gradient(to bottom, #480231 0%, #73015a 50%, #48023c 100%);
  color: #FFD700;
  text-shadow: 1px 1px #000000;
  width: 300px;
  height: 48px;
  margin: auto;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  border-radius: 8px;
  border: 2px solid #fc00bd;
  background-repeat: no-repeat;
  filter: none;
  cursor: pointer;
}
.btn-success:hover {
  color: #ffffff;
  background: #a00093;
}


.bukanseoboost-btn {
  display: block;
  background: linear-gradient(to bottom, #0a4802 0%, #057301 50%, #024802 100%);
  color: #FFD700;
  text-shadow: 1px 1px #000000;
  width: 100%;
  height: 48px;
  margin: 0;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  border-radius: 10px;
  border: 2px solid #fcce00;
  background-repeat: no-repeat;
  filter: none;
  cursor: pointer;
}
.santagifbox-btn {
  position: relative;
  display: block;
  background: linear-gradient(to bottom, rgb(72, 2, 2) 0%, #730101 50%, #480202 100%);
  color: #ffffff;
  text-shadow: 1px 1px #000000;
  width: 100%;
  height: 48px;
  margin: 0;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  border-radius: 10px;
  border: 2px solid #ffffff;
  background-repeat: no-repeat;
  filter: none;
  cursor: pointer;
}
.santagifbox-btn .btn-text{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  z-index: 2;
}
.santa-hot-inline{
  position:absolute;
  right:14px;
  top:50%;
  transform: translateY(-50%);
  width:50px;
  animation: hotPulse 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(255,140,0,.6));
  pointer-events:none;
}
@keyframes hotPulse{
  0%,100%{ opacity:.75; transform:translateY(-50%) scale(1); }
  50%{ opacity:1; transform:translateY(-50%) scale(1.08); }
}

#bseoMenuBtnDesktop{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-width: 140px !important;  
  height: 38px !important;      
  padding: 0 16px !important;

  margin-left: 8px !important;
  white-space: nowrap !important;

  background: linear-gradient(to bottom, #480231 0%, #73015a 50%, #48023c 100%) !important;
  color: #FFD700 !important;
  text-shadow: 1px 1px #000000 !important;

  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .3px !important;

  border-radius: 6px !important;
  border: 2px solid #fc00bd !important;

  box-shadow: 0 4px 10px rgba(0,0,0,.35) !important;
  cursor: pointer !important;

  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease !important;
}

#bseoMenuBtnDesktop:hover{
  background: #a00093 !important;
  color: #ffffff !important;
}

#bseoMenuBtnDesktop:active{
  transform: scale(.94) !important;
  filter: brightness(1.12) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.55) !important;
}

/* Mobile button press animation */
#bseoMenuBtnMobile{
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,.45);
}
#bseoMenuBtnMobile:active{
  transform: scale(.94);
  filter: brightness(1.15);
  box-shadow: 0 3px 8px rgba(0,0,0,.6);
}

/* =========================
   MODAL / POPUP + ANIMATION
========================= */
.bseomodal{
  position:fixed;
  inset:0;
  display:none;
  z-index:99999;
}
.bseomodal.is-open{ display:block; }

.bseomodal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(6px);
  opacity:0;
  transition: opacity .35s ease;
}
.bseomodal.is-open .bseomodal__backdrop{
  opacity:1;
}

.bseomodal__panel{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -45%) scale(.88);
  width:min(420px, calc(100% - 28px));
  background:#0e0e12;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  box-shadow:0 25px 70px rgba(0,0,0,.65);
  overflow:hidden;

  opacity:0;
  transition:
    opacity .35s ease,
    transform .35s cubic-bezier(.18,1.35,.4,1);
}
.bseomodal.is-open .bseomodal__panel{
  opacity:1;
  transform: translate(-50%, -50%) scale(1);
}

/* Close animation */
.bseomodal.is-closing .bseomodal__backdrop{ opacity:0; }
.bseomodal.is-closing .bseomodal__panel{
  opacity:0;
  transform: translate(-50%, -42%) scale(.92);
  transition:
    opacity .25s ease,
    transform .25s ease;
}

.bseomodal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.bseomodal__title{
  margin:0;
  font-size:14px;
  font-weight:900;
  letter-spacing:.3px;
  color:#fff;
}
.bseomodal__close{
  appearance:none;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  width:36px;
  height:36px;
  border-radius:12px;
  cursor:pointer;
}
.bseomodal__close:hover{ background: rgba(255,255,255,.10); }

.bseomodal__body{
  padding: 14px;
  display:grid;
  gap:10px;
}
.bseomodal__hint{
  margin:0 0 8px;
  color: rgba(255,255,255,.70);
  font-size:12px;
  line-height:1.4;
}

/* full width inside modal */
.bseomodal .btn-success,
.bseomodal .bukanseoboost-btn,
.bseomodal .santagifbox-btn{
  width:100%;
}

/* optional stagger anim (tombol muncul satu-satu) */
.bseomodal.is-open .bseomodal__body > *{
  opacity:0;
  transform: translateY(10px);
  animation: popItem .45s ease forwards;
}
.bseomodal.is-open .bseomodal__body > *:nth-child(1){animation-delay:.02s}
.bseomodal.is-open .bseomodal__body > *:nth-child(2){animation-delay:.06s}
.bseomodal.is-open .bseomodal__body > *:nth-child(3){animation-delay:.10s}
.bseomodal.is-open .bseomodal__body > *:nth-child(4){animation-delay:.14s}
.bseomodal.is-open .bseomodal__body > *:nth-child(5){animation-delay:.18s}
.bseomodal.is-open .bseomodal__body > *:nth-child(6){animation-delay:.22s}

@keyframes popItem{
  to{opacity:1; transform: translateY(0);}
}