@import "./../font/pretendardvariable.css";
@import "./reset.css";
@import "./swiper-11.1.1.min.css";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration-line: none;
}
html,
body {
  width: 100%;
  height: 100%;
}
body {
  overflow-x: hidden;
}
button {
  cursor: pointer;
}
img {
  width: 100%;
}
:root {
  color-scheme: light only;
}
/* ---------- */
.warp {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
}
.keyvisual,
.event-1,
.event-2,
.line-up,
.notice {
  position: relative;
}
.link {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 24px;
  border: none;
  opacity: 0;
  z-index: 1;
}
/* 더블 혜택 EVENT, 티빙 바로가기 */
.event-1 .link.index1,
.line-up .link {
  width: 413px;
  height: 92px;
  left: 50%;
  transform: translateX(-50%);
}

.notice {
  display: flex;
  justify-content: center;
  background: #d9d9d9;
}
.notice_img {
  display: block;
  height: auto;
}

.notice .link {
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  display: block;
  height: 32px;
}

/* -----LINE UP----- */
.line-up {
  position: relative;
  display: flex;
  justify-content: center;
}

.line-up img {
  image-rendering: -moz-crisp-edges; /* firefox */
  image-rendering: -o-crisp-edges; /* opera */
  image-rendering: -webkit-optimize-contrast; /* chrome(비표준) */
  image-rendering: crisp-edges;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.video-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 16/9;
  overflow: hidden;
}

.lineup-slide {
  position: absolute;
}
.swiper {
  padding: 12px;
  height: auto;
}
.swiper-wrapper {
  width: 100%;
}
.swiper-slide {
  width: 272px;
  height: 566px;
}
.swiper-slide .img {
  background: #cbf8ea;
  box-shadow: 3px 0px 14px #008c7725;
  border-radius: 24px;
}
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  width: 17px;
  height: 27px;
  border: none;
  background: none;
}
.swiper-button-prev:after,
.swiper-button-next:after {
  content: "";
  width: 100%;
  height: 100%;
}
.swiper-button-next:after {
  transform: rotate(180deg);
}

/* ========== 팝업 ========== */
.popup_warp {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
}
.popup {
  width: 600px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.popup > .popup_close_btn {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0;
  top: 16px;
  right: 16px;
}
.popup > .popup_action_btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}

/* 로그인 팝업 */
.popup_warp > .mo_login {
  aspect-ratio: 150 / 71;
  background: url(./../img/popup/mo_login.png) no-repeat center;
  background-size: cover;
}
.popup_warp > .mo_login > .popup_action_btn {
  bottom: 40px;
  width: 242px;
  height: 60px;
}
/* 응모 완료 팝업 */
.popup_warp > .mo_myinfo {
  aspect-ratio: 750 / 620;
  background: url(./../img/popup/mo_myinfo.png) no-repeat center;
  background-size: cover;
}
.popup_warp > .mo_myinfo > .popup_action_btn {
  bottom: 40px;
  width: 242px;
  height: 60px;
}
/* 이미 응모 완료 팝업 */
.popup_warp > .mo_already_completed {
  aspect-ratio: 750 / 250;
  background: url(./../img/popup/mo_already_completed.png) no-repeat center;
  background-size: cover;
}
/* 이용권 확인 팝업 */
.popup_warp > .mo_myticket {
  aspect-ratio: 750 / 450;
  background: url(./../img/popup/mo_myticket.png) no-repeat center;
  background-size: cover;
}
.popup_warp > .mo_myticket > .popup_action_btn {
  bottom: 40px;
  width: 242px;
  height: 60px;
}
/* 응모 불가 팝업 (이용권 없음) */
.popup_warp > .mo_ticket_purchase {
  aspect-ratio: 750 / 450;
  background: url(./../img/popup/mo_ticket_purchase.png) no-repeat center;
  background-size: cover;
}
.popup_warp > .mo_ticket_purchase > .popup_action_btn {
  bottom: 40px;
  width: 242px;
  height: 60px;
}

/* PC */
@media screen and (min-width: 721px) {
  /* -----COUNTENT----- */
  .mo {
    display: none !important;
  }
  .keyvisual,
  .event-1,
  .event-2,
  .line-up,
  .notice {
    width: 1500px;
  }
  .warp {
    transform: scale(80%);
  }
  /* 페이지 레이아웃 */
  .keyvisual {
    aspect-ratio: 150 / 61.2;
    background: url(./../img/pc-1.jpg) no-repeat center;
    background-size: cover;
  }
  .event-1 {
    aspect-ratio: 1500 / 4069;
    background: url(./../img/pc-2.jpg) no-repeat center;
    background-size: cover;
  }
  /* .event-1.event-1-end {
    aspect-ratio: 1500 / 3093;
    background: url(./../img/pc-2-end.jpg) no-repeat center;
    background-size: cover;
  } */

  .event-2 {
    aspect-ratio: 150 / 139;
    background: url(./../img/pc-3.jpg) no-repeat center;
    background-size: cover;
  }
  .line-up {
    aspect-ratio: 150 / 189.2;
    background: url(./../img/pc-4.jpg) no-repeat center;
    background-size: cover;
  }
  /* 얼리버드 혜택 EVENT  (혜택받고 구독하기)*/
  .event-1 .link.index0 {
    top: 1050px;
    width: 413px;
    height: 92px;
    left: 50%;
    transform: translateX(-50%);
  }
  /* 더블 혜택 EVENT */
  .event-1 .link.index1 {
    top: 1830px;
  }
  /* .event-1.event-1-end .link.index1 {
    top: 1411px;
  } */
  .event-1 .link.index2,
  .event-1 .link.index3 {
    top: 3550px;
    width: 413px;
    height: 92px;
    left: 50%;
    transform: translateX(-50%);
  }
  /* .event-1.event-1-end .link.index2,
  .event-1.event-1-end .link.index3 {
    top: 2633px;
  } */
  .event-2 .link {
    top: 1158px;
    width: 168px;
    height: 50px;
  }
  /* 25년 2월부터 월간이용권 3개월 50% */
  .event-2 .link.index1 {
    left: 388px;
  }
  /* 월간이용권 3개월 50% */
  .event-2 .link.index2 {
    left: 576px;
  }
  /* 광고형 스탠다드 첫 달 100원 + 3개월 50% */
  .event-2 .link.index3 {
    left: 764px;
  }
  /* 연간이용권 최대 45% */
  .event-2 .link.index4 {
    left: 949px;
  }
  .video-wrap {
    top: 283px;
    width: 838px;
    border-radius: 20px;
    transform: translateX(calc(-50% + 2px));
  }
  .lineup-slide {
    top: 1031px;
    width: 854px;
  }
  .swiper-button-prev {
    top: 280px;
    transform: translateX(-50px);
  }
  .swiper-button-prev:after {
    background: url(./../img/slide-arrow-pc.png) no-repeat center;
  }
  .swiper-button-next {
    top: 280px;
    transform: translateX(50px);
  }
  .swiper-button-next:after {
    background: url(./../img/slide-arrow-pc.png) no-repeat center;
  }

  /* 티빙 바로가기 */
  .line-up .link {
    top: 1669px;
  }
  /* 유의사항 */
  .notice {
    padding: 120px 0;
  }
  .notice_img {
    width: 750px;
  }
  .notice .link.index1 {
    width: 150px;
    top: 299px;
    left: 776px;
  }
  .notice .link.index2 {
    width: 270px;
    top: 2080px;
    left: 846px;
  }
  .notice .link.index3 {
    width: 56px;
    top: 2110px;
    left: 406px;
  }

  /* ========== 팝업 ========== */
  /* .popup_warp {
    width: 1200px;
  }
  .popup > .popup_close_btn {
    width: 70px;
    height: 70px;
    opacity: 0;
  } */
  /* .popup > .popup_close_btn {
    width: 100px;
    height: 100px;
    opacity: 0;
  } */
  /* .popup_warp > .pc_login {
    width: 1000px;
    aspect-ratio: 1500 / 560;
    background: url(./../img/popup/pc_login.png) no-repeat center;
    background-size: cover;
  }
  .popup_warp > .pc_login > .popup_action_btn {
    bottom: 76px;
    width: 420px;
    height: 105px;
    opacity: 0;
  } */
}

/* MO */
@media screen and (max-width: 720px) {
  /* -----COUNTENT----- */
  .pc {
    display: none !important;
  }
  .keyvisual,
  .event-1,
  .event-2,
  .line-up,
  .notice {
    width: 720px;
  }
  /* 페이지 레이아웃 */
  .keyvisual {
    aspect-ratio: 72 / 49.5;
    background: url(./../img/mo-1.jpg) no-repeat center;
    background-size: cover;
  }
  .event-1 {
    aspect-ratio: 720 / 3918;
    background: url(./../img/mo-2.jpg) no-repeat center;
    background-size: cover;
  }
  /* .event-1.event-1-end {
    aspect-ratio: 720 / 2860;
    background: url(./../img/mo-2-end.jpg) no-repeat center;
    background-size: cover;
  } */
  .event-2 {
    aspect-ratio: 72 / 124;
    background: url(./../img/mo-3.jpg) no-repeat center;
    background-size: cover;
  }
  .line-up {
    aspect-ratio: 72 / 152;
    background: url(./../img/mo-4.jpg) no-repeat center;
    background-size: cover;
  }
  /* 응모하기 */
  .event-1 .link.index0 {
    top: 1019px;
    width: 382px;
    height: 92px;
    left: 50%;
    transform: translateX(-50%);
  }
  /* 더블 혜택 EVENT */
  .event-1 .link.index1 {
    top: 1754px;
    width: 448px;
    height: 92px;
  }
  /* .event-1.event-1-end .link.index1 {
    top: 1302px;
  } */
  .event-1 .link.index2,
  .event-1 .link.index3 {
    top: 3425px;
    width: 449px;
    height: 92px;
    left: 50%;
    transform: translateX(-50%);
  }
  /* .event-1.event-1-end .link.index2,
  .event-1.event-1-end .link.index3 {
    top: 2457px;
  } */
  .event-2 .link {
    top: 1053px;
    width: 131px;
    height: 44px;
  }
  /* 25년 2월부터 월간이용권 3개월 50% */
  .event-2 .link.index1 {
    left: 81px;
  }
  /* 월간이용권 3개월 50% */
  .event-2 .link.index2 {
    left: 223px;
  }
  /* 광고형 스탠다드 첫 달 100원 + 3개월 50% */
  .event-2 .link.index3 {
    left: 366px;
  }
  /* 연간이용권 최대 45% */
  .event-2 .link.index4 {
    left: 508px;
  }

  .video-wrap {
    top: 259px;
    width: 611px;
    border-radius: 20px;
    transform: translateX(calc(-50% + -1px));
  }
  .lineup-slide {
    top: 846px;
    width: 650px;
  }
  .swiper-button-prev {
    top: 218px;
    transform: translateX(-29px);
  }
  .swiper-button-prev:after {
    background: url(./../img/slide-arrow-mo.png) no-repeat center;
  }
  .swiper-button-next {
    top: 218px;
    transform: translateX(29px);
  }
  .swiper-button-next:after {
    background: url(./../img/slide-arrow-mo.png) no-repeat center;
  }
  /* 티빙 바로가기 */
  .line-up .link {
    top: 1351px;
  }
  .notice {
    padding: 80px 0;
  }
  .notice_img {
    width: 620px;
  }
  .notice .link.index1 {
    width: 128px;
    top: 225px;
    left: 379px;
  }
  .notice .link.index2 {
    width: 225px;
    top: 1698px;
    left: 439px;
  }
  .notice .link.index3 {
    width: 44px;
    top: 1724px;
    left: 76px;
  }

  /* ========== 팝업 ========== */
  .popup_warp {
    width: 100%;
  }
}
