/* === POPUP 기본 === */
#popup { display:none; }
#popup.show { display:block; }

#popup .popup_dim{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9998;
}

#popup .popup_wrap{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, calc(100% - 40px));
  max-height: calc(100vh - 80px);
  overflow: auto;

  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  z-index: 9999;
}

#popup .popup_inner{
  padding: 40px;
}

#popup .popup_close{
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  opacity: .65;
}
#popup .popup_close:hover{ opacity: 1; }

#popup .popup_video{
  width: 80%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;

}
#popup .popup_video video{
  
  height: 100%;
  object-fit: cover;
  display: block;
}

#popup .popup_text {
  text-align: center;
  font-family: "BBH Hegarty", sans-serif; 
  font-size: 50px;
}

#popup .popup_actions{
  margin-top: 28px;
  display:flex;
  align-items:center;
  justify-content: center;
  gap: 14px;
}

#popup .popup_chk{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 15px;
}

#popup .popup_btn{
  padding: 10px 50px;
  border-radius: 50px;
  border: 0;
  background: #000;
  color:#fff;
  cursor:pointer;
  margin: 0 auto;
  font-size: 30px;
  font-weight: 900;
  font-family: 'Paperozi', sans-serif;
  transition: .3s;
}
#popup .popup_btn:hover{
  background: #fe21a4;
  color:#fff;
}

body.popup_open{
  overflow: hidden;
}

#popup .popup_btn_wrap{
  position: relative;
  display: inline-block;
}

#popup .hawa_svg{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}

#popup .hawa_text{
  font-family: 'Paperozi', sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.12em;
  fill: #fe21a4;
  opacity: .95;
  /* 필요하면 살짝 글로우 */
  /* filter: drop-shadow(0 0 6px rgba(254,33,164,.35)); */
}

#popup .hawa_text { dominant-baseline: middle; }

@media screen and (max-width:768px) {
  #popup .popup_text {
    font-size: 60px;
  }
}

@media screen and (max-width: 640px) {
  #popup .popup_text {
      font-size: 50px;
  }
}

@media screen and (max-width:500px) {
  #popup .popup_text {
    font-size: 45px;
  }
  #popup .popup_actions {
    margin-top: 20px;
  }
  #popup .popup_btn {
    padding: 10px 80px;
    font-size: 30px;
  }
}

@media screen and (max-width:430px) {
  #popup .popup_text {
    font-size: 25px;
  }
  #popup .popup_actions {
    margin-top: 10px;
  }
  #popup .popup_btn {
    padding: 10px 60px;
    font-size: 15px;
  }
}