/* set */
.container {width: 1480px; margin: 0 auto;}
#wrap {width: 100%; overflow-x: hidden;}
#wrap_content {width: 100%; min-height: 100vh; overflow: hidden; position: relative;}
section {position: relative; z-index: 1;}
.login_section {position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100%;  max-width: 917px; }
input:focus {box-shadow: 0 0 5px rgba(255,255,255,0.3);}

/* 로그인 */

/* ========================= login ========================= */
#wrap_content.login {background: url('/assets/img/tree/bg/login_bg.jpg') no-repeat center/cover;}
.login_wrap {position: relative; width: 100%;}

.login_bg {width: 100%; height: 100%; position: absolute; top: 0; z-index: -1;}
.login_box {display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
    overflow: hidden; border-radius: 10px;
    /*box-shadow: 0 10px 16px 0 rgba(193, 171, 115, 0.2), 0 6px 20px 0 rgba(193, 171, 115, 0.19);*/
  }
.login_logo{
    display: block;
    width: 252px;
    margin-bottom: 47px;
}
.login_btn_icon{position: absolute;  transform: translateX(-50%);
    left: 50%; bottom: -20px; width: 42px;}
.row {position: relative; width: 280px;}
.login_input {
    width: 100%;
    max-width: 563px;
    display: flex; align-items: center; height: 50px; padding: 12px 0;
    /*border: 2px solid #CFCAB9;*/
    /*background: rgba(255, 255, 255, 0.50);*/
    background-color: #cfd1d2; /* 입력 박스 안쪽 배경색 (대략적으로 추정) */
    border: 3px solid transparent; /* 테두리 두께 설정 */
    border-image: linear-gradient(145deg, #d5f2c4, #2d5b45); /* 그라데이션 색상 */
    border-image-slice: 1;
    outline: none;
    margin-bottom: 20px;
}



.login_input:first-child {margin-bottom: 20px;}
.login_input label {display: block; width: 18.16px; margin-left: 16px; font-size: 13px; }
.login_input label img{width: 100%;}
.login_input input {width: 100%; font-size: 14px; color: #ffffff; padding-left: 17px;}
.login_input input::placeholder{color: #FFFFFF;}
.login_input input:focus {box-shadow: none;}

.login_info span {display: block; font-size: 13px; color: #C4DBE5;}

.login_btn {margin-top: 50px; width: 250px; font-size: 21px; font-weight: 200; position: relative; color: #FFFFFF; z-index: 1;
    /*box-shadow: 0 10px 16px 0 rgba(193, 171, 115, 0.2), 0 6px 20px 0 rgba(193, 171, 115, 0.19);*/
    border-radius: 5px; border-bottom-left-radius: 5px; border-top-right-radius: 5px; overflow: hidden;

}
.login_btn img{width: 100%; height: 100%; top: 0; z-index: -1;}
.login_box .btn_box {display: flex; align-items: center; justify-content: center; gap: 25px; margin-top: 16px;}
.login_box .btn_box li {position: relative; font-size: 20px; color: #e0e0e0; }
.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 {position: relative; background: url('/assets/img/tree/bg/main_bg.jpg') no-repeat top center/100% auto; background-color: #1B1307;}

.main_banner {}
.banner_contents {width: 800px; padding-bottom: 30px;}
.banner {width: 100%;}
.banner p {font-size: 24px; color: #E9FFC6; font-weight: bold; text-align: center; margin-bottom: 10px;}
.banner p span {font-size: 24px; color: #FFFFFF; font-weight: 500;}
.banner button{
    position: relative;
    width: 310px;
    height: 86px;
    margin: 28px auto 0;
    display: block;
}
.banner button img{
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}
.detail_btn {width: 154px; height: 38px; font-size: 14px;}
.gr_btn {display: block; background: #FFFAD1; 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;}
/* game list */
.game_banner {position: relative; width: 100%; margin-top: 162px; margin-bottom: 60px;}
.game_wrap {position: relative; z-index: 1;}
.game_wrap .tab_box_wrap{

}
.tab_box_wrap_logo{max-width: 214px; margin: 0 auto 37px;}
.game_wrap .tab_box {
    width: 100%;
}
.game_wrap .tab_box .wrap{
    display: flex;
}
.tree_wrap{display: flex; justify-content: center; align-items: center;}

.tab_btn {position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 214px;
    cursor: pointer; transition: 0.3s;}
.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 p {font-size: 18px; transition: 0.2s; color: #FFFFFF;}
.tab_btn:hover {animation: pulse 1s infinite;}
.tab_btn:hover{ filter: drop-shadow(4px 4px 20px rgba(255, 237, 188, 0.76));}
.tab_btn img{width: 100%; z-index: -1;}
.tab_area {display: none; margin-top: 100px; 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: 325px; background: url('/assets/img/tree/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(255, 237, 188, 0.76));
    transform: translateY(-10px); }
.card_box .start {left: 50%; transform: translateX(-50%) rotate(0); opacity: 0; position: absolute; z-index: 1; width: 40px; top: -18px;
    scale: 1; animation: starticon 4s infinite;
}
.card_character {position: absolute; top: 46px; left: 50%; width: 150px; height: 150px; object-fit: cover; overflow: hidden; border-radius: 50%; transform: translateX(-50%)}
.game_logo {position: absolute; bottom: 55px; left: 50%; width: 88px; height: 36px; object-fit: contain; transform: translateX(-50%);}
.card_box .name {font-size: 16px; color: #FFFFFF; text-align: center; font-weight: 500; _margin: 53px 0 0;
top: 61%; left: 50%; transform: translateX(-50%); position: absolute;
}

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

    }
    75% {
      transform:translateX(-50%) rotate(0deg);
      opacity: 0;
    }
    100% {
      transform:translateX(-50%) rotate(0deg);
      opacity: 0;
    }
}

/* bank */
.bank_section {width: 100%; margin-top: 138px;}
.bank_box {display: flex; gap: 20px;}
.bank_inner {

    border: 3.5px solid #FFFAD1;
    flex-grow: 1;
}


.tree_box {width: 570px;}
.tree_box .bank_title{padding-top: 48px; height: 100px;}
.tree_box .bank_title a{display: flex; gap: 6px; align-items: center;}
.deposit_box, .withdraw_box {width: 467px;}
.bank_title {display: flex; align-items: center; justify-content: space-between;
    width: 100%; height: 48px;  padding: 0 24px; position: relative;}
.bank_title p {color: #FFFFFF;}
.bank_title a img{width: 16px; filter: brightness(2); height: fit-content;}
.bank_title span {font-size: 24px; color: #FFFFFF;}


.bank_title .img_title{
    position: absolute;
    width: 256px;
    height: 80px;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 400;
}
.bank_title .img_title img{
    width: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
}


.bank_list li {background: linear-gradient(90deg, rgba(156, 184, 227, 0.10) 3%, rgba(158, 194, 247, 0.06) 71.76%, rgba(158, 197, 254, 0.05) 92.19%, rgba(158, 197, 255, 0.04) 92.2%);}
.bank_list li:nth-child(2n) {background: transparent;}
.bank_list li b {color: #FFFAD1; 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 p {width: calc(100% - 300px); color: #CCCCCC;}
.bank_list li b {width: 150px; text-align: right; margin-right: 20px;}
.bank_list li span {display: block; width: 130px; text-align: right; color: #CCCCCC;}
.tree_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;
    border: 1px solid transparent;
    border-image: linear-gradient(116.99deg, #FFB084 0%, #573D2E 45.31%, #FFB084 100%);
    border-image-slice: 1; /* 테두리를 모두 적용합니다. */
}
.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_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);}


