@import "globals.css";
:root {
    --primary-color: #000;
    --secondary-color: #37fafe;
    --secondary-color: #FFCE42;
}
.modal-container .modal-box .modal-btn {
    padding: 1rem 4rem;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 19px;
    text-transform: uppercase;
    text-shadow: 2px 2px #272727;
    color: white;
    font-weight: 800;
    text-decoration: none;
    animation: pulse 1s linear infinite;
    border-radius: 5px;
    margin-top: 10px;
}
.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px #ffeb3b54;
}
.modal-container .modal-box{
    background: url(../../img-nz/winning-banner.png);
    background-size: auto;
    background-position: center;
}
/* Backgrounds */
html,
body {

}
.logo-container{
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 12px;
    max-width: 1000px;
    padding: 8px 0;
    .logo{
        align-items: center;
        display: flex;
        height: 25px;
        justify-content: center;
        margin: 10px;
    }
    /* .one{
        width: 80px !important;
    }
    .two{
        width: 100px !important;
    }
    .three{
        width: 80px !important;
    }
    .four{
        width: 80px !important;
    }
    .five{
        width: 80px !important;
    } */
}
/* Header */
.header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top:20px;
}

.header .logo {
    max-width: 150px;
    height: 50px;
    width: 100%;
}
.footer p {
    font-size: 9px;
    text-transform: uppercase;
    text-align: center;
    /* max-width: 600px; */
    color: #fff;
    text-shadow: rgb(39, 39, 39) 2px 2px;
}
/* .footer{
    background: #00000038 !important;
} */
/* Main Layout */
.character-container {
    & img {
        width: 100%;
        max-width: 750px;
        width: 450px;
        /* height: 400px; */
        margin-bottom: -30px;
    }
}
.main {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex:1;
    margin: 0 auto;
    overflow: hidden;
    background: url(../../img/bg-desktop-austria.png);
    background-size: cover;
    background-position: center;
    justify-content: center;
}

.main-contents {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 20px; */
    padding: 1rem;
}

/* .main-contents .main-btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #FF5722, #f8ff12);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: pulse 1s linear infinite;
    position: relative;
    margin-top: 20px;
    overflow: hidden;
}
.main-contents .main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
} */
.main-contents .main-btn {
    /* padding: 1.2rem 3rem; */
    background: url(../../img/btn_gioca.png) no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    width: 290px;
    height: 80px;
    margin-top:60px;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
    display: flex;
    animation: pulse 1s linear infinite;
    
}
/* .main-contents .main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px #ffeb3b54;
}
.main-contents .main-btn:hover::before {
    left: 100%;
} */
.footer{
    background-color: black !important;
    min-height: 75px !important;
}
.footer p{
    text-shadow: unset !important;
}
.main-contents .mobile {
    padding: 0.7rem 3rem;
    background-color: var(--secondary-color);
    border-radius: 5px;
    text-shadow: 2px 2px #272727;
    border: 2px solid var(--secondary-color);
    font-size: 24px;
    text-transform: uppercase;
    color: white;
    font-weight: 900;
    cursor: pointer;
    transition: all .3s;
    /* margin-top:-5px; */
    display:none;
    animation: pulse 1s linear infinite;
}
.main-contents .mobile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px #ffeb3b54;
}
/* .main-contents .main-btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
} */
.main-contents h1 {
    font-size: 45px;
    text-transform: uppercase;
    color: white;
    font-weight: 900;
    font-style:italic;
    text-align: center;
    margin-bottom:0px;
    /* text-shadow: rgb(18 18 18) 2px 2px; */
    /* text-shadow: -2px -1px 0 #000, 0 -2px 0 #000, 2px -1px 0 #000, -2px 0 0 #000, 2px 0 0 #000, -2px 1px 0 #000, 0 2px 0 #000, 2px 1px 0 #000;  */
}

.contents-text {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    .jackpot{
        font-size: 32px;
        font-weight: 900;
        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;
    .jackpot{
        font-size: 30px;
        font-weight: 700;
        color: white;
        margin-bottom: 10px;
        text-align: center;
        /* text-shadow: rgb(18 18 18) 2px 2px; */
        /* text-shadow: -2px -1px 0 #000, 0 -2px 0 #000, 2px -1px 0 #000, -2px 0 0 #000, 2px 0 0 #000, -2px 1px 0 #000, 0 2px 0 #000, 2px 1px 0 #000; */
        .prize {
            font-size: 50px;
            color: var(--secondary-color);
            font-weight: 900;
            text-transform: uppercase;
        }   
    }
    .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: rgb(18 18 18) 2px 2px;
        /* text-shadow: -2px -1px 0 #000, 0 -2px 0 #000, 2px -1px 0 #000, -2px 0 0 #000, 2px 0 0 #000, -2px 1px 0 #000, 0 2px 0 #000, 2px 1px 0 #000; */
        color: white;
        font-weight: 700;
        text-align: center;
        margin-bottom: 10px;
        .yellow{
            font-size:25px;
            color: var(--secondary-color);
            font-weight: 700;
        }
    }
    .welcome{
        font-size: 35px;
        color: var(--secondary-color);
        font-weight: 900;
        text-align: center;
        margin-top: -10px;
        margin-bottom: 10px;
        text-shadow: rgb(18 18 18) 2px 2px;
        /* text-shadow: -2px -1px 0 #000, 0 -2px 0 #000, 2px -1px 0 #000, -2px 0 0 #000, 2px 0 0 #000, -2px 1px 0 #000, 0 2px 0 #000, 2px 1px 0 #000; */
    }
}

.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: 1rem;
    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%;
}

.button-wheel {
    width: 120px;
    height: 120px;
    position: absolute;
    border-radius: 50%;
    background: #EAAE44;
    /* background-image: url(../images/button-bg.webp); */
    background-size: cover;
    background-position: center;
    text-shadow: 2px 2px #272727;
    border: 3px solid white;
    outline: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    color: white;
    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;
}

/* Woman Image and Speech Bubble */
.woman-image {
    width: 220px;
    height: 360px;
    position: relative;
    flex: 0 0 auto;
    z-index: 10;
    margin-left: -80px;
    pointer-events: none;
}

.woman {
    width: 100%;
    height: 100%;
    background: url(../images/woman-nua.webp) no-repeat center/contain;
}

.woman-image::after {
    content: "";
    width: 100%;
    height: 100%;
    background: url(../images/woman.webp) no-repeat center/contain;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    opacity: 1;
    transition: opacity .4s ease-in-out;
}

.woman-image.active::after {
    opacity: 0;
}

.speech-bubble {
    width: 160px;
    position: absolute;
    left: -80px;
    top: -70px;
    z-index: 5;
}

.speech-bubble.active {
    left: -130px;
    top: 100px;
}

.bubble-img {
    width: 100%;
    height: 100%;
}

.bubble-contents {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
    color: white;
    padding: 1rem 1.5rem 1rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
}

.bubble-contents p {
    font-size: 21px;
    text-transform: uppercase;
    font-weight: 800;
    text-align: center;
}

.bubble-contents p span {
    color: var(--secondary-color);
}

.speech-bubble.active .bubble-contents {
    padding: 1rem 2rem 1rem 1rem;
}

/* Responsive Styles */
@media screen and (min-width: 350px) {
    .main-wheel {
        justify-content: center;
    }
}
@media screen and (min-width: 1024px) {
    .prize{
        font-size: 50px !important;
        color: white !important;
    }
    .offer{
        font-size: 60px !important;
    }
    .jackpot{
       margin-top:-10px;
    }
    .main-contents h1 {
        font-size: 36px;
        margin-top: -10px;
    }
    .welcome{
        font-size:40px !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .header{
        position: absolute;
    }
    .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;
    }
    .prize{
        font-size: 50px !important;
        color: white !important;
    }
    .offer{
        font-size: 50px !important;
    }
    .main-contents h1 {
        font-size: 38px;
        margin-top: -10px;
    }
}

@media screen and (min-width: 1000px) {
    .wheel {
        width: 450px;
        height: 450px;
    }
    .button-wheel {
        width: 100px;
        height: 100px;
        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.2rem 6rem;
        font-size: 28px;
    }
    .woman-image {
        width: 400px;
        height: 650px;
        margin-left: -150px;
    }
    .wheel {
        width: 600px;
        height: 600px;
    }
    .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 (max-width:767px){
    .mobile {
        display: flex !important;
    }
    .prize{
        font-size: 50px !important;
        color: var(--secondary-color);
    }
    .character-container {
        img {
            width: 100%;
            max-width: 750px;
            /* height: 350px; */
            margin-top:20px;
            margin-bottom:-20px;
            /* margin-bottom: -80px; */
        }
    }
    .button-wheel {
        width:90px;
        height:90px;
        font-size:20px;
    }
    .wheel{
        padding:1rem;
    }
    
   .main {
        background: url(../../img/bg-mobile-austria.png) no-repeat no-repeat;
        background-size: cover;
        background-position: bottom;
        padding-bottom: 60px;
    }
    .main-contents .main-btn{
        padding: 1.2rem 3rem;
        font-size: 24px;
    }
    .prize{
        font-size: 45px !important;
        color: white !important;
    }
    .offer{
        font-size: 50px !important;
    }
    .main-contents h1{
        font-size: 30px;
        margin-top:-10px;
    }
}
@media screen and (max-width: 500px) {
    .welcome{
        font-size:30px !important;
        margin-top:-12px;
    }
    .contents-jackpot {
        .you-got {
            font-size: 21px;
            color: white;
            font-weight: 700;
            text-align: center;
            margin-bottom: 10px;
            margin-top: -10px;
        }
        .yellow {
            font-size: 20px !important;
        }
        .jackpot{
            font-size: 20px;
        }
        .prize {
            font-size: 33px !important;
            line-height: 40px !important;
            color: white !important;
        }
        .offer{
            font-size: 40px !important;
        }
    }
    .container{
        width: 100%;
    }
    .contents-text p{
        margin-top:-10px;
    }
    .main-contents h1{
        font-size: 22px;
        margin-top:-8px;
    }
    .header{
        height: 70px;
    }
    .header .logo {
        max-width: 130px;
        height: 40px;
        width: 100%;
    }
    .main-contents .main-btn {
        padding: 1rem 4rem;
        font-size: 20px;
    }
}
@media screen and (max-width: 400px) {
    .main-contents .main-btn {
        padding: 1rem 4rem;
        font-size: 20px;
    }
    .character-container {
        img {
            width: 100%;
            max-width: 750px;
            /* height: 300px; */
            margin-top: 40px;
            margin-bottom:-10px;
            /* margin-bottom: -80px; */
        }
    }
    .contents-jackpot {
        .you-got {
            font-size: 17px;
            color: white;
            font-weight: 700;
            text-align: center;
            margin-top:-5px;
            margin-bottom: 0px;
        }
        .jackpot{
            font-size: 19px;
        }
        .yellow{
            font-size:20px !important;
        }
        .prize {
            font-size: 30px !important;
            line-height: 35px !important;
            color: white !important;
        }
        .offer{
            font-size: 35px !important;
        }
    }
    .welcome {
        margin-top:-12px !important;
        font-size:25px !important;
        margin-bottom: 0px !important;
    }
    .contents-text p{
        margin-top:-10px;
    }
    .main-contents h1{
        font-size: 19.5px;
        margin-top:-15px;
    }
}
@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);
        }
    }
} */