html,
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, "Microsoft YaHei", 微软雅黑, sans-serif;
    height: 100dvh;
    width: 100%;
    background: url(../img/BG.png) 30% 50% no-repeat;
    background-size: cover;
    background: #12142c;
    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 {
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    overflow: hidden;
    object-fit: cover;
}

.banner video {
    width: 100%;
    pointer-events: none;
    display: block;
    object-fit: cover;
    margin: 0 auto;
    height: 100%;
}

.main {
    top: 45%;
    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, 100px);
}

.logo img {
    width: min(48vw, 354px);
}

.sub01,
.sub02 {
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(0, 0, 0, .5);
}

.sub01 {
    font-weight: bold;
    font-size: min(4.2vw, 32px);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sub02 {
    font-size: min(2.0vw, 15px);
}

/* 按鈕 */
.btn {
    position: relative;
}

.btn :hover {
    animation: btn .4s ease forwards;
}

.btn img {
    width: min(50vw, 451px);
}

@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) {
    .w750 {
        width: 500px;
    }

    .logo {
        margin-bottom: 40px;
    }

    .logo img {
        width: min(25vh, 354px);
    }

    .banner video {
        top: -50px;
    }

    .container {
        padding: 12px;
    }

    .sub01 {
        font-weight: bold;
        font-size: min(2.1vh, 32px);
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .sub02 {
        font-size: min(1.08vh, 15px);
        letter-spacing: -0.2px;
    }

    .btn img {
        width: 30vh;
    }
}

@media screen and (max-width: 460px) {
    .w750 {
        width: min(100%, 750px);
    }

    
}