

@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@0,1;0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,1;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&display=swap');
/* @font-face {
    font-family: 'MyFont';
    src: url('../../fonts/VisbyRoundCF-Bold.otf') format('woff2'),
         url('../../fonts/VisbyRoundCF-Regular.otf') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'VisbyRegular';
    src: url('../../fonts/VisbyRoundCF-Regular.otf') format('woff');
    font-weight: normal;
    font-style: normal;
} */
/* Backgrounds */
:root {
    --secondary-color: #F5EA5A !important;
}
html,
body {
    background: url('../images/bg-desktop.png') no-repeat;
    background-size: cover;
    background-position: center;
    font-family: "Geologica", sans-serif;
}
body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100svh;
    margin:0;
    padding: 0;
    position: relative;
}
.container {
    width: 90%;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.modal-container {
    width: 100%;
    height: 100vh;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9;
    left: 0;
    top: 0;
    display: none;
}

.modal-container.active {
    display: flex;
}

.modal-container .modal-box {
    width: 320px;
    height: 280px;
    /* min-height: 320px; */
    padding: 2rem;
    background-color: #00000099;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    border: #f5ea5a 2px solid;
    border-radius: 10px;
}

.modal-container .modal-box h2 {
    font-size: 32px;
    margin-top:35px;
    text-transform: uppercase;
    color: var(--secondary-color);
    text-shadow: 2px 1px 3px #242424;
    font-weight: 900;
    margin-bottom: 0;
}

.modal-container .modal-box p {
    font-size: 26px;
    text-shadow: 2px 1px 3px #242424;            
    color: white;
    font-weight: 700;
    margin:0;
}

.modal-container .modal-box p span {
    color: var(--secondary-color);
    font-size: 40px;
    font-weight: 900;
}

.modal-container .modal-box .modal-btn {
    padding: 0.8rem 2rem;
    background-color:#F5EA5A;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    color: black;
    font-weight: 400;
    text-decoration: none;
    border-radius: 5px;
}
.modal-btn:hover{
        box-shadow: 0 0 2rem #c7c5cb;
}
/* Header */
.header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*Footer */
.footer {
    min-height: 90px;
    display: flex;
    background: black;
    font-family: "Roboto", sans-serif;
    align-items: center;
    .container{
        display: flex;
        justify-content: center;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        flex-wrap: wrap;
        padding: 0.8rem;
    }
    .logo{
        max-width: 45px;
        width: 100%;
        margin-top: 10px;
    }
    p{
        font-size: 10px;
        text-transform: uppercase;
        text-align: center;
        margin-top:0px;
        margin-bottom:0px;
        font-family: "Roboto", sans-serif;
        color: #fff;
        text-shadow: rgb(39, 39, 39) 2px 2px;
    }
    a{
        color: #fff;
        text-decoration: underline;
        font-family: 'VisbyRegular', sans-serif;
        font-weight: 400;
    }
}

.main .logo {
    max-width: 200px;
    width: 100%;
}
.main .ball-img {
    max-width: 80px;
    width: 100%;
    position: absolute;
}

.main .ball-image-1 {
    top: 60px;
    right: -20px;
}

.main .ball-image-2 {
    left: -20px;
}

.main .ball-image-3 {
    bottom: 154px;
    right: -10px;
}
@media screen and (max-width: 400px) {
    .main .ball-image-1 {
        top: 20px;
        right: -40px;
    }
    .main .ball-image-2 {
        left: -20px;
        top: 180px;
    }
    .main .ball-image-3 {
        bottom: 204px;
        right: -10px;
    }
}
@media screen and (min-width: 401px)  and (max-width: 500px) {
    .main .ball-image-1 {
        top: 60px;
        right: -20px;
    }
    .main .ball-image-2 {
        left: -20px;
        top: 270px;
    }
    .main .ball-image-3 {
        bottom: 254px;
        right: -10px;
    }
}
@media screen and (min-width: 650px) {
    .main .ball-image-3 {
        right: -154px;
    }
    .main .ball-image-2 {
        left: -20px;
        top: 50px;
    }
}

@media screen and (min-width: 750px) {
    .main .ball-image-1 {
        top: 20px;
        right: -20px;
    }

    .main .ball-image-2 {
        left: 170px;
        top: -30px;
    }

    .main .ball-image-3 {
        right: 140px;
        bottom:154px;
    }
}

@media screen and (min-width: 1150px) {
    .main .ball-img {
        max-width: 100px;
    }

    .main .ball-image-1 {
        top: 50px;
        right: -20px;
    }

    .main .ball-image-2 {
        left: 220px;
        top: -10px;
    }

    .main .ball-image-3 {
        right: 50px;
        bottom: 154px;
    }
}

@media screen and (min-width: 1550px) {
    .hemainader .ball-img {
        max-width: 120px;
    }

    .main .ball-image-1 {
        top: 20px;
        right: 0px;
    }

    .main .ball-image-2 {
        left: -20px;
        top: 80px;
    }

    .main .ball-image-3 {
        right: unset;
        bottom: 154px;
    }
}
/* Main Layout */
.main {
    width: 100%;
    display: flex;
    margin: 0 auto;
    overflow: hidden;
    flex: 1 0 auto;
    flex-direction: row;
    justify-content: center;

}

.main-contents {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 1;
    .main-btn {
        padding: 1.5rem 4em;
        background: #F5EA5A;
        border: 2px solid white;
        text-transform: uppercase;

        border-radius: 50px;
        font-size: 27px;
        color: black;
        font-family: "Geologica", sans-serif;
        font-weight: 600;
        margin-top: 20px;
        cursor: pointer;
        transition: all .3s;
        display: flex;
    }
}
.main-btn:hover{
     box-shadow: 0 0 2rem #c7c5cb;
}
.main-content-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    .mobile {
        padding: 1rem 3.5rem;
        background: #F5EA5A;
        border-radius: 50px;
        border: 2px solid white;
        text-transform: uppercase;
        font-size: 24px;
        color: black;
        font-weight: 700;
        cursor: pointer;
        transition: all .3s;
        display:none;
    }
}
.mobile:hover{
     box-shadow: 0 0 2rem #c7c5cb;
}
.modal-container .modal-box .modal-btn{
    background-color:#F5EA5A;
    border-radius: 50px !important;
    margin-top: 10px !important;
    border: 2px solid white !important;
    animation: pulse 1s linear infinite;
    font-size: 20px;
    font-weight: 800;
    padding: 0.8rem 4rem;
    color: black;
}
.modal-container .modal-box{
    background: url(../../assets/images/winning-banner.png) no-repeat !important;
    background-size: cover !important;
    background-position: bottom;
}
/* .main-contents .main-btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
} */

.main-contents h1 {
    font-size: 55px;
    text-transform: uppercase;
    color: white;
    font-weight: 900;
    text-shadow: 2px 1px 3px #242424;
    /* font-style:italic; */
    text-align: center;
    font-family: "Geologica", sans-serif;
    margin-bottom:5px;
    /* font-family: 'MyFont', sans-serif; */
}

.contents-text {
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    .jackpot{
        font-size: 32px;
        font-weight: 500;
        font-style:italic;
        color: white;
        text-transform: uppercase;
        margin-bottom: 10px;
        text-shadow: 2px 2px #272727;
    }
    .yellow{
        color: var(--secondary-color);
    }
}
.contents-jackpot {
    /* max-width: 375px; */
    width: 100%;
    display: flex;
    font-style:italic;
    flex-direction: column;
    font-family: "Geologica", sans-serif;
    .jackpot{
        font-size: 30px;
        font-weight: 600;
        color: white;
        margin-bottom: 10px;
        text-align: center;
        text-shadow: 2px 1px 3px #242424;
        .prize {
            font-size: 50px;
            color: var(--secondary-color);
            font-weight: 900;
            text-transform: uppercase;
            text-shadow: 2px 1px 3px #242424;
        }   
    }
    .welcome{
        font-size: 30px;
        color: var(--secondary-color);
        font-weight: 600;
        text-align: center;
        margin-top: -12px;
        margin-bottom: 10px;
        text-shadow: 2px 1px 3px #242424;
    }
    .yellow{
        color: var(--secondary-color);
        font-size: 30px;
    }
    span{
        font-size:42px;
        color: var(--secondary-color);
    }
    .you-got{
        font-size: 25px;
        margin-top:-10px;
        text-shadow: 2px 1px 3px #242424;
        color: white;
        font-weight: 600;
        text-align: center;
        margin-bottom: 10px;
        .yellow{
            font-size:25px;
            color: var(--secondary-color);
            font-weight: 600;
        }
    }
}

.contents-text p {
    font-size: 22px;
    color: white;
    font-weight: 400;
    align-self: center;
}

.contents-text p span.remaining-chances {
    font-size: 32px;
    font-weight: 900;
}

.contents-text span.highlight {
    font-size: 22px;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 900;
    align-self: center;
}

/* Wheel and Related Elements */
.main-wheel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel {
    width: 375px;
    height: 375px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.4rem;
    flex: 0 0 auto;
}

.wheel::after {
    content: "";
    width: 30px;
    height: 30px;
    background: url(../images/arrow.webp) no-repeat;
    position: absolute;
    background-size: contain;
    top: 0;
    z-index: 3;
}

.edge-wheel,
.hoop-wheel {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.edge-wheel {
    z-index: 2;
    pointer-events: none;
    position: absolute;
}

.hoop-wheel {
    transform: rotate(0deg);
}

.edge-wheel img,
.hoop-wheel img {
    width: 100%;
    height: 100%;
}
header{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    img{
        max-width: 180px;
    }
}
.button-wheel {
    width: 120px;
    height: 120px;
    position: absolute;
    border-radius: 50%;
    /* background-image: url(../images/button-bg.webp); */
    background-size: cover;
    background-position: center;
    background: #F5EA5A;
    border: 3px solid white;
    outline: none;
    cursor: pointer;
    font-weight: 800;
     font-family: "Geologica", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    color: black;
    z-index: 3;
    animation: pulse 1s linear infinite;
}

@keyframes pulse {
    0%, to {
        transform: scale(1);
    }
    50% {
        transform: scale(.9);
    }
}

.button-wheel:hover {
    animation-play-state: paused;
}

.spin-btn{
    animation: pulse 1s linear infinite;
}


/* Responsive Styles */
@media screen and (min-width: 350px) {
    .main-wheel {
        justify-content: center;
    }
}
/* @media screen and (max-width: 800px) {
    .mobile {
        display: flex !important;
    }
} */
/* @media screen and (min-width: 800px) {
    .main {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
    .woman-image {
        width: 260px;
        height: 420px;
    }
    .speech-bubble.active {
        left: -110px;
        top: 240px;
    }
    .main-contents .main-btn {
        display: flex;
    }
} */

@media screen and (min-width: 1000px) {
    .wheel {
        width: 450px;
        height: 450px;
    }
    .button-wheel {
        width: 90px;
        height: 90px;
        font-size: 21px;
    }
    .speech-bubble {
        width: 150px;
        left: -80px;
        top: -70px;
    }
}

@media screen and (min-height: 900px) {
    .woman-image {
        width: 320px;
        height: 520px;
        margin-left: -110px;
    }
    .wheel {
        width: 400px;
        height: 400px;
    }
}

@media screen and (min-width: 1400px) {
    /* .main-contents .main-btn {
        padding: 1.5rem 6rem;
        font-size: 28px;
    } */
    .woman-image {
        width: 400px;
        height: 650px;
        margin-left: -150px;
    }
    .wheel {
        width: 600px;
        height: 600px;
        padding: 1.6rem;
    }
    .speech-bubble {
        width: 180px;
        left: 10px;
        top: -50px;
    }
    .contents-text {
        max-width: unset;
    }
    .contents-text p {
        font-size: 25px;
    }
    .remaining-chances {
        font-size: 42px;
    }
    .contents-text span.highlight {
        font-size: 25px;
    }
    .button-wheel {
        width: 120px;
        height: 120px;
        font-size: 28px;
    }
    .wheel::after {
        width: 60px;
        height: 60px;
    }
    .speech-bubble.active {
        left: -30px;
        top: 10px;
    }
}
@media screen and (min-width:1024px) and (max-width: 1400px) {
    .button-wheel {
        width: 90px;
        height: 90px;
        font-size: 20px;
    }
    .main-contents h1 {
        font-size: 40px;
        margin-top: -10px;
    }
    .main-contents .main-btn{
        display: flex;
        padding: 1rem 4rem;
        font-size: 22px;
    }
    .contents-jackpot {
        .you-got {
            font-size: 25px;
            color: white;
            font-weight: 600;
            text-align: center;
            margin-bottom: 10px;
            margin-top: -10px;
            .yellow{
                font-size:25px;
            }
        }
        .yellow {
            font-size: 25px !important;
        }
        .jackpot{
            font-size: 25px;
        }
        .prize {
            font-size: 40px !important;
            color: var(--secondary-color);
        }
    }
}
@media screen and (max-width: 1023px) {
    .button-wheel {
        width: 80px;
        height: 80px;
        font-size: 18px;
    }
    .main-contents .main-btn{
        display:none;
    }
    .mobile {
        display: flex !important;
    }
    .main {
        flex-direction: column;
        align-items: center;
    }
    .main-contents {
        padding: 1rem;
    }
    .main-contents h1 {
        font-size: 40px;
        margin-top: -10px;
    }
    .contents-text p {
        font-size: 20px;
    }
    .contents-text span.highlight {
        font-size: 20px;
    }
    .contents-jackpot {
        .you-got {
            font-size: 22px;
            color: white;
            font-weight: 600;
            text-align: center;
            margin-bottom: 10px;
            margin-top: -10px;
            .yellow{
                font-size:22px;
            }
        }
        .yellow {
            font-size: 22px !important;
        }
        .jackpot{
            font-size: 22px;
        }
        .prize {
            font-size: 35px !important;
            color: var(--secondary-color);
        }
    }
}
@media screen and (max-width:767px) {
    header{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        img{
            max-width: 120px;
        }
    }
    .footer {
        p {
         font-size:9px;
        }
    }
    .footer {
        .container {
            padding:1rem;
        }
    }
    .welcome{
        font-size:20px !important;
    }
    .mobile{
        font-size:20px !important;
    }
    body {
        background: url('../images/bg-mobile.png') no-repeat;
        background-size: cover;
        background-position: bottom;
        justify-content: center;
    }
    .button-wheel{
        width: 90px;
        height: 90px;
        font-size: 22px;
    }
    .contents-jackpot {
        .you-got {
            font-size: 18px;
            color: white;
            font-weight: 600;
            text-align: center;
            margin-bottom: 10px;
            margin-top: -10px;
            .yellow{
                font-size:18px;
            }
        }
        .yellow {
            font-size: 18px !important;
        }
        .jackpot{
            font-size: 18px;
        }
        .prize {
            font-size: 27px !important;
            color: var(--secondary-color);
        }
    }
}

@media screen and (max-width: 500px) {
    header{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        img{
            max-width: 100px;
        }
    }
    .modal-container .modal-box h2{
        font-size: 28px;
        margin-top: 35px;
    }
    .wheel {
        width: 350px;
        height: 350px;
    }
    .modal-container .modal-box {
        padding: 1rem;
        width: 320px;
        height: 290px;
    }
    .main-content-btn{
        padding:1rem;
    }
    .mobile{
        font-size:20px !important;
    }
    .modal-container .modal-box p span{
        font-size: 35px;
        color: var(--secondary-color);
    }
    .modal-container .modal-box .modal-btn {
       padding: 0.8rem 3rem;
       font-size: 18px;
    }
    .contents-jackpot {
        .you-got {
            font-size: 19px;
            color: white;
            font-weight: 600;
            text-align: center;
            margin-bottom: 10px;
            margin-top: -10px;
            .yellow{
                font-size:19px;
            }
        }
        .yellow {
            font-size: 20px !important;
        }
        .jackpot{
            font-size: 20px;
            .yellow {
                font-size: 20px !important;
            }
        }
        .prize {
            font-size: 30px !important;
            color: var(--secondary-color);
        }
    }
    .contents-text p{
        margin-top:-10px;
    }
    .main-contents h1{
        font-size: 30px;
        margin-top:-15px;
    }
    .header{
        height: 70px;
    }
    .header .logo{
        width:170px;
    }
}
@media screen and (max-width: 400px) {
    .welcome{
        margin:0px !important;
    }
    .mobile {
        font-size: 14px !important;
    }
    .modal-container .modal-box{
        width: 300px;
        height: 270px;
    }
    .contents-jackpot {
        .you-got {
            font-size: 18px;
            color: white;
            font-weight: 600;
            text-align: center;
            margin-top:0px;
            margin-bottom: 0px;
            .yellow{
                font-size:18px !important;
            }
        }
        .jackpot{
            font-size: 19px;
            margin-bottom: 0px;
        }
        .yellow{
            font-size:20px !important;
        }
        .prize {
            font-size: 27px !important;
            color: var(--secondary-color);
        }
    }
    .contents-text p{
        margin-top:-10px;
    }
    .mobile {
        padding: 1rem 3.5rem !important;
        font-size:17px !important;
    }
    /* .main{
        padding-top: 20px;
    } */
}
@media screen and (max-width: 430px) and (max-height: 700px) {
    .wheel{
        width:330px;
        height:330px;
    }
    .jackpot{
        margin-bottom:0px !important;
        font-size:35px;
    }
    .contents-jackpot {
        span {
            font-size: 39px;
            color: var(--secondary-color);
        }
    }
}
