html,
body {
    margin: 0;
    padding: 0;
    font-family: Arial, "Microsoft YaHei", 微软雅黑, sans-serif;
    height: 100%;
    max-height: 100%;
    width: 100%;
    background-color: #000;
    background: url(../img/Bg.jpg) 50% 0% no-repeat;
    background-size: cover;
    box-sizing: border-box;
    overflow: hidden;
}

a {
    text-decoration: none;
    transition: 0.2s;
    box-sizing: border-box;
    display: block;
}

p {
    margin: 0;
}

img {
    line-height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.container {
    margin: 0 auto;
    max-width: 1400px;
    width: 1400px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: .2s;
}



/* 視覺 */
.main {
    text-align: center;
    animation: fadeDown_In 1s;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
}

.main_m {
    display: none;
    width: min(750px, 100%);
    animation: fadeDown_In 1s;
}



@keyframes fadeDown_In {
    0% {
        margin-top: -40px;
        opacity: 0;
    }

    100% {
        margin-top: 0;
        opacity: 1;
    }
}


.logo {
    width: min(60vw, 188px);
    transition: .2s;
    /* margin-bottom: 1vw; */
}

.logo_m {
    width: 30%;
    margin: 5vw auto 0;
    transition: .2s;
    display: none;
}

/* 選單 */
.menuBox {
    width: min(100%, 1250px);
    border-radius: min(2.8vw, 45px);
    padding: min(3vw, 30px) 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.menu {
    color: #fff;
    width: min(20vw, 283px);
    height: min(7vw, 100px);
    background: url(../img/menuBg.png) 50% 50% no-repeat;
    background-size: 100% auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: min(1.3vw, 1.1rem);
    transition: 0s;
    position: relative;
    cursor: pointer;
}

.menu_flex {
    display: flex;
    align-items: center;
}

.menuIcon {
    margin-right: 8px;
    filter: grayscale(100%) brightness(500%);
    width: min(2vw, 31px);
    /* max-height: 33px; */
    /* width: clamp(2vw, 20px, 31px); */
}

#menu02 .menuIcon {
    width: min(2vw, 24px);
}

.menuText01 {
    color: #fff;
    margin-bottom: -3px;
}

.menu:hover {
    background: url(../img/menuBg_h.png) 50% 50% no-repeat;
    background-size: 100% auto;
}

.menu:hover .menuText01 {
    color: #194c38;
}

.menu:hover .menuIcon {
    filter: initial;
}

.menuPop {
    /* display: none; */
    border: 2px solid #ffea00;
    border-radius: 25px;
    padding: 15px 20px;
    background: rgba(25, 76, 56, 0.9);
    position: absolute;
    bottom: 108%;
    margin-bottom: -15px;
    pointer-events: none;
    opacity: 0;
    width: auto;
}

.menuPop:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    bottom: -14px;
    background: url(../img/popArrow.png) 50% 0% no-repeat;
    background-size: auto 100%;
}

/* .menu:hover .menuPop {
    opacity: 1;
    transition: .2s;
    margin-bottom: 0;
    pointer-events: initial;
} */
@media screen and (min-width: 750px) {
    .menu:hover .menuPop {
        opacity: 1;
        transition: .2s;
        margin-bottom: 0;
        pointer-events: initial;
    }
}

.menuPop_m {
    display: none;
}

.menuPop.active {
    opacity: 1;
    transition: .2s;
    margin-bottom: 0;
    pointer-events: initial;
}


/* menu彈窗01_跳轉彈窗 */
.webTitle {
    font-weight: normal;
    font-size: 1rem;
    text-align: center;
    display: block;
    color: #fff;
}

.webTitleImg {
    margin: 8px 0;
    width: min(37vw, 509px);
}

.webBox {
    width: 100%;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: grid;
    grid-template-columns: 15% auto calc(65% - 29px) 20%;
    box-sizing: border-box;
    margin-bottom: 8px;
}

.ms {
    border: 2px solid #1ed94f;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: min(3.5vw, 1.05rem);
    font-weight: normal;
    color: #fff;
}

.sign {
    width: min(1.5vw, 7px);
    height: min(1.5vw, 7px);
    border-radius: 50px;
    background: #6bf63a;
    margin-right: 2px;

}

.webArrow {
    margin: 0 5px;
}

.webArrow img {
    width: min(4vw, 19px);
}

.website {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: min(4.2vw, 1rem);
    font-weight: normal;
    padding: 0 8px;
    box-sizing: border-box;
    text-align: center;
    color: #000;
    background-color: #fff;
    border: 1px solid #41b171;
}

.webBtn {
    color: #fff;
    background: linear-gradient(#41b171, #22674b);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: min(3.8vw, 1.1rem);
    transition: .2s;
}

.webBtn:hover {
    color: #fff600;
    filter: contrast(1.5);
}


/* menu彈窗03_跳轉彈窗 */
.menu03,.menu04 {
    margin: 10px 0;
}

.menu03,
.menu04 {
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu03 .menuArrow,
.menu04 .menuArrow {
    transform: rotate(-90deg);
    width: 10px;
    margin: 0 3px;
}
.menu03 a,.menu04 a {
    color: #fff;
    background: linear-gradient(#41b171, #22674b);
    padding: 7px 13px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    white-space: nowrap;
    text-transform: uppercase;
}

.menu03 a:hover,
.menu04 a:hover {
    color: #fff600;
    filter: contrast(1.5);
}

/* 獎池 */


.slotBox {
    position: relative;
    height: auto;
    display: inline-block;
    margin-bottom: -40px;
}

.slotBg {
    width: min(90vw, 555px);

}

.slotBox img {
    display: block;
}

.s {
    color: #fff;
    font-size: min(8.3vw, 2.8rem);
    font-weight: bold;
    position: absolute;
    bottom: 15%;
    right: 15%;
    right: 50%;
    transform: translateX(50%);
    letter-spacing: 2px;
    text-shadow: 0 0 2px rgba(0, 0, 0, .3);
}

.gameContent {
    border: 2px solid #ff3a00;
    border-radius: 8px;
    width: 100%;
    padding: 15px min(2vw, 15px);
    padding-top: 50px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    height: 35vh;
    overflow: hidden;
    background: rgba(255, 255, 255, .8);
}

.marquee-2 {
    height: 100% !important;
    overflow: hidden;
    width: 100%;
}

.game {
    width: min(14vw, 50px);
    height: min(14vw, 50px);
    margin-right: 5px;
}

.gameFlex {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.gameBox {
    display: flex;
    width: 49%;
}

.gameTitle {
    text-transform: uppercase;
}

.gameBox .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: min(2.5vw, .8rem);
    width: 100%;
}

.text03 {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.orange {
    color: #ff3600;
    font-size: min(3vw, .95rem);
}

.footer {
    width: 100%;
    display: none;
    margin-top: 30px;
}

.slotBox,
.gameContent {
    display: none;
}

/* RWD */

@media screen and (min-width: 1650px) {
    .container {
        margin: 0 auto;
    }
}

@media screen and (max-height: 850px) {
    .container {
        width: 85%;
        margin: 0 auto;
    }

    .main {
        height: 55vh;
        max-width: 100%;
    }

    .menu {
        width: min(35vh, 283px);
        height: min(12vh, 100px);
    }

    .menuPop01 {
        transform: scale(.85) translateY(30px);
    }

}

@media screen and (max-width: 1500px) {
    .container {
        width: 85%;
        margin: 0 auto;
    }

    .main {
        height: 52vh;
        max-width: 100%;
    }

    .menuBox {
        padding: min(2.5vh, 30px) 0;
    }


    .menuPop01 {
        transform: scale(.85) translateY(30px);
    }

}

@media screen and (max-width: 750px) {

    html,
    body {
        background: url(../img/BG_m.jpg) 50% 50% no-repeat;
        background-size: cover;
        overflow: auto;
    }

    .container {
        height: auto;
        width: 90vw;
    }

    .logo,
    .main {
        display: none;
    }

    .slotBox,
    .gameContent {
        display: block;
    }

    .logo_m,
    .main_m,
    .footer {
        display: block;
    }

    .logo_m {
        margin-bottom: .4vh;
    }

    .menuBox {
        flex-direction: column;
        padding: min(1.5vh, 30px) 3vw;
        width: auto;
        border-radius: min(5.8vw, 45px);
        border: none;
        max-width: 450px;
        background: none;
    }

    .menu {
        font-size: min(4vw, 1.1rem);
        letter-spacing: -0.3px;
        background: url(../img/menuBg-m.png) 50% 50% no-repeat;
        background-size: contain;
        width: min(61vw, 414px);
        height: min(18vw, 94px);
        margin: .4vh 0;
    }

    .menu:hover {
        background: url(../img/menuBg-m_h.png) 50% 50% no-repeat;
        background-size: contain;
    }

    .menu_flex {
        width: 90%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #menu02 .menuPop {
        display: none;
    }

    .menuIcon,
    #menu02 .menuIcon {
        width: min(5vw, 31px);
    }

    #menu03 .menuIcon,
    #menu04 .menuIcon {
        width: min(6vw, 31px);
    }

    .menuPop {
        border: 1px solid #ffea00;
    }

    .menuPop.active {
        bottom: 120%;
    }

    .menuPop01 {
        transform: initial;
        width: 95vw;
        box-sizing: border-box;
        padding: min(3vw, 15px) min(2vw, 20px);
    }

    .menuPop_m {
        display: block;
    }

    .ms {
        border: 1px solid #ffea00;
    }

    .webTitleImg {
        width: 100%;
    }

    .website span {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        width: 100%;
    }

    .webBox {
        height: min(3.8vh, 35px);
    }


    .menu03 {
        margin: 8px 0;
    }

    .menu04>img {
        display: initial;
    }

    .menu03 a {
        position: absolute;
        width: 100%;
        height: 100%;
    }

}

@media screen and (max-width: 320px){
    .gameContent{
        padding-top: 35px;
    }
    .gameFlex{
        margin-bottom: 8px;
    }
}