/* set */
.container {width: 1500px; margin: 0 auto;}
#wrap {width: 100%; overflow-x: hidden;}
#wrap_content {width: 100%; min-height: 100vh; overflow: hidden;}
.cafe {font-family: 'Cafe24ClassicType-Regular';}
section {position: relative; z-index: 1;}
input:focus {box-shadow: 0 0 5px rgba(255,255,255,0.3);}


/* ========================= login ========================= */
/* 로그인 */
#wrap_content.login {background: url('/assets/img/pirate/bg/login_bg.jpg') no-repeat center/cover;}
.login_logo {position: relative; width: 264px; margin: 0 auto 10px; padding-top: 120px;}
.login_wrap {position: relative; width: 100%;}
.login_bg {width: 100%;}
.login_box {position: absolute; top: 50%; left: 50%; width: 840px; transform: translate(-50%, -50%);}
.row {position: relative; width: 280px;}
.login_input {display: flex; align-items: center; height: 50px; padding: 12px 0;
    border: 1px solid #fff; background: rgba(60,60,60,0.5);}
.login_input:first-child {margin-bottom: 20px;}
.login_input label {display: block; width: 50px; font-size: 13px; padding-left: 20px; color: #B8B8B8;}
.login_input input {width: calc(100% - 58px); font-size: 14px; color: #ffffff;}
.login_input input:focus {box-shadow: none;}

.login_info {display: flex; align-items: center; justify-content: center; gap: 5px; margin: 15px 0 30px;}
.login_info img {width: 20px;}
.login_info span {display: block; font-size: 13px;}

.login_btn {width: 280px; height: 50px; background: #FF9700; font-size: 15px; font-weight: 500;}
.login_box .btn_box {display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 24px;}
.login_box .btn_box li {position: relative; font-size: 16px; color: #CBCBCB;}
.login_box .btn_box li::after {content: ''; position: absolute; top: 50%; right: -14px; display: block;
    width: 1px; height: 12px; background: #CBCBCB; transform: translateY(-50%);}
.login_box .btn_box li:last-child::after {display: none;}
.login_box .btn_box li:hover a {text-shadow: 0 0 5px rgba(255,255,255,0.5);}

/* ========================= index ========================= */
/* main banner */
#wrap_content.main {background: url('/assets/img/pirate/bg/main_bg.jpg') no-repeat top center/100% auto;}
.main_banner {width: 100%; margin-top: -50px;}
.main_banner_swiper {width: 800px; margin: 0 auto; padding: 30px 0;}
.slide_banner {width: 100%;}
.slide_banner p {font-size: 24px; color: #F9E9AC; font-weight: 100; text-align: center; margin-bottom: 10px;}
.slide_banner p span {font-size: 24px; color: #FFC914; font-weight: 500;}
.detail_btn {width: 154px; height: 38px; font-size: 14px;}
.gr_btn {display: block; background: #200303; border: 1px solid #C58F20; color: #FF9700; text-align: center;
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.5); border-radius: 30px; margin: 0 auto;}
.main_banner_swiper .swiper-pagination {bottom: 0;}
.main_banner .main_banner_swiper .swiper-pagination-bullet {width: 8px; height: 8px; background: #fff; margin: 0 7px;}

/* game list */
.game_banner {position: relative; width: 100%;}
.map_img {position: absolute; top: 0; left: 50%; width: calc(100% - 20px); transform: translateX(-50%); margin-top: -50px; z-index: 0;}
.game_wrap {position: relative; padding-top: 58px; z-index: 1;}
.game_wrap .tab_box {display: flex; align-items: center; justify-content: center; gap: 46px; margin-top: 30px;}
.tab_btn {position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 260px; height: 82px; border-radius: 10px;
    cursor: pointer; border: 3px solid #774512; box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); background: rgba(0, 0, 0, 0.15); transition: 0.3s; overflow: hidden;}
.tab_btn::after {content: ''; display: block; position: absolute; top: 0; left: 0; width: 0; height: 100%; transition: 0.6s; z-index: -1;}
.tab_btn:hover::after {width: 150%; background: linear-gradient(90deg, #000000 0%, rgba(0, 0, 0, 0.810012) 84.84%, rgba(0, 0, 0, 0) 100%);}
.tab_btn.active {background: #000000;}
.tab_btn span {font-size: 12px; color: #FFC914;}
.tab_btn p {font-size: 24px; transition: 0.2s;}
.tab_btn:hover {animation: pulse 1s infinite;}
.tab_area {display: none; margin-top: 30px; min-height: 780px;}
.tab_area.active {display: block;}
.card_list {display: flex; align-items: flex-start; flex-wrap: wrap; gap: 21px;}
.card_box {position: relative; width: 224px; height: 334px; background: url('/assets/img/pirate/source/card_img.png') no-repeat center/contain;
    padding: 15px 10px; cursor: pointer; transition: 0.4s;}
.card_box::after {content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 17px;
    background: linear-gradient(100deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3058823529),
    rgba(255, 255, 255, 0.4196078431), rgba(0, 0, 0, 0.3058823529), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    background-size: 1000% 100%; animation: gradient 4s infinite;
}
.card_box:hover {scale: 1.2; z-index: 10; filter: drop-shadow(4px 4px 20px rgba(242, 210, 4, 0.766));
    transform: translateY(-10px) rotate(10deg); }
.card_box .start {opacity: 0; position: absolute; z-index: 1; width: 40px; right: -14px; top: -18px;
    scale: 1; animation: starticon 4s infinite;
}
.card_character {position: absolute; top: 100px; left: 50px; width: 122px; height: 122px; border-radius: 50%; object-fit: cover;}
.game_logo {position: absolute; bottom: 40px; left: 50%; width: 88px; height: 36px; object-fit: contain; transform: translateX(-50%);}
.card_box .name {font-size: 16px; color: #E1841A; text-align: center; font-weight: 500; margin: 8px 0 0;}

@keyframes gradient {
    0% {
      background-position: 100%;
    }
    100% {
      background-position: 0%;
    }
}
@keyframes starticon {
    0% {
      transform: rotate(0deg);
      opacity: 0;
    }
    35% {
      transform: rotate(0deg);
      opacity: 0;
    }
    50% {
      opacity: 1;
      transform: rotate(100deg);
      scale: 1.5;
    }
    75% {
      transform: rotate(0deg);
      opacity: 0;
    }
    100% {
      transform: rotate(0deg);
      opacity: 0;
    }
}

/* bank */
.bank_section {width: 100%; margin-top: 40px;}
.bank_box {display: flex; align-items: flex-start;}
.bank_inner {border: 1px solid rgba(148,140,140,0.25);}
.pirate_box {width: 570px;}
.deposit_box, .withdraw_box {width: 467px;}
.bank_title {display: flex; align-items: center; justify-content: space-between;
    width: 100%; height: 80px; background: rgba(91, 88, 88, 0.25); padding: 0 24px;}
.bank_title p {color: #C1AD8B;}
.bank_title a {font-size: 12px; color: #999;}
.bank_title span {font-size: 24px; color: #C1AD8B;}
.bank_list li {background: rgba(148, 140, 140, 0.25);}
.bank_list li:nth-child(2n) {background: rgba(148, 140, 140, 0.15);}
.bank_list li b {color: #C1AD8B; font-weight: 400;}
.bank_list li {display: flex; align-items: center; width: 100%; height: 42px; padding: 0 12px 0 24px;}
.bank_list li * {font-size: 14px;}
.bank_list li span {display: block; width: 128px; text-align: right;}
.bank_list li p {width: calc(100% - 300px);}
.bank_list li b {width: 150px; text-align: right; margin-right: 20px;}
.bank_list li span {display: block; width: 130px; text-align: right;}
.pirate_box li p {width: calc(100% - 85px);}
.bank_menu_list {display: flex; align-items: center; background: rgba(91,88,88,.25);
    height: 80px; margin-top: 34px;}
.bank_menu_box {display: flex; align-items: center; justify-content: center; width: 440px;
    border-right: 1px solid rgba(255,255,255,0.1); cursor: pointer;}
.bank_menu_box p {font-size: 20px; color: #B1722A;}
.bank_menu_box p:hover {text-shadow: 0 0 5px rgba(255,255,255,.3);}
.bank_menu_box img {width: 44px; margin-right: 12px;}
.bank_menu_box span {display: block; font-size: 12px; color: #fff; font-weight: 100; margin-top: 8px;}
.bank_submenu_box {display: flex; align-items: center; width: calc(100% - 880px);}
.submenu_box {display: flex; align-items: center; justify-content: center; width: 50%;}
.submenu_box img {width: 32px; margin-right: 12px;}
.submenu_box p {font-size: 16px; color: #B1722A; cursor: pointer;}
.submenu_box p:hover {text-shadow: 0 0 5px rgba(255,255,255,.3);}