@import url('fonts.css'); body {
    margin: 0;
    background: #000 url(../img/bg.png) no-repeat;
    background-size: cover;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
}

.header {
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1440px;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
}

.header_items {
    display: flex ;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    justify-content: flex-end;
}

.header_item_socials {
    display: flex;
    align-items: center;
}

.header_item_social {
    margin-left: 10px;
}

.header_item_button {
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    text-transform: uppercase;
    display: flex ;
    align-items: center;
    cursor: pointer;
    transition: all 0.5s;
    padding: 22px 32px;
    border-radius: 8px;
    background: linear-gradient(180deg, #229FFF 0%, #229FFF 125.89%);
    outline: none;
    border: none;
}

.header_item_button img {
    vertical-align: middle;
    margin-left: 12px;
}

.main {
    padding-bottom: 60px;
    margin-top: auto;
    position: relative;
    display: flex;
}

.title_block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_tittle {
    color: #fff;
    text-align: center;
    font-size: 43px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: 0px;
    text-transform: uppercase;
    margin: 20px 0;
}

.logo_title {
    margin-right: 15px;
    width: 45px;
}

.main_tittle span {
    color: #73C2FF;
}

.roulette_wrap {
    width: 100%;
    max-width: 1440px;
    /* Вы можете настроить это значение при необходимости */
    height: 150px;
    background: linear-gradient(90.01deg, #111522 0.65%, #26314b 17.42%, #26314b 77.46%, #111522 97.68%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Прятать все, что выходит за границы */
    margin: auto;
}

.roulette_block {
    width: 85%;
    height: 115px;
    background: #122336;
    border-radius: 15px;
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 12px;
    overflow: hidden;
    /* Отступ справа для выравнивания */
    transition: transform 0.1s linear;
    /* Плавный переход */
    will-change: transform;
    /* Оптимизация производительности */
}

.roul {
    width: 100px;
    height: 88.09px;
    background: radial-gradient(105.21% 56.85% at 50% 43.15%, #204773 0%, #325b8b 37.91%, #2a4463 73.45%);
    border: 1px solid #16385E;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 12px;
    flex-shrink: 0;
    /* Блоки не должны сжиматься */
}

.roul_img {
    width: 75px;
    height: 66.34px;
}

.roulet {
    display: flex;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
        /* Противоположное направление */
    }
}

.roulet {
    transition: transform 0ms ease
}

.gradient_left {
    position: absolute;
    width: 365px;
    height: 115px;
    background: linear-gradient(270deg, rgba(17, 6, 37, 0) 0%, rgba(15, 4, 34, 0.56) 41.5%);
    border-radius: 15px;
}

.gradient_rigth {
    position: absolute;
    width: 30%;
    height: 115px;
    background: linear-gradient(270deg, rgba(17, 6, 37, 0) 0%, rgb(9 29 85 / 56%) 41.5%);
    border-radius: 15px;
    transform: matrix(-1, 0, 0, 1, 0, 0);
    right: 0;
}

.palka {
    height: 115px;
    position: absolute;
    width: 2px;
    background-color: #fff;
    left: 51%;
    z-index: 1;
}

.spin_block {
    width: 260px;
    height: 70px;
    background: #181F2F;
    border-radius: 0px 0px 15px 15px;
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
}

.spin {
    width: 160px;
    height: 45px;
    background: #4598f9;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    color: #fff;
    font-size: 20px;
    border: none;
    font-family: 'Manrope';
    font-weight: 500;
    cursor: pointer;
}

.info_spin {
    width: 373px;
    height: 80px;
    background: linear-gradient(181deg, #576995 3.57%, #3a8ae3 98.1%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 35px auto;
}

.text {
    font-size: 30.25px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin: auto;
}

.text span {
    color: #73C2FF;
}

.prizes_block {
    background: #151f37;
    width: 75%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    margin: auto;
    padding: 12px 0;
}

.title {
    color: #fff;
    font-size: 33.25px;
    font-weight: 500;
    text-align: center;
    margin: 10px auto;
}

.prize_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.prize {
    width: 118px;
    height: 154px;
    background: linear-gradient(111.09deg, #4a5a6d 9.28%, #5e94cf 86.73%);
    border: 1px solid #48A9EC;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 1px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 30px;
}

.rare {
    border: 1px solid #D9BA45 !important;
}

.prize_img {
    width: 108px;
}

.faq_block {
    display: flex;
    width: 75%;
    flex-direction: column;
    margin: 50px auto 20px;
}

.info_block {
    background: #151f37;
    display: flex;
    margin: 10px;
    padding: 15px 10px;
    border-radius: 16px;
}

.faq_img {
}

.subtext {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin: auto 10px;
}

.footer > .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer_text {
    font-size: 19.25px;
    font-weight: 600;
    color: #fff;
}

.modal {
    display: none;
    /* Скрыто по умолчанию */
    position: fixed;
    /* Фиксированное позиционирование */
    z-index: 1;
    /* Над другими элементами */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Предотвращает прокрутку за модальным окном */
    background-color: rgba(0,0,0,0.4);
    /* Полупрозрачный фон */
}

.modal-content {
    background-color: #022b40e0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border: 1px solid #ffffff;
    max-width: 400px;
    width: 80%;
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gift {
    width: 225px;
    margin-bottom: 20px;
}

.intro_main_button {
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    color: #fff;
    font-family: "Google Sans", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all 0.5s;
    padding: 16px 32px;
    border-radius: 100px;
    background: #44aed3;
}

.intro_main_button:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 1440px) {
    .roulette_block {
        max-width: 767px;
    }

    .roulette_inner {
        transform: translateX(calc(-2 * 100px - 2 * 16px));
    }
}

@media screen and (max-width: 991px) {
    .roulette_block {
        max-width: 520px;
    }

    .roulette_inner {
        transform: translateX(calc(-3 * 100px - 3 * 7px));
    }
}

@media screen and (max-width: 600px) {
    body {
        margin: 0;
        background: #000 url(../img/bg2.png) no-repeat;
        background-size: cover;
        font-family: "Manrope", sans-serif;
        font-weight: 400;
    }

    .header {
        width: 100%;
    }

    .container {
        width: 100%;
        max-width: 1440px;
        display: flex;
        margin: 0 auto;
        flex-direction: column;
    }

    .header_items {
        display: flex;
        align-items: center;
        padding-top: 40px;
        padding-bottom: 40px;
        justify-content: center;
    }

    .header_item_socials {
        display: flex;
        align-items: center;
    }

    .header_item_social {
        margin-left: 10px;
    }

    .header_item_button {
        color: #fff;
        text-align: center;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: 140%;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        cursor: pointer;
        transition: all 0.5s;
        padding: 15px 20px;
        border-radius: 8px;
        background: linear-gradient(180deg, #229FFF 0%, #229FFF 125.89%);
        outline: none;
        border: none;
    }

    .header_item_button img {
        vertical-align: middle;
        margin-left: 12px;
    }

    .main {
        padding-bottom: 60px;
        margin-top: auto;
        position: relative;
        display: flex;
    }

    .title_block {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .main_tittle {
        color: #fff;
        text-align: center;
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 110%;
        letter-spacing: 0px;
        text-transform: uppercase;
        margin: 20px 0;
    }

    .logo_title {
        margin-right: 15px;
        width: 40px;
    }

    .main_tittle span {
        color: #73C2FF;
    }

    .roulette_wrap {
        width: 100%;
        max-width: 1120px;
        /* Максимальная ширина для контейнера */
        height: 150px;
        background: linear-gradient(90.01deg, #080C19 0.65%, #283553 17.42%, #283553 77.46%, #080C19 97.68%);
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        /* Отключаем прокрутку */
    }

    .roulette_block {
        width: 100%;
        /* Всегда занимает 100% родительского контейнера */
        height: 115px;
        background: #213a57;
        border-radius: 15px;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        /* Отключаем прокрутку */
        white-space: nowrap;
        /* Предотвращаем перенос блоков */
    }

    .roul {
        width: 85px;
        height: 80.09px;
        background: radial-gradient(105.21% 56.85% at 50% 43.15%, #204773 0%, #325b8b 37.91%, #2a4463 73.45%);
        border: 1px solid #16385E;
        border-radius: 20px;
        display: inline-flex;
        /* Позволяет всем блокам показываться в одну линию */
        justify-content: center;
        align-items: center;
        margin-left: 12px;
    }

    .roul_img {
        width: 70px;
        height: 66.34px;
    }

    .gradient_left, .gradient_right {
        position: absolute;
        width: 30%;
        height: 115px;
        background: linear-gradient(270deg, rgba(17, 6, 37, 0) 0%, rgb(9 29 85 / 56%) 41.5%);
        border-radius: 15px;
    }

    .gradient_left {
        left: 0;
    }

    .gradient_right {
        right: 0;
        transform: matrix(-1, 0, 0, 1, 0, 0);
    }

    .palka {
        height: 115px;
        position: absolute;
        width: 2px;
        background-color: #fff;
        left: 50%;
    }

    .spin_block {
        width: 260px;
        height: 70px;
        background: #181F2F;
        border-radius: 0px 0px 15px 15px;
        display: flex;
        margin: auto;
        align-items: center;
        justify-content: center;
    }

    .spin {
        width: 160px;
        height: 45px;
        background: #4598f9;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 4px 4px rgba(0, 0, 0, 0.25);
        border-radius: 15px;
        color: #fff;
        font-size: 20px;
        border: none;
        font-family: 'Manrope';
        font-weight: 500;
        cursor: pointer;
    }

    .info_spin {
        width: 90%;
        height: 80px;
        background: linear-gradient(181deg, #576995 3.57%, #3a8ae3 98.1%);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 35px auto;
    }

    .text {
        font-size: 27.25px;
        color: #fff;
        text-transform: uppercase;
        text-align: center;
        margin: auto;
    }

    .text span {
        color: #73C2FF;
    }

    .prizes_block {
        background: #151f37;
        width: 90%;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        margin: auto;
        padding: 12px 0;
    }

    .title {
        color: #fff;
        font-size: 33.25px;
        font-weight: 500;
        text-align: center;
        margin: 10px auto;
    }

    .prize_list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .prize {
        width: 95px;
        height: 130px;
        background: linear-gradient(111.09deg, #4a5a6d 9.28%, #5e94cf 86.73%);
        border: 1px solid #48A9EC;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 1px 4px 4px rgba(0, 0, 0, 0.25);
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 10px auto;
    }

    .rare {
        border: 1px solid #D9BA45 !important;
    }

    .prize_img {
        width: 85px;
    }

    .faq_block {
        display: flex;
        width: 90%;
        flex-direction: column;
        margin: 50px auto 20px;
    }

    .info_block {
        background: #151f37;
        display: flex;
        margin: 10px;
        padding: 15px 10px;
        border-radius: 16px;
    }

    .faq_img {
    }

    .subtext {
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        margin: auto 10px;
    }

    .footer > .container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .footer_text {
        font-size: 13.25px;
        font-weight: 600;
        color: #fff;
    }
}

@media screen and (max-width: 1440px) and (min-width: 600px) {
    body {
        margin: 0;
        background: #000 url(../img/bg3.png) no-repeat;
        background-size: cover;
        font-family: "Manrope", sans-serif;
        font-weight: 400;
    }
}

@media screen and (max-width: 520px) {
    .roulette_block {
        max-width: 320px;
    }

    .roulette_inner {
        transform: translateX(calc(-4 * 100px - 4 * -46px));
    }
}
