@font-face {
    font-family: "firenight";
    src: url("./font/firenight_regular.otf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: #222;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #f5f5f5;
    position: relative;
    font-family: 'firenight';
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    letter-spacing: 3px;
}

.wrapper {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.overlay {
    background-image: url(../assets/imgs/bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 1;
}

.overlay.show {
    filter: blur(10px);
}

.z-10 {
    z-index: 100 !important;
}

.z-5 {
    z-index: 50 !important;
}

.top {
    position: relative;
    width: 100%;
    padding: 0 5%;
    margin: 2rem 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.try {
    font-size: 1.6em;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    font-weight: bold;
}

.try span#try {
    font-size: 1.6em;
    color: #FFE5A1;
}

.wheel-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3em;
    top: 0;
    left: 0;
    z-index: 5;
}

.wheel-inner {
    position: relative;
}

.wheel {
    position: relative;
    background: url(../assets/imgs/wheel.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 33.3em;
    height: 33.3em;
    z-index: 2;
    animation: shake 2s ease-in-out 2s infinite;
}

.wheel-back {
    position: absolute;
    background: url(../assets/imgs/frame.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 36.5em;
    height: 36.5em;
    top: -2em;
    z-index: 3;
    left: -1.5em;
}

.wheel-btn {
    position: absolute;
    background: url(../assets/imgs/btn.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 13em;
    height: 13em;
    top: 10.3em;
    z-index: 5;
    left: 10.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
}

.wheel-btn:hover {
    transform: scale(1.05);
}

.wheel-btn span {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFF3CF;
}

.wheel-cursor {
    position: absolute;
    background: url(../assets/imgs/arrow.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 5.1em;
    height: 7em;
    top: -3.1em;
    left: 14.3em;
    z-index: 3;
}

.wheel-section {
    position: absolute;
    z-index: 1;
    width: 8em;
    height: 8em;
    top: 1.3em;
    left: 13.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #222;
}

.wheel-section:nth-child(2) {
    transform: rotate(45deg);
    top: 4.3em;
    left: 21.5em;
    color: #fff;
}

.wheel-section:nth-child(3) {
    transform: rotate(90deg);
    top: 13em;
    left: 24.7em;
}

.wheel-section:nth-child(4) {
    transform: rotate(135deg);
    top: 21em;
    left: 20.8em;
    color: #fff;
}

.wheel-section:nth-child(5) {
    transform: rotate(180deg);
    top: 24em;
    left: 12.6em;

}

.wheel-section:nth-child(6) {
    transform: rotate(225deg);
    top: 20.3em;
    left: 4.9em;
    color: #fff;
}

.wheel-section:nth-child(7) {
    transform: rotate(270deg);
    top: 12.4em;
    left: 1.4em;
}

.wheel-section:nth-child(8) {
    transform: rotate(315deg);
    top: 4.6em;
    left: 5em;
    color: #fff;
}

.wheel-section span {
    font-size: 1.8em;
    line-height: 1em;
}

.wheel-section .smaller {
    font-size: 1em;
    text-align: center;
}

.marked {
    color: #FFD178;
    font-weight: bold;
}

.bottom-text {
    color: #FFD178;
    font-size: 2em;
    text-align: center;
    margin: 0;
}

.bottom-text span {
    font-size: 1.5em;
}

.background-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-images .girl {
    height: 80%;
    width: auto;
    position: absolute;
    bottom: 0;
    left: 10%;
    z-index: 2;
}

.background-images .shine {
    position: absolute;
    top: calc(50% - 30.6em);
    left: calc(50% - 24.7em);
    width: 48em;
    height: 48em;
    object-fit: contain;
    object-position: center;
    z-index: 1;
}

.background-images .elements {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    z-index: 0;
}

.logo {
    position: relative;
    text-align: center;
    z-index: 10;
}

.logo img {
    height: 2em;
}

.container {
    position: relative;
    z-index: 10;
}

h1 {
    text-transform: uppercase;
    text-align: center;
    color: #f5f5f5;
}

strong {
    font-weight: 900;
}

p {
    font-size: 20px;
    text-align: center;
    color: #f5f5f5;
}

.fly {
    animation: fly 1.5s ease-in-out 0s infinite alternate;
}

.fly:hover {
    transform: translateY(-20px);
    animation: none;
}

.hovered {
    transform: translateY(-20px);
    animation: none;
}

.z-0 {
    z-index: 0 !important;
}

.small {
    font-size: 1.8em !important;
}

.bottom {
    position: absolute;
    z-index: 9;
    width: 100%;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 2.2em;
    gap: 1rem;
    flex-wrap: wrap;
    backdrop-filter: blur(20px);
    background: #2B2B2B4D;
}

.bottom img {
    width: auto;
    height: 3em;
}

.hidden {
    display: none;
}

.popup-elements {
    display: none;
}

.modal-open .popup-elements {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1051;
    object-fit: contain;
    object-position: center;
}

.modal-backdrop.show {
    backdrop-filter: blur(40px);
    background: rgb(17 17 17 / 60%);
    opacity: 1;
}

.prize-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prize-wrap-inner {
    position: relative;
}

.prize-content {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
    width: 50em;
    height: 50em;
    z-index: 2;
}

.prize-back {
    position: absolute;
    top: 1%;
    left: 1%;
    width: 98%;
    height: 98%;
    background: #111;
    border-radius: 50%;
    z-index: 0;
}

.content {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.prize-back-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../assets/imgs/frame.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.prize-content h2 {
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(180deg, #E79512 0%, #FFD477 53.87%, #CF7F00 107.74%);
    font-size: 2.2em;
    text-transform: uppercase;
}

.prize-content h3 {
    color: #fff;
    font-size: 2em;
    text-transform: uppercase;
}

.btn-main {
    background: linear-gradient(180deg, #CE963D 0%, #FFDF99 50%, #CE963D 100%);
    color: #111;
    text-decoration: none;
    padding: 0.5em 2em;
    border-radius: 2em;
    font-size: 2em;
    transition: .3s;
}

.btn-main:hover {
    transform: scale(1.05);
}

.shake {
    animation: shake 2s ease-in-out 0s infinite;
}

.rotate-1 {
    animation: rotate-1 5s ease-in-out;
    animation-fill-mode: forwards;
}

.rotate-2 {
    animation: rotate-2 5s ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes rotate-1 {
    0% {

        transform: rotate(0deg);
    }

    100% {

        transform: rotate(1800deg);
    }
}

@keyframes rotate-2 {
    0% {

        transform: rotate(0deg);
    }

    100% {

        transform: rotate(1935deg);
    }
}

@keyframes shake {

    0%,
    to {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg)
    }

    50% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg)
    }
}

.content {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

@media (max-width:2056px) {
    body {
        font-size: 15px;
    }
}

@media (max-width:1600px) {
    body {
        font-size: 13px;
    }
}

@media (max-width:1440px) {
    body {
        font-size: 11px;
    }
}

@media (max-width:1280px) {
    body {
        font-size: 10px;
    }
}

@media (max-width:1040px) {
    .background-images .girl {
        left: 0;
    }
}

@media (max-width:768px) {
    body {
        font-size: 12px;
    }

    .background-images .girl {
        height: auto;
        width: 50%;
        left: -15%;
    }

    .bottom img {
        height: 2em;
    }

    .prize-content {
        width: 40em;
        height: 40em;
    }

}

@media (max-width:580px) {
    body {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .background-images .girl {
        height: auto;
        width: 50%;
        bottom: 8%;
        left: -5%;
    }

    .wheel-inner {
        margin-top: 3em;
    }

    .bottom-text {
        text-align: start;
        max-width: 7em;
        font-size: 2.2em;
        line-height: 1.2em;
        margin-left: 9em;
        margin-top: 1em;
    }
}

@media (max-width:380px) {
    .background-images .girl {
        width: 40%;
    }
}

@media (max-height:580px) {
    .content {
        min-height: 800px;
    }
}