@charset "utf-8";

/****************************************************************************************************************************************
미니게임 메인
*****************************************************************************************************************************************/
.mini-video {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.video-wrap {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    margin-top: 129px;
}

.video-wrap>iframe {
    border: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vw;
}

.video-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: radial-gradient(rgba(11, 14, 24, .1) 50%, #0b0e18), linear-gradient(rgba(11, 14, 24, .2) 30%, #0b0e18);
}

.video-cap {
    position: absolute;
    top: 80px;
    left: 60px;
    z-index: 9;
    width: 500px;
}

.video-cap>h3 {
    margin-bottom: 15px;
    font-size: 40px;
    font-weight: 600;
    color: #fff;
}

.video-cap>p {
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 200;
}

.btn-play {
    position: relative;
    z-index: 11;
    margin: 0;
    padding: 0;
    width: 135px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c37cff;
    border-radius: 5px;
    box-shadow: 0 0 10px #8600f7, 0 0 15px #8600f7, 0 0 20px #8600f7, inset 0 0 10px #8600f7;
    transition: all 0.2s;
    overflow: hidden;
    cursor: pointer;
}

.btn-play::before {
    content: "";
    position: absolute;
    width: 150%;
    height: 20%;
    background: conic-gradient(#fff 200deg, transparent 200deg);
    box-shadow: inset 0 0 1px #fff;
    animation: rotate 5s linear infinite;
}

.btn-play>span {
    position: absolute;
    width: 130px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #fff;
    background: #640ea9;
    border-radius: 5px;
    box-shadow: inset 0 0 10px #8600f7, inset 0 0 15px #8600f7;
}

@media (hover: hover) and (pointer: fine) {
    .btn-play:hover {
        background: #fff;
    }

    .btn-play:hover::before {
        background: conic-gradient(transparent 10deg, transparent 200deg);
    }

    .btn-play:hover>span {
        font-weight: bold;
        background: #8600f7;
        box-shadow: inset 0 0 10px #fff;
        transition: all .2s;
    }
}

/* mini-main */
.mini-main {
    position: relative;
    z-index: 9;
    margin: -170px auto 30px auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* mini-list */
.mini-list {
    width: 300px;
}

ul.list-time {
    position: relative;
    margin: 0 auto;
    padding: 5px 5px;
    width: 100%;
    background: #8500f6;
    border-radius: 15px;
}

ul.list-time>li {
    position: relative;
    margin: 5px 0;
    padding: 10px 10px;
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    background: #340061;
    border-radius: 10px;
    cursor: pointer;
}

ul.list-time>li>.mini-name1 {
    font-weight: bold;
    color: #ffbc2d;
}

ul.list-time>li>.mini-name2 {
    flex: 1;
    text-align: left;
    font-weight: bold;
    color: #fff;
}

ul.list-time>li>.mini-time {
    color: #d1d8ff;
}

@media (hover: hover) and (pointer: fine) {
    ul.list-time>li:hover {
        background: #4f008f;
    }
}

/* mini-card */
.mini-card {
    width: calc(100% - 300px);
}

ul.miniCard-list {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
}

ul.miniCard-list>li {
    position: relative;
    margin: 0;
    padding: 40px 50px 40px 30px;
    width: calc(100% / 4 - 20px);
    height: 300px;
    border: 5px solid #8600f7;
    border-radius: 30px;
    cursor: pointer;
}

.card-bg {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.card-bg>img {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 300px;
    filter: brightness(0.8);
}

.cardBg-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(110deg, #0b0e18 max(30%, 100% - 700px), rgba(11, 14, 24, 0));
}

ul.miniCard-list>li>h3 {
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
}

ul.miniCard-list>li>p {
    margin-bottom: 30px;
    line-height: 1.2;
    height: 55px;
    font-size: 15px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.play-go {
    position: relative;
    z-index: 11;
    margin: 0;
    padding: 0;
    width: 135px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c37cff;
    border-radius: 25px;
    box-shadow: 0 0 10px #8600f7, 0 0 15px #8600f7, 0 0 20px #8600f7, inset 0 0 10px #8600f7;
    transition: all 0.2s;
    overflow: hidden;
    cursor: pointer;
}

.play-go::before {
    content: "";
    position: absolute;
    width: 150%;
    height: 20%;
    background: conic-gradient(#fff 200deg, transparent 200deg);
    box-shadow: inset 0 0 1px #fff;
    animation: rotate 5s linear infinite;
}

.play-inner {
    position: absolute;
    padding: 0 6px;
    width: 130px;
    height: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 15px;
    color: #fff;
    background: #640ea9;
    border-radius: 25px;
    box-shadow: inset 0 0 10px #8600f7, inset 0 0 15px #8600f7;
}

.period {
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #f7ba0a;
    background: #0b0e18;
    border-radius: 50%;
}

.period>p:last-child {
    font-size: 10px;
    color: #fff;
}

.paly-txt {
    margin-left: 10px;
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}


/****************************************************************************************************************************************
미니게임 TOP
*****************************************************************************************************************************************/
.mini-top {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.mini-toggle {
    position: relative;
    margin: 0 auto;
    padding: 40px 0;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.mini-toggle.expanded {
    height: auto;
    /* 전체 리스트 보이게 변경 */
}

ul.miniTop-list {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

ul.miniTop-list>li {
    position: relative;
    margin: 0 5px;
    padding: 0;
    width: calc(100% / 7 - 10px);
    cursor: pointer;
}

ul.miniTop-list>li:nth-child(n+8) {
    display: none;
}

.mini-toggle.expanded ul.miniTop-list>li:nth-child(n+8) {
    display: block;
}

.top-img {
    max-height: 400px;
    transition: all .3s;
}

.top-img>img {
    width: 100%;
    border: 1px solid #0b0e18;
    filter: brightness(0.6) grayscale(0.5);
}

.top-time {
    position: absolute;
    top: 8px;
    left: 13px;
    z-index: 9;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 10px #000, 0 0 20px #000, 0 0 40px #000;
}

ul.miniTop-list>li.active .top-img>img {
    border: 1px solid #8600f7;
    filter: brightness(1) grayscale(0);
}

/* 더보기 버튼 */
.mini-more {
    position: relative;
    margin: -10px auto 10px auto;
    width: 100%;
    height: 20px;
    text-align: center;
    color: #16bbf7;
}

.mini-more>.line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
    background: #8600f7;
    transition: all .1s;
}

.mini-more>.btn-more {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    padding: 0;
    width: 140px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c37cff;
    border-radius: 5px;
    box-shadow: 0 0 10px #8600f7, 0 0 15px #8600f7, 0 0 20px #8600f7, inset 0 0 10px #8600f7;
    transition: all 0.2s;
    overflow: hidden;
    cursor: pointer;
}

.mini-more>.btn-more::before {
    content: "";
    position: absolute;
    width: 150%;
    height: 20%;
    background: conic-gradient(#fff 200deg, transparent 200deg);
    box-shadow: inset 0 0 1px #fff;
    animation: rotate 5s linear infinite;
}

.mini-more>.btn-more>span {
    position: absolute;
    z-index: 1;
    width: 135px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #fff;
    background: #640ea9;
    border-radius: 5px;
    box-shadow: inset 0 0 10px #8600f7, inset 0 0 15px #8600f7;
}

@media (hover: hover) and (pointer: fine) {
    ul.miniTop-list>li:hover .top-img>img {
        border: 1px solid #8600f7;
        filter: brightness(1) grayscale(0);
    }

    ul.miniTop-list>li:hover.active .top-img>img {
        border: 1px solid #8600f7;
        filter: brightness(1) grayscale(0);
    }

    .mini-more>.btn-more:hover {
        background: #fff;
    }

    .mini-more>.btn-more:hover::before {
        background: conic-gradient(transparent 10deg, transparent 200deg);
    }

    .mini-more>.btn-more:hover>span {
        font-weight: bold;
        background: #8600f7;
        box-shadow: inset 0 0 10px #fff;
        transition: all .2s;
    }
}


/****************************************************************************************************************************************
미니게임 아이프레임 및 게임판
*****************************************************************************************************************************************/
.mini-wrap {
    position: relative;
    margin: 0;
    padding: 10px 10px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.left-mini,
.right-mini {
    position: relative;
    margin: 30px 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.right-mini {
    background: linear-gradient(45deg, #401e6a, #1f0e32);
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

/* left-mini */
.mini-tit {
    margin: 0 auto;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #21003f;
}

.mini-type {
    margin-left: 5px;
    color: #fff;
}

.mini-type>.type {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #8600f7;
}

.iframe-wrap {
    position: relative;
    margin: 0 auto;
    padding: 40px 40px;
    width: 100%;
    background: #030304;
}

#parent1 {
    position: relative;
    overflow: hidden;
}

#child1 {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top left;
    /* 스케일 적용 기준 */
    border: none;
}

.mini-betHistory {
    position: relative;
    margin: 0;
    padding: 20px 0 0 0;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.not-history {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: 100px;
    line-height: 100px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    background: #1b222c;
}

.mini-pageination {
    background: rgba(195, 124, 255, 0.25);
}

.mo-betHistory {
    display: none;
}

/* right-mini */
.mineBet {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.miniBet-list {
    position: relative;
    margin: 0;
    padding: 10px 10px;
    text-align: center;
    background: #381a5b;
    border: 1px solid #8600f7;
}

.miniBet-list.col2-list {
    width: calc(100% / 2);
}

.miniBet-list.col-list {
    width: 100%;
}

.miniBet-list>h3 {
    margin: 0 auto;
    padding: 0 5px;
    width: 100%;
    line-height: 50px;
    text-align: center;
    font-size: 16px;
}

.miniBet-item {
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.miniBet-btn {
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: 150px;
    transition: all 0.2s;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.btn-top {
    position: relative;
    margin: -14px auto 0 auto;
    padding: 0;
    width: 177px;
    height: 150px;
}

.btn-top.top-red {
    background: url('../Img/miniGame/btn_top_red1.png') 50% no-repeat;
}

.btn-top.top-blue {
    background: url('../Img/miniGame/btn_top_blue1.png') 50% no-repeat;
}

.btn-top.top-green {
    background: url('../Img/miniGame/btn_top_green1.png') 50% no-repeat;
}

.btn-bottom {
    position: relative;
    top: -100px;
    z-index: 1;
    margin: 0 auto;
    width: 177px;
    height: 100px;
    background: url('../Img/miniGame/btn_bottom_off.png') 50% no-repeat;
}

.btn-txt1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) perspective(500px) rotateX(50deg);
    margin-top: -32px;
    font-size: 40px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.btn-txt2 {
    margin-top: -10px;
    font-size: 20px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) perspective(500px) rotateX(50deg);
    white-space: nowrap;
}

/* 버튼 누름 효과 */
.miniBet-btn:active>.btn-top {
    margin: 0 auto 0 auto;
}

.miniBet-btn:active>.top-red {
    background: url('../Img/miniGame/btn_top_red2.png') 50% no-repeat;
}

.miniBet-btn:active>.top-blue {
    background: url('../Img/miniGame/btn_top_blue2.png') 50% no-repeat;
}

.miniBet-btn:active>.top-green {
    background: url('../Img/miniGame/btn_top_green2.png') 50% no-repeat;
}

.miniBet-btn:active>.btn-bottom {
    top: -110px;
    background: url('../Img/miniGame/btn_bottom_on.png') 50% no-repeat;
}

.miniBet-btn:active>.btn-txt1 {
    margin: -20px auto 0 auto;
    color: #fff;
    text-shadow: #fff 0 0 30px;
}

.miniBet-btn:active>.btn-txt2 {
    margin-top: 2px;
    color: #fff;
    text-shadow: #fff 0 0 30px;
}

/* 마감 */
.done-list {
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.8);
}

/* 미니게임 카트 */
.mini-cart {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.cart-wrap {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    height: 242px;
    display: flex;
    gap: 1px;
    justify-content: center;
}

.cart-tit {
    width: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #240043;
}

.no-pick {
    font-size: 20px;
    font-weight: 600;
}

.mo-no-pick {
    display: none;
}

.pick-txt {
    font-size: 40px;
    text-align: center;
    text-shadow: 0 0 0 #fff, 0 0 10px #8600f7, 0 0 30px #8600f7;
}

ul.cart-info {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1px;
}

ul.cart-info>li {
    position: relative;
    margin: 0;
    padding: 10px 15px;
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
    background: #1b062e;
}

ul.cart-info>li>span {
    font-size: 15px;
    font-weight: 600;
}

ul.cart-money {
    position: relative;
    margin: 0;
    padding: 0;
    width: 270px;
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    justify-content: center;
}

ul.cart-money>li {
    position: relative;
    margin: 0;
    padding: 0;
    width: calc(100% / 3 - 1px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #efefef;
    background: #240043;
    border: 1px solid #240043;
    cursor: pointer;
}

.cart-goBtn {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #efefef;
    background: #240043;
    border: 1px solid #240043;
}

@media (hover: hover) and (pointer: fine) {

    ul.cart-money>li:hover,
    .cart-goBtn:hover {
        color: #fff;
        background: #c37cff;
        border: 1px solid #c37cff;
    }
}


/****************************************************************************************************************************************
미디어쿼리문
*****************************************************************************************************************************************/
@media (max-width: 1410px) {

    /* 미니게임 버튼 */
    .miniBet-btn {
        width: 130px;
        height: 140px;
    }

    .btn-top {
        width: 130px;
    }

    .btn-top.top-blue,
    .btn-top.top-red,
    .btn-top.top-green {
        background-size: 130px;
    }

    .btn-bottom {
        top: -110px;
        background-size: 135px;
        width: 130px;
    }

    .btn-txt1 {
        margin-top: -25px;
        font-size: 28px;
    }

    .btn-txt2 {
        margin-top: -5px;
        font-size: 15px;
        font-weight: 600;
    }

    /* 버튼 누름 효과 */
    .miniBet-btn:active>.top-red,
    .miniBet-btn:active>.top-blue,
    .miniBet-btn:active>.top-green {
        background-size: 130px;
    }

    .miniBet-btn:active>.btn-bottom {
        top: -120px;
        background-size: 135px;
    }

    .miniBet-btn:active>.btn-txt1 {
        margin-top: -12px;
    }

    .miniBet-btn:active>.btn-txt2 {
        margin-top: 5px;
    }
}

@media (max-width: 800px) {

    /* 미니게임 index */
    .video-wrap {
        height: 250px;
    }

    .video-cap {
        top: 20px;
        left: 20px;
        width: 90%;
    }

    .video-cap>h3 {
        margin-bottom: 5px;
        font-size: 20px;
        font-weight: 500;
    }

    .video-cap>p {
        margin-bottom: 15px;
        line-height: 1.1;
        font-size: 12px;
        font-weight: 500;
        color: #e1e1e1
    }

    .btn-play {
        width: 120px;
        height: 35px;
    }

    .btn-play>span {
        width: 115px;
        height: 30px;
        font-size: 13px;
    }

    .mini-main {
        margin: -50px 0 30px 0;
        padding: 0 10px;
        flex-direction: column;
    }

    .mini-list {
        width: 100%;
    }

    ul.list-time {
        border-radius: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    ul.list-time>li {
        margin: 0;
        width: calc(100% / 2 - 5px);
        border-radius: 0;
    }

    ul.list-time>li>span {
        font-size: 12px;
    }

    .mini-card {
        width: 100%;
    }

    ul.miniCard-list {
        gap: 10px;
    }

    ul.miniCard-list>li {
        padding: 20px 30px 20px 20px;
        width: calc(100% / 2 - 10px);
        height: 210px;
        border: none;
        border-radius: 0;
    }

    ul.miniCard-list>li>h3 {
        margin-bottom: 10px;
        font-size: 24px;
    }

    ul.miniCard-list>li>p {
        margin-bottom: 20px;
        height: 45px;
        font-size: 13px;
    }

    .card-bg {
        border-radius: 0;
    }

    .play-go {
        width: 125px;
        height: 40px;
    }

    .play-inner {
        width: 120px;
        height: 35px;
    }

    .period {
        width: 32px;
        height: 32px;
    }

    .period>p {
        line-height: 1;
    }

    .paly-txt {
        font-size: 16px;
        font-weight: 600;
    }

    /* 미니게임 파워볼 */
    .mini-more {
        display: none;
    }

    .mini-toggle {
        padding: 0;
        height: 120px;
        overflow-x: auto;
    }

    ul.miniTop-list {
        flex-direction: row;
        flex-wrap: unset;
        gap: 5px;
        width: 100%;
        height: 100%;
        align-items: center;
    }

    ul.miniTop-list>li {
        margin: 0;
        flex: 1 0 180px;
    }

    .mini-wrap {
        flex-direction: column;
        padding: 0 5px;
    }

    .left-mini,
    .right-mini {
        margin: 5px 0;
    }

    .iframe-wrap {
        padding: 0;
    }

    .pc-betHistory {
        display: none;
    }

    .mo-betHistory {
        display: block
    }

    .miniBet-list.col2-list {
        width: 100%;
    }

    .miniBet-list>h3 {
        line-height: 35px;
    }


    /* cart-wrap */
    .cart-wrap {
        flex-direction: column;
        height: auto;
    }

    .cart-tit {
        width: 100%;
        height: 120px;
    }

    .no-pick {
        display: none;
    }

    .mo-no-pick {
        display: block;
    }

    ul.cart-info>li {
        padding: 8px 5px;
    }

    ul.cart-info>li>span {
        font-size: 14px;
        font-weight: 500;
    }

    ul.cart-money {
        width: 100%;
    }

    ul.cart-money>li {
        line-height: 45px;
    }

    .cart-goBtn {
        width: 100%;
        line-height: 60px;
    }

    .mini-betHistory {
        padding: 5px 0 0 0;
        border-radius: 0;
        background: #000;
    }
}

/* 미디어쿼리문 끝 */

@media (max-width: 600px) {
    .video-wrap>iframe {
        width: 170vw;
        height: 170vw;
    }

    ul.miniCard-list>li {
        width: 100%;
    }

    .btn-top {
        width: 100px;
    }

    .btn-top.top-blue,
    .btn-top.top-red,
    .btn-top.top-green {
        background-size: 100px;
    }

    .btn-bottom {
        top: -110px;
        width: 100px;
        background-size: 105px;
    }

    .btn-txt1 {
        margin-top: -22px;
        font-size: 20px;
    }

    .btn-txt2 {
        margin-top: -8px;
        font-size: 15px;
        font-weight: 600;
    }

    /* 버튼 누름 효과 */
    .miniBet-btn:active>.top-red,
    .miniBet-btn:active>.top-blue,
    .miniBet-btn:active>.top-green {
        background-size: 100px;
    }

    .miniBet-btn:active>.btn-bottom {
        top: -120px;
        background-size: 105px;
    }

    .miniBet-btn:active>.btn-txt1 {
        margin-top: -8px;
    }
}

/* 미디어쿼리문 끝 */