
/* =========================
   POPUP PROMO
========================= */
.popup-overlay{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  opacity:0;
  visibility:hidden;
  transition:.3s ease;
}

.popup-overlay.show{
  opacity:1;
  visibility:visible;
}

.popup-box{
  position:relative;
  width:min(590px,100%);
  max-height:92vh;
  overflow:hidden;
  border:2px solid rgba(255,210,26,.55);
  border-radius:22px;
  background:#090909;
  box-shadow:
    0 0 0 4px rgba(255,210,26,.08),
    0 20px 70px rgba(0,0,0,.9),
    0 0 35px rgba(255,210,26,.22);
  transform:scale(.88) translateY(20px);
  transition:.35s ease;
}

.popup-overlay.show .popup-box{
  transform:scale(1) translateY(0);
}

.popup-image{
  display:block;
  width:100%;
  height:auto;
  max-height:70vh;
  object-fit:cover;
}

.popup-close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:5;
  width:42px;
  height:42px;
  border:2px solid rgba(255,255,255,.7);
  border-radius:50%;
  background:rgba(0,0,0,.65);
  color:#fff;
  font-size:27px;
  line-height:36px;
  cursor:pointer;
  transition:.2s ease;
}

.popup-close:hover{
  background:#111;
  border-color:var(--gold);
  color:var(--gold);
  transform:rotate(90deg);
}

.popup-content{
  padding:18px 20px 22px;
  text-align:center;
  background:
    radial-gradient(circle at 50% 0,#ffd21a18,transparent 60%),
    linear-gradient(180deg,#17130a,#080808);
}

.popup-title{
  margin:0 0 6px;
  color:#ffd21a;
  font-size:20px;
  font-weight:900;
  text-transform:uppercase;
}

.popup-text{
  margin:0 0 16px;
  color:#ddd;
  font-size:14px;
}

.popup-buttons{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.popup-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  border-radius:12px;
  font-size:17px;
  font-weight:900;
  text-transform:uppercase;
  border:2px solid rgba(255,255,255,.15);
  transition:.2s ease;
}

.popup-btn:hover{
  transform:translateY(-2px);
}

.popup-login{
  background:linear-gradient(145deg,#242424,#080808);
  color:#aaa;
  border-color:#555;
}

.popup-daftar{
  background:linear-gradient(135deg,#ffd900,#ffad00);
  color:#090909;
  border-color:#ffe45a;
  box-shadow:0 5px 20px rgba(255,200,0,.25);
}

.popup-note{
  margin:14px 0 0;
  color:#aaa;
  font-size:11px;
}

@media(max-width:600px){
  .popup-overlay{
    padding:12px;
  }

  .popup-box{
    width:100%;
    border-radius:17px;
  }

  .popup-close{
    width:38px;
    height:38px;
    font-size:24px;
    line-height:32px;
    top:9px;
    right:9px;
  }

  .popup-content{
    padding:15px 14px 18px;
  }

  .popup-title{
    font-size:17px;
  }

  .popup-text{
    font-size:12px;
  }

  .popup-buttons{
    gap:8px;
  }

  .popup-btn{
    min-height:52px;
    font-size:15px;
  }
}