
@media (max-width: 360px) {
    .milestone img{
        width: 35px !important;
    }

    .milestone p {
        font-size: 9px;
    }

    .registration-info {
        width: 280px !important;
    }
}

@media (max-width: 479px) {
    .xs-display {
        display: block;
    }

    .xl-display {
        display: none !important;
    }

    .milestone-label {
        font-size: 10px;
        width: 10vw;
    }

    .milestone-line-bar {
        margin: 25px 0;
    }
}

@media (max-width: 575.98px) {
    .xs-display {
        display: block;
    }

    .xl-display {
        display: none!important;
    }
    
    .title-img {
        max-width: 80%!important;
    }

    .sticky-bottom {
        bottom: 20px;
    }

    .swiper-pagination-vertical.swiper-pagination-bullets,
    .swiper-vertical>.swiper-pagination-bullets {
        right: 10px!important;
    }

    .swiper-pagination-bullet {
        margin: 20px auto;
    }

    #marquee {
        background: url(../images/frame2/marquee-bg-mup.png);
    }

    #marquee p {
        max-width: 80%;
        margin-bottom: 0;
    }

    .image-container {
        background: url("../images/frame5/form-bg-mup.png");
        width: 100%;
        height: 550px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .text-center-xs {
        text-align: center;
    }

    #ccp .title {
        width: 100%;
        margin: 30px 0 20px 0;
        max-width: 80%;
    }

    .form-overlay label {
        font-size: 12px;
    }

    .form-overlay {
        padding: 45px 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .form-overlay p {
        font-size: 11px;
        margin: 10px auto 0px;
    }

    input {
        height: 32px;
    }

    .form-group {
        margin-bottom: 5px;
        width: 100%;
    }

    .mobile-submit-button {
        position: absolute;
        bottom: 10px;
    }

    .h-100 {
        height: 100%;
    }

    #ccp {
        background: url(../images/frame5/background-mup.jpg) center / cover no-repeat;
    }

    #milestone {
        background: url(../images/frame6/background-mup.jpg) center / cover no-repeat;
    }

    #game {
        background: url(../images/frame7/background-mup.jpg) center / cover no-repeat;
    }

    .info-modal {
        background: url(../images/modal-bg-mup.png) no-repeat;
        max-width: 100%;
        background-size: contain;
        background-position: top;
        background: none;
        background-color: rgba(0, 0, 0, 0.8);
        margin: 20px;
        border: 1px solid #f5e5c3;
        max-height: 90vh;
        height: auto;
    }

    #closeModal {
        top: -10px;
        right: -10px;
    }

    .modal-title {
        padding-top: 18px;
        border-bottom: 1px solid #f5e5c3;
        padding-bottom: 10px;
    }

    .modal-body {
        padding: 20px 25px;
        overflow: scroll;
        max-height: 80vh;
    }

    .milestone img {
        width: 45px;
    }

    #milestone .logo {
        width: 150px;
    }

    .logo {
        width: 125px;
    }

    #milestone .counter-box {
        font-size: 30px;
    }

    .registration-info {
        background: url(../images/frame6/number-bg.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        padding: 30px;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: white;
        font-weight: bold;
        height: 150px;
        width: 300px;
        margin-bottom: 30px;
    }

    #milestone .title {
        width: 250px;
        margin-bottom: 10px;
    }

    #milestone .subtitle {
        font-size: 12px;
    }

    /* .milestone-container {
        max-width: 60%;
    } */

    .milestone::before {
        top: -5px;
        width: 15px;
        height: 15px;
    }

    #modal-group-milestone .modal-body p {
        font-size: 12px;
        line-height: 14px;
    }

    .carousel-container {
        width: 370px;
        height: 205px;
    }

    .controls {
        bottom: -30%;
    }

    .carousel img {
        width: 350px;
    }

    #home .title-img {
        top: 15%;
    }

    .pad-0-xs {
        padding: 0px!important;
    }

    .character-image img {
        width: 105%;
        bottom: -3%;
    }

    .character-image, .character-shadow {
        display: flex;
        justify-content: center;
    }

    .character-shadow img {
        width: 110%;
    }

    .character-intro {
        font-size: 12px;
    }

    .character-name {
        max-height: 100px;
        object-fit: contain;
        object-position: left;
    }

    .mup-button-box {
        width: 90%;
        background: #ffffff;
        background-image: url(../images/logo-fade.png);
        background-repeat: no-repeat;
        background-size: 150px;
        background-position: center center;
        border-radius: 5px;
        display: flex;
        box-shadow: -1px 1px 11px 0px rgba(255, 255, 255, 0.75);
        -webkit-box-shadow: -1px 1px 11px 0px rgba(255, 255, 255, 0.75);
        -moz-box-shadow: -1px 1px 11px 0px rgba(255, 255, 255, 0.75);
        position: absolute;
        bottom: 20px;
        margin-left: 1%;
    }

    .mup-button-box button {
        width: 33%;
        margin: 5px;
        background: none;
        color: #000;
        font-size: 22px;
        font-family: "KimberlyAsley";
        border: none;
        padding: 7px 0px 0px;
        border-radius: 5px;
    }

    .mup-button-box button span:lang(zh) {
        font-family: "GBK";
    }

    .mup-button-box button span{ 
        pointer-events: none;
    }

    .mobile-divider {
        display: none;
    }

    .card-container {
        width: 150px;
        height: 180px;
    }

    .mobile-card {
        display: flex;
        margin-top: 10px;
    }

    #reward .title {
        width: 180px;
    }

    .controls img {
        margin: 0;
    }

    .m-t-30 {
        margin-top: 30px;
    }

    .reward-modal .modal-body {
        text-align: center;
        padding-bottom: 10%;
    }

    footer {
        padding: 15px 20px!important;
    }

    footer p {
        font-size: 12px;
    }

    footer img {
        width: 100px;
    }

    .scan {
        z-index: 2;
        bottom: 100px;
    }
    
    .scan .fingerprint {
        width: 70px;
        height: 100px;
        background-size: 70px;
    }

    .scan .fingerprint::before {
        background-size: 70px;
    }

    .reward-modal .close {
        top: 120px;
    }

    .milestone p {
        text-wrap: auto;
        line-height: 12px;
    }

    .milestone {
        width: 20%;
    }

    .info-btn {
        font-size: 12px;
    }

    .m-t-15-xs {
        margin-top: 15px;
    }

    .cta-btn {
        max-width: 90vw;
        background-position: center;
    }
    
    .cta-btn span {
        font-size: 5vw;
        margin-top: 1.5vw;
    }

    #milestone .title {
        max-width: 60vw;
    }

    #language-btn {
        width: 50px;
        height: 25px;
        margin: 30px auto;
        top: 0px;
        right: 10px;
    }

    #knob {
        width: 15px;
        height: 15px;
        top: 4px;
        left: 5px;
    }

    #language-toggle:checked+#language-btn #knob {
        left: 30px;
    }

    .language-text {
        left: 25px;
    }

}

@media (min-width: 576px) and (max-width: 767.98px) {
    .xs-display {
        display: block;
    }

    .xl-display {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .xs-display {
        display: none;
    }

    .xl-display {
        display: block;
    }

    .md-display {
        display: block;
    }

    #milestone .xl-display {
        display: none;
    }

    .info-modal {
        width: 385px;
        height: 550px;
    }

    #milestone .title {
        max-width: 60vw;
    }

    .text-center-md {
        text-align: center;
    }

    .counter-box {
        font-size: 5rem;
    }

    #milestone .subtitle {
        font-size: 18px;
        margin-top: 2vh;
    }
}

@media screen and (max-height: 810px) {
    .md-display {
        display: block !important;
    }

     #milestone .milestone-info-box.xl-display {
        display: none;
    }
    
    /* .xl-display {
        display: none;
    } */

    .info-modal {
        width: 385px;
        height: 550px;
    }

    #milestone .xs-display {
        display: none;
    }

}

@media (min-width: 991.98px) {
    .xs-display {
        display: none;
    }

    .xl-display {
        display: block;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    #milestone .cta-btn {
        max-width: 30vw;
    }

    .milestone img {
        max-width: 4vw;
    }

    #home .title-img {
        max-width: 60vw;
        top: 25%;
    }   
    
    #milestone .cta-btn span {
        font-size: 20px;
        margin-top: -20px;
    }

    .info-modal {
        width: 385px;
        height: 550px;
    }
}

@media (min-width: 1200px) {
    .milestone-info {
        padding: 15px 3.5vw;
        width: 70vw;
    }

    .character-video-box {
        margin: 3vw 0 3vw 150px;
    }

    .milestone-container {
        width: 650px;
    }
}