@import url('https://fonts.googleapis.com/css2?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: #000000;
    background-image: url('../img/background.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

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

/**/

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

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

.title {
    margin: 15px auto 0;
    background: #0000004D;
    backdrop-filter: blur(4px);
    border-radius: 10px;
    max-width: 339px;
    width: 100%;
    padding: 10px;
}

.title h1 {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 32px;
    color: #FFFFFF;
    text-align: center;
}

/**/

.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: -6px;
    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;
}

.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(1270deg)
    }

    80% {
        transform: rotate(1266deg)
    }

    100% {
        transform: rotate(1268deg)
    }
}

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

    70% {
        transform: rotate(2080deg)
    }

    80% {
        transform: rotate(2076deg)
    }

    100% {
        transform: rotate(2078deg)
    }
}

.wheel .hero {
    position: absolute;
    right: -50%;
    top: -25%;
    max-width: 290px;
    z-index: -1;
}

.wheel .hero.first {
    left: -50%;
}

.wheel .hero.second {
    right: -50%;
}

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

    50% {
        transform: rotate(4deg)
    }

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

/**/

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

.spinButtonWrapper .button,
.buttonWrapper .button {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: #000000;
    text-align: center;
    background-color: #FFC907;
    box-shadow: 0px 4px 16.9px 0px #00000040;
    border-radius: 8px;
    padding: 18px 20px;
    animation: shadow-bounce 1s alternate infinite;
    outline: none;
}

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

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

/**/

.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 101;
    background: #00000099;
}

.modal .inner {
    background-image: url('../img/popup.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 50px 0;
}

.modal .subtitle {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 33px;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
}

.modal .subtitle span {
    font-size: 26px;
}

.modal .text {
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: #F0CA66;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0px 0px 15px #FF000066;
    margin-top: 12px;
}

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

.modal .buttonWrapper {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

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

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

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

.modal.second .subtitle {
    font-size: 26px;
    color: #F0CA66;
    text-shadow: 0px 0px 15px #FF000066;
}

.modal.second .text {
    font-size: 18px;
    color: #FFFFFF;
    text-shadow: none;
    max-width: 200px;
    margin: 12px auto 0;
}

.modal.second .buttonWrapper {
    margin-top: 12px;
}

/**/

.gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 360px;
    width: 100%;
    background: linear-gradient(180deg, rgba(255, 201, 7, 0) 50%, #FFC907 99%);
    z-index: -1;
}

.fire {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/fire.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    mix-blend-mode: color-dodge;
    z-index: -1;
}

.coins {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.coins .c1 {
    width: 90px;
    top: 5%;
    left: 0;
    position: absolute;
    transform: rotate(40deg);
}

.coins .c2 {
    width: 140px;
    top: 15%;
    right: -40px;
    position: absolute;
    transform: rotate(-15deg);
}

/**/

.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);
    }
}



