/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

body {
    background: #1E1450;
    overflow: hidden;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    font-family: "Poppins", serif;
    color: #fff;
    position: relative;
}

.container {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: url("../img/rays.png") bottom / cover no-repeat;
    margin: 0 auto;
    padding-top: 20px;
}

.logo-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin: 0 auto 32px;
}

.logo-link img {
    width: 165px;
    height: 48px;
}

.progress-bar-container {
    width: 276px;
    margin: 0 auto;
}

.progress-info {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 4px;
}

.text {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
}

.progress-bar {
    width: 276px;
    height: 10px;
    background: #3F337D;
    border-radius: 5px;
    overflow: hidden;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 2px;
}

.progress {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    background: -webkit-gradient(linear, left top, right top, from(#2BE86A), color-stop(#5F50C3), color-stop(#EE9BFF), to(#2BE86A));
    background: -o-linear-gradient(left, #2BE86A, #5F50C3, #EE9BFF, #2BE86A);
    background: linear-gradient(90deg, #2BE86A, #5F50C3, #EE9BFF, #2BE86A);
    background-size: 200% 100%;
    -webkit-animation: progressAnimation 3s infinite linear;
            animation: progressAnimation 3s infinite linear;
}

@-webkit-keyframes progressAnimation {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes progressAnimation {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.title {
    background: #5801A8;
    padding: 8px 20px;
    max-width: 280px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 40px;
    line-height: 42px;
    margin: 32px auto 30px;
    border-radius: 12px;
    text-transform: uppercase;
}

.cirles-container {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.cirles {
    position: absolute;
    top: 40%;
    width: 276px;
    height: 276px;
    background: url("../img/circles.png") center / contain no-repeat;
}

.chicken {
    will-change: transform; /* Додаємо сюди */
    width: 150px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    -webkit-transition: transform 0.2s ease-in-out;
    -o-transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    max-width: 360px;
}



.fire {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: url("../img/fire.png") bottom / 100% no-repeat;
    z-index: 3;
    width: 100vw;
    height: 30vh;
    height: 30svh;
    height: 30dvh;
    max-width: 440px;
    margin: 0 auto;
}

.title span {
    font-weight: 500;
    font-size: 24px;
    line-height: 42px;
    text-transform: uppercase;
}

#win {
    display: none;
    max-width: 300px;
    text-align: center;
    margin-top: 44px;
}

#video {
    display: none;
    position: fixed;
    top: 30%;
    bottom: 0;
    right: 0;
    left: 50%;
    z-index: 4;
    -webkit-transform: translate(-50%, 100%) scale(3.5);
        -ms-transform: translate(-50%, 100%) scale(3.5);
            transform: translate(-50%, 100%) scale(3.5); /* Початковий стан – за межами екрана */
    -webkit-transition: opacity 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
    -o-transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
    opacity: 0;
}

.redirect {
    background: #FFDC41;
    width: 260px;
    height: 52px;
    border-radius: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: #1E1E28;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    bottom: 44px;
    display: none;
}

@media (min-height: 800px) {
    .cirles {
        top: 43%;
    }
}

@media (min-height: 900px) {
    .cirles {
        top: 46%;
    }
}