html,
body {
    padding: 0;
    margin: 0;
    background-image: url('./img/webBg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: SF Pro, sans-serif;
    height: 100%;
    background-color: #000000;
    /* 
     * height: 100%;
    background-attachment: fixed;
     */
}

.h5 {
    display: none;
}

.page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* space-evenly */
    overflow: hidden;
    height: 100%;
}

.container {
    display: flex;
}

.logo {
    /* padding-top: 0.05rem; */
    width: 40%;
    margin: 0 auto;
}

.swiper-container {
    width: 100%;
    position: relative;
    text-align: center;
}

.banner-section {
    position: relative;
    display: inline-block;
}

.banner-image {
    width: 3.4rem;
    /* 70% */
    padding-bottom: 0.1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.image-container {
    position: absolute;
    margin-top: 370px;
    z-index: 3;
    width: 100%;
    text-align: center;
    bottom: -0.2rem;
}

.image-container img {
    width: 616px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.shining-title {
    width: 2.4rem;
    margin: 0 auto;
    position: relative;
}

.marquee {
    --gap: 0.0001rem;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
    margin: 0 auto;
    top: -0.065rem;
}

.marquee_content {
    flex-shrink: 0;
    display: flex;
    /* * height: 100vw; */
    animation: scroll 50s linear infinite;
    gap: var(--gap);
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

.marquee_content img {
    width: 17rem;
    /* 3689px */
}

.pc-flying-dice,
.flying-star {
    position: absolute;
}

.pc-flying-dice {
    z-index: 2;
    animation: PcMoveTopLeft 3s linear infinite;
    font-size: 0;
    top: 55%;
    left: 1%;
}

.pc-flying-dice img {
    width: 0.704rem;
    height: 0.63rem;
}

.flying-star {
    top: 6%;
    right: 15%;
    animation: PcMoveTopRight 3s linear infinite;
    font-size: 0;
}

.flying-star img {
    width: 0.22rem;
}

.star-center,
.star-bottom-left,
.star-bottom-right,
.coin-star,
.casino-s-star,
.casino-o-star,
.dice-star {
    position: absolute;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.star-center {
    width: 0.5rem;
    height: 0.58rem;
    top: 5%;
    left: 53%;
    z-index: 2;
    animation-name: grow-shrink;
    background-image: url('./img/centerStar.png');
    background-size: cover;
    animation-duration: 2s;
    animation-delay: 0.5s;
    /* * transform: translate(-50%, -50%) scale(1); */
}

.star-bottom-left {
    width: 0.52rem;
    height: 0.52rem;
    top: 44%;
    left: 26.5%;
    z-index: 2;
    animation-name: grow-shrink;
    background-image: url('./img/bottomLeftStar.png');
    background-size: cover;
    animation-duration: 2s;
    animation-delay: 1s;
}

.star-bottom-right {
    width: 0.408rem;
    height: 0.413rem;
    right: 16.9%;
    top: 53%;
    z-index: 2;
    animation-name: grow-shrink;
    background-image: url('./img/bottomRightStar.png');
    background-size: cover;
    animation-duration: 2s;
    animation-delay: 0.4s;
}

.coin-star {
    width: 0.27rem;
    height: 0.27rem;
    top: 37.2%;
    left: 1.2%;
    z-index: 4;
    animation-name: grow-shrink;
    background-image: url(./img/bottomLeftStar.png);
    background-size: cover;
    animation-duration: 2s;
    animation-delay: 1s;
}

.dice-star {
    width: 0.271rem;
    height: 0.271rem;
    top: 59.5%;
    left: 4.5%;
    z-index: 4;
    animation-name: grow-shrink;
    background-image: url('./img/bottomLeftStar.png');
    background-size: cover;
    animation-duration: 2s;
    animation-delay: 1s;
}

.casino-s-star {
    width: 0.3rem;
    height: 0.3rem;
    top: 68%;
    left: 20.5%;
    z-index: 4;
    animation-name: grow-shrink;
    background-image: url('./img/bottomLeftStar.png');
    background-size: cover;
    animation-duration: 2s;
    animation-delay: 1s;
}

.casino-o-star {
    width: 0.265rem;
    height: 0.265rem;
    top: 70%;
    left: 47.8%;
    z-index: 4;
    animation-name: grow-shrink;
    background-image: url('./img/bottomLeftStar.png');
    background-size: cover;
    animation-duration: 2s;
    animation-delay: 1s;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.1rem;
    /*padding-bottom: 0.1rem;
    padding-bottom: 30px; */
}

.btn-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
    padding-bottom: 0.05rem;
}

.btn-download {
    display: flex;
    animation-name: btn-grow-shrink;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

.btn-download img {
    width: 1.25rem;
    margin-top: 0.25rem;
}

#qrcode-container {
    padding: 8px;
    border-radius: 10px;
    background-color: #ffffff;
    display: inline-block;
}

.qr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr p {
    font-size: 0.055rem;
    color: white;
    margin-block-end: 0.55em;
}

.logo-container {
    display: flex;
    flex-direction: column;
    row-gap: 0.2rem;
    align-items: center;
    color: white;
    font-size: 0.055rem;
}

.logo-container .sec {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container .row {
    display: flex;
    margin: 0 auto;
    column-gap: 0.1rem;
    padding: 0;
}

.logo-container .img-pagcor {
    width: 0.32rem;
}

.logo-container .gamezone {
    width: 0.32rem;
}

@media screen and (min-width: 375px) and (max-width: 375px) and (min-height: 667px) and (max-height: 667px) {
    /* .container {
    *    padding-top: 0.2rem !important;
    } */

    .flying-star {
        margin-top: -0.2rem !important;
    }
}

/* For mobile devices */
@media only screen and (max-width: 767px) {

    html,
    body {
        height: 100%;
    }

    .pc {
        display: none;
    }

    .h5 {
        display: block;
    }

    body {
        background-image: url('./img/mobileBg.png');
    }

    .page-content {
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        overflow: hidden;
    }

    .swiper-container {
        width: 100%;
        padding-bottom: 0.2rem;
    }

    .swiper-wrapper {
        padding-bottom: 0.6rem;
    }

    .swiper-pagination {
        position: relative !important;
        margin-top: -0.8rem;
        /* * top: 62% !important;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
        height: 0.5rem; */
    }

    .container {
        text-align: center;
    }

    .logo {
        margin: 0 auto;
        padding-top: 0;
        width: 62%;
        /* 3.5rem */
    }

    .banner-section {
        position: relative;
        margin-top: 0.1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    .banner-image {
        width: 100%;
        max-width: 100%;
        padding-bottom: 0.4rem;
    }

    .banner-3 {
        margin-top: -1.5rem;
    }

    .star-center,
    .star-bottom-left,
    .star-bottom-right {
        position: absolute;
        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
    }

    .star-center {
        width: 1.1978rem;
        height: 1.3486rem;
        top: 1%;
        left: 55.5%;
        z-index: 2;
        animation-name: grow-shrink;
        background-image: url('./img/centerStar.png');
        background-size: cover;
        animation-duration: 2s;
        animation-delay: 0.5s;
        /* * transform: translate(-50%, -50%) scale(1); */
    }

    .star-bottom-left {
        width: 0.964rem;
        height: 0.9708rem;
        top: 43%;
        left: 27.2%;
        z-index: 2;
        animation-name: grow-shrink;
        background-image: url('./img/bottomLeftStar.png');
        background-size: cover;
        animation-duration: 2s;
        animation-delay: 1s;
    }

    .star-bottom-right {
        width: 0.59rem;
        height: 0.5924rem;
        right: 15%;
        top: 53%;
        z-index: 2;
        animation-name: grow-shrink;
        background-image: url('./img/bottomRightStar.png');
        background-size: cover;
        animation-duration: 2s;
        animation-delay: 0.4s;
    }

    .flying-dice,
    .flying-star {
        position: absolute;
    }

    .flying-dice {
        z-index: 2;
        animation: MoveTopLeft 3s linear infinite;
        top: 48.5%;
        left: -2.7%;
    }

    .flying-dice img {
        width: 1.405rem;
    }

    .flying-star {
        top: 1%;
        right: 6%;
        animation: PcMoveTopRight 3s linear infinite;
    }

    .flying-star img {
        width: 0.75rem;
    }

    .image-container {
        position: absolute;
        bottom: -25% !important;
        z-index: 3;
        width: 100%;
        bottom: auto;
        left: auto;
    }

    .shining-title {
        width: 8rem;
        margin-left: -0.3rem;
    }

    .marquee {
        width: 105%;
        top: -0.27rem;
    }

    .marquee_content {
        flex-shrink: 0;
        display: flex;
        /* * height: 100vw; */
        animation: scroll 50s linear infinite;
        gap: var(--gap);
        padding: 0;
        margin-block-start: 0;
        margin-block-end: 0;
    }

    .marquee_content img {
        width: 70rem;
        /* 3689px */
    }

    .footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }

    .btn-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding-bottom: 0.1rem;
    }

    .btn-download {
        animation-name: btn-grow-shrink;
        animation-duration: 5s;
        animation-iteration-count: infinite;
        padding-left: 0;
        padding-top: 0;
    }

    .btn-download img {
        width: 5.45rem;
        height: 1.25rem;
        background: transparent;
        border: transparent;
    }

    .logo-container {
        /* * margin: 0.2rem auto;
        padding: 0.2rem;
         margin-top: -0.15rem; */
        display: flex;
        flex-direction: column;
        row-gap: 0.2rem;
        align-items: center;
        color: white;
        font-size: 0.22rem;
    }

    .logo-container .sec {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        margin: 0;
        padding: 0;
        gap: 0.05rem;
    }

    .logo-container .row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 2.97rem;
        margin: 0 auto;
        column-gap: 0.3rem;
        padding: 0;
        /* * margin: 0; */
    }

    .logo-container .img-pagcor {
        width: 1.19rem;
        height: 1.15rem;
    }

    .logo-container .gamezone {
        width: 1.31rem;
        height: 0.66rem;
    }
}

@keyframes grow-shrink {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes btn-grow-shrink {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes MoveTopRight {

    0%,
    100% {
        right: 0.6rem;
        top: 1rem;
    }

    50% {
        right: 0.7rem;
        top: 1.1rem;
    }
}

@keyframes PcMoveTopRight {

    0%,
    100% {
        transform: translate(10%, -5%);
    }

    50% {
        transform: translate(-10%, 10%);
    }
}

@keyframes PcMoveTopLeft {

    0%,
    100% {
        transform: translate(5%, 4%);
    }

    50% {
        transform: translate(16%, -5%);
    }
}

@keyframes MoveTopLeft {

    0%,
    100% {
        transform: translate(5%, 5%);
    }

    50% {
        transform: translate(16%, -4%);
    }
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-60deg);
    }

    100% {
        transform: rotate(0deg);
    }
}