body {
    background: #1E1450;
    font-family: "Poppins", serif;
    color: #fff;
    box-sizing: border-box;
    position: relative;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    /*text-align: center;*/
}

.header img {
    width: 172px;
    height: 52px;
}

.container {
    max-width: 1216px;
    margin: 0 auto;
}

.about {
    background: url("../img/bg.webp") center/1440px no-repeat;
    min-height: 664px;
    padding: 8px;
}

.instructions {
    background: url("../img/bg-2.webp") bottom/1440px no-repeat;
    margin-bottom: 72px;
    min-height: 730px;
    padding-bottom: 125px;
}

.title {
    font-size: 82px;
    font-weight: 700;
    line-height: 86px;
    margin-bottom: 24px;
    margin-top: 222px;
}

.subtitle {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    margin-bottom: 80px;
    color: #e4053a;
}

.text {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    max-width: 496px;
    margin-bottom: 63px;
}

.scroll-wrapper {
    display: none;
    width: 50px;
    height: 61px;
    margin-left: 229px;
}

.scroll-wrapper span {
    font-size: 14px;
    font-weight: 500;
}

.scroll-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4px;
    gap: 1px;
}

.arrow img {
    width: 100%;
}

.arrow {
    width: 100%;
    height: 10px;
    animation: animate 2s infinite;
    margin: auto;
}

.arrow:nth-child(1) {
    animation-delay: 0s;
}

.arrow:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(5px);
    }
}

.instructions .subtitle {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 40px;
}

.instructions-block {
    background: #3A2F7D;
    border-radius: 24px;
    width: 593px;
    /*height: 720px;*/
    padding: 44px 32px;
    box-sizing: border-box;
    /*margin-bottom: 84px;*/
}

.instructions-list {
    margin-bottom: 44px;
}

.instructions-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.instructions-list-number {
    background: #BEB9FF;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #281E5F;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-right: 20px;
}

.instructions-list-text {
    width: calc(100% - 60px);
}

.instructions-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: #fff;
}

.instructions-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: #BEB9FF;
}

.instructions-item-dots {
    margin: 16px auto;
    justify-content: center;
}

.instructions-title-question {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.btn {
    width: 420px;
    height: 52px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E1E28;
    background: #FFDC41;
    margin: 0 auto;
}


.modal {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: #140D39E5;
    z-index: 2;
    overflow: hidden;
    height: 100%;
}

.hidden-overflow {
    overflow: hidden;
}

.modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    padding: 32px 24px;
    background: #311665;
    border: 1px solid #573D89;
    box-shadow: 0px 0px 152px 0px #671DD654;
    border-radius: 24px;
    box-sizing: border-box;
}

.intro-content {
    background: #3A2F7D;
    border-radius: 8px;
    text-align: center;
    padding: 12px;
    margin-bottom: 32px;
}

.intro-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 4px;
}

.modal-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #BEB9FF;
}

.multiplier {
    text-align: center;
}

.multiplier ul {
    bottom: 0;
    left: 0;
    right: 0;
    margin: 16px auto 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.multiplier li {
    border: 1px solid #BEB9FF;
    border-radius: 6px;
    width: 86px;
    display: flex;
    height: 32px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.multiplier li:hover,
.multiplier .clicked {
    background: #FFDC41;
    color: #1E1E28;
    border-color: #FFDC41;
    transform: scaleY(1.312);
}


.multiplier li:hover span,
.clicked span {
    transform: scaleY(0.75);
}

.modal .btn {
    max-width: 320px;
}

.disabled {
    pointer-events: none;
    cursor: not-allowed;
    background-color: #747474;
}

.hidden-modal {
    display: none;
}

.result {
    text-align: center;
}

.result-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: #BEB9FF;
    margin-bottom: 12px;
}

.result-container {
    height: 236px;
    margin-bottom: 32px;
    position: relative;
}

.result .modal-text {
    font-size: 16px;
    line-height: 20px;
}

.result-btn {
    margin: 12px auto 24px;
}

.modal-link {
    color: #BEB9FF;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #BEB9FF;
    background: transparent;
    font-size: 14px !important;
}

.graph {
    position: absolute;
    left: 28px;
    bottom: 16px;
    border-left: 2px solid #573D89;
    border-bottom: 2px solid #573D89;
    width: 405px;
    height: 220px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 18px 86px 4px 53px;
}

.result-percentage,
.result-rounds {
    position: absolute;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
}

.result-percentage {
    flex-direction: column;
    bottom: 36px;
    height: 188px;
}

.result-rounds {
    bottom: 0;
    left: 84px;
    width: 264px;
}

.bar {
    background: linear-gradient(180deg, #67EF2D 0%, #41C0FF 100%);
    width: 20px;
    border-radius: 4px;
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.footer__list,
.footer__list ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__list-small {
    width: 48%;
    margin: 0 auto;
}

.footer__list .footer__list-large {
    width: 55%;
}

.modal-text-bold {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.inactive {
    background-color: #3E3078;
    border: none;
    pointer-events: none;
    color: #7D73AA;
}

.modal-link img {
    display: none;
    margin-right: 8px;
}

.modal-link.inactive img {
    display: inline-block;
}

.timer-error {
    margin-top: 12px;
}

.timer-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    color: #FF6D38;
}

.timer-subtitle {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    color: #fff;
}

@keyframes myfloat {
    0% {
        margin-top: 0em;
    }

    50% {
        margin-top: 1em;
    }

    100% {
        margin-top: 0;
    }
}


.popup-wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99;
    background-color: #00000094;
}

.popup-wrap-content {
    width: 480px;
    /* min-height: 684px; */
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 24px;
    overflow: hidden;
    background: #1e1450;
}

.banner {
    width: 100%;
    height: 152px;
    background: url("../img/dasdas32423.png") center / cover no-repeat;
    padding: 40px 16px 0 24px;
    position: relative;
}

.banner-title {
    color: #FFDC41;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 8px;
}

.banner-text {
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

#TRUE_SIGNUP_FRAME {
    min-height: 546px;
    border-radius: 24px;

}

.close-banner {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 16px;
    top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #BEB9FF33;
    border-radius: 12px;
    cursor: pointer;
}

.close-banner img {
    width: 16px;
    height: 16px;
}

@media (max-width: 900px) {
    .header img {
        width: 165px;
        height: 48px;
    }

    .about {
        padding: 0;
        min-height: unset;
        background: url("../img/bgmob.webp") center/cover no-repeat;
        padding-top: 370px;
    }

    .container {
        max-width: calc(100% - 16px);
        margin: 0 auto;
    }

    .title {
        margin-top: 0;
        font-size: 28px;
        font-weight: 700;
        line-height: 36px;
        margin-bottom: 16px;
        text-align: center;

    }

    .subtitle {
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        margin: 0 auto 44px;
        text-align: center;
        max-width: 272px;
    }

    .subtitle br {
        display: none;
    }

    .scroll-wrapper {
        display: block;
        margin: 0 auto;
    }

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

    .instructions {
        margin: 44px auto 0;
        padding-bottom: 166px;
        background: unset;
    }

    .instructions .subtitle {
        font-size: 20px;
        font-weight: 700;
        line-height: 26px;
        text-align: center;
        margin-bottom: 24px;
        max-width: 344px;
    }

    .instructions-block {
        max-width: 100%;
        padding: 20px 12px 32px;
        height: unset;
    }

    .btn {
        width: 100%;
    }

    .instructions-item {
        width: 100%;
        justify-content: center;
    }

    .instructions-title {
        font-size: 14px;
        font-weight: 700;
        line-height: 22px;
    }

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

    .instructions-list-text {
        max-width: 260px;
    }

    .instructions-list {
        margin-bottom: 32px;
    }

    .instructions-title-question {
        margin-bottom: 20px;
    }

    .modal-content {
        width: calc(100% - 16px);
        padding: 20px 12px;
    }

    .intro-title {
        font-size: 16px;
        line-height: 24px;
    }

    .intro-content .modal-text {
        font-size: 12px;
        line-height: 16px;
    }

    .intro-content {
        margin-bottom: 20px;
    }

    .multiplier li {
        width: calc(100%/5 - 4px)
    }

    .graph {
        left: 26px;
        width: calc(100% - 38px);
        padding: 16px 50px 3px 34px;
    }

    .result-rounds {
        width: calc(100% - 125px);
        left: 62px;
    }

    .result .modal-text {
        font-size: 14px;
        line-height: 18px;
    }

    .result-title {
        font-size: 16px;
        line-height: 24px;
    }

    .footer {
        bottom: 40px;
    }

    .footer__list {
        flex-direction: column;
        gap: 10px;
    }

    .footer__list .footer__list-large {
        width: 100%;
    }

    .footer__list .footer__list-large ul,
    .footer__list-small ul {
        gap: 10px;
    }

    .footer__list-small {
        width: 80%;
    }

    .popup-info-content.popup-info-content-2 {
        top: 252px;
    }
    
    .popup-wrap-content {
        width: calc(100% - 16px);
        height: auto;
        
    }
}