@import url('https://fonts.googleapis.com/css2?family=Baloo+Thambi+2:wght@400..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/*font-family: "Inter", sans-serif;*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

button {
    background-color: transparent;
    cursor: pointer;
    border: none;
}

a {
    text-decoration: none;
}

ul {
    list-style-position: inside;
}

/**/

.body {
    background-color: #FFFFFF;
    background-image: url('../img/background.png');
    background-size: 525px;
    background-repeat: no-repeat;
    background-position: center top;
}

.wrapper {
    max-width: 385px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/**/

.content {
    padding-top: 40px;
    padding-bottom: 40px;
    overflow: hidden;
    min-height: 100vh;
}

.logo {
    max-width: 288px;
    width: 100%;
    margin: 0 auto;
}

.title {
    border-radius: 19px;
    width: 100%;
    border: 1px solid #FFFFFF;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    position: relative;
}

/**/

.wheel {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 48px auto 0;
    max-width: 323px;
    position: relative;
    cursor: pointer;
}

.wheel .pointer {
    position: absolute;
    max-width: 50px;
    left: 50%;
    top: -16px;
    transform: translate(-50%, 0%);
    z-index: 1;
}

.wheel .center {
    position: absolute;
    max-width: 65px;
    left: 0;
    right: 0;
    margin: 0 auto;
    animation: btn-bounce 2s alternate infinite;
}

@keyframes btn-bounce {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(1.3)
    }
}

.wheel .image {
    animation: 2s spinner ease-in-out infinite;
    box-shadow: 0 0 100px #69208F;
    border-radius: 50%;
}

.wheel .image.spinTurnFirst {
    animation: 3s spinTurnFirst ease-in-out forwards;
}

.wheel .image.spinTurnSecond {
    animation: 3s spinTurnSecond ease-in-out forwards;
}

@keyframes spinTurnFirst {
    0% {
        transform: rotate(-4deg)
    }

    70% {
        transform: rotate(1632deg);
    }

    80% {
        transform: rotate(1626deg);
    }

    100% {
        transform: rotate(1629deg);
    }
}

@keyframes spinTurnSecond {
    0% {
        transform: rotate(-4deg)
    }

    70% {
        transform: rotate(1813deg);
    }

    80% {
        transform: rotate(1807deg);
    }

    100% {
        transform: rotate(1810deg);
    }
}

@keyframes spinner {
    0% {
        transform: rotate(-4deg)
    }

    50% {
        transform: rotate(4deg)
    }

    100% {
        transform: rotate(-4deg)
    }
}

/**/

.spinButtonWrapper {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    position: relative;
}

.spinButtonWrapper .button,
.buttonWrapper .button {
    width: 100%;
    max-width: 80%;
}

@keyframes shadow-bounce {
    from {
        filter: none
    }

    to {
        filter: drop-shadow(0px 0px 3rem #FEB2003D)
    }
}

/**/

.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 101;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal .wrapper {
    max-width: 498px;
    padding: 0;
}

.modal .inner {
    display: flex;
    /*flex-direction: column;
    background-image: url('../img/popup.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 580px;*/
    position: relative;
}

.modal .top {
    position: absolute;
    max-width: 70%;
    margin: 0 auto;
    top: 80px;
    left: 0;
    right: 0;
}

.modal .subtitle {
    font-family: "Baloo Thambi 2", system-ui;
    font-weight: 900;
    font-size: 29px;
    line-height: 1;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0px 0.45px 0.49px #000000;
    margin: 0 auto;
}

.modal .text {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 36px;
    text-align: center;
    text-transform: uppercase;
}

.modal .text.gradient {
    background: linear-gradient(180deg, #FFFFFF 24.32%, #69208F 125%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.modal .text span {
    font-size: 40px;
}

.modal .buttonWrapper {
    display: flex;
    justify-content: center;
    margin-top: auto;
    position: absolute;
    bottom: 36px;
    left: 0;
    right: 0;
    z-index: 10;
}

.modal .buttonWrapper .button {
    animation: none;
}

.modal .image {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.modal .image img {
    max-width: 100px;
}

.modal.second .text {
    font-size: 30px;
    max-width: 280px;
    margin: 4px auto 0;
    color: #FFCC00;
    text-shadow: 0 0 3px #000000;
}

/**/

.loaderWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    background-color: #46413f;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: '';  
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid;
    border-color: #e08f3d transparent;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 525px) {
    .body {
        background-size: cover;
    }
}

@media screen and (max-width: 425px) {
    .modal .subtitle {
        font-size: 26px;
    }
}

@media screen and (max-width: 385px) {
    .modal .subtitle {
        font-size: 24px;
    }
}

@media screen and (max-width: 375px) {
    .modal .inner {
        /*height: 500px;*/
    }
}



