@charset "utf-8";

body {
    margin: 0 auto;
    width: 100%;
    color: #fff;
    background: #0b0e18;
}

.x-scrollable {
    position: relative;
    margin: 0 auto;
    width: auto;
    flex-wrap: unset;
    white-space: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
}


/****************************************************************************************************************************************
Header
*****************************************************************************************************************************************/
.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: 130px;
    text-align: center;
    background: #222a33;
    border-bottom: 1px solid #6a7178;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.89);
}

.intro-hd {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    margin: 0 auto;
    padding: 0;
    min-width: 1200px;
    width: 100%;
    height: 130px;
    text-align: center;
    background: transparent;
    border-bottom: none;
}

.sticky {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    background: #222a33;
    border-bottom: 1px solid #6a7178;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.89);
}

.hd-inner {
    position: relative;
    margin: 0;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* hd-logo */
.hd-logo {
    position: relative;
}

.hd-logo>img {
    width: 100%;
    cursor: pointer;
}

/* nav */
.nav {
    position: relative;
    display: flex;
    flex-direction: column;
}

.tnb {
    position: relative;
    height: 75px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* 로그인 전 */
ul.tnb-before {
    position: relative;
    display: flex;
    gap: 30px;
}

ul.tnb-before>li {
    line-height: 30px;
    font-size: 24px;
    color: #becde3;
    cursor: pointer;
}

/* 로그인 후 */
.tnb-after {
    position: relative;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.hd-icons {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.icon-top,
.icon-bottom {
    display: flex;
    gap: 4px;
}

.icon-bor {
    position: relative;
    width: 23px;
    height: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 12px;
    cursor: pointer;
}

.icon-bor>i {
    color: #fff;
}

.icon-count {
    position: absolute;
    top: -10px;
    right: -13px;
    z-index: 1;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 10px;
    color: #fff;
    background: #f00;
    border-radius: 50%;
}

.pulsate-fwd>i {
    animation: pulsate-fwd .5s ease-in-out infinite both;
}

@keyframes pulsate-fwd {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* user-profile */
.user-profile {
    position: relative;
}

.user-profile>img {
    width: 50px;
    height: 50px;
    border: 1px solid #5a616a;
    border-radius: 50px;
    object-fit: contain;
}

/* user-info */
ul.user-info {
    position: relative;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

ul.user-info>li {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
}

ul.user-info>li>span {
    font-size: 15px;
    color: #fff;
}

ul.user-info>li>span.amount {
    font-weight: 600;
    color: #61d0ff;
}

ul.tnb-menu {
    position: relative;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

ul.tnb-menu>li {
    position: relative;
}

ul.tnb-menu>li>a {
    display: block;
    font-size: 15px;
    color: #becde3;
}

ul.tnb-menu>li.active>a {
    color: #fff;
    text-shadow: 0 0 0 #16bbf7, 0 0 10px #16bbf7, 0 0 30px #16bbf7;
}

/* main-menu */
ul.main-menu {
    position: relative;
    display: flex;
    gap: 30px;
    justify-content: flex-end;
    align-items: center;
}

ul.main-menu>li {
    position: relative;
}

ul.main-menu>li>a {
    display: block;
    line-height: 55px;
    font-size: 16px;
    font-weight: 600;
    color: #8b8b8b;
}

ul.main-menu>li.active>a {
    color: #fff;
    text-shadow: 0 0 0 #16bbf7, 0 0 10px #16bbf7, 0 0 30px #16bbf7;
}

/* 서브메뉴 */
ul.sub-menu {
    display: none;
    position: absolute;
    top: 55px;
    left: -50%;
    z-index: 9999;
    width: 160px;
}

ul.sub-menu>li {
    position: relative;
    display: block;
    padding: 0;
    width: 100%;
}

/* 3단 메뉴 */
ul.dan-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 160px;
    z-index: 9999;
    width: 160px;
}

ul.dan-menu>li {
    position: relative;
    display: block;
    padding: 0;
    width: 100%;
}

ul.sub-menu>li>a,
ul.dan-menu>li>a {
    display: block;
    padding: 0 15px;
    width: 100%;
    text-align: center;
    line-height: 40px;
    font-weight: 400;
    color: #8b8b8b;
    background: #1e252c;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .hd-logo:hover {
        filter: invert(49%) sepia(84%) saturate(1516%) hue-rotate(174deg) brightness(102%) contrast(102%);
    }

    /* 로그인 전 */
    ul.tnb-before>li:hover,
    ul.tnb-menu>li:hover>a,
    ul.tnb-menu>li:hover.active>a,
    ul.main-menu>li:hover>a,
    ul.main-menu>li:hover.active>a {
        color: #fff;
        text-shadow: 0 0 0 #16bbf7, 0 0 10px #16bbf7, 0 0 30px #16bbf7;
    }

    /* 로그인 후 */
    .icon-bor:hover {
        background: #16bbf7;
        box-shadow: 0 0 10px #16bbf7, 0 0 15px hsla(0, 0%, 100%, .333), 0 0 30px #16bbf7;
    }

    /* main-menu */
    ul.main-menu>li:hover ul.sub-menu {
        display: block;
    }

    ul.sub-menu>li:hover>ul.dan-menu {
        display: block;
    }

    ul.sub-menu>li:hover>a,
    ul.dan-menu>li:hover>a {
        color: #fff;
        background: #171c21;
        text-shadow: 0 0 0 #fff, 0 0 10px #16bbf7, 0 0 30px #16bbf7;
    }
}

/* pc일때 hidden */
.mo-bar,
.mo-user,
ul.mo-tnb-before {
    display: none;
}


/****************************************************************************************************************************************
contents
*****************************************************************************************************************************************/
.contents {
    position: relative;
    margin: 130px auto 0 auto;
    padding: 0;
    min-width: 1200px;
    width: 100%;
}


/****************************************************************************************************************************************
footer
*****************************************************************************************************************************************/
footer {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    text-align: center;
}

.pc-footer {
    position: relative;
    margin: 0 auto;
    padding: 30px 15px;
    width: 100%;
    background: #030304;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #adbac9;
}

.mo-footer {
    display: none;
}

/****************************************************************************************************************************************
페이지변호
*****************************************************************************************************************************************/
.pagination {
    position: relative;
    margin: 0 auto;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
}

.page-number {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.page-number>a {
    opacity: 0.5;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #fff;
    background: #17191e;
    border: 1px solid hsla(0, 0%, 100%, .133);
    border-radius: 5px;
}

.page-number>a.prev,
.page-number>a.next {
    width: 60px;
    font-size: 12px;
}

.page-number>a.prev>i,
.page-number>a.next>i {
    margin: 0 3px;
    font-size: 14px;
}

.page-number>a.active {
    opacity: 1;
    background: #16bbf7;
}

@media (hover: hover) and (pointer: fine) {
    .page-number>a:hover {
        opacity: 1;
    }

    .page-number>a:hover.active {
        opacity: 1;
        background: #16bbf7;
    }
}

/****************************************************************************************************************************************
미디어쿼리문
*****************************************************************************************************************************************/
@media (max-width: 800px) {

    /* header */
    .header,
    .intro-hd {
        min-width: 100%;
        height: 50px;
        background: #081b37;
    }

    .hd-inner {
        padding: 0 15px;
    }

    .hd-logo>img {
        width: 120px;
    }

    /* 모바일 버튼 */
    .mo-bar,
    .mo-user {
        display: block;
    }

    .mo-user>i {
        padding: 3px 3px;
        font-size: 16px;
        color: #fff;
        border: 2px #fff solid;
        border-radius: 50%;
        cursor: pointer;
    }

    .mo-bar {
        display: block;
        position: relative;
        width: 27px;
        cursor: pointer;
    }

    .mo-bar>span {
        display: block;
        margin: 0 auto 7px auto;
        width: 100%;
        height: 2px;
        background: #fff;
    }

    .mo-bar>span:first-child {
        position: relative;
        margin-top: 0;
        top: 0;
        transition: top .2s .2s, transform .2s 0s;
    }

    .mo-bar>span:nth-child(2) {
        opacity: 1;
        transition: opacity .3s;
    }

    .mo-bar>span:last-child {
        position: relative;
        top: 0;
        margin-bottom: 0;
        transition: top .2s .2s, transform .2s 0s;
    }

    .mo-bar.active>span:first-child {
        top: 9px;
        transform: rotate(-45deg);
        transition: top .2s 0s, transform .2s .2s, color .3s .3s;
    }

    .mo-bar.active>span:nth-child(2) {
        opacity: 0
    }

    .mo-bar.active>span:last-child {
        top: -9px;
        transform: rotate(45deg);
        transition: top .2s 0s, transform .2s .2s;
    }

    /* nav */
    .nav {
        position: fixed;
        top: 50px;
        left: -120%;
        z-index: 99999;
        display: block;
        padding: 0;
        width: 100%;
        height: calc(100% - 50px);
        background: #14131a;
        transition: all 0.3s;
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
        width: 250px;
    }

    /* tnb */
    .tnb {
        width: 100%;
        height: auto;
    }

    /* tnb-before */
    ul.tnb-before {
        display: none;
    }

    ul.mo-tnb-before {
        display: none;
        height: auto;
    }

    ul.mo-tnb-before.active {
        display: block;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        z-index: 99;
        margin-top: 0;
        padding: 0;
        width: 100%;
    }

    ul.mo-tnb-before>li {
        margin: 0 auto;
        padding: 10px 30px;
        text-align: left;
        color: #000;
        font-weight: 500;
        background: #16bbf7;
        border-bottom: 2px solid #0a303e;
        cursor: pointer;
    }

    /* tnb-after */
    .tnb-after {
        margin: 0;
        padding: 10px 10px;
        width: 100%;
        justify-content: flex-start;
        background: linear-gradient(270deg, #072d4b, transparent);
    }

    .hd-icons {
        display: none;
    }

    ul.user-info {
        flex-direction: column;
        gap: 5px;
        justify-content: center;
        align-items: flex-start;
    }

    ul.user-info>li>span {
        font-size: 13px;
        font-weight: 500;
    }

    ul.user-info>li>span.user-level {
        display: none;
    }

    /* tnb-menu */
    ul.tnb-menu {
        position: absolute;
        top: 97px;
        left: 0;
        gap: 2px;
        padding: 0 5px;
        width: 100%;
        justify-content: center;
    }

    ul.tnb-menu>li {
        margin: 0 auto;
        width: 100%;
        text-align: center;
    }

    ul.tnb-menu>li:last-child {
        display: none;
    }

    ul.tnb-menu>li>a {
        margin: 0 auto;
        padding: 10px 0;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        color: #000;
        background: #16bbf7;
        border-radius: 6px;
    }

    /* menu */
    ul.main-menu {
        top: 50px;
        margin: 20px auto 70px auto;
        width: 100%;
        gap: 10px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    ul.main-menu>li {
        width: 100%;
    }

    ul.main-menu>li>a {
        margin: 0 auto;
        padding: 0 20px;
        line-height: 40px;
        text-align: left;
    }

    ul.main-menu>li:hover ul.sub-menu {
        display: none;
    }

    ul.main-menu>li.active ul.sub-menu {
        display: block;
    }

    ul.sub-menu {
        position: relative;
        top: unset;
        left: unset;
        z-index: unset;
        width: 100%;
    }

    ul.sub-menu>li>a {
        padding: 0 15px 0 40px;
        text-align: left;
        font-size: 14px;
        font-weight: 500;
        background: #1e1c27;
        border-bottom: 2px #14131a solid;
    }

    ul.dan-menu,
    ul.sub-menu>li:hover ul.dan-menu,
    ul.sub-menu>li.active ul.dan-menu {
        display: none;
    }

    /* .contents */
    .contents {
        margin: 0;
        padding: 50px 0 80px 0;
        min-width: 100%;
    }

    .contents.active {
        opacity: 0.7;
    }

    .mo-content {
        margin: 0;
        padding: 0;
    }

    /* .contents */
    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;
        margin: 0;
        padding: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(#212e54, #0b101e);
    }

    footer.active {
        opacity: 0.7;
    }

    .pc-footer {
        display: none;
    }

    .mo-footer {
        display: block;
        position: relative;
        margin: 0;
        width: 100%;
        height: 100%;
    }

    ul.footer-menu {
        position: relative;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        height: 100%;
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    ul.footer-menu>li {
        position: relative;
        width: 100%;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    ul.footer-menu>li>i {
        font-size: 15px;
        font-weight: 600;
    }

    ul.footer-menu>li>p {
        margin-top: 5px;
        font-size: 13px;
        font-weight: 600;
    }

    ul.footer-menu>li>.game-menu {
        position: relative;
        top: -8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    ul.footer-menu>li>.game-menu>img {
        z-index: 999;
        width: 60px;
        object-position: 0 -15px;
    }

    ul.footer-menu>li>.game-menu>p {
        position: absolute;
        top: 35px;
        margin: 0 auto;
        width: 100%;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
    }

    ul.footer-menu>li>.game-menu.active {
        transition: all 0.3s;
    }

    ul.footer-menu>li>.game-menu.active>img {
        position: absolute;
        top: -45px;
        object-position: unset;
        margin: 0 auto;
        padding: 10px 10px;
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        background: linear-gradient(#131b33, #0b101e);
        border: 1px solid #283253;
        border-radius: 20px;
    }

    ul.footer-menu>li>.game-menu.active>p {
        top: 5px;
        color: #fff;
        text-shadow: 0 0 5px #283253, 0 0 10px #fff;
    }

    ul.ft-gameSub {
        display: none;
    }

    ul.ft-gameSub.active {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 120px;
        z-index: 99;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        max-width: 320px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
        transition: all 0.3s;
    }

    ul.ft-gameSub.active>li {
        margin: 10px 0;
        width: calc(100% / 3 - 10px);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    ul.ft-gameSub.active>li>a {
        width: 80px;
        height: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        letter-spacing: -1px;
        font-weight: 500;
        color: #fff;
        background: linear-gradient(#131b33, #0b101e);
        border: 1px solid #283253;
        border-radius: 20px;
    }

    ul.ft-gameSub.active>li>a>img {
        margin-bottom: 3px;
        width: 25px;
    }

    ul.footer-menu>li.ft-cashBtn.active {
        transition: all 0.3s;
    }

    ul.footer-menu>li.ft-cashBtn.active>i {
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 999;
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        background: linear-gradient(#131b33, #0b101e);
        border: 1px solid #283253;
        border-radius: 20px;
    }

    ul.footer-menu>li.ft-cashBtn.active>p {
        margin-top: 24px;
        color: #fff;
        text-shadow: 0 0 5px #283253, 0 0 10px #fff;
    }

    ul.ft-cashSub {
        display: none;
    }

    ul.ft-cashSub.active {
        display: block;
        position: absolute;
        right: 10px;
        bottom: 80px;
        z-index: 99;
        transition: all 0.3s;
    }

    ul.ft-cashSub.active>li {
        margin: 10px 0;
        width: 80px;
        height: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        letter-spacing: -1px;
        font-weight: 500;
        color: #fff;
        background: linear-gradient(#131b33, #0b101e);
        border: 1px solid #283253;
        border-radius: 20px;
    }

    ul.ft-cashSub.active>li>i {
        font-size: 28px;
        font-weight: 300;
        color: #fff;
    }

    ul.footer-menu>li.mo-cartBtn.active {
        transition: all 0.3s;
        z-index: 999;
    }

    ul.footer-menu>li.mo-cartBtn.active>i {
        position: absolute;
        bottom: 25px;
        right: 5px;
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        background: linear-gradient(#131b33, #0b101e);
        border: 1px solid #283253;
        border-radius: 20px;
    }

    ul.footer-menu>li.mo-cartBtn.active>p {
        margin-top: 21px;
        color: #fff;
        text-shadow: 0 0 5px #283253, 0 0 10px #fff;
    }

    .mo-ftBG {
        display: none;
    }

    .mo-ftBG.active {
        display: block;
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        z-index: -1;
        width: 100%;
        height: 100%;
        background: linear-gradient(0deg, #000, transparent);
    }
}

/* 미디어쿼리문 끝 */