@font-face {
  src : url("../../fonts/BMDoHyeon_ttf.ttf");
  font-family: "BMDoHyeon"
}

.BMDoHyeon { font-family: "BMDoHyeon"; }

/* ------------------------------------- */

* {box-sizing: border-box; outline: none;}

/* 카운트다운 */

/* 마크업 svg r=40 cx=42 cy=42 기준 */
/* <svg><circle r="40" cx="42" cy="42"></circle></svg> */

#countdown {position: relative; margin: auto;height: 90px; width: 90px; text-align: center;}
#countdown-number {color: white; display: inline-block; line-height: 90px; font-size: 45px; font-weight: bold; letter-spacing: -1.3px; text-shadow: 0px 4px 10px rgb(0 0 0 / 10%);}

#countdown svg {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 90px;
  min-height: 90px;
  width: 90px;
  height: 90px;
  transform: rotateY(-180deg) rotateZ(-90deg);
}
#countdown svg circle {
  stroke-dasharray: 200px;
  stroke-dashoffset: 0px;
  stroke-linecap: round;
  stroke-width: 3.2px;
  stroke: #ec49cb;
  fill: none;
  animation: countdown 10s linear infinite forwards;
  animation-duration: var(--countdown);
}
@keyframes countdown {
  from {
    stroke-dashoffset: 0px;
  }
  to {
    stroke-dashoffset: 113px;
  }
}


/* lucky-event-pop-apply -> 이벤트 참여 */
/* lucky-event-pop-completed-modal -> 참여완료 모달 */
/* lucky-event-pop-winning-modal -> 당첨 모달 */
/* lucky-event-pop-next-modal -> 다음기회에 모달 */


/* .lde-eventpopup { position: absolute; transform: translate(-50%, -50%); left: 50%; top: 50%; width: auto; border: 0px; box-shadow: none; z-index: 900;} */
.lde-eventpopup { position: fixed; top: 0; right: 0; width: 100%; height: 100%; overflow: auto; border: 0px; box-shadow: none; z-index: 1000; align-items: center; background-color: rgba(0,0,0,0.75);}

#completed-modal { z-index: 9000; }
#winning-modal { z-index: 9000; }
#next-modal { z-index: 9000; }

.lde-prev { z-index: 700; width:42px; height: 60px; position: absolute; top: 50%; left: 12px; cursor: pointer; }
.lde-prev::before { content: url('/images/luckydraw/popup-ld-btn-arrow-l-n.png'); }
.lde-prev:hover::before { content: url('/images/luckydraw/popup-ld-btn-arrow-l-h.png'); }

.lde-next { z-index: 700; width:42px; height: 60px;  position: absolute; top: 50%; right: 12px; cursor: pointer; }
.lde-next::before { content: url('/images/luckydraw/popup-ld-btn-arrow-r-n.png'); }
.lde-next:hover::before { content: url('/images/luckydraw/popup-ld-btn-arrow-r-h.png'); }

.lde-prev.slick-disabled:before, .lde-next.slick-disabled:before { opacity: .25; }
.event-winner-slider .slick-dots li button:before { font-family: 'slick'; font-size: 11px;  line-height: 23px; position: absolute; top: 0; left: 0; width: 20px; height: 33px; content: '•'; text-align: center; opacity: .4; color: white; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.event-winner-slider .slick-dots li.slick-active button:before { opacity: 1; color: #1cfff2; }

.event-pop-close { cursor: pointer; position: absolute; right: 0; margin: 19px; top: 0; }
.event-confirm-button { cursor: pointer; }
.event-close-button { cursor: pointer; position: absolute; bottom: 40px; left: 50%; transform: translate(-50%, 0px); }

.lde-title { font-size: 32px; line-height: 32px; font-weight: bold; color: #262db8; letter-spacing: -2.4px; }
.lde-msg { font-size: 20px; line-height: 20px; font-weight: bold; color: #333333; letter-spacing: -1.5px; margin: 25px 9px 9px;}
.lde-msg span {display: inline-block; margin-left: 8px;}

.lucky-event-pop-apply { width: 510px; height: 610px; box-shadow: 0px 16px 60px 0 rgba(0, 0, 0, 0.6); margin: 0 auto; padding: 0; position: relative; text-align: center; border-radius: 20px; }
.lucky-event-pop-apply .lde-event-img {}
.lucky-event-pop-apply .lde-event-txt {position: absolute; z-index: 2; top: 40%; left: 50%; transform: translateX(-50%);}
.lucky-event-pop-apply .title { width: 100%; word-break: keep-all; font-size: 36px; line-height: 1.28; font-weight: bold; text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); color: #ffffff; letter-spacing: -0.9px; }
.lucky-event-pop-apply .countdown-wrap { font-size: 20px; font-weight: bold; color:#fff; text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); letter-spacing: -1.5px; }
.lucky-event-pop-apply .countdown-wrap div { display: inline-block; }
.lucky-event-pop-apply .countdown-number { width: 90px; height: 90px; font-size: 52px; color: #fff; font-weight: bold; text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);}
.lucky-event-pop-apply .event-confirm-button { /* margin: 0 auto; margin-bottom: 0px; margin-top: 27px; */ width: 230px; height: 60px; font-size: 27px; color: #1cfff2; text-align: center; line-height: 60px; font-weight: bold; box-shadow: 0px 10px 40px 0 rgba(255, 255, 255, 0.1); background-color: #171545; position: absolute; bottom: 8%; left: 50%; transform: translate(-50%, 0px); }
.lucky-event-pop-apply .popup-ball-img { position: absolute; left: -8%; bottom: 22%; width: 26%;}
.lucky-event-pop-apply .lde-event-txt .info {width: 100%; word-break: keep-all; font-size: 28px; line-height: 1.5; font-weight: bold; text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); color: #ffffff; letter-spacing: -0.9px; }

.lucky-event-pop-completed-modal { width: 610px; height: 400px; background-color: #fff; border: 4px solid #38c4ff;  box-shadow: 0px 16px 60px 0 rgba(0, 0, 0, 0.7); margin: 0 auto; padding: 40px 30px; position: relative; text-align: center; border-radius: 20px; }
.lucky-event-pop-winning-modal { width: 610px; height: 360px; background: #fff url('/images/luckydraw/popup-ld-bg-result-2.png');  box-shadow: 0px 16px 60px 0 rgba(0, 0, 0, 0.7); margin: 0 auto; padding: 40px 30px; position: relative; text-align: center; border-radius: 20px; }
.lucky-event-pop-winning-modal .lde-msg { margin-top:100px; font-size: 24px; line-height: 1.5; font-weight: bold; color: #333333; letter-spacing: -1.8px;}
.lucky-event-pop-next-modal { width: 610px; height: 360px; background-color: #fff; border: 4px solid #38c4ff;  box-shadow: 0px 16px 60px 0 rgba(0, 0, 0, 0.7); margin: 0 auto; padding: 40px 30px; position: relative; text-align: center; border-radius: 20px; }
.lucky-event-pop-next-modal .lde-msg { font-size: 20px; line-height: 1.5; font-weight: bold; color: #333333; letter-spacing: -1.5px; }

.event-close-button { margin: 0 auto; margin-bottom: 0px; margin-top: 27px; width: 140px; height: 60px; font-size: 27px; letter-spacing: -2.03px; color: #1cfff2; text-align: center; line-height: 60px; font-weight: bold; box-shadow: 0px 10px 40px 0 rgba(255, 255, 255, 0.1); background-color: #171545; }
.event-close-button:hover { box-shadow: 0px 4px 12px 0 rgba(0, 0, 0, 0.4); }

/* name-layout -> template A (이름 출력 타입) */
/* support-layout -> template B (후원사 제품 이미지 타입) */

.event-winner-slider { position: relative; margin: 0 auto; text-align: center;}

.lucky-event-pop-templeate { width: 930px; height: 650px; background: #008eed url('/images/luckydraw/popup-ld-bg-main-2.png'); box-shadow: 0px 16px 60px 0 rgba(0, 0, 0, 0.6); margin: 0 auto; padding: 40px 30px; position: relative; text-align: center; border-radius: 20px; }
.lucky-event-pop-templeate .title { font-size: 40px; line-height: 40px; font-weight: bold; text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); color: #ffffff; letter-spacing: -3px; }
.lucky-event-pop-templeate .notice { width: 351px; height: 65px; line-height: 70px; font-family: "BMDoHyeon"; /*font-weight: bold;*/ margin: 0 auto; margin-top:30px; margin-bottom: 20px; border-radius: 32px; text-align: center; background-image: linear-gradient(to right, #272ebe, #3319a2); color: #ffffff; font-size: 30px; }

.lucky-event-pop-templeate .name-layout { font-size: 1.3rem; font-weight: bold; line-height: 1.64; width: 874px; height: 306px; padding: 17px 30px; display: flex; flex-wrap: wrap; flex-direction: column; background-color: rgba(0, 0, 0, 0.3);  letter-spacing: -0.55px; color: #ffffff; text-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3); align-content: flex-start; }
.lucky-event-pop-templeate .name-layout div { max-width: 170px; min-width: 100px; padding: 0px 8px; box-sizing: border-box; line-height: 25px;}
.lucky-event-pop-templeate .name-layout div span { word-break: keep-all; }
.lucky-event-pop-templeate .name-layout.name-40 { font-size: 1.3rem; }
.lucky-event-pop-templeate .name-layout.name-80 { font-size: 1rem; line-height: 1.74; }

.lucky-event-pop-templeate .support-layout { display: flex; position: relative; padding-top: 10px; }
.lucky-event-pop-templeate .support-layout .support-product-wrap { display: inline-block; width: 280px; height: 320px; position: relative; background-color: #fff; margin-right: 20px; text-align: center; }
.lucky-event-pop-templeate .support-layout .support-label img { position: absolute; left: -9px; top: 2px; }
.lucky-event-pop-templeate .support-layout .support-img-wrap { width: 280px; height: 258px; display: flex; justify-content: center; align-items: center; }
.lucky-event-pop-templeate .support-layout .support-img-name { width: 280px; height: 62px; text-align: center; font-size: 22px; font-weight: bold; letter-spacing: -1.65px; color: #111111; display: flex; justify-content: center; align-items: center; }
.lucky-event-pop-templeate .support-layout .support-name { display: inline-block; width: 570px; height: 320px; background-color: rgba(0, 0, 0, 0.3); }
.lucky-event-pop-templeate .support-layout .support-name .support-product { margin: 40px 0px 30px; font-size: 36px; font-weight: bold; color: #fff; text-shadow: 0px 6px 6px rgba(0, 0, 0, 0.2); letter-spacing: -2.7px; line-height: 36px; }
.lucky-event-pop-templeate .support-layout .support-name .user-name .person1 { width: 100%; height: 150px; display: flex; justify-content: center; align-items: center; font-size: 50px; font-weight: bold; letter-spacing: -1.25px; color: #fff; text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.24); }
.lucky-event-pop-templeate .support-layout .support-name .user-name .person9 { display: flex; flex-wrap: wrap; }
.lucky-event-pop-templeate .support-layout .support-name .user-name .person9 div { padding:0px 18px; font-size: 28px; line-height: 1.93; font-weight: bold; letter-spacing: -0.8px; color: #fff; text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.24); }
.lucky-event-pop-templeate .support-layout .support-name .user-name .person12 { display: flex; flex-wrap: wrap; }
.lucky-event-pop-templeate .support-layout .support-name .user-name .person12 div { padding:0px 18px; font-size: 28px; line-height: 1.64; font-weight: bold; letter-spacing: -0.8px; color: #fff; text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.24); }

.lucky-event-pop-templeate  .event-confirm-button { /* margin: 0 auto; margin-bottom: 0px; margin-top: 27px; */ width: 230px; height: 60px; font-size: 26px; color: #1cfff2; text-align: center; line-height: 60px; font-weight: bold; box-shadow: 0px 10px 40px 0 rgba(255, 255, 255, 0.1); background-color: #171545; position: absolute; bottom: 40px; left: 50%; transform: translate(-50%, 0px); }
.event-confirm-button:hover { background-color: #02020f; box-shadow: 0px 10px 40px 0 rgba(255, 255, 255, 0.1); }


/* 모바일 반응형 */
@media screen and (max-width: 640px) {
  .lucky-event-pop-completed-modal {
    width: calc(100% - 40px);
    height: auto;
    padding: 40px 20px;
  }
  .lucky-event-pop-completed-modal .lde-title img {
    width: 276px;
    max-width: 100%;
  }
  .lde-msg span {
    margin-left: 0;
    display: block;
  }
  .event-close-button {
    position: unset;
    margin: 20px auto 0;
    transform: translate(0, 0px);
  }
  .lucky-event-pop-next-modal {
    width: calc(100% - 40px);
    height: auto;
    padding: 40px 20px;
  }

}
@media screen and (max-width: 550px) {
  .lucky-event-pop-apply {
    width: calc(100% - 40px);
    height: auto;
  }
  .lucky-event-pop-apply .title {
    font-size: 30px;
  }
  .lucky-event-pop-apply .lde-event-img img {
    width: 100%;
    max-width: 510px;
  }
  .lucky-event-pop-apply .popup-ball-img img {
    width: 100%;
    max-width: 133px;
  }
  .lucky-event-pop-apply .lde-event-txt {
    width: calc(100% - 40px);
  }
  .lucky-event-pop-apply .title {
    width: auto !important;
  }
  .lucky-event-pop-apply .countdown-wrap {
    font-size: 18px;
  }
}
@media screen and (max-width: 480px) {

  .lucky-event-pop-apply .countdown-wrap {
    margin: 15px 0;
  }
  .lucky-event-pop-apply .countdown-wrap #countdown {
    height: auto;
    width: auto;
    display: inline-block;
    font-size: unset;
  }
  .lucky-event-pop-apply .countdown-wrap #countdown svg {
    display: none;
  }
  .lucky-event-pop-apply .countdown-wrap #countdown-number {
    font-size: 40px;
    line-height: unset;
    margin: 0 5px;
  }
  .lucky-event-pop-apply .lde-event-info img {
    width: 100%; ;
    max-width: 363px;
  }
  .lucky-event-pop-apply .event-confirm-button {
    height: 45px;
    line-height: 45px;
    font-size: 18px;
    bottom: 6%;
  }
  .lucky-event-pop-apply .lde-event-txt .info {
    font-size: 20px;
  }
}
@media screen and (max-width: 400px) {
  .event-close-button {
    height: 45px;
    line-height: 45px;
    font-size: 18px;
  }
  .lucky-event-pop-apply .title {
    font-size: 24px;
  }
  .lucky-event-pop-apply .countdown-wrap {
    font-size: 16px;
    margin: 5px 0 10px;
  }
  .lucky-event-pop-apply .countdown-wrap #countdown-number {
    font-size: 30px;
  }
}
@media screen and (max-width: 360px) {
  .lucky-event-pop-apply .title {
    font-size: 22px;
  }
  .lucky-event-pop-apply .countdown-wrap #countdown-number {
    font-size: 26px;
  }
}