@import url('https://fonts.googleapis.com/css2?family=BBH+Bogle&family=Cinzel+Decorative:wght@400;700;900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rowdies:wght@300;400;700&display=swap');

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #000;
    overflow: hidden;
}

body * {
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.page {
    width: 100%;
    height: 100vh;
    z-index: 2;
    max-height: 911px;
    min-height: 911px;
}

.container {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container-full {
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1728px;
    justify-content: center;
}

.container-max {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1920px;
    justify-content: center;
    position: relative;
}

#fullpage {
    position: relative;
    overflow: hidden;
}

.toast-message {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast-message.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/*----------------PAGE 1-----------------*/

.page-1 {
    position: relative;
}

.page-1 .logo {
    position: absolute;
    left: 20px;
    top: 28px;
    z-index: 2;
    display: block;
    width: fit-content;
    height: fit-content;
    user-select: none;
}

.page-1 .socials {
    position: absolute;
    display: flex;
    left: 313px;
    top: 69px;
    z-index: 2;
    gap: 11px;
}

.page-1 .socials li a {
    display: block;
    width: 45px;
    height: 45px;
}

.page-1 .socials li {
    background: url('../imgs/socials.webp') no-repeat;
    background-size: 400% 200%;
}

.page-1 .socials .facebook {
    background-position: left top;
}

.page-1 .socials .group {
    background-position: -45px top;
}

.page-1 .socials .tiktok {
    background-position: -90px top;
}

.page-1 .socials .discord {
    background-position: right top;
}

.page-1 .socials li:hover {
    background-position-y: bottom;
}

.page-1 .btn-play-video {
    width: 122px;
    height: 124px;
    background: url(../imgs/page-1/btn-play-video.png) no-repeat;
    background-size: 100% 200%;
    position: absolute;
    top: 256px;
    right: 587px;
    cursor: pointer;
    animation: softZoom 0.5s ease-in-out infinite;
    z-index: 4;
}

@keyframes softZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.page-1 .btn-play-video:hover {
    background-position: bottom !important;
}

.page-1 .btn-action {
    position: absolute;
    bottom: 8px;
    gap: 10px;
    display: flex;
    z-index: 5;
}

.page-1 .register:hover {
    background-position: bottom;
}

.page-1 .btn-action a {
    width: 290px;
    height: 79px;
    transition: transform 0.3s;
    background: url(../imgs/page-1/btn-download.webp) no-repeat;
    background-size: 300% 200%;
}

.page-1 .btn-action a.register {
    background: url(../imgs/page-1/btn-register.webp) no-repeat 0 0 / 100% 200%;
    animation: pulseZoom 0.6s ease-in-out infinite;
}

@keyframes pulseZoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.page-1 .btn-action .google-play {
    background-position: left top;

}

.page-1 .btn-action .app-store {
    background-position: center top;
}

.page-1 .btn-action .play-pc {
    background-position: right top;
}

.page-1 .btn-action a:hover {
    background-position-y: bottom;
}

.page-1 .btn-action a.phase-2 {
    display: none;
}

.page-1 .btn-action a.phase-1 {
    display: block;
}

/* .page-1 .btn-action a.phase-2 {
    display: block;
}

.page-1 .btn-action a.phase-1 {
    display: none;
} */

.page-1 .champ {
    position: absolute;
    animation-name: champFloat;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    will-change: transform;
    user-select: none;
}

.page-1 .champ-main {
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: url(../imgs/page-1/champ-main.webp) no-repeat 0 0 / 100% 100%;
    width: 685px;
    height: 563px;
}

.page-1 .champ-main .layer {
    position: relative;
}

.page-1 .champ-main .layer .layer-item-1 {
    position: absolute;
    top: -53px;
    left: 49%;
    transform: translateX(-50%);
    width: 141px;
    height: 163px;
}

.page-1 .champ-main .layer .layer-item-1 .shine-effect {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 999;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    mask-size: cover;
    -webkit-mask-image: url(../imgs/page-1/layer-1.webp);
    mask-image: url(../imgs/page-1/layer-1.webp)
}

.page-1 .champ-main .layer .layer-item-1 .shine-effect:before {
    content: "";
    z-index: 10;
    position: absolute;
    height: 200%;
    width: 200%;
    background: linear-gradient(transparent 0%,
            rgba(255, 255, 255, 0.1) 45%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.1) 55%,
            transparent 100%);
    transition: all 2s;
    transform: rotate(45deg);
    animation: shine 4s infinite forwards;
}

@keyframes shine {
    0% {
        top: 0;
        left: -100%;
    }

    100% {
        top: -100%;
        left: 100%;
    }

}

.page-1 .champ-main .layer .layer-item-2 {
    position: absolute;
    top: -125px;
    left: 47%;
    transform: translate(-50%);
    background: url(../imgs/page-1/layer-2.webp) no-repeat 0 0 / 100% 100%;
    width: 779px;
    height: 526px;
}

.page-1 .champ-1 {
    bottom: 55px;
    left: 175px;
    z-index: 3;
    --x1: -8px;
    --y1: -18px;
    --x2: 10px;
    --y2: 20px;
    animation-duration: 4.2s;
    animation-delay: -0.6s;
}

.page-1 .champ-2 {
    top: 136px;
    left: 72px;
    z-index: 2;
    --x1: 6px;
    --y1: 14px;
    --x2: -12px;
    --y2: -18px;
    animation-duration: 3.6s;
    animation-delay: -1.1s;
}

.page-1 .champ-3 {
    bottom: 190px;
    left: 416px;
    z-index: 1;
    --x1: -4px;
    --y1: -20px;
    --x2: 6px;
    --y2: 18px;
    animation-duration: 4.8s;
    animation-delay: -0.3s;
}

.page-1 .champ-4 {
    bottom: 61px;
    right: 255px;
    z-index: 3;

    --x1: 10px;
    --y1: -16px;
    --x2: -8px;
    --y2: 18px;
    animation-duration: 4.1s;
    animation-delay: -0.9s;
}

.page-1 .champ-5 {
    top: 54px;
    right: 11px;
    z-index: 2;
    --x1: -6px;
    --y1: 12px;
    --x2: 12px;
    --y2: -16px;
    animation-duration: 3.9s;
    animation-delay: -1.4s;
}

.page-1 .champ-6 {
    bottom: 49px;
    right: 433px;
    z-index: 1;
    --x1: 4px;
    --y1: -22px;
    --x2: -6px;
    --y2: 20px;
    animation-duration: 5.1s;
    animation-delay: -0.2s;
}


@keyframes champFloat {
    0% {
        transform: translate(var(--x1), var(--y1));
    }

    100% {
        transform: translate(var(--x2), var(--y2));
    }
}

/*----------------PAGE 2-----------------*/

.page-2 {
    position: relative;
    margin-top: 78px;
}

.page-2 .title.tablet {
    display: none;
}

.page-2 .container {
    flex-direction: row;
    height: 100%;
    max-width: unset;
}

#class-list {
    margin-top: 43px;
    color: #fff;
}

#class-list h2 {
    background: url(../imgs/page-2/card-item-2.webp) no-repeat;
    background-size: 500% 200%;
    display: block;
    width: 161px !important;
    height: 666px !important;
    transform: unset;
    padding: 74px 25px 117px 26px;
}

#class-list li:nth-child(1) h2 {
    background-position: left top;
}

#class-list li:nth-child(2) h2 {
    background-position: -161px 0;
}

#class-list li:nth-child(3) h2 {
    background-position: -322px 0;
}

#class-list li:nth-child(4) h2 {
    background-position: -483px 0;
}

#class-list li:nth-child(5) h2 {
    background-position: right top;
}

#class-list li h2:hover,
#class-list li h2.selected {
    background-position-y: bottom;
}

#class-list .slide>div {
    background: transparent;
    overflow: unset;
}

#class-list figure {
    width: 700px !important;
    height: 574px !important;
    background: url(../imgs/page-2/bg-content.webp) no-repeat;
    margin: 30px 0 0 0;
    padding: 20px 10px 19px 10px;
    overflow: hidden;
}

#class-list .content {
    height: 100%;
    overflow-y: auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#class-list .content img {
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

#class-list .content .description {
    width: 35%;
    line-height: 23px;
    font-size: 18px;
    color: #FFDA99;
}

/*----------------PAGE 3-----------------*/

.page-3 {
    position: relative;
    margin-top: 78px;
}

.page-3 .title {
    margin-top: 155px;
}

.page-3 .title.mobile {
    display: none;
}

.page-3 .mini-game {
    transform: translateY(-12px);
}

.page-3 .wrap-count {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-3 .wrap-count .btn-register {
    display: block;
    width: 234px;
    height: 89px;
    background: url(../imgs/page-3/btn-register.png) no-repeat 0 0 / 100% 200%;
    z-index: 2;
}

.page-3 .wrap-count .btn-register:hover {
    background-position-y: bottom;
}

.page-3 .wrap-count .bg-count {
    width: 386px;
    height: 42px;
    background: url(../imgs/page-3/bg-count.png) no-repeat 0 0 / 100% 100%;
    transform: translateX(-50px);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    padding-left: 50px;
    color: #ffd03f;
}

.page-3 .process-bar {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.page-3 .process-bar .butterfly {
    display: block;
    width: 150px;
    height: 161px;
    background: url(../imgs/page-3/butterfly.png);
}

.page-3 .process-bar .butterfly.right {
    transform: scaleX(-1);
}

.page-3 .process-bar .flower {
    display: block;
    width: 88px;
    height: 88px;
    background: url(../imgs/page-3/flower.png) no-repeat 0 0 / 100% 200%;
    margin: 0 16px;
}

.page-3 .process-bar .dot {
    display: block;
    width: 34px;
    height: 34px;
    background: url(../imgs/page-3/dot.png) no-repeat 0 0 /100% 200%;
    margin: 0 13px;
    margin-bottom: 25px;
}

.page-3 .process-bar .dot.active,
.page-3 .process-bar .flower.active {
    background-position: bottom;
}

.page-3 .mini-game .process {
    display: flex;
    gap: 51px;
    justify-content: center;
    transform: translateY(-50px);
}

.page-3 .mini-game .process .gift {
    width: 249px;
    height: 612px;
    position: relative;
    background: url(../imgs/page-3/flag-active.png) no-repeat 0 0 / 100%;
}

.page-3 .mini-game .process .gift.off {
    background: url(../imgs/page-3/flag.png) no-repeat 0 0 / 100%;
}

.page-3 .mini-game .process .gift.received {
    background: url(../imgs/page-3/flag-received.png) no-repeat 0 0 / 100%;
}


.page-3 .mini-game .process .gift .gift-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: 170px 33px 29px 33px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.page-3 .mini-game .process .gift .gift-content-item {
    display: flex;
    flex-wrap: wrap;
    width: 230px;
    gap:  0;
    justify-content: center;
}

.page-3 .mini-game .process-gifts {
    transform: translateY(-72px);
    position: relative;
    z-index: -1;
}

.page-3 .mini-game .process .gift .point {
    width: 96px;
    height: 39px;
    background: url(../imgs/page-3/flag-title.png) no-repeat 0 0 / 100% 400%;
    margin-bottom: 16px;
}

.page-3 .mini-game .process .gift-1 .point {
    background-position: left top;
}
.page-3 .mini-game .process .gift-1 .item,
.page-3 .mini-game .process .gift-2 .item,
.page-3 .mini-game .process .gift-3 .item,
.page-3 .mini-game .process .gift-4 .item,
.page-3 .mini-game .process .gift .gift-content-item .item{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #cb4d06;
    font-size: 16px;
    line-height: 21px;
    font-weight: 500;
}
.page-3 .mini-game .process .gift .gift-content-item .item{
    width: 100px;
    text-align: center;
}
.page-3 .mini-game .process .gift-4 .item {
    flex-direction: row;
}
.page-3 .mini-game .process .gift-1 .item img {
    width: 63px;
    height: 63px;
}
.page-3 .mini-game .process .gift-2 .point {
    background-position: left -39px;
}
.page-3 .mini-game .process .gift-3 .point {
    background-position: left -78px;
}
.page-3 .mini-game .process .gift-4 .point {
    background-position: left bottom;
}

.page-3 .mini-game .process .gift .gift-content .get-gifts {
    background: url(../imgs/page-3/btn-get.png) no-repeat 0 0 / 100% 200%;
    width: 154px;
    height: 43px;
    border: none;
    text-indent: -999999px;
    cursor: pointer;
    position: absolute;
    bottom: 40px;
}

.page-3 .mini-game .process .gift.off .gift-content .get-gifts,
.get-gifts.off {
    filter: grayscale(1) !important;
    cursor: not-allowed !important;
}

.page-3 .mini-game .process .gift .gift-content .get-gifts:hover {
    background-position-y: bottom;
}

/*----------------PAGE 4-----------------*/

.page-4 {
    position: relative;
    margin-top: 78px;
}

.page-4 .title {
    z-index: 4;
    transform: translate(-94px, 0px);
}

.page-4 .title.tablet {
    display: none;
}

.page-4 .container {
    flex-direction: row;
}

.page-4 .wrap-content {
    width: 1309px;
    height: 843px;
    position: relative;
    z-index: 3;
}

.page-4 .wrap-content::before {
    content: "";
    width: 1458px;
    height: 978px;
    background: url(../imgs/page-4/bg-layer-2.webp);
    position: absolute;
    z-index: 1;
    left: -121px;
    top: -98px;
}

.page-4 .wrap-content::after {
    content: "";
    position: absolute;
    z-index: 4;
    background: url(../imgs/page-4/bg-layer.webp);
    width: 1309px;
    height: 843px;
    top: 67px;
    left: -28px;
    pointer-events: none;
}

.page-4 .wrap-content .card-item {
    width: 218px;
    height: 378px;
    background: url(../imgs/page-4/card.webp) no-repeat 0 0 / 100% 100%;
    position: absolute;
    padding-top: 68px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #438fb3;
    overflow: visible;
    cursor: pointer;
}

.page-4 .wrap-content .card-item:hover {
    -webkit-filter: drop-shadow(0 0 25px rgba(255, 200, 50, 0.8));
    filter: drop-shadow(0 0 25px rgba(255, 200, 50, 0.8));
    transition: filter 0.3s;
}

.page-4 .wrap-content .cards {
    position: relative;
    z-index: 2;
}

.page-4 .wrap-content .card-item hr {
    margin: 1px;
    width: 150px;
    height: 2px;
    margin-top: 7px;
    background-color: #438fb3;
    border: none;
}

.page-4 .wrap-content .card-item p {
    padding: 0 36px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.page-4 .wrap-content .card-item:nth-child(1) {
    top: 186px;
}


.page-4 .wrap-content .card-item:nth-child(2) {
    top: 86px;
    left: 304px;
}

.page-4 .wrap-content .card-item:nth-child(3) {
    top: 134px;
    right: 383px;
}

.page-4 .wrap-content .card-item:nth-child(4) {
    top: 232px;
    right: 66px;
}

.page-4 .wrap-content .action-card-1 {
    top: 402px;
    left: 11px;
}


.page-4 .wrap-content .action-card-2 {
    top: 273px;
    left: 316px;
}

.page-4 .wrap-content .action-card-3 {
    top: 312px;
    right: 387px;
}

.page-4 .wrap-content .action-card-4 {
    top: 412px;
    right: 72px;
}

.page-4 .wrap-content .btn-action {
    position: absolute;
    display: block;
    width: 201px;
    height: 70px;
    background: url(../imgs/page-4/btn-link.png) no-repeat 0 0 / 100% 200%;
    text-align: center;
    line-height: 70px;
    color: #fff;
    z-index: 99999;
    cursor: pointer;
}

.page-4 .wrap-content .btn-action:hover,
.coppy-code:hover {
    background-position: bottom;
}

.coppy-code {
    width: 100px;
    height: 34px;
    color: #fff;
    background: url(../imgs/page-4/btn-link.png) no-repeat 0 0 / 100% 200%;
    border: none;
}

/*----------------FOOTER-----------------*/


.page-5 .footer-socials {
    display: flex;
    gap: 11px;
    position: relative;
    justify-content: center;
    align-items: center;
    margin-bottom: 225px;
    gap: 80px;
}

.page-5 .footer-socials li a {
    display: block;
    width: 139px;
    height: 149px;
    background: url(../imgs/socials-footer.png) no-repeat;
    background-size: 400% 200%;
}

.page-5 .footer-socials li a::after {
    content: "";
    position: absolute;
    bottom: -45px;
    left: 50%;
    width: 100px;
    height: 45px;
    transform: translateX(-50%);
}

.page-5 .footer-socials li {
    position: relative;
}

.page-5 .footer-socials .facebook a {
    position: relative;
    background-position: left top;
    z-index: 2;
}

.page-5 .footer-socials .facebook::before {
    content: "";
    position: absolute;
    background: url(../imgs/before-social.webp);
    width: 290px;
    height: 19px;
    left: 0;
    top: 50%;
    transform: translate(-30%, -50%);
    z-index: 1;
}

.page-5 .footer-socials .facebook a::after {
    background: url(../imgs/text-facebook.png) no-repeat 0 0 / 100% 100%;
}

.page-5 .footer-socials .tiktok::before {
    content: "";
    position: absolute;
    background: url(../imgs/before-social.webp);
    width: 290px;
    height: 19px;
    left: 0;
    top: 50%;
    transform: translate(-22%, -50%) scaleX(-1);
    z-index: 1;
}

.page-5 .footer-socials .group a {
    background-position: -139px top;
}

.page-5 .footer-socials .group a::after {
    background: url(../imgs/text-group.png) no-repeat 0 0 / 100% 100%;
}

.page-5 .footer-socials .discord a {
    background-position: -278px top;
}

.page-5 .footer-socials .discord a::after {
    background: url(../imgs/text-discord.png) no-repeat 0 0 / 100% 100%;
}

.page-5 .footer-socials .tiktok a {
    position: relative;
    background-position: right top;
    z-index: 2;
}

.page-5 .footer-socials .tiktok a::after {
    background: url(../imgs/text-tiktok.png) no-repeat 0 0 / 100% 100%;
}

.page-5 .footer-socials li:hover a {
    background-position-y: bottom;
}

footer {
    background: #000;
    color: #fff;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #ce5f4e;
    padding-top: 20px;
    margin-bottom: 228px;
}

footer .footer-logo {
    padding-top: 100px;
    margin-right: 40px;
}

footer .footer-text .footer-top {
    display: flex;
    justify-content: flex-start;
    padding-left: 100px;
}

footer .footer-text a {
    color: #ce5f4e;
    font-weight: 500;
    position: relative;
    margin-right: 10px;
}

footer .footer-text a:last-child {
    margin-left: 10px;
}

footer .footer-text a:last-child::before {
    content: "";
    position: absolute;
    height: 12px;
    width: 1px;
    background-color: #ce5f4e;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
}

footer .footer-text p {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 25px;
    position: relative;
}

footer .footer-text p::before {
    content: "";
    position: absolute;
    height: 14px;
    width: 3px;
    background-color: #FF6600;
    top: 7px;
    left: -8px;
}

footer h2 {
    padding-left: 50px;
    font-size: 24px;
    color: #fff;
    margin-bottom: 13px;
    font-weight: 400;
}

footer .footer-text .license {
    margin-top: 14px;
}

.mCustomScrollbar .mCSB_scrollTools {
    width: 11px;
}

.mCustomScrollbar .mCSB_dragger .mCSB_dragger_bar {
    width: 11px;
    background-color: #82701b;
    border-radius: 8px;
}

.mCustomScrollbar .mCSB_dragger .mCSB_draggerRail {
    display: none !important;
}

#popup-histories .mCSB_inside>.mCSB_container {
    margin-right: 0;
}

.user-info {
    margin: 10px 0;
    display: none;
}

.user-info span {
    color: #ffea00;
    font-size: 20px;
}

.user-info .info {
    color: #fff;
}

.page-2 .promotion .actions .user-info .logout {
    color: #fff;
    width: unset;
    height: unset;
    margin-top: 5px;
}

#test-OB {
    width: 20px;
    height: 20px;
    background-color: red;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99999;
}

.clouds {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.cloud-item {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    will-change: transform;
    opacity: 0.7;
}

.cloud-item {
    background-image: url('../imgs/clouds/smoke.webp');
}

.mCustomScrollbar .mCSB_scrollTools {
    width: 10px;
}

.mCustomScrollbar .mCSB_dragger .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
    width: 10px;
    background-color: #000;
    border-radius: 10px;
}

.mCustomScrollbar .mCSB_scrollTools .mCSB_draggerRail {
    width: 10px;
    background-color: #fff;
}

#right-menu {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 192px;
    height: 525px;
    background: url(../imgs/bg-right-menu.webp) no-repeat 0 0 / 100%;
    z-index: 9999;
    padding: 166px 0 0 12px;
    transition: transform 0.35s ease;
    will-change: transform;
}

#right-menu.hide {
    transform: translate(180px, -50%);
}

#right-menu .wrap-content {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#right-menu .wrap-content img {
    width: 141px;
    height: 141px;
}

#right-menu .wrap-content .action {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    gap: 3px;
}

#right-menu .wrap-content .action a.item-type-1 {
    width: 156px;
    height: 44px;
    background: url(../imgs/btn-play-1-right-menu.webp) no-repeat 0 0 / 200% 200%;
}

#right-menu .wrap-content .action a.item-type-1:nth-child(1) {
    background-position: left top;
}

#right-menu .wrap-content .action a.item-type-1:nth-child(2) {
    background-position: right top;
}

#right-menu .wrap-content .action a.item-type-2 {
    width: 172px;
    height: 44px;
    position: relative;
    overflow: hidden;
}

#right-menu .wrap-content .action a.item-type-2::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 66px;
    top: 50%;
    transform: translateY(-50%);
    background: url(../imgs/btn-play-2-2-right-menu.webp) no-repeat 0 0 / 200% 200%;
}

#right-menu .wrap-content .action a.item-type-2:nth-child(3)::before {
    background-position: left top;
}

#right-menu .wrap-content .action a.item-type-2:nth-child(4)::before {
    background-position: right top;
}

#right-menu .wrap-content .action a:hover,
#right-menu .wrap-content .action a:hover::before {
    background-position-y: bottom !important;
}

#right-menu .wrap-content .control-menu {
    width: 36px;
    height: 79px;
    background: url(../imgs/btn-control-right-menu.webp) no-repeat 0 0 / 200% 100%;
    border: none;
    position: absolute;
    left: 0;
    transform: translateX(-100%);
    bottom: 82px;
    cursor: pointer;
}

#right-menu.hide .wrap-content .control-menu {
    background-position-x: right;
}

#registration-count {
    color: #fff;
    font-size: 30px;
}

.page-3 .mini-game .process .gift .gift-content .get-gifts,
.page-4 .wrap-content .btn-action {
    will-change: filter;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    transform: translateZ(0);
}

@keyframes glowGift {
    0% {
        filter: drop-shadow(0 0 6px rgba(122, 21, 11, 0.35));
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(122, 21, 11, 0.85));
    }
    100% {
        filter: drop-shadow(0 0 6px rgba(122, 21, 11, 0.35));
    }
}

.page-3 .mini-game .process .gift .gift-content .get-gifts {
    animation: glowGift 1.4s ease-in-out infinite;
}

@keyframes glowAction {
    0% {
        filter: drop-shadow(0 0 6px rgba(250, 107, 85, 0.35));
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(250, 107, 85, 0.85));
    }
    100% {
        filter: drop-shadow(0 0 6px rgba(250, 107, 85, 0.35));
    }
}

.page-4 .wrap-content .btn-action {
    animation: glowAction 1.4s ease-in-out infinite;
}

.section .container {
    transition: transform 0.9s ease, opacity 0.9s ease;
}

.page-2 .container,
.page-3 .container,
.page-4 .container {
    opacity: 0;
    transform: translateY(-40px);
}

.section.fade-down .container {
    transform: translateY(0);
    opacity: 1;
}

.page-2 .container .title {
    opacity: 0;
    transform: translateX(-20px);
}

.page-2.fade-down .container .title {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    transition-delay: 0.2s;
}

.page-3 .container .title {
    opacity: 0;
    transform: translateY(-20px);
}

.page-3.fade-down .container .title {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    transition-delay: 0.2s;
}

.page-3 .wrap-count {
    opacity: 0;
    transform: translateY(-20px);
}

.page-3.fade-down .wrap-count {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    transition-delay: 0.4s;
}

.page-3 .mini-game .process .gift {
    opacity: 0;
    transform: translateY(-40px);
}

.page-3.fade-down .mini-game .process .gift {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.page-3.fade-down .mini-game .process .gift-2 {
    transition-delay: 0.2s;
}
.page-3.fade-down .mini-game .process .gift-3 {
    transition-delay: 0.4s;
}
.page-3.fade-down .mini-game .process .gift-4 {
    transition-delay: 0.6s;
}

.page-4 .container .title {
    opacity: 0;
    transform: translateX(-114px);
}

.page-4.fade-down .container .title {
    opacity: 1;
    transform: translateX(-94px);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
    transition-delay: 0.2s;
}

.bg-main {
    display: block;
    width: 100%;
    position: fixed;
    z-index: -999;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
}

.popup .wrap-content {
    margin: 10% auto;
    padding: 20px;
    width: 400px;
    position: relative;
}

#popup-text .wrap-content {
    background: url(../imgs/popup-text.webp) no-repeat 0 0 / 100% 100%;
    width: 476px;
    height: 298px;
    padding: 0 30px 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#popup-text .popup-close{
    position: absolute;
    cursor: pointer;
    width: 50px;
    height: 50px;
    top: 12px;
    right: 24px;
    border: none;
    background: transparent;
}

#popup-text .content {
    font-size: 20px;
    text-align: center;
    line-height: 30px;
}

#popup-text .content .coppy-code {
    cursor: pointer;
}
