html,
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, "Microsoft YaHei", 微软雅黑, sans-serif;
    height: 100dvh;
    width: 100%;
    /* background: url(../img/bg.jpg) center no-repeat;
    background-size: cover; */
    background: #0f0902;
    box-sizing: border-box;
    overflow: hidden;
}

a {
    text-decoration: none;
    transition: 0.2s;
}

p {
    margin: 0;
}

img {
    line-height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.w750 {
    /* width: min(100%, 750px); */
    margin: 0 auto;
    height: 100%;
    position: relative;
    /* background: url(../img/99win_進入頁.mp4) 50% 50%; */
}

.banner {
    position: relative;
    width: 100%;
    max-height: 100vh;
    height: 100%;
    overflow: hidden;
    object-fit: cover;
}

.banner .video-pc,
.banner .video-wap {
    width: 100%;
    pointer-events: none;
    display: block;
    object-fit: cover;
    margin: 0 auto;
    height: 100%;
}
.banner .mask{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    width: 100%;
    height: 100%;
    background-image:url('../img/mask.png');
    background-size: 100% 100%;
    opacity: 0.85;
}
.banner-wap{
    display: none;
}
.main {
    top: 50%;
    position: fixed;
    text-align: center;
    transition: .5s;
    animation: fadeDown_In 1s;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    animation: fadeInDown 1s ease forwards;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        margin-top: -20px;
    }

    100% {
        opacity: 1;
        margin-top: 0;
    }
}

.logo {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-bottom: min(10vw, 200px);
}

.logo img {
    width: min(20vw, 300px);
}
.sub01-img{
    width: min(40vw, 325px);
    margin-bottom: 8px;
    margin-top: 12px;
}
.sub01,
.sub02 {
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(0, 0, 0, .5);
}

.sub01 {
    font-weight: bold;
    font-size: min(2vh, 24px);
    letter-spacing: 1px;
    margin-bottom: 8px;
    margin-top: 8px;
    white-space: nowrap;
}
.sub01::after{
    content:'';
    display: inline-block;
    width: 100%;
}
.sub02 {
    font-size: min(2vw, 18px);
    letter-spacing: 1px;
    white-space: nowrap;
}

/* 按鈕 */
.btn {
    position: relative;
    cursor: pointer;
    display: block;
    width: min(50vw, 660px);
    margin: auto;
}

.btn :hover {
    animation: btn .4s ease forwards;
}
.btn .btn-main{
   display: block;
   width: 70%;
   margin: auto;
}
.btn .btn-bg{
    position: absolute;
    top:-50%;
    left:0;
    right:0;
    z-index: -1;
    width: 100%;
    pointer-events: none;
}
.btn.btn-wap{
    display: none;
}

@keyframes btn {
    0% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }

    100% {
        filter: brightness(1);
    }
}

.btn span {
    color: #11295e;
    font-weight: bold;
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}


@media screen and (max-height: 900px) {

    .banner video {
        top: -50px;
    }

    .container {
        padding: 12px;
    }
/* 
    .sub01 {
        font-weight: bold;
        font-size: min(1.5vh, 24px);
        letter-spacing: 1px;
        margin-bottom: 4px;
        margin-top: 8px;
    }

    .sub02 {
        font-size: min(1.4vh, 18px);
        letter-spacing: 1px;
    } */
}

@media screen and (max-width: 768px) {
    .banner .mask{
        display: none;
    }
    .banner .video-pc{
        display: none;
    }
    .banner .video-wap{
        display: block;
    }
    .w750 {
        width: min(100%, 750px);
    }
    .main{
        top: 45%;
    }
    .logo{
        margin-bottom: 100px;
    }
    .logo img {
        width: min(18vh, 140px);
    }
    .sub01-img{
        width: min(18vh, 140px);
        margin-bottom: 4px;
        margin-top: 0px;
    }
    .sub01 {
        font-size: min(1vh, 12px);
        letter-spacing: 1px;
        margin-bottom: 4px;
        margin-top: 0px;
    }

    .sub02 {
        font-size: min(1vh, 12px);
        letter-spacing: 0.5px;
    }
    .btn {
        width: min(60vw, 400px);
    }

    .btn .btn-main {
        width: 90%;
    }
    .btn .btn-bg{
        top: -18%;
    }
    .btn.btn-pc{
        display: none;
    }
    .btn.btn-wap{
        display: block;
    }
}