body {
    font-family: "Poppins", serif;
    background: #1E1450;
    color: #fff;
    overflow-x: hidden;
}

.header {
    background: #463296;
    position: fixed;
    z-index: 1;
    width: 100%;
    padding: 0 10px 0 74px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    top: 0;
}

.header-btns,
.sidebar-item-burger .sidebar-link,
.sidebar-item:hover .onhover {
    display: flex;
}

.logo-link {
    display: block;
}

.logo-img {
    width: 110px;
}

.btn {
    font-family: "Roboto", serif;
    border-radius: 8px;
    border: 1px solid #FFDC41;
    background: #FFDC41;
    color: #1E1E28;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.header-btns .btn {
    width: 88px;
    height: 44px;
    font-size: 12px;
    line-height: 16px;
}

.btn.header-btn_signin {
    border-color: #BEB9FF;
    color: #BEB9FF;
    background-color: transparent;
    margin-right: 2px;
}

.btn:hover {
    background: #FFE673;
    color: #1E1E28;
}

.btn:active,
.btn:focus {
    background: #F5B940;
    border-color: #F5B940;
    color: #1E1E28;
}

.header-btn_signin:hover {
    border-color: #DCDCFF;
    background: transparent;
    color: #DCDCFF;
}

.header-btn_signin:focus {
    border-color: #7864FA;
    background: transparent;
    color: #7864FA;
}

.sidebar {
    position: fixed;
    background: #372873;
    width: 60px;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    padding: 3px;
}

.sidebar-menu {
    text-align: center;
    padding-top: 12px;
}

.sidebar-item {
    margin-bottom: 12px;
    padding: 2px 0;
    position: relative;
}

.sidebar-item-current {
    border-radius: 10px;
}

.sidebar-item-burger {
    background-color: #16103d;
    border-radius: 8px;
    transition: .3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    margin: 0 auto 24px;
    justify-content: center;
    align-items: center;
}

.sidebar-item-chat img {
    width: 24px;
    height: 24px;
}

.sidebar-item-pwa {
    margin-top: 16px;
    border-radius: 10px;
}

.sidebar-item img {
    filter: grayscale(1) contrast(0);
    opacity: .8;
}

.sidebar-item-pwa img {
    height: 34px;
    filter: unset;
    opacity: 1;
}

.sidebar-item-pwa:hover,
.sidebar-item-current:hover {
    background-color: rgba(190, 135, 255, .5);
}

.sidebar-item:hover img {
    filter: unset;
    opacity: 1;
}

.sidebar-item-current img {
    width: 38px;
    height: 38px;
    filter: unset;
    opacity: 1;
}

.sidebar-item-burger img {
    width: 24px;
    height: 20px;
    opacity: 1;
    filter: unset;
}

.opened {
    width: 255px;
}

.opened .sidebar-menu {
    padding-top: 66px;
}

.opened .white-burger,
.opened .sidebar-item:hover .onhover,
.mob-burger,
.sidebar .hidden,
#sidebar-mob,
.sidebar .missions-link.hidden {
    display: none;
}

.opened .sidebar-item-burger {
    position: absolute;
    right: 0;
    top: 20px;
    margin: 0;
    border-radius: 10px 0 0 10px;
}

.header.opened-sidebar {
    padding-left: 271px;
}

.main.opened-sidebar {
    padding-left: 255px;
}

.opened .sidebar-item-current:hover {
    background-color: transparent;
}

.missions-block {
    display: flex;
    flex-wrap: wrap;
    padding: 0 14px;
    margin-bottom: 16px;
}

.missions-block a {
    position: relative;
    display: flex;
    flex: 48% 1 0;
    align-items: center;
    max-width: 104px;
    height: 40px;
    padding: 0 10px;
    cursor: pointer;
    background: linear-gradient(130deg, #715cc6, #463296 60%, #463296 74%, #463296 85%, #463296 98%);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    color: #fff;
    font-family: "Roboto", serif;
}

.opened .sidebar-link {
    font-family: "Roboto", serif;
    font-weight: 400;
    line-height: 24px;
    color: #fff;
    font-size: 16px;
    display: flex;
    min-height: 40px;
    padding: 12px 14px;
    margin-left: 12px;
}

.opened .sidebar-item img {
    margin-right: 12px;
}

.opened .sidebar-item {
    padding: 0;
    margin-bottom: 0;
}

.missions-block a img {
    width: 24px;
    height: 24px;
    margin-right: 4px;
}

.opened .missions-link {
    margin: 0 6px 4px 0;
}

.onhover {
    font-family: "Roboto", serif;
    display: none;
    position: absolute;
    left: 80px;
    height: 24px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    color: #fff;
    background: #7579f4;
    border-radius: 4px;
    top: 2px;
    justify-content: center;
    align-items: center;
}

.opened .sidebar-item-pwa {
    padding: 0 18px;
    margin-top: 24px;
}

.opened .sidebar-item-pwa:hover {
    background-color: unset;
}

.opened .sidebar-item-pwa a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    overflow: hidden;
    color: #beb9ff;
    cursor: pointer;
    border: 1px solid #beb9ff;
    border-radius: 8px;
    margin-left: 0;
    font-size: 14px;
    font-weight: 600;
}

.opened .sidebar-item-pwa img {
    width: 24px;
    margin-right: 2px;
}

.opened #burger {
    margin-left: 0;
}

.main {
    padding: 64px 0 0 60px;
}

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

.main-banner {
    width: 332px;
    height: 466px;
    border-radius: 12px;
    padding: 20px 20px 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.yellow {
    color: #FFDC41;
}

.single-banner {
    width: 100%;
    height: 296px;
    margin-top: 48px;
    padding: 52px 59px 40px;
    border-radius: 12px;
}

.main-banner-subtitle {
    font-size: 26px;
    font-weight: 500;
    line-height: 28px;
}

.main-banner-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 42px;
    max-width: 334px;
    margin-top: 4px;
}

.main-banner-btn {
    width: 220px;
    height: 52px;
}

.steps,
.steps-info {
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.steps {
    background: #372873;
    padding: 12px 28.5px;
}

.step,
.steps-info-block {
    display: flex;
    align-items: center;
}

.step-number {
    font-size: 40px;
    font-weight: 700;
    line-height: 52px;
    color: #1CE8AC;
    width: 40px;
    margin-right: 12px;
    text-align: center;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    max-width: 243px;
}

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

.step-text b {
    font-weight: 700;
}

.steps-info {
    padding: 12px 0;
}

.steps-info-block-rakeback {
    max-width: 164px;
}

.steps-info-block-payout {
    max-width: 255px;
}

.steps-info-block-cashback {
    max-width: 198px;
}

.steps-info-block-wallet {
    max-width: 188px;
}

.steps-info-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #BEB9FF;
}

.steps-info-block img {
    width: 64px;
    height: 64px;
    margin-right: 16px;
}

.title {
    margin-top: 44px;
    font-size: 26px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 8px;
}

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

.games-container {
    max-width: 784px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
}

.game {
    width: 240px;
    height: 240px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
}

.welcome-terms .title {
    margin-top: 20px;
}

.game .btn {
    width: 117px;
    height: 44px;
}

.game-cover {
    background: #16103DE5;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.game:hover .game-cover {
    display: flex;
}

.terms-link {
    color: #05D2FF;
}

.footer {
    background: #16103D;
    margin-top: 80px;
    padding: 32px 0 36px;
}

.footer .container {
    width: calc(100% - 186px);
    max-width: 100%;
}

.footer-text {
    font-family: "Roboto", serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    text-align: left;
    max-width: 420px;
    opacity: 0.5;
}

.footer-wrapper,
.footer-wrapper-aware {
    display: flex;
    justify-content: space-between;
}

.footer-wrapper {
    margin-bottom: 86px;
}

.circle {
    width: 52px;
    height: 52px;
    margin-right: 12px;
}

.footer-wrapper-text .footer-text {
    margin-bottom: 12px;
}

.footer-aware img {
    width: 134px;
}

.footer-methoods {
    display: flex;
    opacity: 0.3;
    width: 100%;
    justify-content: center;
    gap: 40px;
}

.footer-methoods-top,
.footer-methoods-bottom {
    display: flex;
    justify-content: space-between;
}

.footer-methoods-top {
    width: 57%;
}

.footer-methoods-bottom {
    width: 38%;
}

.footer.opened-sidebar {
    padding-left: 200px;
}

@media (max-width: 1000px) {
    #sidebar-mob {
        display: flex;
        right: 0;
        top: unset;
        width: 100%;
        height: 64px;
        width: 100%;
        justify-content: space-around;
        align-items: center;
    }

    #sidebar-mob ul {
        display: flex;
        justify-content: space-around;
        width: 100%;
    }

    #sidebar-mob .sidebar-item-mob {
        font-size: 12px;
        line-height: 16px;
        display: block;
        padding-top: 2px;
    }

    #sidebar-mob .sidebar-link {
        display: flex;
        flex-direction: column;
        width: 72px;
        justify-content: center;
        text-align: center;
        color: #fff;
        filter: brightness(0) invert(1);
        opacity: 0.5;
        margin-top: 2px;
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        text-align: center;
        font-family: "Roboto", serif;
    }

    #sidebar-mob .sidebar-menu {
        padding: 0;
    }

    #sidebar-mob {
        background-color: #463296;
    }

    #sidebar-mob .sidebar-item-current {
        filter: unset;
        opacity: 1;
    }

    #sidebar-mob .sidebar-link img {
        width: 24px;
        height: 24px;
        display: block;
        margin: 0 auto;
    }

    #sidebar-mob .sidebar-item.sidebar-item-current .sidebar-link {
        color: #FFFFFF;
        opacity: 1;
    }

    #sidebar-mob .sidebar-item {
        margin-bottom: 0;
    }

    #sidebar-web {
        display: none;
    }

    .opened#sidebar-web {
        display: flex;
        z-index: 99;
        width: 100%;
    }

    .opened .sidebar-menu {
        width: 100%;
    }

    .missions-block {
        display: grid;
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        gap: 4px 6px;
        width: 100%;
    }

    .missions-block a {
        max-width: 100%;
        justify-content: flex-start;
        padding: 0 10px;
        font-size: 14px;
    }

    .missions-link {
        margin: 0;
    }

    .opened .missions-block a img {
        margin-right: 4px;
    }

    .opened .sidebar-item-pwa {
        margin-top: 0;
    }

    .opened .sidebar-item-burger {
        right: 10px;
        border-radius: 10px;
    }

    .header,
    .header.opened-sidebar {
        padding: 8px 8px 4px 40px;
        height: 56px;
        z-index: 2;
        transition: transform 0.5s ease;
    }

    .mob-burger {
        display: block;
        position: absolute;
        left: 8px;
        top: 20px;
    }

    .main,
    .main.opened-sidebar {
        padding: 24px 0 0;
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 16px);
    }

    .single-banner {
        height: 404px;
        width: 100%;
        padding: 40px 31px;
    }

    .main-banner-subtitle {
        font-size: 26px;
        line-height: 28px;
        text-align: center;
    }

    .main-banner-title {
        font-size: 32px;
        font-weight: 700;
        line-height: 40px;
        text-align: center;
        max-width: 281px;
        margin: 8px auto;
    }

    .main-banner-btn {
        width: 220px;
        height: 52px;
        margin: 0 auto;
    }

    .steps {
        flex-direction: column;
        padding: 24px;
        height: 374px;
    }

    .step {
        width: 100%;
    }

    .step-title {
        font-size: 20px;
        line-height: 24px;
    }

    .step-arrows {
        rotate: 90deg;
    }

    .steps-info {
        width: 271px;
        height: 271px;
        margin: 0 auto;
        flex-direction: column;
        margin-top: 40px;
        padding: 0;
    }

    .steps-info-block {
        width: 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .steps-info-block img {
        width: 44px;
        height: 44px;
        margin-right: 12px;
    }

    .steps-info-block-wallet {
        margin-bottom: 0;
    }

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

    .games-container {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .game {
        width: 47vw;
        height: 47vw;
        margin-bottom: 8px;
    }

    .footer {
        margin-top: 52px;
        padding: 24px 8px 88px;
    }

    .footer .container {
        width: 100%;
    }

    .footer-wrapper {
        flex-direction: column;
        margin-bottom: 32px;
    }

    .footer-wrapper-text {
        margin-bottom: 32px;
    }

    .footer-wrapper-aware {
        justify-content: start;
    }

    .footer-methoods {
        /*flex-direction: column;*/
        gap: 16px;
        width: 100%;
    }

    .footer-methoods-top,
    .footer-methoods-bottom {
        width: 100%;

    }

    .footer-methoods img {
        width: 74px;
    }
}