.main_bbs_ttl {
    position: relative;
    background: linear-gradient(to bottom, #d08d3c, #ffe493 17%, #ffffc8 37%, #a9793b 75%);
    border-radius: 12px 12px 0px 0px;
    padding: 3px 10px 0px 10px;
    font-size: 16px;
    height: 48px;
    line-height: 48px;
    border-radius: 5px 5px 0px 0px;
    color: #333;
    text-shadow: 0 1px 3px rgb(209 209 209 / 90%);
    font-weight: bold;
}
.main_bbs_list ul li a {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    height: 47px;
    line-height: 45px;
    border-bottom: 1px solid #000000;
    background: linear-gradient(180deg, #1f1f1f 96%, #000000);
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.08), 0px 1px 3px rgba(0, 0, 0, 0.1);
    background-position: right;
    transition: background-position 0.8scubic-bezier(0.18, 0.89, 0.32, 1.19);
}


.main_bbs_list ul li a:hover {
    background: linear-gradient(to left, #d6b95b 52.5%, #262626 30%, #181818 100%);
    background-size: 200% 100%;
    background-position: left;
}

.btn_snb_sp, .btn_snb_fv {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    line-height: 20px;
    color: #fff;
    background: linear-gradient(180deg, #1f1f1f 96%, #000000);
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.06), 0px 1px 3px rgba(0, 0, 0, 0.1);
    background-size: 100% 200%;
    background-position: bottom;
    transition: background-position 0.5slinear(0 0%, 0 2.27%, 0.02 4.53%, 0.04 6.8%, 0.06 9.07%, 0.1 11.33%, 0.14 13.6%, 0.25 18.15%, 0.39 22.7%, 0.56 27.25%, 0.77 31.8%, 1 36.35%, 0.89 40.9%, 0.85 43.18%, 0.81 45.45%, 0.79 47.72%, 0.77 50%, 0.75 52.27%, 0.75 54.55%, 0.75 56.82%, 0.77 59.1%, 0.79 61.38%, 0.81 63.65%, 0.85 65.93%, 0.89 68.2%, 1 72.7%, 0.97 74.98%, 0.95 77.25%, 0.94 79.53%, 0.94 81.8%, 0.94 84.08%, 0.95 86.35%, 0.97 88.63%, 1 90.9%, 0.99 93.18%, 0.98 95.45%, 0.99 97.73%, 1 100%);
}
.btn_snb_sp:hover, .btn_snb_fv:hover {
    background: linear-gradient(to top, #111 4.1%, #423e3c 52%, #131313 6%);
    background-size: 100% 200%;
    background-position: top;
}

.left_ttl {
    color: #333;
    font-size: 13px;
    padding: 7px 5px;
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, .1), 0px 1px 3px rgba(0, 0, 0, 0.9);
    background: linear-gradient(to bottom, #d08d3c, #ffe493 17%, #ffffc8 37%, #a9793b 75%);
    font-weight: bold;
    text-shadow: 0 1px 3px rgb(209 209 209 / 90%);
}

.btn_bet {
    font-size: 14px;
    display: block;
    width: 80%;
    margin: 0 auto;
    padding: 5px;
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, .1), 0px 1px 3px rgba(0, 0, 0, 0.9);
    background: linear-gradient(to bottom, #56412c 17%, #493522 63%, #45301c 87%);
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    color: #2e2e2e;
    transition: 0.2s;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    background: linear-gradient(to bottom, #d08d3c, #ffe493 17%, #ffffc8 37%, #a9793b 75%);
    font-weight: bold;
}
.btn_money:hover {
    background: linear-gradient(180deg,#101010, #333);
    color: #fcfa50;
    outline: 0px solid #000;
    outline-offset: -1px;
}
.bc_info_box ul li {
    padding: 10px 5px;
    border-bottom: 1px solid #000000;
    text-align: right;
    font-size: 12px;
    border-bottom: 1px solid #000000;
    background: linear-gradient(180deg, #1f1f1f 96%, #000000);
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.08), 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.gnb_box {
    border-top: 0px solid var(--maincolor);
    border-bottom: 0px solid var(--maincolor);
}
.gnb_menu_box {
    position: relative;
    text-align: center;
    background: url(/static/img/menu_bg.png?=6) center center / cover no-repeat, linear-gradient(to bottom, rgb(39 29 22) 0%, rgb(31 24 20) 0%);
    height: 50px;
    line-height: 59px;
}


.gnb_box {
    position: absolute;
    width: 100%;
    top: 92px;
}


.fixed-image {
    position: absolute;
    margin-left:-206px;
    top: 160px;
    height: 469px;
    animation: moveUpDown 3s ease-in-out infinite;
    /*    -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -ms-user-drag: none;
        user-drag: none;
        pointer-events: none;*/
}

@keyframes moveUpDown {
    0% {
        top: 182px; /* 시작 위치 */
    }
    50% {
        top: 202px; /* 아래로 20px 이동 */
    }
    100% {
        top: 182px; /* 원래 위치로 */
    }
}

@media (max-width: 768px) {
    .fixed-image {
        display: none;
    }
    .team_head {
        width: 110px;
    }
    .team_head .sub_detail {
        font-size: 10px; 
    }
}
.fixed-image2 {
    position: absolute;
    margin-left: 1763px;
    top: 662px;
    height: 337px;
    width: 331px;
    animation: moveUpDown2 3s ease-in-out infinite;
    /*    -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -ms-user-drag: none;
        user-drag: none;
        pointer-events: none;*/
}

@keyframes moveUpDown2 {
    0% {
        top: 682px; /* 시작 위치 */
    }
    50% {
        top: 652px; /* 아래로 20px 이동 */
    }
    100% {
        top: 682px; /* 원래 위치로 */
    }
}
@media (max-width: 768px) {
    .fixed-image2 {
        display: none;
    }
}



/* 슬라이드 콘텐츠 */
/* 컨테이너 설정 */
.slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.main_middle_box2 {
    margin-top:1px;
    display:flex;
    justify-content: space-between;
    margin-bottom:10px;
    height:86px;


}
.main_middle_box2 a {
    position: relative;
    width: calc(10% - 16px);
    text-align: center;
    display: block;
    padding: 4px;
    background: linear-gradient(180deg, #1d1e23 69%, #313131 4%, #2a2a2a 78%);
    box-shadow: inset 0px 5px 8px 0px rgba(0, 0, 0, 0.8), 0 0px 8px rgba(200, 200, 200, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 9px;
    border: 2px solid #edae5c;
    font-size: 12px;
    color: #ffffc1;
    font-weight: bold;
}


.main_middle_box2 a img {
    width: 58%;
    border-radius: 7px 7px 7px 7px;
    padding: 7px 7px 9px 7px;
    display: block;
    margin: auto;

}

.main_middle_box2 a::before {
    /* content: ""; */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 3px;
    border-radius: 7px 7px 7px 7px;
    border: 2px solid #601c91; /*  */
    pointer-events: none;
}

.main_middle_box2 a span.hoverb {
    left: 0;
    top: 0;
    opacity: 0;
    position: absolute;
    background: rgb(31 28 28) url(/static/img/main/main5_bg.gif) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 99%;
    text-align: center;
    border-radius: 7px;
    border: 0px solid #dfb274;
    font-weight: 800;
    color: #fff;

}

.main_middle_box2 a:hover span.hoverb {
    opacity:1;
}

.mmb_in_ttl2 {
    display:block;
    font-size:16px;
    margin-top:0px;
    font-family: pcp;
}


.hoverb img {
    width:40% !important;
    display:inline-block;
    margin-top:70px;
}
.mmb_in_ttl {
    display:block;
    font-size:30px;
    margin-top:0px;
    font-family: pcp;
}
.mmb_in_btn {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    color: #161515;
    margin-top: 10%;
    background: linear-gradient(to bottom, #d08d3c, #ffe493 17%, #ffffc8 37%, #a9793b 75%);
    font-weight: bold;
}
.main_middle_box a:hover span.hoverb {
    opacity:1;
}
.main_bbs_btn_box a {
    width:calc(50% - 4px) !important;
    height:90px !important;
}
.main_bbs_btn_box a img {
    margin:13px auto 8px !important;
}
/* 슬라이드 콘텐츠 */
.main_middle_box2 {
    display: flex;
    animation: slide 20s linear infinite;
    animation-play-state: running;
}

.main_middle_box2 a {
    flex: 0 0 auto;
    text-align: center;
    margin-right: 13px;
}

/* 슬라이드 애니메이션 */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 마우스 오버 시 애니메이션 정지 */
.slider-container:hover .main_middle_box2 {
    animation-play-state: paused;
}

/* 슬라이드 콘텐츠 */


.snb_left ul li a.btn_gray {
    background: url(/static/img/menu_btn_on.gif?v=4) center center / contain no-repeat, linear-gradient(to bottom, rgb(31 24 20) 0%, rgb(31 24 20) 100%);
    height: 61px;
    line-height: 59px;
    border: none;
    font-size: 13px;
    color: #ede3aa;
    text-shadow: 0 1px 3px rgb(0 0 0 / 0%);
    font-weight: bold;
}


.snb_left ul li a.btn_gray:hover {
    background: url(/static/img/menu_btn.gif?v=6) center center / cover no-repeat, linear-gradient(to bottom, rgb(27, 25, 25) 0%, rgb(31 24 20) 100%);
    color:#333;
}
.snb_left ul li a, .snb_left ul li span.mg_link {
    display: block;
    width: 99px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-top: 2px;
    text-shadow: 1px 1px 5px rgb(0 0 0 / 100%);
    font-weight: 400;
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.08), 0px 1px 3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(180deg, #413227 96%, #302521);
}


/* 상단탭메뉴 */

.tab_menu {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 98%;
    border-radius: 9px; /* Apply border-radius to the entire tab menu container */
    padding: 0;

}
.tab_menu > div {
    cursor: pointer;
    flex: 1;
    background-image: linear-gradient(to top, #2f2319 0%, #5c4434 100%);
    display: flex;
    align-items: center;
    margin: 1px;
    transition: 0.2s;
    font-size: 17px;
    box-shadow: inset 0 20px 4px -21px rgba(255, 255, 255, 0.4), 0 5px 6px 0 rgba(0, 0, 0, 0.3);
    color: #181818;
    position: relative;
    z-index: 2;
    justify-content: center;
    border-bottom:2px solid #795f3b;
}

.tab_menu > div svg {
    height: 1.2em;
    position: relative;
    display: block;
    fill: #181818;
    filter: drop-shadow(0 1px 1px rgba(255,255,255,0.15)) url("#inset-shadow");
}
.tab_menu > div.active {
    background: linear-gradient(to bottom, #414111, #ffffc1 17%, #adac69 38%, #b3966c 63%);
    box-shadow: inset 0 20px 4px -21px rgba(255, 255, 255, 0.4), 0 6px 6px 0 rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 0px rgb(0 0 0 / 80%);
    z-index: 0;
    border-bottom: 5px solid #7c32b0; /* 기본 보더 색상 */
    animation: glowing-border 1.5s infinite alternate; /* 애니메이션 추가 */
}

/* 하단 보더 반짝이는 애니메이션 */
@keyframes glowing-border {
    0% {
        border-bottom: 5px solid #fad6a5; /* 기본 색상 */
    }
    50% {
        border-bottom: 5px solid #312a21; /* 반짝이는 색상 */
    }
    100% {
        border-bottom: 5px solid #f8d4a4; /* 기본 색상으로 돌아감 */
    }
}

.tab_menu > div a {
    display: block;
    width: 100%;
    text-align: center;
    line-height: 80px;
}
.tab_img {width: 24px;
    vertical-align: middle;
    margin-top: 0px;
    padding: 5px;
}

.b3_tab_box {
    display:flex;
    justify-content: space-between;
    margin-bottom:8px;
}
.b3_tab_box a {
    display:inline-block;
    font-weight:100;
    font-size:18px;
    text-align:center;
    height:68px;
    line-height:68px;
    width:24.5%;
    border-bottom:5px solid #fff;
    background:#222;
}
.b3_tab_box a.on {
    background:#333;
}
.vbk {
    border-bottom: 5px solid #181310 !important;
}
.vgg {
    border-bottom: 5px solid #181310 !important;
}
.vgm {
    border-bottom: 5px solid #181310 !important;
}
.b3_tab_box a img {
    width:25px;
    vertical-align:-5px;
}
.vsc_tab_box {
    padding:10px;
    background-image: linear-gradient(180deg, #232a30 0, #222a2d 20%, #22272b 50%, #202427 80%, #1f2326);
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, .1), 0px 1px 3px rgba(0, 0, 0, 0.9);
    margin:5px 0;
    display: flex;
    justify-content: space-around;
    border-radius: 8px 8px 0px 0px;
}
.vsc_tab_box a {
    display:inline-block;margin-right:10px;
    font-size:15px;
}
.vsc_tab_box a.on {
    color:#f90;
}
.vtg_markets {
    overflow:hidden;
    margin-top:-30px;
    margin-right:20px;
    float:right;
    border: 1px solid #222733;
    background: #553917;

}
.vtg_markets .open_markets {
    width:125px;
}

.vtg_game_box {
    display: flex;
    justify-content: space-between;
}
@media (max-width: 1024px) {
    .vtg_game_box {
        display: block;
    }
}
.vtg_scr_box {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
.scr_tab_box {
    width:30%;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}
.scr_tab_box span.btn_scr_05 {
    width:100%;
    display:block;
    height:62px;
    padding-top:15px;
    font-size:18px;
    text-align:center;
    background: #392c21;
    cursor:pointer;
}
.scr_tab_box span.btn_scr_04 {
    width:100%;
    display:block;
    height:70px;
    padding-top:25px;
    font-size:15px;
    text-align:center;
    background: #202020;
    cursor:pointer;
}
.scr_tab_box span.btn_scr_03 {
    width:100%;
    display:block;
    height:90px;
    padding-top:40px;
    font-size:18px;
    text-align:center;
    background: #392c21;
    cursor:pointer;
}
.scr_tab_box span.btn_scr_02 {
    width:100%;
    display:block;
    height:128px;
    padding-top:70px;
    font-size:18px;
    text-align:center;
    background: #392c21;
    cursor:pointer;
}
.scr_tab_box span.on {
    background: linear-gradient(180deg, #362916 1%, #171717 3%, #333333 84%, #131313 98%);
    text-shadow: 0 0px 20px rgb(238 209 255 / 91%);
    box-shadow: 0 4px 0px rgb(255 230 152);
}
.snb_left ul li a, .snb_left ul li span.mg_link {
    display: block;
    height: 41px;
    line-height: 41px;
    text-align: center;
    margin-top: 1px;
      background: linear-gradient(180deg, #222115 27%, #0f0f09);
    color: #fff;
    background: url(/static/img/main/tab_bg.png?v=6) center center / cover no-repeat, linear-gradient(to bottom, rgb(44 44 44) 0%, rgb(7 7 7) 100%);
    border: 1px solid transparent;
    border-image: linear-gradient(to bottom, #000000, #fbdf9f) 1;
    box-sizing: border-box;
}
.snb_left ul li a:hover, .snb_left ul li span.mg_link:hover {
    background: url(/static/img/main/tab_bg_on.png?v=3) center center / cover no-repeat, linear-gradient(to bottom, rgb(27, 26, 26) 100%, rgb(89, 83, 83) 80%);
    box-shadow: inset 0px 1px 1px rgba(255, 255, 255, .3), 0px 1px 3px rgba(55, 53, 53, 0.3);
    color: #fcfa50;
}
.inner {
    padding: 5px 5px 5px;
    min-height: 600px;
    background: #090909;
    overflow: overlay;
    height: 100%;
}

@media (max-width: 768px) {

    #quickFoot {
        position: fixed;
        width: 100%;
        height: 50px;
        bottom: 0;
        left: 0;
        right: 0;
        font-size: 0;
        background: linear-gradient(180deg, #262626 0%, #191919 49%, #000 51%, #181818 100%); /* 배경색 */
        box-shadow: 0px -2px 10px rgba(28, 28, 28, 0.25), inset 0px 1px 0px rgba(255, 255, 255, .1), 0px -4px 10px rgba(0, 0, 0, 0.9);
        z-index: 9995; /* 배경이 기본값 0으로 설정 */
    }
    .q_bg {
        background: linear-gradient(180deg, #262626 0%, #191919 49%, #000 51%, #181818 100%);
        box-shadow: inset 0 20px 4px -21px rgba(255, 255, 255, 0.4), 0 19px 13px 0 rgba(0, 0, 0, 0.3);
        z-index: 1; /* 배경이 기본값 0으로 설정 */
        width:100%;
        height:50px;
    }
    #quickFoot a {width: 50%;position:relative;height: 40px;color: #dfe5ff;font-size:11px;text-align: center;display:inline-block;}
    #quickFoot a .iconfont {position:relative;font-size:20px;display: inline-block;height: 28px;line-height: 31px;background:var(--gold);-webkit-text-fill-color:transparent;-webkit-background-clip:text;}
    #quickFoot a:after {content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:1px;display: none;height:22px; background-image: linear-gradient(to top, #2f2f2f 0%, #6b6b6b 85%, #7a7a7a 100%);}
    #quickFoot a:first-child:after { display:none; }

    #quickFoot a.home {
        background: url(/static/img/main/home_icon_bg2.gif?v=6) center / cover no-repeat, linear-gradient(to bottom, rgba(50, 50, 50, 1), rgba(20, 20, 20, 1));
        border-radius: 50%;
        width: 52px;
        height: 51px;
        color: #fff;
        position: absolute;
        top:-4px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1;
    }
    #quickFoot a.home .iconfont { background:#000;-webkit-text-fill-color:transparent;-webkit-background-clip:text;color:#000; }
    #quickFoot:after {content:"";z-index:-2;position:fixed;bottom:0;width:56px;height:56px;left:50%;transform:translateX(-50%);background:#000;border-radius:50%;box-shadow: 0px -2px 10px rgb(46 118 255 / 25%);}
    #quickFoot:before {content:"";z-index:-1;position:fixed;bottom:0;width: 80px;height: 50px;left:50%;transform:translateX(-50%);}
    #quickFoot .quickInner { position:relative; }
    #quickFoot .quickInner  > div { width:calc((100% - 45px) / 2); font-size:0; }
    #quickFoot .left { float:left; }
    #quickFoot .right { float:right; }
}
.icon_size {width:24px; margin-top:7px;}
@media screen and (min-width: 1024px) {
    #quickFoot {
        display: none;
    }
}
/* 세로형 메뉴 스타일 */
.menu {
    position: absolute;
    top: -300px;
    left: 0;
    width: 99%;
    /* max-height 제거 */
    height: auto;  /* li 갯수에 따라 높이 자동 */
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    background: linear-gradient(0deg, #121212 0%, #353535 100%);
    border: 2px solid #121212;
    box-shadow: 0 0 20px rgba(0,0,0,0.8), 0 0 30px rgba(28,28,28,0.9);
    overflow-y: auto; /* 스크롤은 li가 많을 경우 자동 */
    transform: translateY(100%);
    opacity: 0;
    z-index: -999;
    transition: transform 0.8s ease-out, opacity 0.3s ease-out, box-shadow 0.5s ease-out;
}


/* Webkit 브라우저용 스크롤바 */
.menu::-webkit-scrollbar {
    width: 6px;
}
.menu::-webkit-scrollbar-track {
    background: #222;
}
.menu::-webkit-scrollbar-thumb {
    background: #3961e5;
    border-radius: 10px;
}
.menu::-webkit-scrollbar-thumb:hover {
    background: #2850a0;
}


/* 메뉴 아이템 */
.menu-item {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    color: #fff; /* 기본 텍스트 색상 */
    background: linear-gradient(0deg, #222 0%, #333 100%);
    box-shadow:
            inset 0 20px 4px -21px rgba(255, 255, 255, 0.4),
            0 19px 13px 0 rgba(0, 0, 0, 0.3),
            0 -2px 10px rgba(28, 28, 28, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, .1),
            0 -3px 10px rgba(0, 0, 0, 0.9);
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.menu-item:last-child {
    border-right: none;
}

/* 링크 텍스트 */
.menu-item a {
    display: block;
    line-height: 40px;
    font-size: 14px !important;
    font-weight: bold;
    text-decoration: none;
    color: inherit; /* 부모 색상 상속 */
    transition: color 0.3s ease;
}

/* hover 스타일 */
.menu-item:hover {
    background: linear-gradient(180deg, #edbb35, #b48c43);
    font-weight: bold;
}

/* hover 시 링크 텍스트 색상 변경 */
.menu-item:hover a {
    color: #333 !important;
    text-shadow: 0 1px 3px rgba(209, 209, 209, 0.9);
}


/* show 상태 */
.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 1;
    transform: translateY(0) scale(1);
    border-radius: 10px;
    z-index: -1;
    transition: transform 0.8s cubic-bezier(0.25, 1.5, 0.5, 1), opacity 0.5s ease-out;
}

.show:hover {
    transform: translateY(0) scale(1);
}
