@font-face {
    font-family: 'ver';
    src: url('/css/verdan.ttf');
}

@font-face {
    font-family: 'verb';
    src: url('/css/verdanab.ttf');
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: ver, Arial, "Microsoft YaHei", 微软雅黑, sans-serif;
    background: #fff;
    height: auto;
    width: 100%;
    margin: 0 auto;
}

a {
    text-decoration: none;
    transition: 0.2s;
}

p {
    margin: 0;
}

img {
    line-height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    height: 80px;
    background: #053726;
    background-size: cover;
    position: fixed;
    top: 0;
    z-index: 5;
    animation: fadeDown_In .5s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* menu */
.header_content {
    width: min(95%, 1400px);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-block;
    margin-right: min(5vw, 160px);
}

.logo img {
    height: min(4vw, 45px);
}

.menu {
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
}

.menu::before {
    content: "";
    position: absolute;
    background: url(../img/hovBg.png);
    width: 145px;
    /* width: 50px; */
    height: 50px;
    left: 50%;
    margin-bottom: -5px;
    transform: translateX(-50%);
    opacity: 0;
    transition: .2s;
}

.menu:hover {
    color: #ffea00;
}

.menu:hover::before {
    opacity: .8;
    margin-bottom: 0;
    /* width: 145px; */
}

.menu img {
    max-height: min(2vw, 22px);
    margin-right: 8px;
}

.menu span {
    margin-top: 2px;
    font-size: min(1.5vw, 1rem);
}

/* 跑馬燈 */
.news {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    margin: 0 auto;
    top: 100px;
    z-index: 2;
    height: 40px;
    position: absolute;
    top: 0;
}

.marquee-1 {
    max-width: 1400px;
    margin: 0 auto;
    color: #fff;
    min-height: 1rem;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 9rem auto;
    padding: .2rem;
    height: 36px;
    line-height: 36px;
    text-align: center;
}

.marquee-1 span {
    font-size: .9rem;
    margin-left: 5px;
}


.newsIcon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #ffea00;
}

.newsIcon img {
    /* margin: 5px 0 0 0; */
}

.marquee-1 div.marquee-1-content {
    height: 100% !important;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    vertical-align: middle;
    display: inline-block;
}

.marquee-1-website {
    padding: 2px 0 0 1.5rem;
    height: 27px;
}

.marquee-1-content {
    /* margin: 2px 0 0 0; */
    color: #fff;
    font-size: .9rem;
}

/* 跑馬燈結束 */

.main {
    padding-top: 70px;
    background: #000 url(../img/banner.png) 50% 50% no-repeat;
    background-size: cover;
    height: calc(100vh - 270px);
    margin-top: 80px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main_m {
    display: none;
}

.webTitle {
    display: none;
}

@keyframes main {
    0% {
        background-size: auto 107%;
    }

    99% {
        background-size: auto 100%;
    }

    100% {
        background-size: cover;
    }
}

/* 老虎機 */
.slot {
    position: absolute;
    z-index: 2;
    top: 9%;
    text-align: center;
}

/* 獎池 */
.slotBox {
    position: relative;
    height: auto;
    display: inline-block;
    margin-bottom: 15px;
}

.slotBox img {
    display: block;
}

.s {
    color: #fff;
    font-size: 2.6rem;
    font-weight: bold;
    position: absolute;
    bottom: 6%;
    left: 50%;
    letter-spacing: 2px;
	    transform: translateX(-50%);
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 滾動 */
.gameBox .swiper-wrapper {
    -webkit-transition-timing-function: linear;
    -moz-transition-timing-function: linear;
    -ms-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
}

/* 遊戲圖 */
.gameBox {
    margin: 0 0 10px;
    width: 430px;
}

.gameBox a {
    /* margin: 0 min(.5vw, 8px); */
}

.gameBox a img {
    width: min(15vw, 66px);
    transition: .2s;
}

.gameBox a:hover img {
    transform: scale(.97);
    filter: brightness(.7);
    transition: .3s;
}


/* 輸入 */
.inputBox {
    width: min(40%, 470px);
    margin: 0 min(4vw, 60px);
    animation: input .5s ease-out forwards;
    opacity: 0;
}

@keyframes input {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.inputLogo {
    width: min(25vw, 292px);
    margin: 0 auto 15px auto;
    display: block;
}

.account {
    position: relative;
    height: 55px;
    margin-bottom: 10px;
    z-index: 2;
}

.account input {
    background: rgba(0, 0, 0, 0.75);
    width: 100%;
    height: 100%;
    text-align: center;
    color: #888;
    outline: none;
    font-size: min(4.2vw, 1.2rem);
    border-radius: 3px;
    border: 1px solid #afc8dd;
    box-sizing: border-box;
    transition: .2s;
}

.account input::placeholder {
    color: #bbb;
}

.account input:focus ::placeholder {
    color: #fff;
}

.account_btn {
    font-family: 'verb';
    width: 100%;
    height: 55px;
    border-radius: 3px;
    color: #fff;
    font-size: min(4.2vw, 1.15rem);
    border: none;
    background: linear-gradient(#ff3a3a, #b91111);
    cursor: pointer;
    transition: .2s;
    box-sizing: border-box;
}

.account_btn:hover {
    filter: brightness(1.1);
}

.item {
    height: min(35vw, 567px);
    animation: item .8s ease-out .5s forwards;
    transform: translate(20px);
    opacity: 0;
}

@keyframes item {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

/* 內頁 */
.banner02 {
    display: block;
    margin: 0 auto min(2vw, 30px) auto;
    width: min(100%, 1270px);
}

.section01 {
    margin-top: 80px;
    background: url(../img/BG.png) 50% 50% no-repeat;
    background-size: cover;
    width: 100%;
    background-attachment: fixed;
    padding: 30px 0;
    padding-top: 80px;
    position: relative;
	padding-bottom:80px !important;
}

.container {
    width: min(90%, 1400px);
    margin: 0 auto;
    height: 100%;
}

h2.title {
    color: #ffdd00;
    text-align: left;
}

/* 表格 */
.section01 table,
.lightbox table {
    font-weight: normal;
    width: 100%;
    background: #f5eddd;
    background: #fff;
    margin: 30px 0;
    border-collapse: collapse;
    text-align: center;
    margin-bottom: 40px;
	table-layout: fixed;
}

.lightbox table {
    margin: 0 auto;
}

.section01 table tbody,
.lightbox table tbody {
    border-radius: 8px;
    border: 1px solid #3d6959;
}

.section01 table td,
.lightbox table td {
    padding: 7px 0;
    color: #000;
    font-size: min(3.8vw, 1.1rem);
    line-height: 1.5rem;
    border: 1px solid #3d6959;
    padding: 15px 0;
    letter-spacing: .2px;
	word-break: break-all;
}

.section01 table td {
    padding: 8px 0;
}

.section01 table tr:nth-of-type(1) td {
    padding: 15px 0;
}

.section01 table tr:nth-of-type(even) {
    background: #effff9;
}

.section01 table tr:nth-of-type(even) td:nth-of-type(1) {
    background: #1a4938;
}

.section01 table tr:nth-of-type(1),
.lightbox table tr:nth-of-type(1) {
    color: #fff;
    background: #023422;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    word-break: normal;
}


.section01 table tr:nth-of-type(1) td,
.lightbox table tr:nth-of-type(1) td {
    color: #fff;
}

.section01 table tr:nth-of-type(1) td,
.lightbox table tr:nth-of-type(1) td {
    font-size: min(4vw, 1.1rem);
}

.section01 table tr td:nth-of-type(1) {
    background: #023422;
    color: #fff;
}

.section01 ul,
.lightbox ul {
    text-align: left;
    list-style: none;
    padding-left: 25px;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.containerSpan {
    font-size: min(4.5vw, 1.12rem);
    line-height: min(7.1vw, 2rem);
    color: #fff;
    letter-spacing: 0.2px;
}

.section01 ul li,
.lightbox ul li,
.lightbox ul li,
.lightbox ul li {
    color: #fff;
    font-size: min(4.8vw, 1.3rem);
    line-height: min(7.1vw, 2rem);
    position: relative;
    margin-bottom: 18px;
    list-style-position: outside;
}

.section01 ul.note,
.lightbox ul.note {
    padding-left: 0;
}

.lightbox ul li::before {
    content: "";
    background: url(../img/list.png) 50% 50% no-repeat;
    background-size: 100% auto;
    width: 15px;
    height: 15px;
    display: inline-block;
    position: absolute;
    left: -25px;
    top: 7px;
}

.section01 .number,
.lightbox .number {
    list-style-type: decimal;
}

.section01 .number li::before,
.lightbox .number li::before {
    background: none;
}

.yellow {
    color: #ffdd00;
}

/* 手機選單 */
footer {
    bottom: 0;
    width: 100%;
    background: #053726;
}

.footer_main {
    position: absolute;
    bottom: 0;
}

.footerTop {
    background: #00130d;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footerIcon {
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
}

.footerIcon img {
    display: block;
    margin-bottom: 5px;
}

.footerIcon span {
    font-size: .7rem;
    line-height: 1.1rem;
    color: #fff;
}

.footerIcon span.green {
    color: #04cb7d;
}

.copyright {
    display: flex;
    color: #86afa1;
    font-size: .85rem;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

/* 手機選單 */
.footer_m {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: min(10vh, 80px);
    background: linear-gradient(#07593d, #053726);
    display: none;
}

.footer_menu {
    color: #fff;
    font-size: min(3vw, .8rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 25%;
    box-sizing: border-box;
    border-right: 1px solid #497b6a;
}

.footer_menu img {
    margin-bottom: 1vw;
}


/* 彈窗 */
#lightbox_lightboxbg {
    display: none;
    background: rgba(0, 0, 0, 0.75);
    position: fixed;
    top: 0px;
    left: 0px;
    min-width: 100%;
    min-height: 100%;
    z-index: 1000;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    padding: 55px min(2vw, 30px);
    background-size: cover;
    background: #00130d;
    border: 1px solid #11bf89;
    border-radius: 18px;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
}

.lightbox .close {
    position: absolute;
    right: -20px;
    top: -20px;
    transition: .5s;
}

.lightbox_close:hover {
    transform: rotate(90deg);
}

.lightbox_content {
    padding: 0 min(1vw, 10px);
}

.title span {
    font-size: min(5.8vw, 1.5rem);
    color: #ffdd00;
    margin: 25px;
}

.title span,
.title .line {
    display: inline-block;
    vertical-align: middle;
}

.title .line {
    width: 70px;
    height: 1px;
    background: #a6850b;
}



.input_content {
    margin: 0 auto;
    text-align: center;
}

.subtitle_grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 247px auto;
    margin-bottom: 15px;
}


.submit {
    background: linear-gradient(#ffee78, #ffca05);
    padding: 8px 45px;
    display: inline-block;
    border-radius: 50px;
    color: #181818;
    font-weight: bold;
    margin: 20px 0 0 0;
    transition: .3s;
}

#lightbox-2 p {
    color: #fff;
    font-size: 2rem;
    line-height: 2.5rem;
}



@media screen and (max-width: 900px) {

    html,
    body {
        height: var(--app-height);
        max-height: 100vh;
        overflow: hidden;
    }

    header {
        height: min(14vw, 80px);
    }

    .section01 {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .header_content {
        justify-content: center;
    }

    .logo {
        margin: 0;
    }

    .logo img {
        height: min(6.9vw, 45px);
        display: block;
    }

    .menu {
        display: none;
    }

    .news,
    .marquee-1 {
        height: 36px;
        line-height: 32px;
    }

    .main {
        height: calc(100vh - min(14vw, 80px));
        margin-top: min(14vw, 80px);
        background: url(../img/banner_m.png) 50% 50% no-repeat;
        background-size: cover;
        animation: unset;
        display: block;
    }

    .main_m {
        display: block;
        position: absolute;
        bottom: 70%;
        z-index: 1;
        left: 50%;
        transform: translateX(-50%);
        width: min(120%, 40vh);
    }

    .section01 {
        margin-top: min(14vw, 80px);
    }

    .slot {
        top: 4vh;
        left: 50%;
        transform: translateX(-50%) scale(.85);
    }

    .inputLogo,
    .item {
        display: none;
    }

    .inputBox {
        margin: 60vh auto 0 auto;
        margin-top: 57vh;
        width: 80%;
        position: relative;
    }

    .account,
    .account_btn {
        height: min(13vw, 48px);
    }

    footer {
        display: none;
    }

    .footer_m {
        display: flex;
    }

    #lightbox-1 {
        width: 90% !important;
    }

    .section01 table td,
    .lightbox table td {
        padding: 0px;
    }

    .section01 table tr:nth-of-type(1),
    .lightbox table tr:nth-of-type(1) {
        word-break: keep-all;
    }
}

@media screen and (max-height: 900px) {
    .slot {
        transform: scale(.8);
    }

    .inputLogo {
        width: 18vw;
    }

    .inputBox {
        margin-bottom: -100px;
    }

}

@media screen and (max-width: 500px) {

    .main {
        padding: 0;
    }

    .marquee-1 span {
        font-size: .8rem;
    }

    .slot {
        top: 6vh;
        left: 50%;
        transform: translateX(-50%) scale(.8);
    }

    .slotBox {
        margin-bottom: 1vh;
    }

    .slotBox img {
        width: min(67vw, 310px);
    }

    .s {
        font-size: min(6.5vw, 2.6rem);
    }

    .gameBox {
        width: min(75vw, 450px);
    }

    .gameBox a img {
        width: min(12.5vw, 66px);
    }

    .main_m {
        width: min(120%, 40vh);
        bottom: 40%;
    }

    .inputBox {
        /*margin: 62vh auto 0 auto;*/
    }

    .title .line {
        display: none;
    }

    .title span {
        margin: 5vw;
    }

    footer {
        display: none;
    }

    .lightbox {
        width: 90%;
    }
}

@media screen and (max-width: 340px) {
    .lightbox {
        padding: 30px min(2vw, 30px);
    }
}

#lightbox-1 {
    width: 1200px;
}

/* announcement pop up window */
.announcement-box {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99998;
    width: 100%;
    height: 100%;
}

.announcement-box .wrap-bg {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.announcement-box .wrap {
    position: relative;
    z-index: 100000;
    max-width: 90%;
    max-height: 90%;
}

.announcement-box .wrap .close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
}

.announcement-box .wrap a {
    display: block;
}

.announcement-box .wrap .img {
    max-height: 100%;
    max-width: 100%;
}