@font-face {
    font-family: "SF Pro";
    font-weight: 700;
    src: url("fonts/SF-Pro-Text-Bold.otf") format("opentype");
}

@font-face {
    font-family: "SF Pro";
    font-weight: 1000;
    src: url("fonts/SF-Pro-Text-Black.otf") format("opentype");
}

html,
body {
    padding: 0;
    margin: 0;
    height: 100%;
    font-family: 'SF Pro', sans-serif;
}

.h5 {
    display: none;
}

#body::before {
    content: "";
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url("../img/bg-web.png");
    background-size: cover;
    background-position: center;
}

#body > * {
    position: relative;
}

.top-up-notification {
    position: absolute !important;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 48.94%, rgba(0, 0, 0, 0) 100.92%);
    color: #FFD600;
    text-align: center;
    line-height: 30px;
    width: 100%;
    height: 30px;
    font-size: 12px;
    margin-bottom: 3vh;
    overflow: hidden;
}

.top-up-notification > div {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
}

.top-up-notification > div.change {
    animation-name: moveOutIn;
    animation-duration: 1s;
}

.page-content {
    display: flex;
    /* height: 888px; */
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.main-image {
    position: relative;
    text-align: center;
}

.main-image img {
    max-width: 100%;
    margin: auto;
}

.signboard {
    max-width: 500px;
    height: 319px;
    margin: auto;
    text-align: center;
    position: relative;
}

.signboard-bg {
    width: 100%;
    position: relative;
    top: -125px;
}

.slogan {
	/* content: url(img/Jackpot.png); */
	width: 7.5rem;
	position: relative;
	z-index: 3;
	margin: -0.75rem auto 0rem;
	animation: jackportAnimation 1s linear infinite; /* Adjust duration as needed */
}

.signboard-bg img {
    width: 100%;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.signboard-bg img:first-child(1) {
    animation-name: fadeOut;
}

.signboard-bg img:nth-child(2) {
    position: absolute;
    animation-name: fadeIn;
    top: 0;
    left: 0;
    opacity: 0;
}

.signboard-content {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    width: 100%;
    font-style: normal;
    font-weight: 700;
    font-size: 45px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFE500 60%, #FD8F0E 76.5%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 1px #FF7E07;
    filter: drop-shadow(0px 6px 2px #000000);
}

.signboard-content .signboard-text {
    margin: 10px 0 -10px;
}

.button-wrapper {
    text-align: center;
    margin: 10px 0;
    margin-top: -135px;
    margin-left: -50px;
    display: flex;
    gap: 20px;
}

.button-wrapper > a {
    text-decoration: none;
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    border-radius: 50px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.25);
    padding: 10px;
    min-width: 285px;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
}

.btn-sign-in {
    color: #FF0000;
    background: #FFFFFF;
}

.btn-sign-up {
    background: linear-gradient(99.69deg, #FF2700 8.65%, #FF00BA 92.07%);
    color: #FFFFFF;
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.6);
}

.icons {
    text-align: center;
}

.icons p {
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    text-align: center;
    padding-bottom: 20px;
}

.icons img {
    max-width: 100%;
}

@media screen and (min-width: 901px) {
    .main-image {
        height: 60vh;
        max-height: 683px;
        /* margin-bottom: -18.5%; */
        /* padding-top: 8.5%; */
        text-align: initial;
    }

    .floating-mascot {
        position: absolute;
        width: 172px;
        height: 181px;
        top: 0;
        left: 140px;
        z-index: 999;
        animation: floatMascotAnimation 5s infinite alternate; /* Adjust the animation duration as needed */
    }

    .floating-mascot img {
        width: 172px;
        height: 181px;
    }

    .floating-card {
        position: absolute;
        bottom: -200px;
        right: 35px;
        z-index: 999;
        height: 157px;
        animation: floatCardAnimation 5s infinite alternate; /* Adjust the animation duration as needed */
    }

    .main-image img {
        height: 100%;
        max-width: initial;
        /* width: 1168px; */
        left: 50%;
        transform: translateX(-50%);
        position: relative;
        /* padding-top: 7%; */
    }

    .icons img {
        max-width: 250px;
    }
}

@media screen and (max-width: 900px) {
    .h5 {
        display: block;
    }

    .web {
        display: none;
    }

    #body::before {
        background-image: url("../img/bg-h5.png");
    }

    .main-image {
        margin-bottom: -15%;
    }

    .floating-mascot {
        position: absolute;
        width: 85px;
        height: 89px;
        top: 65px;
        left: 5px;
        z-index: 999;
        animation: floatMascotAnimation 5s infinite alternate; /* Adjust the animation duration as needed */
    }

    .floating-card {
        position: absolute;
        width: 85px;
        height: 89px;
        bottom: -55px;
        right: 5px;
        z-index: 999;
        animation: floatCardAnimation 5s infinite alternate; /* Adjust the animation duration as needed */
    }

    .main-image img {
        width: 100%;
        max-width: 500px;
        padding-top: 10%;
    }

    .signboard {
        max-width: 90%;
        height: 275px;
        bottom: 0.3rem;
    }

    .signboard-bg {
        top: -125px;
    }

    .signboard-content {
        font-size: 30px;
    }

    .signboard-content .signboard-text {
        margin: 5px 0 -5px
    }

    .signboard-text img {
        width: 40%;
    }

    .button-wrapper {
        text-align: center;
        margin: 10px 0;
        margin-top: -100px;
        /* margin-left: -50px; */
        flex-direction: column;
        display: flex;
        gap: 10px;
    }

    .button-wrapper > a {
        min-width: 130px;
        font-size: 16px;
        line-height: 30px;
    }

    .icons img {
         max-width: 210px;
     }
}

@media screen and (min-width: 360px) and (max-width: 360px) and (min-height: 740px) and (max-height: 740px) {
    .page-content {
        height: 748px;
    }
    .main-image img {
        padding-top: 0;
        margin-top: 2rem;
    }

    .floating-mascot {
        position: absolute;
        width: 85px;
        height: 89px;
        top: 5px;
        left: 5px;
        z-index: 999;
        animation: floatMascotAnimation 5s infinite alternate; /* Adjust the animation duration as needed */
    }

    .floating-card {
        position: absolute;
        width: 85px;
        height: 89px;
        bottom: 5px;
        right: 5px;
        z-index: 999;
        animation: floatCardAnimation 5s infinite alternate; /* Adjust the animation duration as needed */
    }
}

@media screen and (min-width: 375px) and (max-width: 375px) and (min-height: 667px) and (max-height: 667px) {
    .main-image img {
        padding-top: 0;
        margin-top: 1.5rem;
    }

    .signboard-content {
        font-size: 25px;
    }

    .signboard {
        height: 175px;
    }

    .signboard-bg {
        top: -145px;
        width: 90%;
        margin: 0 auto;
    }

    .button-wrapper {
        margin-top: -150px;
        padding-top: 10px;
    }

    .floating-mascot {
        position: absolute;
        width: 85px;
        height: 89px;
        top: 0;
        left: 5px;
        z-index: 999;
        animation: floatMascotAnimation 5s infinite alternate; /* Adjust the animation duration as needed */
    }

    .floating-card {
        position: absolute;
        width: 85px;
        height: 89px;
        bottom: 5px;
        right: 5px;
        top: 355px;
        z-index: 999;
        animation: floatCardAnimation 5s infinite alternate; /* Adjust the animation duration as needed */
    }
}

@keyframes floatMascotAnimation {
	0%   {transform: translateX(0rem) translateY(0rem);}
	50%   {transform: translateX(6px) translateY(-20px);}
	100%  {transform: translateX(0rem) translateY(0rem);}
}

@keyframes floatCardAnimation {
	0%   {transform: translateX(0rem) translateY(0rem);}
	50%   {transform: translateX(-10px) translateY(-10px);}
	100%  {transform: translateX(0rem) translateY(0rem);}
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes moveOutIn {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-80%);
    }
    51% {
        transform: translateY(80%);
    }
}
