@charset "utf-8";

:root {
  --vh: 1vh;
  --vw: 1vw;
}

/* RESET */
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
p,
a,
img,
strong,
dl,
dt,
dd,
ul,
ol,
li,
article,
aside,
footer,
header,
nav,
section {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
body,
button {
  font-family: "맑은 고딕", "malgun gothic", "돋움", "dotum", "sans-serif";
  font-size: 16px;
}
h1,
h2,
h3,
h4,
h5 {
  font-size: 16px;
}
ul,
ol {
  list-style-type: none;
}
a,
img {
  vertical-align: top;
}
a,
a:link,
a:visited {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  text-decoration: none;
}
a,
button {
  color: inherit;
}
button {
  display: block;
  position: relative;
  padding: 0;
  border: 0;
  background-color: transparent;
  outline: none;
  cursor: pointer;
}
button:focus,
button:active {
  padding: 0;
}

/* LAYOUT */
html,
body,
.wrap,
main {
  width: 100%;
  overflow-x: hidden;
}
.wrap {
  position: relative;
  width: 100%;
  background-color: #000;
  min-width: 1280px;
}
.swiper-slide.section {
  max-width: 2560px;
  height: auto;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 1;
}

.swiper-slide > div.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 1280px;
  z-index: 3;
}

/* COMMON */
/* .clearfix::after {
    display: block;
    content: "";
    clear: both;
  } */
.sr_only {
  overflow: hidden;
  visibility: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  font-size: 0;
  line-height: 0;
}
.update_title,
.update_subtext {
  margin: 0 auto;
}

@keyframes verticalMove {
  from {
    transform: translateY(-4px);
  }
  to {
    transform: translateY(4px);
  }
}

main {
  z-index: -1;
}

.cloud.background {
  position: absolute;
  width: 100%;
  height: 1523px;
  top: 200px;
  left: 0;
  z-index: 2;
  background: url("../images/cloud.png") no-repeat center top;
  animation: fadeIn 0.8s ease-in;
}
.butterfly.background {
  position: absolute;
  opacity: 0;
  width: 124px;
  height: 118px;
  top: 180px;
  left: 350px;
  z-index: 2;
  background-image: url("../images/butterfly_bg.png");
  animation: verticalMove 2s infinite alternate ease-in-out,
    fadeIn 0.8s ease-in forwards;
  animation-delay: 0.6s;
}
.butterfly:not(.background) {
  position: absolute;
  opacity: 0;
  z-index: 2;
  background-image: url("../images/butterfly_spr.png");
  animation: verticalMove 2s infinite alternate ease-in-out,
    fadeIn 0.8s ease-in forwards;
  animation-delay: 0.6s;
}

/* HEADER */
.header_sprite {
  background: url("../images/header_sprite.png") no-repeat;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 2560px;
  width: 100%;
  min-width: 1280px;
  display: flex;
  justify-content: space-between;
  height: 70px;
  z-index: 6;
  background: url("../images/header_main_bg.png") -100px -100px;
  box-sizing: border-box;
}

header .logo {
  position: absolute;
  background-position: -10px -10px;
  width: 194px;
  height: 47px;
  top: 11px;
  left: 60px;
  cursor: pointer;
}

.nav-update-subject-wrapper.on {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 2560px;
  width: 100%;
  min-width: 1280px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 100px;
  z-index: 5;
  background: url("../images/header_nav_sub.png");
  box-sizing: border-box;
}

.nav-update-subject-wrapper > div:nth-child(2) {
  position: relative;
  width: 657px;
  left: -40px;
  top: -22px;
}

.nav-update-subject-wrapper > div:nth-child(2) > div {
  cursor: pointer;
}

.nav-update-subject-wrapper > div > .blank:first-child {
  width: 219px;
}

.nav-update-subject-wrapper > div > .blank:last-of-type {
  width: 312px;
}

/* NAV */
@media (min-width: 1500px) {
  header {
    display: flex;
    justify-content: center;
  }

  header nav {
    margin: 0;
  }
}

header nav {
  position: relative;
  margin-left: 240px;
  display: flex;
}

/* 각 메뉴 영역 (209 x 75) */
header nav .nav-update-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 209px;
  height: 75px;
}

header nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

/* 공통 p 영역 */
header nav .nav-update-title .nav-item p {
  display:block;
  width:209px;
  height:75px;
  background-image: url("../images/header_nav_main_off_spr.png");
  background-repeat: no-repeat;
  background-position: 0 0;
}

/* hover / active 시 ON 이미지로 교체 (포지션은 그대로 유지) */
header nav .nav-update-title.active .nav-item p,
header nav .nav-update-title:hover .nav-item p {
  background-image: url("../images/header_nav_main_on_spr.png");
}

/* ===== 스프라이트 위치 (6등분) ===== */
/* 1254px ÷ 6 = 209px */

/* 스프라이트 위치 */
header nav .nav-update-title .nav-title-1 p { background-position:    0px 0; }
header nav .nav-update-title .nav-title-2 p { background-position: -209px 0; }
header nav .nav-update-title .nav-title-3 p { background-position: -418px 0; }
header nav .nav-update-title .nav-title-4 p { background-position: -627px 0; }
header nav .nav-update-title .nav-title-5 p { background-position: -836px 0; }
header nav .nav-update-title .nav-title-6 p { background-position: -1045px 0; }

/* LINKS */
.a_wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  right: 30px;
}
.a_wrap li {
  cursor: pointer;
}
.a_wrap li a {
  display: inline-block;
}
.a_wrap .home {
  width: 26px;
  height: 22px;
  background-position: -102px -127px;
}
.a_wrap li .update {
  width: 26px;
  height: 22px;
  background-position: -56px -127px;
}

.a_wrap li .event {
  width: 26px;
  height: 24px;
  background-position: -10px -127px;
}
.a_wrap button {
  width: 150px;
  height: 30px;
  background-position: -10px -77px;
}

/* SIDE MENU */
.side_menu {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 10;
  bottom: 0;
  right: 0;
  width: 152px;
  height: 160px;
  /*background: url("../images/side_menu_spr.png") no-repeat -10px -10px;*/
  padding-top: 22px;
  animation: fadeIn 0.4s ease-in;
}
.side_menu_spr {
  background: url("../images/side_menu_spr.png") no-repeat;
}
.side_menu a {
  display: inline-block;
}
.side_menu a button.return {
  width: 65px;
  height: 34px;
  background-position: -182px -123px;
}
.side_menu a button.stepup {
  width: 69px;
  height: 33px;
  background-position: -182px -70px;
  margin-bottom: 10px;
}
.side_menu > div {
  width: 97px;
  height: 2px;
  background: url("../images/side_menu_spr.png") no-repeat -182px -177px;
  margin: 12px 0;
}
.side_menu .btn_top {
  width: 100px;
  height: 40px;
  background-position: -182px -10px;
}
.side_menu a button {
  width: 100%;
  height: 100%;
}

/* QUICK SECTION */
.quick_menu {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  left: 80px;
  width: 21px;
  height: 142px;
}
.quick_menu_spr {
  cursor: pointer;
}
.quick_menu_spr,
.quick_menu_divider {
  background: url("../images/quick_menu_spr.png") no-repeat;
}

.quick_menu_spr:first-child {
  width: 21px;
  height: 28px;
  background-position: -51px -10px;
}
.quick_menu_divider:nth-child(2) {
  width: 2px;
  height: 40px;
  background-position: -10px -58px;
  margin-bottom: -15px;
}
.quick_menu_spr:nth-child(3) {
  width: 21px;
  height: 28px;
  background-position: -51px -10px;
}
.quick_menu_divider:nth-child(4) {
  width: 2px;
  height: 40px;
  background-position: -10px -58px;
  margin-bottom: -15px;
}
.quick_menu_spr:last-child {
  width: 21px;
  height: 28px;
  background-position: -51px -10px;
}

.quick_menu_spr.active {
  margin-left: 1px;
  background: url("../images/quick_menu_spr.png") no-repeat -10px -10px;
}

.section.main {
  position: relative;
  width: 100%;
  top: 1px;
  height: 1283px;
  background: url("../images/main_bg.png") no-repeat center top;
}
.section.main > .butterfly:first-child {
  position: absolute;
  top: 912px;
  left: 0;
  width: 384px;
  height: 352px;
  background-position: -10px -10px;
}
.section.main > .butterfly:nth-child(2) {
  top: 712px;
  left: 206px;
  width: 239px;
  height: 218px;
  background-position: -10px -382px;
}
.section.main > .butterfly:nth-child(3) {
  top: 250px;
  right: 0;
  width: 232px;
  height: 212px;
  background-position: -269px -382px;
}

.section.main .cloud {
  position: absolute;
  width: 100%;
  height: 1283px;
  bottom: 0;
  background: url("../images/cloud1.png");
}

/* UPDATE1 SECTION */
.section.update1 {
  position: relative;
  width: 100%;
  height: 3298px;
  background: url("../images/update1_bg.png") no-repeat center top;
}

.section.update1 > .butterfly:first-child {
  top: 486px;
  left: 42px;
  width: 239px;
  height: 218px;
  background-position: -10px -382px;
}
.section.update1 > .butterfly:nth-last-of-type(2) {
  top: 1986px;
  right: 82px;
  width: 345px;
  height: 311px;
  background-position: -414px -10px;
}

@keyframes unfoldCenter {
  from {
    transform: scaleX(0); /* X축 크기 0 → 보이지 않음 */
    opacity: 0;
  }
  to {
    transform: scaleX(1); /* X축 크기 1 → 원래 크기로 펼쳐짐 */
    opacity: 1;
  }
}

.section.update1 h2 {
  height: 165px;
  opacity: 0;
}

.section.update1.active h2 {
  position: relative;
  top: -28px;
  width: 558px;
  height: 165px;
  background-image: url("../images/update1_title.png");
  animation: unfoldCenter 0.8s ease-out forwards;
}

.section.update1 .update_subtext {
  height: 44px;
  opacity: 0;
}

.section.update1.active .update_subtext {
  width: 337px;
  height: 44px;
  background-image: url("../images/update1_sub_text.png");
  margin-top: 8px;
  animation: fadeIn 0.8s ease-out forwards;
}

.section.update1 .box1 {
  position: relative;
  width: 1200px;
  height: 350px;
  top: 64px;
  background-image: url("../images/update1_box1.png");
}

@keyframes fadeInLeft {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInRight {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInY {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.section.update1 .box1 .box1_title {
  display: flex;
  align-items: center;
  position: absolute;
  height: 62px;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
}

.section.update1 .box1.active .box1_title .left_wing {
  width: 62px;
  height: 62px;
  background: url("../images/wing_spr.png") no-repeat -10px -10px;
  animation: fadeInLeft 0.6s ease-out forwards;
}

.section.update1 .box1.active .box1_title > h4 {
  width: 337px;
  height: 36px;
  background: url("../images/update1_box1_title.png") no-repeat;
  opacity: 0;
  animation: fadeIn 0.6s ease-in forwards;
  animation-delay: 0.2s;
}

.section.update1 .box1.active .box1_title .right_wing {
  width: 62px;
  height: 61px;
  background: url("../images/wing_spr.png") no-repeat -92px -10px;
  animation: fadeInRight 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDownExpand {
  0% {
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
  }
}

.section.update1 .box1 p {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.section.update1 .box1.active p {
  font-family: "S-CoreDream2", sans-serif;
  position: absolute;
  top: 125px;
  left: 50%;
  width: 80%;
  color: #fff;
  font-size: 19px;
  line-height: 31px;
  text-align: center;
  animation: slideDownExpand 0.5s ease-out forwards;
}

.section.update1 .box2 {
  position: relative;
  width: 1201px;
  height: 480px;
  margin-top: 128px;
  background-image: url("../images/update1_box2.png");
}

.section.update1 .box2 .box2_title {
  display: flex;
  align-items: center;
  position: absolute;
  height: 62px;
  top: 51px;
  left: 50%;
  transform: translateX(-50%);
}

.section.update1 .box2.active .box2_title .left_wing {
  width: 62px;
  height: 62px;
  background: url("../images/wing_spr.png") no-repeat -10px -10px;
  animation: fadeInLeft 0.6s ease-out forwards;
}

.section.update1 .box2.active .box2_title > h4 {
  width: 320px;
  height: 36px;
  background: url("../images/update1_box2_title.png") no-repeat;
  opacity: 0;
  animation: fadeIn 0.6s ease-in forwards;
  animation-delay: 0.2s;
}

.section.update1 .box2.active .box2_title .right_wing {
  width: 62px;
  height: 61px;
  background: url("../images/wing_spr.png") no-repeat -92px -10px;
  animation: fadeInRight 0.6s ease-out forwards;
}

.section.update1 .box2 ol {
  position: relative;
  opacity: 0;
}

.section.update1 .box2.active ol {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 11px;
  top: 160px;
  left: 434px;
  animation: slideDownExpand 0.5s ease-out forwards;
}

.section.update1 .box2.active ol > div {
  display: flex;
}

.section.update1 .box2.active ol .text-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 170px;
  height: 32px;
  margin-right: 17px;
  background-image: url("../images/update1_box2_text_box_spr.png");
}
.section.update1 .box2.active ol > div:first-child > .text-box {
  background-position: -188px -10px;
}
.section.update1 .box2.active ol > div:nth-child(2) .text-box {
  background-position: -10px -10px;
}
.section.update1 .box2.active ol > div:nth-child(3) .text-box {
  background-position: -10px -114px;
}
.section.update1 .box2.active ol > div:nth-child(4) .text-box {
  background-position: -10px -62px;
}
.section.update1 .box2.active ol > div:last-child .text-box {
  background-position: -188px -62px;
}

.section.update1 .box2.active ol p {
  font-family: "S-CoreDream2", sans-serif;
  color: #fff;
  font-size: 19px;
  letter-spacing: 0.095px;
}
.section.update1 .box2.active ol p.thick {
  font-family: "S-CoreDream5", sans-serif;
}

.section.update1 .box2 .item {
  position: absolute;
  top: 61px;
  right: 71px;
  width: 385px;
  height: 408px;
  background-image: url("../images/update1_box2_item.png");
}

.section.update1 .box2 .item {
  opacity: 0;
}

.section.update1 .box2.active .item {
  animation: fadeIn 0.6s ease-in forwards,
    verticalMove 2s infinite alternate ease-in-out;
}

.section.update1 .box3 {
  position: relative;
  width: 1200px;
  height: 970px;
  margin-top: 66px;
  background-image: url("../images/update1_box3.png");
}

.section.update1 .box3 .box3_title {
  display: flex;
  align-items: center;
  position: absolute;
  height: 62px;
  top: 51px;
  left: 50%;
  transform: translateX(-50%);
}

.section.update1 .box3.active .box3_title .left_wing {
  width: 62px;
  height: 62px;
  background: url("../images/wing_spr.png") no-repeat -10px -10px;
  animation: fadeInLeft 0.6s ease-out forwards;
}

.section.update1 .box3.active .box3_title > h4 {
  width: 303px;
  height: 36px;
  background: url("../images/update1_box3_title.png") no-repeat;
  opacity: 0;
  animation: fadeIn 0.6s ease-in forwards;
  animation-delay: 0.2s;
}

.section.update1 .box3.active .box3_title .right_wing {
  width: 62px;
  height: 61px;
  background: url("../images/wing_spr.png") no-repeat -92px -10px;
  animation: fadeInRight 0.6s ease-out forwards;
}

.section.update1 .box3 ul {
  position: absolute;
  top: 152px;
  left: 41px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 14px;
}

.section.update1 .box3 ul > li {
  opacity: 0;
}

.section.update1 .box3.active ul > li {
  position: relative;
  width: 269px;
  height: 360px;
  cursor: pointer;
  overflow: hidden;
  animation: fadeInY 0.6s ease-out forwards;
}

.section.update1 .box3.active ul > li .layout {
  position: absolute;
  width: 269px;
  height: 360px;
  width: 100%;
  height: 100%;
  z-index: 4;
  background: url("../images/monster_card_layout.png");
}

.section.update1 .box3.active ul > li:hover .layout {
  background: url("../images/monster_card_layout_on.png");
}

.section.update1 .box3 ul > li:not(:hover) .enlarge {
  position: absolute;
  width: 74px;
  height: 74px;
  z-index: 3;
  background-image: url("../images/enlarge-icon.png");
}

.section.update1 .box3 ul > li > .info {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 258px;
  height: 350px;
  transform: translate(-50%, -50%);
}
/* 사용하지 않음 */
/*
.section.update1 .box3 ul > li:first-child > .info {
  background-image: url("../images/monster1_info.png");
}
.section.update1 .box3 ul > li:nth-child(2) > .info {
  background-image: url("../images/monster2_info.png");
}
.section.update1 .box3 ul > li:nth-child(3) > .info {
  background-image: url("../images/monster3_info.png");
}
.section.update1 .box3 ul > li:nth-child(4) > .info {
  background-image: url("../images/monster4_info.png");
}
.section.update1 .box3 ul > li:nth-child(5) > .info {
  background-image: url("../images/monster5_info.png");
}
.section.update1 .box3 ul > li:nth-child(6) > .info {
  background-image: url("../images/monster6_info.png");
}
.section.update1 .box3 ul > li:nth-child(7) > .info {
  background-image: url("../images/monster7_info.png");
}
.section.update1 .box3 ul > li:last-child > .info {
  background-image: url("../images/monster8_info.png");
}
.section.update1 .box3.active ul > li:first-child:hover > .info {
  background-image: url("../images/monster1_info_on.png");
}
.section.update1 .box3.active ul > li:nth-child(2):hover > .info {
  background-image: url("../images/monster2_info_on.png");
}
section.update1 .box3.active ul > li:nth-child(3):hover > .info {
  background-image: url("../images/monster3_info_on.png");
}
section.update1 .box3.active ul > li:nth-child(4):hover > .info {
  background-image: url("../images/monster4_info_on.png");
}
section.update1 .box3.active ul > li:nth-child(5):hover > .info {
  background-image: url("../images/monster5_info_on.png");
}
section.update1 .box3.active ul > li:nth-child(6):hover > .info {
  background-image: url("../images/monster6_info_on.png");
}
section.update1 .box3.active ul > li:nth-child(7):hover > .info {
  background-image: url("../images/monster7_info_on.png");
}
section.update1 .box3.active ul > li:last-child:hover > .info {
  background-image: url("../images/monster8_info_on.png");
}
*/
.section.update1 .box3 ul > li > .monster {
  position: absolute;
  width: 98%;
  height: 98%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  background-size: 100%;
  background-position: center;
  transition: background-size 0.35s ease-in-out;
  border-radius: 30px; /* 튀어나옴 막기 */
}
.section.update1 .box3 ul > li:hover > .monster {
  background-size: 130%;
  overflow: hidden;
  transition: background-size 0.35s ease-in-out;
}
.section.update1 .box3 ul > li:first-child > .monster {
  background-image: url("../images/monster1.png");
}
.section.update1 .box3 ul > li:nth-child(2) > .monster {
  background-image: url("../images/monster2.png");
}
.section.update1 .box3 ul > li:nth-child(3) > .monster {
  background-image: url("../images/monster3.png");
}
.section.update1 .box3 ul > li:nth-child(4) > .monster {
  background-image: url("../images/monster4.png");
}
.section.update1 .box3 ul > li:nth-child(5) > .monster {
  background-image: url("../images/monster5.png");
}
.section.update1 .box3 ul > li:nth-child(6) > .monster {
  background-image: url("../images/monster6.png");
}
.section.update1 .box3 ul > li:nth-child(7) > .monster {
  background-image: url("../images/monster7.png");
}
.section.update1 .box3 ul > li:last-child > .monster {
  background-image: url("../images/monster8.png");
}

.section.update1 .box3 ul > li:first-child {
  animation-delay: 0.12s;
}

.section.update1 .box3 ul > li:nth-child(2) {
  animation-delay: 0.24s;
}

.section.update1 .box3 ul > li:nth-child(3) {
  animation-delay: 0.36s;
}

.section.update1 .box3 ul > li:nth-child(4) {
  animation-delay: 0.48s;
}

.section.update1 .box3 ul > li:nth-child(5) {
  animation-delay: 0.6s;
}

.section.update1 .box3 ul > li:nth-child(6) {
  animation-delay: 0.72s;
}

.section.update1 .box3 ul > li:nth-child(7) {
  animation-delay: 0.84s;
}

.section.update1 .box3 ul > li:last-child {
  animation-delay: 0.96s;
}

.section.update1 .box4 {
  position: relative;
  width: 1200px;
  height: 872px;
  margin-top: 66px;
  background-image: url("../images/update1_box4.png");
}

.section.update1 .box4 .box4_title {
  display: flex;
  align-items: center;
  position: absolute;
  height: 62px;
  top: 51px;
  left: 50%;
  transform: translateX(-50%);
}

.section.update1 .box4.active .box4_title .left_wing {
  width: 62px;
  height: 62px;
  background: url("../images/wing_spr.png") no-repeat -10px -10px;
  animation: fadeInLeft 0.6s ease-out forwards;
}

.section.update1 .box4.active .box4_title > h4 {
  width: 274px;
  height: 36px;
  background: url("../images/update1_box4_title.png") no-repeat;
  opacity: 0;
  animation: fadeIn 0.6s ease-in forwards;
  animation-delay: 0.2s;
}

.section.update1 .box4.active .box4_title .right_wing {
  width: 62px;
  height: 61px;
  background: url("../images/wing_spr.png") no-repeat -92px -10px;
  animation: fadeInRight 0.6s ease-out forwards;
}

.section.update1 .box4 ul {
  position: absolute;
  top: 142px;
  left: 29px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}

.section.update1 .box4 ul > li {
  opacity: 0;
}

.section.update1 .box4.active ul > li {
  position: relative;
  width: 552px;
  height: 309px;
  cursor: pointer;
  animation: fadeInY 0.6s ease-out forwards;
}

.section.update1 .box4.active ul > li .layout {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: url("../images/dungeon_card_layout.png");
}
.section.update1 .box4.active ul > li:hover .layout {
  background: url("../images/dungeon_card_layout_on.png");
}

.section.update1 .box4 ul > li > .screen_shot {
  position: absolute;
  width: 98%;
  height: 98%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-size: 100%;
  background-position: center;
  transition: background-size 0.35s ease-in-out;
  border-radius: 20px; /* 튀어나옴 막기 */
}
.section.update1 .box4 ul > li:hover > .screen_shot {
  background-size: 130%;
  overflow: hidden;
  transition: background-size 0.35s ease-in-out;
}

.section.update1 .box4 ul > li:first-child > .screen_shot {
  background-image: url("../images/dungeon1.png");
}
.section.update1 .box4 ul > li:nth-child(2) > .screen_shot {
  background-image: url("../images/dungeon2.png");
}
.section.update1 .box4 ul > li:nth-child(3) > .screen_shot {
  background-image: url("../images/dungeon3.png");
}
.section.update1 .box4 ul > li:last-child > .screen_shot {
  background-image: url("../images/dungeon4.png");
}

.section.update1 .box4 ul > li:first-child {
  animation-delay: 0.15s;
}

.section.update1 .box4 ul > li:nth-child(2) {
  animation-delay: 0.3s;
}

.section.update1 .box4 ul > li:nth-child(3) {
  animation-delay: 0.45s;
}

.section.update1 .box4 ul > li:last-child {
  animation-delay: 0.6s;
}

.section.update1 .box4 ul > li:not(:hover) > .enlarge {
  position: absolute;
  top: 0;
  left: 0;
  width: 74px;
  height: 74px;
  z-index: 1;
  background-image: url("../images/enlarge-icon.png");
}

/* UPDATE2 SECTION */
.section.update2 {
  position: relative;
  width: 100%;
  height: 1040px;
  background: url("../images/update2_bg.png") no-repeat center top;
}

.section.update2 > .butterfly {
  top: 100px;
  left: 212px;
  width: 188px;
  height: 179px;
  background-position: -521px -382px;
}

.section.update2 h2 {
  opacity: 0;
}

.section.update2.active h2 {
  position: relative;
  top: -9px;
  width: 848px;
  height: 165px;
  background-image: url("../images/update2_title.png");
  animation: unfoldCenter 0.8s ease-out forwards;
}

.section.update2.active .update_subtext {
  width: 759px;
  height: 83px;
  margin: 8px 0 49px 0;
  background-image: url("../images/update2_sub_text.png");
  animation: fadeIn 0.8s ease-out forwards;
}

.section.update2.active .image {
  position: relative;
  width: 882px;
  height: 597px;
  opacity: 0;
  background-image: url("../images/update2_image.png");
  animation: fadeIn 0.8s ease-in forwards;
  animation-delay: 0.2s;
}

@keyframes zoomInfinite {
  0% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

.section.update2.active .image > .zoom_img {
  animation: zoomInfinite 0.9s infinite alternate ease-in-out;
}

.section.update2.active .image > .zoom_img:first-child {
  position: absolute;
  top: 16px;
  left: 70px;
  width: 541px;
  height: 106px;
  background-image: url("../images/update2_image_zoom1.png");
}

.section.update2.active .image > .zoom_img:last-child {
  position: absolute;
  top: 156px;
  left: 530px;
  width: 384px;
  height: 296px;
  background-image: url("../images/update2_image_zoom2.png");
}

/** ADDED SECTION 3~5 **/

/* UPDATE3 SECTION */
.section.update3 {
  width: 100%;
  height: 1079px;
  background: url("../images/update3_bg.png") no-repeat center top;
}

.section.update3 h2 {
  opacity: 0;
}

.section.update3.active h2 {
  position: relative;
  top: -9px;
  width: 848px;
  height: 165px;
  background-image: url("../images/update3_title.png");
  animation: unfoldCenter 0.8s ease-out forwards;
}

.section.update3.active .update_subtext {
  width: 759px;
  height: 83px;
  margin: 8px 0 49px 0;
  background-image: url("../images/update3_sub_text.png");
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes zoomInfinite {
  0% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

/* Update4 */
.section.update4 {
  width: 100%;
  height: 1040px;
  background: url("../images/update4_bg.png") no-repeat center top;
}

.section.update3 h2 {
  opacity: 0;
}

.section.update4.active h2 {
  position: relative;
  top: -9px;
  width: 848px;
  height: 165px;
  background-image: url("../images/update4_title.png");
  animation: unfoldCenter 0.8s ease-out forwards;
}

.section.update4.active .update_subtext {
  width: 759px;
  height: 83px;
  margin: 8px 0 49px 0;
  background-image: url("../images/update4_sub_text.png");
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes zoomInfinite {
  0% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

/* Update5 */
.section.update5 {
  width: 100%;
  height: 1040px;
  background: url("../images/update5_bg.png") no-repeat center top;
}

.section.update5 h2 {
  opacity: 0;
}

.section.update5.active h2 {
  position: relative;
  top: -9px;
  width: 942px;
  height: 165px;
  background-image: url("../images/update5_title.png");
  animation: unfoldCenter 0.8s ease-out forwards;
}

.section.update5.active .update_subtext {
  width: 759px;
  height: 83px;
  margin: 8px 0 49px 0;
  background-image: url("../images/update5_sub_text.png");
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes zoomInfinite {
  0% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

/* UPDATE3 SECTION Update6으로 교체 */
.section.update6 {
  width: 100%;
  height: 1079px;
  background: url("../images/update6_bg.png") no-repeat center top;
}

.section.update6.active h2 {
  position: relative;
  width: 1022px;
  height: 165px;
  background-image: url("../images/update6_title.png");
  animation: unfoldCenter 0.8s ease-out forwards;
}

.section.update6.active .update_subtext {
  width: 759px;
  height: 83px;
  margin: 16px 0 19px 0;
  background-image: url("../images/update6_sub_text.png");
  animation: fadeIn 0.8s ease-out forwards;
}

.section.update6.active .image {
  position: relative;
  width: 882px;
  height: 441px;
  margin-bottom: 146px;
  opacity: 0;
  background-image: url("../images/update6_content.png");
  animation: fadeIn 0.8s ease-in forwards;
  animation-delay: 0.2s;
}

.section.update6.active .image .zoom_img {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 4px;
  width: 197px;
  height: 438px;
  background-image: url("../images/update6_image_zoom.png");
  animation: zoomInfinite 0.9s infinite alternate ease-in-out;
}

.section.update6.active .footer {
  width: 646px;
  height: 50px;
  margin: 0 auto;
  background-image: url("../images/footer.png");
}

.section.update6 .footer strong {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 43px;
  color: #606060;
  font-size: 18px;
}


/** POPUP **/
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-width: 1280px;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  cursor: pointer;
}

@keyframes popupZoomIn {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.popup_frame {
  width: 1200px;
  height: 723px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: popupZoomIn 0.4s ease-out forwards;
}

.popup_close {
  background-image: url(../images/popup_close.png);
  width: 43px;
  height: 43px;
  position: absolute;
  top: 48px;
  right: -60px;
  cursor: pointer;
}
.popup_close.gold {
  width: 50px;
  height: 50px;
  right: -68px;
  top: 24px;
  background-image: url(../images/popup_close_gold.png);
}

.popup_image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  object-fit: contain;
}
