* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    font-family: Google Sans;
}

html {
    width: 100%;
    height: 100%;
}

.app {
    zoom: 0.9;
}

html,
body {
    touch-action: manipulation;
}

body {
    background: #101118;
}

a {
    text-decoration: none;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #101118;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    .loader-wrapper {
        position: relative;
    }

    .loading-progress {
        border-radius: 4px;
        background: #4d4f59;
        width: 277px;
        height: 3px;
        display: block;
        position: relative;
        content: "";
        overflow: hidden;
        margin-top: 27px;
    }

    .loader-value {
        position: absolute;
        left: 0;
        top: 0;
        height: 3px;
        border-radius: 4px;
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
        animation: loader-anim infinite 2s;
    }
}

.loader-icon {
    width: auto;
    height: auto;
    display: inline-block;
}

@media (max-width: 768px) {
    .loader-icon {
        width: 160px;
        height: 78px;
    }

    .original-games-wrapper {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .hud-balance3__icon {
        display: none !important;
    }
}

@keyframes loader-anim {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.container {
    max-width: 1391px;
    margin: 0 auto;
}

.mobile-menu {
    display: none;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 0;
    border-bottom: 1px solid #2a3146;
}

.wallet-menu {
    .modal-close-btn {
        display: none;
    }

    .group-header {
        margin-top: 0;
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 23px;

    .nav-link {
        display: flex;
        align-items: center;
        gap: 4px;
        color: #4d4f59;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
        text-decoration: none;
        transition: all 0.3s ease-in-out;

        &:hover {
            color: #ffffff;
        }
    }
}

.wallet-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 15px;
    background: linear-gradient(180deg, #12d356, #07a448 100%);
    padding: 12px 18px;
    border: none;
    cursor: pointer;

    span {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 145.2%;
    }
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 15px;
    background: #007aff;
    padding: 12px 18px;
    border: none;
    cursor: pointer;

    span {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 145.2%;
    }
}

.header-icon {
    width: 28px;
    height: 28px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-balance {
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 15px;
    background: rgb(21, 23, 33);
    padding: 12px 21px 12px 19px;

    p {
        color: #fff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
    }
}

.profile-btn {
    img {
        border-radius: 15px;
        height: 52px;
        width: 52px;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-slider {
    height: 347px;
    margin-top: 24px;
}

.main-slide {
    height: 347px;
    background-size: cover;
    border-radius: 21px;
    overflow: hidden;
    padding: 60px 50px 68px 50px;
    background-size: cover !important;

    h3 {
        color: #ffffff;
        font-family: Google Sans;
        font-size: 30px;
        font-weight: 700;
        line-height: 143.2%;
        letter-spacing: -1%;
    }

    p {
        color: #ffffffbf;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 143.2%;
        margin-top: 12px;
        margin-bottom: 40px;
    }

    a {
        border-radius: 13px;
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
        padding: 14px 26px 14px 18px;
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 700;
        line-height: 131.2%;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
}

.game-filter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    gap: 50px;
}

.game-filter-btns {
    display: flex;
    align-items: center;
    gap: 16px;

    button {
        color: #4d4f59;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        border-radius: 14px;
        border: none;
        background: #151721;
        padding: 12px 21px 12px 19px;
        text-wrap: nowrap;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 4px;

        &:hover {
            background: linear-gradient(180deg, #6a9eff52, #4f68e352 100%);
            color: #fff;
        }

        &.active {
            color: #fff;
            background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
        }
    }
}

.search {
    position: relative;
    width: 100%;

    img {
        position: absolute;
        top: 50%;
        left: 22px;
        transform: translateY(-50%);
    }

    input {
        width: 100%;
        height: 52px;
        padding-left: 58px;
        border-radius: 15px;
        background: rgb(25, 27, 38);
        border: none;
        color: #fff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
        letter-spacing: 0%;
        outline: none;
        text-align: left;

        &:hover {
            background: #212330;
        }

        &::placeholder {
            color: #4d4f59;
        }
    }
}

.group-title {
    display: flex;
    align-items: center;
    gap: 12px;

    .group-icon {
        height: 52px;
        width: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
    }

    h3 {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 20px;
        font-weight: 500;
        line-height: 25px;
    }
}

.tournament-table-title {
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
}

.original-games {
    margin-top: 42px;

    .group-icon {
        background: linear-gradient(180deg, #fd7a8c, #e95875 100%);
    }

    .game-name {
        span {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background: #eaedff36;
        }

        p {
            color: #f9fbff;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 23px;
            margin-top: 12px;
        }
    }
}

.group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.page-wrapper .group-header {
    margin-top: 0;
}

.referal-page .group-header {
    margin-top: 25px;
}

.profile-page .group-header {
    margin-top: 25px;
}

.show-all {
    color: #4d4f59;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 127%;
    border-radius: 14px;
    padding: 15px 20px 14px 20px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #151721;
    transition: all 0.3s ease-in-out;

    &:hover {
        border-radius: 14px;
        background: #191b25;
    }
}

.group-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arrow-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 11px;
    background: #191b26;
    color: #4d4f59;

    &:hover {
        background: #1d1f2a;
    }
}

.popular-slots {
    margin-top: 44px;

    .group-header {
        margin-bottom: 8px;
    }

    .group-icon {
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
    }
}

.popular-slots-wrapper {
    .swiper-wrapper {
        padding-top: 20px;
    }
}

.slots-grid a img {
    width: 100%;
    height: auto;
    aspect-ratio: 185 / 244;
    object-fit: cover;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .slots-grid a {
        aspect-ratio: 185 / 244;
        display: block;
        overflow: hidden;
        border-radius: 20px;
    }

    .slots-grid a img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        aspect-ratio: auto;
    }
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.slot-card {
    img {
        aspect-ratio: 185 / 244;
        width: 100%;
        object-fit: cover;
        display: block;
    }

    transition: all 0.3s ease-in-out;

    &:hover {
        transform: translateY(-10px) !important;
    }
}

.all-slots {
    margin-top: 44px;

    .group-header {
        margin-bottom: 0px;
    }

    .group-icon {
        background: linear-gradient(180deg, #f96f4d, #cf4128 100%);
    }
}

.all-slots-wrapper {
    height: 556px;

    .swiper-wrapper {
        padding-top: 20px;
    }
}

.swiper-slide.slot-card {
    height: calc((90% - 16px) / 2) !important;
}

.providers {
    margin-top: 44px;

    .group-header {
        margin-bottom: 8px;
    }

    .group-icon {
        background: #151721;
    }
}

.providers-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.provider-card {
    width: 100%;
    height: 128px;
    border-radius: 21px;
    background: rgb(21, 23, 33);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;

    a {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;

        &:nth-child(1) {
            background: linear-gradient(180deg, #518cdf, #2749a6 100%);
        }

        &:nth-child(2) {
            background: linear-gradient(180deg, #5daff2, #3481c0 100%);
        }
    }
}

.sidebar-socials {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;

    a {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;

        &:nth-child(1) {
            background: linear-gradient(180deg, #518cdf, #2749a6 100%);
        }

        &:nth-child(2) {
            background: linear-gradient(180deg, #5daff2, #3481c0 100%);
        }
    }
}

.game-right-side {
    .group-header {
        display: none;
    }
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 45px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(42, 49, 70);
}

.footer-top-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.age-alert {
    display: flex;
    align-items: center;
    gap: 8px;

    p {
        color: rgba(181, 74, 62, 0.7);
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 118.2%;
    }
}

.footer-bottom {
    padding: 20px 0 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;

    a,
    p {
        color: #4d4f5966;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
        text-decoration: none;
    }
}

.group-nav {
    .arrow-btn {
        display: flex;
    }
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.swiper-pagination-bullet {
    background: #ffffff8a !important;
}

.swiper-pagination-bullet-active {
    background: #f9fbff !important;
    width: 34px !important;
    border-radius: 9px !important;
}

.sidebar {
    zoom: 1.111111;
    position: fixed;
    left: 0;
    height: 100vh;
    width: 108px;
    background: #0d0e16;
    top: 0;
    padding: 28px 25px 28px 25px;
    display: flex;
    flex-direction: column;
}

.sidebar-inner {
    zoom: 0.9;
    transform-origin: top left;
}

.sidebar-logo {
    padding-bottom: 26px;
    border-bottom: 1px solid #2a3146;
    display: inline-block;
    width: 100%;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    flex-grow: 1;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    color: #4d4f59;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: 0%;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;

    &:hover {
        span {
            background: #0ec05173;
        }
    }

    &.active {
        color: #fff;

        span {
            background: linear-gradient(180deg, #12d356, #07a448 100%);
        }
    }

    span {
        transition: all 0.3s ease-in-out;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        background: #151722;
        border-radius: 14px;
    }
}

.online-count {
    display: flex;
    align-items: center;
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 23px;
    margin-top: 24px;
    gap: 8px;

    .online-icon {
        filter: blur(1px);
        background: #165d2c;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;

        .online-icon-inner {
            background: #1ebe3c;
            width: 7px;
            height: 7px;
            display: block;
            border-radius: 50%;
            content: "";
        }
    }
}

.slots-page {
    margin-top: 44px;

    .group-icon {
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
    }
}

.slot-card {
    border-radius: 20px;
    overflow: hidden;

    &:hover {
        .hover-slots {
            display: flex;
        }
    }

    .hover-slots {
        position: absolute;
        padding: 16px;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(23px);
        background: #13141ea8;
        z-index: 2;
        display: none;
        flex-direction: column;

        .hover-slots-title {
            text-align: center;

            h3 {
                color: #f9fbff;
                font-family: Google Sans;
                font-size: 18px;
                font-weight: 500;
                line-height: 127%;
                margin-bottom: 4px;
            }

            p {
                color: #767880;
                font-family: Google Sans;
                font-size: 16px;
                font-weight: 500;
                line-height: 127%;
            }
        }

        .hover-slots-btn {
            flex-grow: 1;
            display: flex;
            justify-content: center;
            align-items: end;
            margin-bottom: 35px;

            button {
                img {
                    width: 28px;
                }

                margin: 0 auto;
                color: #f9fbff;
                font-family: Google Sans;
                font-size: 18px;
                font-weight: 500;
                line-height: 127%;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 4px;
                height: 52px;
                width: 118px;
                border-radius: 12px;
                border-radius: 20px;
                background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
                border: none;
                outline: none;
                cursor: pointer;

                &:hover {
                    background: linear-gradient(180deg, #7daaff, #5c75f1 100%);
                }

                &:active {
                    background: linear-gradient(180deg, #7ba9ff, #7287f3 100%);
                }
            }
        }
    }
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    column-gap: 16px;
    row-gap: 24px;
    margin-top: 24px;

    a {
        position: relative;
        overflow: hidden;
        border-radius: 20px;

        img {
            width: 100%;
        }

        &:hover {
            .hover-slots {
                display: flex;
            }
        }

        .hover-slots {
            position: absolute;
            padding: 16px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            backdrop-filter: blur(23px);
            background: #13141ea8;
            z-index: 2;
            display: none;
            flex-direction: column;

            .hover-slots-title {
                text-align: center;

                h3 {
                    color: #f9fbff;
                    font-family: Google Sans;
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 127%;
                    margin-bottom: 4px;
                }

                p {
                    color: #767880;
                    font-family: Google Sans;
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 127%;
                }
            }

            .hover-slots-btn {
                flex-grow: 1;
                display: flex;
                justify-content: center;
                align-items: end;
                margin-bottom: 35px;

                button {
                    img {
                        width: 28px;
                    }

                    margin: 0 auto;
                    color: #f9fbff;
                    font-family: Google Sans;
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 127%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 4px;
                    height: 52px;
                    width: 118px;
                    border-radius: 12px;
                    border-radius: 20px;
                    background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
                    border: none;
                    outline: none;
                    cursor: pointer;

                    &:hover {
                        background: linear-gradient(180deg, #7daaff, #5c75f1 100%);
                    }

                    &:active {
                        background: linear-gradient(180deg, #7ba9ff, #7287f3 100%);
                    }
                }
            }
        }
    }
}

.slots-grid-toolbar {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 16px;

    .providers-select-wrapper {
        position: relative;
        min-width: 386px;
    }
}

.provider-select-header {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    background: #191b26;
    padding: 10px 20px 10px 22px;
    cursor: pointer;

    input {
        cursor: pointer;
    }

    .value-wrapper {
        display: flex;
        align-items: center;
        gap: 7px;

        .select-value {
            color: #4d4f59;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 127%;
        }
    }
}

.open-slot-page {
    margin-top: 44px;

    .group-icon {
        background: linear-gradient(180deg, #fe6753, #da3a28 100%);
    }

    .options-block {
        display: flex;
        align-items: center;
        gap: 12px;

        button {
            width: 52px;
            height: 52px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 15px;
            background: #151721;
            cursor: pointer;
            border: none;
            outline: none;
            transition: all 0.3s ease-in-out;

            &:hover {
                background: #1d1f2a;
            }

            &:active {
                color: #fff;
                background: rgb(32, 34, 45);
            }
        }
    }
}

.mines-page {
    .group-icon {
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
    }

    .game-left-side {
        border-radius: 31px;
        background: #151721;
        max-width: 533px;
        width: 100%;
        padding: 28px 28px 125px 28px;
    }
}

.game-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 24px;
}

.open-slot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-placeholder {
    width: 100%;
    height: 693px;
    display: block;
    content: "";
    border-radius: 22px;
    background: #151721;
    margin-top: 24px;
}

.counter {
    height: 100%;
    width: 94px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 163px 11.5px 18px 11.5px;
    border-radius: 15px;

    div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;

        span {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #303345;
            border-radius: 11px;

            img {
                width: 29px;
                height: 29px;
            }
        }

        p {
            color: #ffffff;
            font-family: Google Sans;
            font-size: 16px;
            font-weight: 500;
            line-height: 127%;
        }
    }

    &.candy-counter {
        background: linear-gradient(180deg,
                rgb(38, 40, 54) 46.01%,
                rgb(44, 51, 75) 80.381%,
                rgb(65, 86, 146) 130.325%,
                rgb(94, 134, 242) 217.952%);

        .counter-value {
            background: linear-gradient(180deg,
                    rgba(106, 158, 255, 0.5),
                    rgba(79, 104, 227, 0.5) 100%);
        }
    }

    &.mines-counter {
        background: linear-gradient(180deg,
                rgb(38, 40, 54) 49.875%,
                rgb(233, 43, 68) 217.952%);

        .counter-value {
            background: rgba(232, 42, 68, 0.41);
        }
    }

    .counter-value {
        margin-top: 116px;
        width: 54px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border-radius: 6px;
        color: #ffffff;
        font-family: Google Sans;
        font-size: 16px;
        font-weight: 500;
        line-height: 127%;
    }
}

.game-field-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fields-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 72px);
    grid-template-rows: repeat(5, 72px);
    gap: 10px;

    .mines-field {
        display: flex;
        align-items: center;
        justify-content: center;
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 17px;
        background: #262836;

        img {
            display: none;
        }

        &.bomb {
            background: linear-gradient(180deg, #ff6264, #cd2549 119.444%);

            .bomb-field {
                display: block;
                width: 40px;
                height: 40px;
            }
        }

        &.candy {
            background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);

            .candy-field {
                display: block;
                width: 36px;
                height: 36px;
            }
        }
    }
}

.game-input {
    position: relative;
    width: 100%;

    img {
        position: absolute;
        right: 31px;
        top: 15px;
    }

    input {
        height: 56px;
        width: 100%;
        border-radius: 13px;
        background: #1d1f2c;
        outline: none;
        border: none;
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
        padding-left: 28px;
        padding-right: 70px;

        &::placeholder {
            color: #4d4f59;
        }
    }
}

.game-right-side {
    width: 100%;
    border-radius: 30px;
    background: #151721;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 28px 14px 32px 14px;
}

.last-game-list {
    .group-icon {
        border-radius: 14px;
        background: linear-gradient(180deg, #2dca61, #1eb33a 100%);
    }
}

.last-game-table-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-radius: 14px;
    background: #151721;
    padding: 19px 48px 18px 48px;

    p {
        color: #4d4f59;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;

        &:nth-child(3) {
            justify-self: center;
        }

        &:nth-child(4) {
            justify-self: center;
        }

        &:nth-child(5) {
            justify-self: end;
        }
    }
}

.last-game-table-body {
    display: flex;
    flex-direction: column;
    margin-top: 12px;
    gap: 12px;
}

.last-game-table-item {
    border-radius: 14px;
    background: #151721;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 13px 48px 13px 48px;

    .history-game-name {
        display: flex;
        align-items: center;
        gap: 8px;

        p {
            color: #ffffff;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 120%;
        }

        span {
            width: 34px;
            height: 34px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: #101118;

            img {
                width: 20px;
            }
        }
    }

    .history-profile-name {
        display: flex;
        align-items: center;
        gap: 8px;

        p {
            color: #ffffff;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 23px;
        }

        img {
            width: 34px;
            height: 34px;
            object-fit: contain;
            border-radius: 7.44px;
        }
    }

    .withdraw-history {
        display: none;
    }

    .history-bet {
        justify-self: center;
    }

    .history-bet,
    .history-result {
        display: flex;
        align-items: center;
        gap: 8px;

        p {
            color: #ffffff;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 23px;
        }

        img {
            width: 28px;
        }
    }

    .history-result {
        justify-self: end;
    }

    .history-coeff {
        color: #ffffff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
        display: flex;
        align-items: center;
        justify-self: center;
    }
}

.game-input-wrapper {
    p {
        color: #44485b;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
        margin-bottom: 8px;
        margin-top: 24px;
    }
}

.game-input-select {
    width: 100%;
    height: 56px;
    border-radius: 13px;
    background: #1d1f2c;
    display: flex;
    align-items: center;

    input {
        width: 100%;
        height: 56px;
        border-radius: 13px;
        background: #1d1f2c;
        border: none;
        outline: none;
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
        padding-left: 28px;
    }
}

.game-input-select-btns {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-right: 32px;

    button {
        color: #4d4f59;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
        width: 44px;
        height: 40px;
        border-radius: 10px;
        background: transparent;
        border: none;
        outline: none;
        cursor: pointer;
        transition: all 0.3s ease-in-out;

        &:hover {
            background: #191b25;
        }

        &.active {
            background: #262937;
            color: #fff;
        }
    }
}

.game-input-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;

    button {
        width: 100%;
        height: 52px;
        border-radius: 12px;
        background: #191b26;
        border: none;
        outline: none;
        color: #4d4f59;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
        cursor: pointer;
        transition: all 0.3s ease-in-out;

        &:active {
            background: #292b38;
            color: #fff;
        }

        &:hover {
            background: #232532;
        }
    }
}

.game-btns {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;

    .auto-btn {
        background: linear-gradient(180deg, #d3122a, #a4071e 100%);

        &:hover {
            background: linear-gradient(180deg, #e12337, #b20f26 100%);
        }

        &:active {
            background: linear-gradient(180deg, #eb3141, #be2432 100%);
        }
    }

    .collect-btn {
        background: linear-gradient(180deg, #12d356, #07a448 100%);

        &:hover {
            background: linear-gradient(180deg, #23e165, #0fb253 100%);
        }

        &:active {
            background: linear-gradient(180deg, #31eb72, #24be64 100%);
        }
    }

    .start-btn {
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);

        &:hover {
            background: linear-gradient(180deg, #7daaff, #5c75f1 100%);
        }

        &:active {
            background: linear-gradient(180deg, #7ba9ff, #7287f3 100%);
        }
    }

    button {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
        width: 100%;
        border-radius: 13px;
        height: 56px;
        border: none;
        outline: none;
        cursor: pointer;
    }
}

.coef-slider {
    width: 280px;
}

.coef-item {
    border-radius: 12px;
    background: #191b26;
    height: 52px;
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 107.2%;
    padding: 17px 0 16px 0;
    border: none;
    outline: none;
}

.coef-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.coef-btn {
    width: 52px;
    height: 52px;
    border-radius: 11px;
    background: #191b26;
    border: none;
    outline: none;
    color: #4d4f59;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

    &:hover {
        background: #1d1f2a;
    }

    &:active {
        background: #20222d;
        color: #ffffff;
    }
}

.dice-game {
    border-radius: 31px;
    background: #151721;
    padding: 28px 28px 52px 28px;
    position: relative;
    margin-top: 24px;

    .group-icon {
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
    }

    .game-header {
        position: absolute;
        left: 28px;
        top: 28px;
    }
}

.dice-wrapper {
    max-width: 704px;
    margin: 0 auto;
}

.dice-roll {
    display: flex;
    align-items: center;
    justify-content: space-between;

    &.loose {
        span {
            box-sizing: border-box;
            border: 2px solid #1c1f2c;
            border-radius: 20px;
            background: linear-gradient(180deg, #151721, #eb4959 100%);
        }
    }

    &.win {
        span {
            box-sizing: border-box;
            border: 2px solid #1c1f2c;
            border-radius: 20px;
            background: linear-gradient(180deg, #151721, #0fc351 100%);
        }
    }

    span {
        display: inline-block;
        padding: 24px 31px 19px 31px;
        color: #ffffff;
        font-family: Google Sans;
        font-size: 80px;
        font-weight: 700;
        line-height: 131.2%;
        box-sizing: border-box;
        border: 2px solid rgb(28, 31, 44);
        border-radius: 20px;
        background: linear-gradient(180deg, rgb(21, 23, 33), rgb(27, 30, 43) 100%);
    }
}

.dice-game-inputs {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin-top: 24px;

    .game-input-wrapper {
        width: 100%;
    }
}

.maybe-win {
    width: 100%;
    border-radius: 8px;
    background: linear-gradient(180deg, #6a9eff33, #4f68e333 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9.5px 27px;
    margin-top: 48px;

    .maybe-win-value {
        display: flex;
        align-items: center;
        gap: 8px;

        span {
            background: linear-gradient(180deg, #6a9eff, #4f68e3);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-family: Google Sans;
            font-size: 16px;
            font-weight: 700;
            line-height: 127%;
            letter-spacing: 0%;
            text-align: left;
        }
    }

    p {
        color: #ffffff99;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
        letter-spacing: 0%;
    }
}

.dice-btns {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;

    button {
        border-radius: 13px;
        width: 100%;
        height: 56px;
        border: none;
        outline: none;
        color: #ffffff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
        cursor: pointer;
    }

    .less-btn {
        background: linear-gradient(180deg, #ff6264, #cd2549 119.444%);
    }

    .more-btn {
        background: linear-gradient(180deg, #12d356, #07a448 100%);
    }
}

.agreement-page {
    .group-header {
        margin-top: 44px;
        padding-bottom: 16px;
    }

    .group-icon {
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
    }
}

.agreement-title {
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 127%;
    margin: 24px 0;
}

.agreement-text {
    color: #767880;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 170%;
}

.tournment-info {
    max-width: 457px;
    width: 100%;
    border-radius: 20px;
    background: #151721;
    padding: 18px 18px 16px 18px;

    h3 {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
    }

    p {
        color: #767880;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 131%;
        margin-top: 12px;
        margin-bottom: 26px;
    }

    button {
        border-radius: 13px;
        background: #1d1f2c;
        width: 100%;
        height: 52px;
        border: none;
        outline: none;
        cursor: pointer;
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;

        &:active {
            background: #1d1f2c;
        }

        &:hover {
            background: #232532;
        }
    }
}

.tournament-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    background: #151721;
    padding: 26px 72.21px 25px 36.11px;
    margin-top: 20px;

    div {
        display: flex;
        align-items: center;

        &:nth-child(1) {
            gap: 61.17px;
        }

        gap: 148.17px;

        p {
            color: #33353e;
            font-family: Google Sans;
            font-size: 20px;
            font-weight: 500;
            line-height: 25px;
            letter-spacing: 0%;
            text-align: left;
        }
    }
}

.tournament-table-body {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet-history-wrapper {
    display: none;
}

.wallet-modal {
    &.history {
        width: 559px;

        .wallet-menu {
            width: 100%;
        }

        .payment-systems {
            display: none;
        }
    }
}

.tournament-table-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 48px 16px 36px;
    border-radius: 20px;
    background: #151721;

    .left {
        display: flex;
        gap: 72px;

        span {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            border-radius: 12px;
            background: #1d1f2c;
            color: #767880;
            font-family: Google Sans;
            font-size: 20px;
            font-weight: 500;
            line-height: 25px;
        }

        div {
            display: flex;
            align-items: center;
            gap: 16px;
            color: #f9fbff;
            font-family: Google Sans;
            font-size: 20px;
            font-weight: 500;
            line-height: 25px;

            img {
                width: 44px;
                height: 44px;
                object-fit: contain;
                border-radius: 15px;
            }
        }
    }

    .right {
        display: flex;
        align-items: center;
        gap: 79px;

        .score {
            background: linear-gradient(180deg, #6a9eff, #4f68e3);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 700;
            line-height: 127%;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .reward {
            background: linear-gradient(180deg, #ff6264, #cd2549);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-family: Google Sans;
            font-size: 20px;
            font-weight: 500;
            line-height: 25px;
            display: flex;
            align-items: center;
            gap: 4px;
        }
    }
}

.tournament-conditions {
    display: flex;
    gap: 12px;
}

.timer-count {
    p {
        color: #fab0be;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
    }
}

.timer-compare {
    display: flex;
    align-items: center;
}

.timer {
    .separator {
        color: rgb(250, 176, 190);
        font-family: Google Sans;
        font-size: 36.81px;
        font-weight: 700;
        line-height: 131.2%;
        margin: 0 15px;
        margin-bottom: 38px;
    }
}

.time-type {
    color: #fab0be;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 127%;
    text-align: center;
    margin-top: 12px;
}

.faq-page {
    margin-top: 44px;
    margin-bottom: 36px;

    .group-icon {
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
    }
}

.faq-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: 14px;
    background: #151721;

    .group-icon {
        background: #1d1f2c;
        width: 48px;
        height: 48px;
    }

    .group-title {
        h3 {
            font-size: 18px;
        }
    }

    span {
        color: #4d4f59;
    }
}

.faq-item-body {
    p {
        color: #767880;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 170%;
        margin-top: 20px;
    }
}

.faq-wrapper {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.modal-layout {
    background: #0a0a0ecc;
    backdrop-filter: blur(14px);
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    min-height: 100vh;
    padding: 20px 0;
}

.wallet-modal {
    border-radius: 20px;
    background: #101118;
    display: flex;
    width: 818px;
    overflow: hidden;
    margin: auto;
    min-height: calc(100vh - 300px);

    .group-icon {
        background: linear-gradient(180deg, #12d356, #07a448 100%);
    }
}

.wallet-history-modal {
    display: none;
    width: 559px;
    border-radius: 20px;
    overflow: hidden;
    border-radius: 14px;
    background: #151721;

    .wallet-menu {
        width: 100%;
    }

    .group-icon {
        background: linear-gradient(180deg, #12d356, #07a448 100%);
    }
}

.wallet-history-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-bottom: 1px solid #1d1f2c;
    margin-top: 40px;
    margin-bottom: 34px;

    button {
        font-family: Google Sans;
        color: #4d4f59;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
        width: fit-content;
        background: transparent;
        outline: none;
        border: none;
        position: relative;
        cursor: pointer;
        padding-bottom: 14px;

        &.active {
            color: #ffffff;

            &::after {
                content: "";
                display: block;
                width: 100%;
                height: 4px;
                border-radius: 18px;
                background: linear-gradient(180deg, #12d356, #07a448 100%);
                position: absolute;
                bottom: -1px;
            }
        }
    }
}

.deposite-history {
    display: none;

    .table-header {
        padding: 16px 53px 18px 24px;
        border-radius: 13px;
        background: #191b26;
        display: grid;
        grid-template-columns: repeat(3, 1fr);

        p {
            color: #33353e;
            font-family: Google Sans;
            font-size: 16px;
            font-weight: 500;
            line-height: 20px;

            &:nth-child(2) {
                margin-left: 10px;
            }

            &:nth-child(3) {
                justify-self: end;
            }
        }
    }

    .table-body {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 12px;

        .table-item {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            padding: 18px 24px 16px 24px;
            border-radius: 13px;
            background: #1d1f2c;

            p {
                border-radius: 13px;
                background: #1d1f2c;
                color: #f9fbff;
                font-family: Google Sans;
                font-size: 16px;
                font-weight: 500;
                line-height: 20px;

                &:nth-child(3) {
                    justify-self: end;
                }
            }
        }
    }
}

.agreement-page {
    .group-title {
        &.sub {
            margin-top: 44px;
            margin-bottom: 32px;
        }
    }
}

.withdraw-history {
    .table-header {
        padding: 16px 53px 18px 24px;
        border-radius: 13px;
        background: #191b26;
        display: grid;
        grid-template-columns: repeat(4, 1fr);

        p {
            color: #33353e;
            font-family: Google Sans;
            font-size: 16px;
            font-weight: 500;
            line-height: 20px;

            &:nth-child(4) {
                justify-self: end;
            }
        }
    }

    .table-body {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 12px;

        .table-item {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            padding: 18px 24px 16px 24px;
            border-radius: 13px;
            background: #1d1f2c;
            gap: 10px;

            p {
                border-radius: 13px;
                background: #1d1f2c;
                color: #f9fbff;
                font-family: Google Sans;
                font-size: 16px;
                font-weight: 500;
                line-height: 20px;

                &:nth-child(2) {
                    margin-left: -15px;
                }

                &:nth-child(4) {
                    justify-self: end;
                    width: 87px;

                    .completed {
                        background: linear-gradient(180deg, #12d356, #07a448);
                        -webkit-background-clip: text;
                        -webkit-text-fill-color: transparent;
                        background-clip: text;
                    }

                    .waiting {
                        color: #767880;
                    }

                    .pending {
                        color: #12b6d3;
                    }

                    .canceled {
                        background: linear-gradient(180deg, #ff6264, #cd2549);
                        -webkit-background-clip: text;
                        -webkit-text-fill-color: transparent;
                        background-clip: text;
                    }
                }
            }
        }
    }
}

.wallet-modal {
    display: none;
}

.wallet-menu {
    width: 50%;
    border-radius: 0px 30px 30px 0px;
    background: #151721;
}

.wallet-menu {
    padding: 35px 40px 36px 40px;
}

.provider-select-body {
    position: absolute;
    top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    z-index: 2;
    border-radius: 15px;
    background: #191b26;
    padding: 36px 24px 33px 24px;
}

.faq-item-header svg.active {
    transform: rotate(90deg);
    transition: transform 0.3s;
}

.provider-option {
    color: #4d4f59;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 127%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

    &:hover {
        color: #fff;
    }
}

.wallet-type-select {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 19px;

    button {
        color: #4d4f59;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
        border-radius: 13px;
        background: #1d1f2c;
        height: 56px;
        outline: none;
        border: none;
        cursor: pointer;

        &:hover {
            border-radius: 13px;
            background: #232532;
        }

        &.active {
            border-radius: 13px;
            background: linear-gradient(180deg, #12d356, #07a448 100%);
            color: #fff;
        }

        &.wallet-history-btn {
            grid-column: span 2;
        }
    }
}

.wallet-wariant-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    h3 {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 20px;
        font-weight: 500;
        line-height: 25px;
    }
}

.modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: #1d1f2c;
    color: #4d4f59;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

    &:hover {
        background: #1d1f2a;
    }

    &:active {
        background: #20222d;
        color: #fff;
    }
}

.menu-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: #1d1f2c;
    color: #4d4f59;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

    img {
        width: 20px;
    }

    &:hover {
        background: #1d1f2a;
    }

    &:active {
        background: #20222d;
        color: #fff;
    }
}

.history-close {
    display: flex !important;
}

.payment-system-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 12px;
    background: #191b26;
    opacity: 0.84;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 8px 12px 8px 16px;

    &.active {
        background: #242634;
        opacity: 0.84;

        .payment-system-icon {
            background: #35384c;
        }
    }

    &:hover {
        border-radius: 12px;
        background: #1f212c;
        opacity: 0.84;

        .payment-system-icon {
            border-radius: 9px;
            background: #2a2c39;
        }
    }
}

.deposite-block,
.withdraw-block {
    padding: 36px 40px 36px 40px;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.payment-systems {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.payment-system-procent {
    color: #4d4f59;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 23px;
}

.payment-system-title {
    display: flex;
    align-items: center;
    gap: 8px;

    p {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
    }

    .payment-system-icon {
        border-radius: 9px;
        background: #1d1f2c;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.wallet-confirm {
    width: 100%;
    height: 56px;
    border-radius: 13px;
    background: linear-gradient(180deg, #12d356, #07a448 100%);
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 23px;
    border: none;
    outline: none;
    cursor: pointer;
    margin-top: 28px;

    &:hover {
        background: linear-gradient(180deg, #23e165, #0fb253 100%);
    }

    &:active {
        background: linear-gradient(180deg, #31eb72, #24be64 100%);
    }
}

.wallet-result {
    color: #4d4f59;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 127%;

    span {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 15px;
    }
}

.deposite-body {
    flex-grow: 1;
}

.table-history {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.wallet-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bonus-page {
    padding-top: 24px;

    .group-icon {
        background: linear-gradient(163.3deg, #fb7689 11.512%, #ea5a76 95.375%);
    }
}

.bonus-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 7px 12px;

    span {
        border-radius: 6px;
        background: #5f20ba;
        color: #c39cff;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }

    p {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 16px;
        font-weight: 500;
        line-height: 127%;
    }
}

.bonus-little-cards {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bonus-little-card {
    padding: 20px 28px 34px 28px;
    width: 100%;
    border-radius: 18px;

    .bonus-text {
        margin-top: 12px;
    }
}

.bonus-text {
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 20px;
    font-weight: 500;
    line-height: 148%;
    letter-spacing: 0%;
    text-align: left;
}

.welcome-bonus {
    background: linear-gradient(183.26deg, #9a5aee 9.799%, #6e43da 96.002%);

    .bonus-title {
        background: #7a3fdc;
    }
}

.promotion-bonus {
    background: linear-gradient(184deg, #12d356 16.821%, #07a448 85.407%);

    .bonus-title {
        background: #10a44c;

        span {
            background: #0e9040;
        }
    }
}

.rang-bonus {
    background: linear-gradient(181.94deg, #ff6062 2.432%, #cd2549 98.483%);

    .bonus-title {
        background: #e83a55;

        span {
            background: #c92840;
        }
    }
}

.bonus-btn {
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 127%;
    padding: 16px 54px 17px 54px;
    border-radius: 13px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 28px;

    &.btn-tg {
        background: #3fa0ef;

        &:hover {
            background: #53affa;
        }

        &:active {
            background: #68bafc;
        }
    }
}

.bonus-big-cards {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;

    .bonus-text {
        margin-top: 16px;
    }
}

.bonus-big-card {
    background-size: cover;
    width: 100%;
    padding: 20px 28px 24px 28px;
    border-radius: 18px;

    .bonus-title {
        .bonus-btn {
            margin-top: 28px;
        }
    }
}

.tg-card {
    background: url("/assets/images/tg-bg.png?v=1") no-repeat;

    .bonus-title {
        background: #0b8ad1;

        span {
            background: #076fa9;
        }
    }

    &.btn-tg {
        background: #3fa0ef;

        &:hover {
            background: #53affa;
        }

        &:active {
            background: #68bafc;
        }
    }
}

.vk-card {
    background: url("/assets/images/vk-bg.png?v=2") no-repeat;

    .bonus-title {
        background: #1062c9;

        span {
            background: #004aa7;
        }
    }

    .btn-vk {
        background: #3e72d6;

        &:hover {
            background: #4d81e4;
        }

        &:active {
            background: #5d8eea;
        }
    }
}

.bonus-fields-cards {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.bonus-fields-card {
    border-radius: 18px;
    background: #191b26;
    padding: 20px 28px 20px 28px;
    width: 100%;

    .btn-primary {
        margin-top: 20px;
    }

    .maybe-win {
        margin-top: 30px;
        height: 42px;
    }

    .game-input-wrapper {
        margin-top: 20px;
    }

    &.bonus-activation {
        .btn-primary {
            margin-top: 12px;
        }
    }
}

.social-connect-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 13px;
    background: #1d1f2c;
    padding: 8px 8px 8px 16px;

    .btn-primary {
        width: 129px;
        height: 48px;
    }

    .social-connect-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: linear-gradient(180deg, #5daff2, #3481c0 100%);

        img {
            width: 20px;
            height: 20px;
        }
    }
}

.social-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4d4f59;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 127%;
}

.profile-page {
    .group-icon {
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
    }
}

.profile-block {
    display: flex;
    gap: 22px;
    padding: 28px 30px;
    border-radius: 25px;
    background: #151721;

    .profile-block-title {
        margin-bottom: 12px;
    }

    p {
        color: #33353e;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
    }

    .profile-img {
        width: 176px;
        height: 176px;
        border-radius: 15px;
    }
}

.btn-primary {
    background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 127%;
    width: 100%;
    height: 56px;
    border-radius: 12px;
    border: none;
    outline: none;
    cursor: pointer;

    &:hover {
        background: linear-gradient(180deg, #7daaff, #5c75f1 100%);
    }

    &:active {
        background: linear-gradient(180deg, #7ba9ff, #7287f3 100%);
    }
}

.profile-exit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #943428;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 127%;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    margin-top: 68px;

    &:hover {
        color: #b74233;
    }

    &:active {
        color: #c84b3b;
    }
}

.profile-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.avatar-change {
    grid-column: span 2;
    border-radius: 25px;
    background: #151721;
    padding: 28px 41px 32px 48px;
}

.profile-block-title {
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 500;
    line-height: 127%;

    span {
        color: #4d4f59;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 700;
        line-height: 23px;
    }
}

.border-container {
    position: relative;
    display: inline-block;

    &.active {
        &::before {
            content: "";
            position: absolute;
            top: 1px;
            left: 1px;
            right: 1px;
            bottom: 1px;
            border: 3px solid #4f68e3ff;
            border-radius: 15px;
        }
    }

    &:active {
        &::before {
            content: "";
            position: absolute;
            top: 1px;
            left: 1px;
            right: 1px;
            bottom: 1px;
            border: 3px solid #4f68e3ff;
            border-radius: 15px;
        }
    }
}

.avatars-list {
    display: flex;
    align-items: center;
    margin-top: 31px;
    gap: 8px;

    .border-container {
        position: relative;
        display: inline-block;

        &.active {
            &::before {
                content: "";
                position: absolute;
                top: 0px;
                left: 0px;
                right: 0px;
                bottom: 1px;
                border: 3px solid #4f68e3ff;
                border-radius: 15px;
                z-index: 2;
            }

            button {
                opacity: 1;
            }
        }

        &:active {
            &::before {
                content: "";
                position: absolute;
                top: 0px;
                left: 0px;
                right: 0px;
                bottom: 1px;
                border: 3px solid #4f68e3ff;
                border-radius: 15px;
                z-index: 2;
            }

            button {
                opacity: 1;
            }
        }
    }

    button {
        position: relative;
        width: 118px;
        height: 118px;
        background: transparent;
        border-radius: 15px;
        border: none;
        outline: none;
        cursor: pointer;
        opacity: 0.12;

        &:hover {
            opacity: 0.42;
        }

        img {
            width: 100%;
            height: 100%;
        }
    }
}

.social-connect,
.promo-create,
.statistic {
    padding: 28px 32px 28px 32px;
    border-radius: 25px;
    background: #151721;

    .profile-block-title {
        margin-bottom: 20px;
    }
}

.referal-page {
    .group-icon {
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
    }
}

.promo-create {
    .game-input-wrapper {
        margin-bottom: 8px;
    }

    .btn-primary {
        margin-top: 16px;
    }
}

.statistic-field-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
}

.statistic-field {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 16px 14px 16px;
    border-radius: 12px;
    background: #1d1f2c;

    p {
        &:nth-child(1) {
            color: #4d4f59;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 127%;
        }

        &:nth-child(2) {
            color: #f9fbff;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 127%;
        }
    }
}

.level-system {
    grid-column: span 3;
    border-radius: 25px;
    background: #151721;
    padding: 28px 28px 28px 32px;
}

.level-card {
    border-radius: 17px;
    background: #191b26;
    padding: 12px;
    min-width: 352px;

    &:nth-child(1) {
        .bonus-title {
            background: #e83a55;

            span {
                background: #b02136;
            }
        }
    }

    &:nth-child(2) {
        .bonus-title {
            background: #7a3fdc;

            span {
                background: #5f20ba;
            }
        }
    }

    &:nth-child(3) {
        .bonus-title {
            background: #10a44c;

            span {
                background: #10843c;
            }
        }
    }

    &:nth-child(4) {
        .bonus-title {
            background: #358dd6;

            span {
                background: #1569af;
            }
        }
    }

    &:nth-child(5) {
        .bonus-title {
            background: #ff9b4a;

            span {
                background: #e37318;
            }
        }
    }

    &:nth-child(6) {
        .bonus-title {
            background: #2dd4bf;

            span {
                background: #0f8f82;
            }
        }
    }

    &:nth-child(7) {
        .bonus-title {
            background: #f472b6;

            span {
                background: #c2417b;
            }
        }
    }

    &:nth-child(8) {
        .bonus-title {
            background: #a78bfa;

            span {
                background: #6d47f0;
            }
        }
    }

    &:nth-child(9) {
        .bonus-title {
            background: #22c55e;

            span {
                background: #148a3d;
            }
        }
    }

    &:nth-child(10) {
        .bonus-title {
            background: #facc15;

            span {
                background: #d6a102;
            }
        }
    }
}

.level-list {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    padding-bottom: 5px;
    position: relative;
    overflow: hidden;

    &::after {
        content: '';
        position: static;
        width: 0;
        height: 0;
        background: transparent;
        filter: none;
    }

    &::-webkit-scrollbar {
        width: 3px;
        height: 3px;
        background: #101118;
    }

    &::-webkit-scrollbar-thumb {
        background: #191b26;
    }
}

.exp-info {
    color: #4d4f59;
    font-family: Google Sans;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.level-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.level-value-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .level-value-label {
        color: #ffffff;
        font-family: Google Sans;
        font-size: 20px;
        font-weight: 700;
        line-height: 25px;
    }

    .level-value {
        color: #ffffff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
        display: flex;
        align-items: center;
        gap: 3.14px;
    }
}

.level-pluses {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;

    div {
        border-radius: 8px;
        width: 100%;
        padding: 7px 20px;

        &:nth-child(1) {
            background: #e83a5533;

            p {
                background: linear-gradient(180deg, #ff6264, #cd2549);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                font-family: Google Sans;
                font-size: 18px;
                font-weight: 500;
                line-height: 127%;
                text-align: center;
            }
        }

        &:nth-child(2) {
            background: #3a74e833;

            p {
                background: linear-gradient(180deg, #6a9eff, #4f68e3);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                font-family: Google Sans;
                font-size: 18px;
                font-weight: 500;
                line-height: 127%;
                text-align: center;
            }
        }

        &:nth-child(3) {
            background: rgba(45, 212, 191, .14);

            p {
                background: linear-gradient(180deg, #99F6E4 0%, #2DD4BF 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                font-family: Google Sans;
                font-size: 18px;
                font-weight: 500;
                line-height: 127%;
                text-align: center;
            }
        }
    }
}

.level-bonus-wide {
    margin-top: 12px;
    background: #27ae6033;
    border-radius: 8px;
    padding: 7px 20px;
    width: 100%;

    p {
        background: linear-gradient(180deg, #5fff85, #2ba567);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
        text-align: center;
    }
}


.referal-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.referal-side {
    min-width: 344px;
}

.referal-link {
    border-radius: 15px;
    background: #151721;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px 8px 20px;
    width: 344px;

    input {
        border-radius: 15px;
        background: #151721;
        width: 100%;
        height: 64px;
        border: none;
        outline: none;
        color: #4d4f59;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
    }

    button {
        min-width: 48px;
        height: 48px;
        border: none;
        outline: none;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
        cursor: pointer;

        &:hover {
            background: linear-gradient(180deg, #7daaff, #5c75f1 100%);
        }

        &:active {
            background: linear-gradient(180deg, #7ba9ff, #7287f3 100%);
        }
    }
}

.chart-container {
    padding: 55px 75px 27px 44px;
    background: #151721;
    border-radius: 25px;
    flex: 1;

    #myChart {
        width: 100% !important;
    }
}

.statistic-wrapper {
    padding: 24px;
    border-radius: 22px;
    background: #151721;
    margin-top: 12px;
}

.statistic-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.statistic-item {
    padding: 16px 28px;
    border-radius: 12px;
    background: #1d1f2c;

    p {
        &:nth-child(1) {
            color: #4d4f59;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 127%;
        }

        &:nth-child(2) {
            color: #f9fbff;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 127%;
            margin-top: 8px;
        }
    }
}

.referal-table-header,
.referal-table-item {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    p {
        &:nth-child(5) {
            justify-self: end;
        }
    }
}

.referal-table-item {
    p {
        &:nth-child(4) {
            margin-left: 30px;
        }
    }
}

.referal-table-header {
    p {
        &:nth-child(2) {
            margin-left: 30px;
        }

        &:nth-child(3) {
            margin-left: 10px;
        }

        &:nth-child(4) {
            margin-left: 15px;
        }

        &:nth-child(5) {
            justify-self: end;
        }
    }
}

.referal-table-wrapper {
    padding: 36px 44px;
    border-radius: 25px;
    background: #151721;
}

.referal-table-header {
    border-radius: 15px;
    background: #191b26;
    padding: 22px 40px 19px 40px;
    margin-bottom: 12px;

    p {
        color: #33353e;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
    }
}

.referal-table-item {
    border-radius: 15px;
    background: #1d1f2c;
    padding: 21px 40px 20px 40px;

    p {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 23px;
    }
}

.referal-table-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.referal-arrow-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.referal-table-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.referal-table-text {
    h3 {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
    }

    p {
        color: #4d4f59;
        font-family: Google Sans;
        font-size: 18px;
        font-weight: 500;
        line-height: 127%;
    }
}

.tournament-page {
    .group-header {
        margin-top: 24px;
    }

    .group-icon {
        background: linear-gradient(180deg, #ff6164, #cd2549 119.444%);
    }
}

.tournament-time {
    border-radius: 20px;
    background: linear-gradient(180.55deg, #fe5e62 7.851%, #cd2549 98.731%);
    padding: 24px 28px 28px 28px;

    h3 {
        color: #f9fbff;
        font-family: Google Sans;
        font-size: 34px;
        font-weight: 700;
        line-height: 127%;
        margin: 16px 0;
    }

    .prize-side {
        .prize-label {
            color: #f18da0;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 127%;
            margin-bottom: 16px;
        }

        .prize-value {
            display: inline-block;
            color: #f9fbff;
            font-family: Google Sans;
            font-size: 20px;
            font-weight: 700;
            line-height: 25px;
            letter-spacing: -2%;
            border-radius: 12px;
            background: #ec3f5a;
            padding: 14px 39.5px 13px 39.5px;
        }
    }

    .bonus-title {
        background: #e93955;

        span {
            background: #ca2840;
        }
    }
}

.border-wrapper {
    &.second-place {
        background: #79787e;
        background: linear-gradient(190deg,
                rgba(121, 120, 126, 1) 0%,
                rgba(25, 27, 38, 1) 86%);
        height: 180px;
    }

    &.first-place {
        background: rgb(255, 162, 21);
        background: linear-gradient(180deg,
                rgba(255, 162, 21, 1) 0%,
                rgba(25, 27, 38, 1) 92%);
        height: 200px;
    }

    &.third-place {
        background: #79787e;
        background: rgb(22, 23, 33);
        background: linear-gradient(0deg,
                rgba(22, 23, 33, 1) 14%,
                rgba(199, 102, 60, 1) 100%);
        height: 168px;
    }

    padding: 4px;
    border-radius: 23px;
    width: 100%;
}

.tournament-place {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #191b26;
    display: flex;
    flex-direction: column;

    .avatar-place {
        flex-grow: 1;

        img {
            width: 96px;
            height: 96px;
            border-radius: 50%;
            object-fit: contain;
            margin-top: -48px;
        }

        p {
            color: #f9fbff;
            font-family: Google Sans;
            font-size: 20px;
            font-weight: 500;
            line-height: 25px;
            margin-top: 16px;
        }
    }
}

.result-place-value {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;

    div {
        display: flex;
        gap: 4px;
        align-items: center;
        border-radius: 8px;
        padding: 7px 12px;

        &:nth-child(1) {
            border-radius: 8px;
            background: #0f0e0e33;

            p {
                background: linear-gradient(180deg, #ff6264, #cd2549);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                font-family: Google Sans;
                font-size: 16px;
                font-weight: 700;
                line-height: 127%;
                letter-spacing: 0%;
                text-align: left;
            }
        }

        &:nth-child(2) {
            background: #3a74e833;

            p {
                background: linear-gradient(180deg, #6a9eff, #4f68e3);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                font-family: Google Sans;
                font-size: 16px;
                font-weight: 700;
                line-height: 127%;
            }
        }
    }
}

.avatar-place {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.mobile-menu-opened {
    display: none;
}

.timer-border {
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(222, 57, 82, 1) 84%);
    border-radius: 16.2px;
    padding: 3px;

    span {
        border-radius: 16.2px;
        background: rgb(255, 115, 122);
        background: linear-gradient(0deg,
                rgba(255, 115, 122, 1) 0%,
                rgba(220, 53, 81, 1) 90%);
    }
}

.tournament-places {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-top: 87px;
    margin-bottom: 52px;
}

.tournament-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.timer-count {
    display: flex;
    gap: 6px;

    span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 63px;
        height: 96px;
        border-radius: 16.2px;
        background: rgb(255, 115, 122);
        background: linear-gradient(0deg,
                rgba(255, 115, 122, 1) 0%,
                rgba(220, 53, 81, 1) 90%);
        color: #ffffff;
        font-family: Google Sans;
        font-size: 36.81px;
        font-weight: 700;
        line-height: 131.2%;
        position: relative;
    }
}

@media (max-width: 1620px) {
    .container {
        max-width: 100%;
        padding: 0 120px;
    }

    .slots-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .avatars-list {
        overflow-x: auto;

        &::-webkit-scrollbar {
            width: 3px;
            height: 3px;
            background: #101118;
        }

        &::-webkit-scrollbar-thumb {
            background: #191b26;
        }
    }

    .all-slots-wrapper {
        height: 586px;
    }
}

@media (max-width: 1280px) {
    .container {
        max-width: 980px;
        padding: 0;
    }

    .profile-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .bonus-little-cards {
        align-items: normal;
    }

    .original-games-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-filter-wrapper {
        flex-direction: column;
    }

    .nav {
        display: none;
    }

    .sidebar {
        display: none;
    }
}

@media (max-width: 1280px) {
    .container {
        max-width: 980px;
        padding: 0;
    }

    .bonus-little-cards {
        align-items: normal;
    }

    .original-games-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-filter-wrapper {
        flex-direction: column;
    }

    .nav {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .game-filter-btns {
        overflow-x: auto;
        gap: 8px;
        width: 100%;
    }

    body {
        padding-bottom: 78.72px;
    }

    .mobile-menu {
        display: flex;
        align-items: end;
        gap: 21px;
        justify-content: space-between;
        width: 100%;
        background: rgb(13, 14, 22);
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 7;
        padding: 3px 24px 12px 24px;

        span {
            border-radius: 50%;
            height: 44px;
            width: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
        }

        a {
            img {
                width: 20px;
            }

            display: flex;
            align-items: center;
            flex-direction: column;
            gap: 4px;
        }

        p {
            color: #33353e;
            font-family: Google Sans;
            font-size: 12px;
            font-weight: 500;
            line-height: 131%;
        }
    }

    .mobile-menu-opened {
        display: none;
        position: fixed;
        bottom: 78.72px;
        border-radius: 24px 24px 0px 0px;
        padding: 28px 28px 20px 28px;
        width: 100%;
        background: #0d0e16;
        z-index: 10;
        transform: translateY(100%);
        transition: transform 0.3s ease;

        &.open {
            display: block;
            transform: translateY(0);
        }

        .group-header {
            margin-top: 0;
        }

        .group-icon {
            background: linear-gradient(180deg, #fe6753, #da3a28 100%);
        }

        .link-list {
            display: flex;
            flex-direction: column;
            gap: 8px;

            a {
                color: #4d4f59;
                font-family: Google Sans;
                font-size: 12px;
                font-weight: 700;
                line-height: 15px;
                text-decoration: none;
                display: flex;
                align-items: center;
                gap: 8px;
                width: 100%;
                padding: 12px 16px;
                border-radius: 10px;
                background: #191b26;
                opacity: 0.8;

                svg {
                    color: #f9fbff;
                    width: 20px;
                    height: 20px;
                }

                &.active {
                    color: #f9fbff;
                    font-family: Google Sans;
                    font-size: 12px;
                    font-weight: 700;
                    line-height: 15px;
                }
            }
        }
    }
}

@media (max-width: 1020px) {
    .slots-grid {
        grid-template-columns: repeat(4, 1fr);

        a {
            img {
                width: 100%;
            }
        }
    }

    .referal-wrapper {
        width: 100%;
        flex-direction: column;
    }

    .referal-side {
        width: 100%;
    }

    .referal-table-header,
    .referal-table-item {
        padding: 15px 20px 14px 20px;
        grid-template-columns: repeat(3, 1fr);

        & p {
            font-size: 12px;

            &:nth-child(2),
            &:nth-child(5) {
                display: none;
            }
        }
    }

    .chart-container {
        padding: 20px;
        width: 100%;
        height: 100%;
    }

    #myChart {
        width: 100% !important;
        height: 290px !important;
    }

    .referal-link {
        width: 100%;
    }
}

@media (max-width: 980px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    .all-slots-wrapper {
        height: 488px;
    }

    .group-nav {
        .arrow-btn {
            display: none;
        }
    }

    .agreement-title {
        font-size: 12px;
        margin: 12px 0;
    }

    .profile-wrapper {
        grid-template-columns: 1fr;
    }

    .avatar-change {
        grid-column: span 1;
    }

    .level-system {
        grid-column: span 1;
        padding: 20px;
    }

    .agreement-text {
        font-size: 12px;
    }

    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .slots-grid-toolbar {
        flex-direction: column;
        width: 100%;

        .providers-select-wrapper {
            min-width: 100%;
        }
    }

    .second-place {
        order: 2;
    }

    .first-place {
        order: 1;
    }

    .third-place {
        order: 3;
    }

    .bonus-little-cards {
        align-items: normal;
        flex-wrap: wrap;
    }

    .bonus-big-cards {
        flex-wrap: wrap;
    }

    .bonus-title {
        padding: 5px 8px;

        span {
            width: 18px;
            height: 18px;
        }

        svg {
            height: 10.29px;
        }

        p {
            font-size: 12px;
        }
    }

    .bonus-btn {
        width: 100%;
        margin-top: 18px;
        padding: 12px 54px 13px 54px;
        font-size: 12px;
    }

    .group-title {
        h3 {
            font-size: 16px;
        }

        .group-icon {
            width: 40px;
            height: 40px;

            img {
                width: 22px;
            }
        }
    }

    .bonus-text {
        font-size: 14px;
    }

    .original-games-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-filter-wrapper {
        flex-direction: column;
        display: flex;
        align-items: start;
        justify-content: space-between;
        margin-top: 16px;
        gap: 12px;
    }

    .deposite-history {
        .table-header {
            padding: 16px 53px 18px 24px;
            border-radius: 13px;
            background: #191b26;
            display: grid;
            grid-template-columns: repeat(3, 1fr);

            p {
                color: #33353e;
                font-family: Google Sans;
                font-size: 16px;
                font-weight: 500;
                line-height: 20px;

                &:nth-child(2) {
                    margin-left: 10px;
                }

                &:nth-child(3) {
                    justify-self: end;
                }
            }
        }

        .table-body {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 12px;

            .table-item {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                padding: 18px 24px 16px 24px;
                border-radius: 13px;
                background: #1d1f2c;

                p {
                    border-radius: 13px;
                    background: #1d1f2c;
                    color: #f9fbff;
                    font-family: Google Sans;
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 20px;

                    &:nth-child(3) {
                        justify-self: end;
                    }
                }
            }
        }
    }

    .nav {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .modal-layout {
        padding: 0 16px;
        height: 100%;
    }

    .wallet-result {
        margin-top: 44px;
        font-size: 12px;

        span {
            font-size: 12px;
        }
    }

    .modal-close-btn {
        width: 40px;
        height: 40px;

        img {
            width: 20px;
        }
    }

    .wallet-modal {
        flex-direction: column;
        width: 100%;
    }

    .payment-systems {
        flex-direction: row;
        overflow-x: auto;
    }

    .wallet-wariant-title {
        display: none;
    }

    .wallet-type-select {
        button {
            height: 44px;
            font-size: 12px;
        }
    }

    .wallet-menu {
        padding: 20px 14px 0px 14px;
        width: 100%;
        background: transparent;
    }

    .deposite-block,
    .withdraw-block {
        padding: 0 14px 24px 14px;
        width: 100%;
    }

    .bonus-fields-cards {
        flex-wrap: wrap;
    }

    .age-alert {
        order: 3;

        img {
            width: 32px;
            height: 32px;
        }

        p {
            font-size: 12px;
        }
    }

    .footer-socials {
        order: 2;
        gap: 8px;

        a {
            width: 32px;
            height: 32px;
            border-radius: 7.11px;

            img {
                width: 16px;
            }
        }
    }

    .hover-slots {
        display: none !important;
    }

    .footer-logo {
        order: 1;

        img {
            width: 106px;
            height: 30px;
        }
    }

    .game-input {
        input {
            height: 40px;
            font-size: 12px;
        }
    }

    .btn-primary {
        height: 40px;
        font-size: 12px;
    }

    .bonus-fields-card {
        .game-input-wrapper {
            margin-top: 8px;
        }
    }

    .game-input-wrapper {
        p {
            font-size: 12px;
        }
    }

    .maybe-win {
        margin-top: 16px;
        height: 32px;
        padding: 5px 12px;

        p {
            font-size: 12px;
        }

        & .maybe-win-value {
            span {
                font-size: 12px;
            }

            img {
                width: 18px;
            }
        }
    }

    .bonus-fields-card {
        .maybe-win {
            height: 32px;
            margin-top: 8px;
        }

        .btn-primary {
            margin-top: 8px;
        }
    }

    .tournment-info {
        max-width: 100%;
        width: 100%;
        border-radius: 20px;
        background: #151721;
        padding: 18px 18px 16px 18px;

        h3 {
            color: #f9fbff;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 127%;
        }

        p {
            color: #767880;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 131%;
            margin-top: 12px;
            margin-bottom: 26px;
        }

        button {
            border-radius: 13px;
            background: #1d1f2c;
            width: 100%;
            height: 52px;
            border: none;
            outline: none;
            cursor: pointer;
            color: #f9fbff;
            font-family: Google Sans;
            font-size: 18px;
            font-weight: 500;
            line-height: 23px;

            &:active {
                background: #1d1f2c;
            }

            &:hover {
                background: #232532;
            }
        }
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: start;
        gap: 20px;
    }

    .game-field-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 300px;
    }

    .coef-btn {
        min-width: 40px;
        width: 40px;
        height: 40px;
    }

    .coef-list {
        width: 300px;
    }

    .coef-item {
        font-size: 12px;
        padding: 13.5px 0 14.5px 0;
    }

    .avatar-change {
        padding: 20px;
    }

    .mines-counter,
    .candy-counter {
        padding: 10px 12px;
    }

    .game-wrapper {
        flex-direction: column-reverse;
    }

    .group-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 24px;

        .arrow-btn {
            display: flex;
            width: 40px;
            height: 40px;
        }
    }

    .game-input-select-btns {
        padding-right: 24px;

        button {
            width: 36px;
            height: 30px;
            font-size: 12px;
        }
    }

    .loader {
        img {
            width: 161px;
        }

        .loading-progress {
            width: 161px;
            height: 2px;
            margin-top: 16px;
        }
    }

    .game-right-side {
        border-radius: 12px;

        .group-header {
            display: flex;
        }
    }

    .tournament-table-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 20px;
        background: #151721;
        padding: 26px 72.21px 25px 36.11px;
        margin-top: 20px;

        .person-table-label {
            display: none;
        }

        div {
            display: flex;
            align-items: center;
            gap: 66.17px;

            p {
                font-size: 12px;
            }
        }
    }

    .tournament-table-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 48px 16px 36px;
        border-radius: 20px;
        background: #151721;

        .left {
            display: flex;
            gap: 8px;

            span {
                width: 28px;
                height: 28px;
                border-radius: 5px;
                font-size: 12px;
            }

            div {
                font-size: 12px;

                img {
                    display: none;
                }
            }
        }

        .right {
            display: flex;
            align-items: center;
            gap: 25.3px;

            .score {
                font-size: 12px;

                img {
                    width: 18px;
                }
            }

            .reward {
                font-size: 12px;

                img {
                    width: 18px;
                }
            }
        }
    }

    .fields-wrapper {
        order: 1;
        grid-template-columns: repeat(5, 56px);
        grid-template-rows: repeat(5, 56px);
        gap: 5px;
    }

    .mines-counter {
        order: 3;
    }

    .candy-counter {
        order: 2;
    }

    .counter {
        flex-direction: row;
        justify-content: space-between;
        width: 48%;
        background: #262836 !important;

        div {
            span {
                width: 28px;
                height: 28px;

                img {
                    width: 16px;
                    height: 16px;
                }
            }

            p {
                display: none;
            }
        }

        .counter-value {
            margin-top: 0;
        }
    }

    .game-input-select {
        input {
            font-size: 12px;
            padding-left: 24px;
        }
    }

    .game-input-btns {
        gap: 8px;
    }

    .mines-page {
        .game-left-side {
            display: flex;
            flex-direction: column;
            padding: 16px 14px 16px 14px;
            border-radius: 12px;

            .group-title {
                display: none;
            }

            .game-btns {
                order: 1;
                margin-bottom: 12px;

                button {
                    height: 40px;
                    font-size: 12px;
                }
            }

            .game-input-wrapper {
                order: 2;

                &.last {
                    order: 3;
                }
            }
        }

        .game-input-select {
            height: 44px;

            input {
                height: 44px;
            }
        }
    }

    .tournament-table-header {
        padding: 14px 72.21px 15px 36.11px;
    }

    .wallet-confirm {
        height: 44px;
        font-size: 12px;
    }

    .footer-bottom-right {
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }

    .wallet-btn {
        padding: 8px;
        border-radius: 8px;

        span {
            display: none;
        }
    }

    .auth-btn {
        padding: 8px;
        border-radius: 8px;

        span {
            display: none;
        }
    }

    .wallet-history-menu {
        margin-top: 28px;

        button {
            font-size: 12px;
            padding-bottom: 12px;
        }
    }

    .deposite-history {
        & .table-body {
            & .table-item {
                p {
                    font-size: 12px;
                }
            }
        }
    }

    .deposite-history {
        & .table-header {
            padding: 14px 40px 14px 28px;

            p {
                font-size: 12px;
            }
        }
    }

    .profile-balance {
        padding: 7px 11px;
        border-radius: 8px;

        p {
            font-size: 12px;
        }

        img {
            width: 22px;
        }
    }

    .logo {
        img {
            width: 106px;
            height: 30px;
        }
    }

    .dice-roll {
        gap: 7.5px;
        justify-content: center;

        span {
            display: inline-block;
            font-size: 37.16px;
            padding: 17.78px 21.57px 14.22px 22.46px;
        }
    }

    .dice-game {
        border-radius: 12px;

        .game-header {
            position: static;
            margin-bottom: 16px;
        }
    }

    .dice-game-inputs {
        flex-wrap: wrap;
    }

    .faq-item-header {
        .group-title {
            h3 {
                font-size: 12px;
            }

            .group-icon {
                width: 36px;
                height: 36px;
            }
        }
    }

    .faq-item-body {
        p {
            font-size: 12px;
        }
    }

    .open-slot-page {
        & .options-block {
            button {
                width: 40px;
                height: 40px;

                img {
                    width: 20px;
                    height: 20px;
                }
            }
        }
    }

    .level-list {
        flex-direction: column;
    }

    .level-card {
        min-width: 100%;
    }

    .avatars-list {
        overflow-x: auto;
        gap: 4px;

        button {
            width: 100%;
            height: 56px;

            &.active {
                &::before {}
            }
        }
    }

    .agreement-page {
        .group-title {
            &.sub {
                margin-top: 24px;
                margin-bottom: 16px;
            }
        }
    }

    .fields-wrapper {
        display: grid;
        grid-template-columns: repeat(5, 56px);
        grid-template-rows: repeat(5, 56px);
        gap: 10px;

        .mines-field {
            img {
                display: none;
            }

            &.bomb {
                .bomb-field {
                    width: 34px;
                    height: 34px;
                }
            }

            &.candy {
                .candy-field {
                    width: 29px;
                    height: 29px;
                }
            }
        }
    }

    .profile-block {
        .profile-img {
            width: 132px;
            height: 132px;
        }
    }

    .avatars-list {
        & .border-container {
            &.active {
                &::before {
                    border-radius: 6px;
                }
            }
        }
    }

    .game-input-btns {
        button {
            font-size: 12px;
            height: 40px;
        }
    }

    .avatars-list {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        max-width: 100%;
    }

    .border-container {
        flex: 0 0 auto;
        margin: 0 5px;
    }

    .avatars-list img {
        max-width: 100%;
        height: auto;
    }

    .level-pluses {
        div {
            padding: 5px 13px 5px 12px;

            p {
                font-size: 12px;
            }
        }
    }

    .level-list {
        &::after {
            display: none;
        }
    }

    .level-value-wrapper {
        .level-value-label {
            font-size: 16px;
        }

        .level-value {
            font-size: 12px;

            img {
                width: 16px;
            }
        }
    }

    .exp-info {
        font-size: 12px;
    }

    .provider-card {
        margin-top: 12px;

        img {
            width: 60%;
        }
    }

    .level-pluses {
        & div {
            &:nth-child(1) {
                p {
                    font-size: 12px;
                }
            }

            &:nth-child(2) {
                p {
                    font-size: 12px;
                }
            }
        }
    }

    .providers-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .level-card-header {
        margin-bottom: 20px;
    }

    .level-pluses {
        margin-top: 12px;
    }

    .profile-block-title {
        font-size: 12px;

        span {
            font-size: 12px;
        }
    }

    .statistic-field {
        padding: 15px 14px 14px 14px;

        & p {
            &:nth-child(1) {
                font-size: 12px;
            }

            &:nth-child(2) {
                font-size: 12px;
            }
        }
    }

    .referal-table-wrapper {
        padding: 20px;
    }

    .referal-table-text {
        h3 {
            font-size: 12px;
        }

        p {
            font-size: 12px;
        }
    }

    .statistic-item {
        & p {
            &:nth-child(1) {
                font-size: 12px;
            }

            &:nth-child(2) {
                font-size: 12px;
            }
        }
    }

    .payment-system-title {
        p {
            font-size: 12px;
        }
    }

    .payment-system-item {
        gap: 8px;
    }

    .payment-system-procent {
        font-size: 12px;
    }

    .payment-system-icon {
        width: 28px;
        height: 28px;

        img {
            width: 16.79px;
        }
    }

    .referal-link {
        input {
            height: 52px;
            font-size: 12px;
        }

        button {
            min-width: 36px;
            height: 36px;
            border-radius: 8px;

            img {
                width: 20px;
            }
        }
    }

    .referal-page {
        .group-icon {
            background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
        }
    }

    .referal-arrow-wrapper {
        .arrow-btn {
            width: 40px;
            height: 40px;
        }
    }

    .social-name {
        font-size: 12px;
    }

    .social-connect-item {
        .btn-primary {
            height: 32px;
            width: 103px;
            padding: 8px 10px 9px 10px;
        }
    }

    .profile-exit {
        font-size: 12px;
        margin-top: 50px;
    }

    .profile-block {
        p {
            font-size: 12px;
        }
    }

    .dice-btns {
        margin-top: 20px;

        button {
            height: 44px;
        }
    }

    .main-slider {
        height: 231px;
    }

    .group-nav {
        .arrow-btn {
            display: none;
        }
    }

    .dice-game {
        .group-header {
            margin-top: 0;
        }
    }

    .mines-page {
        .group-header {
            margin-top: 0;
        }

        .game-left-side {
            .group-header {
                display: none;
            }
        }
    }

    .wallet-menu {
        .modal-close-btn {
            display: flex;
        }
    }

    .last-game-table-header {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-radius: 14px;
        background: #151721;
        padding: 19px 48px 18px 48px;

        p {
            font-size: 12px;

            &:nth-child(2) {
                display: none;
            }

            &:nth-child(3) {
                display: none;
            }
        }
    }

    .last-game-table-body {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
        gap: 12px;
    }

    .last-game-table-item {
        grid-template-columns: repeat(3, 1fr);
        padding: 13px 48px 13px 48px;

        .history-game-name {
            p {
                font-size: 12px;
            }

            span {
                img {
                    width: 20px;
                }
            }
        }

        .history-profile-name {
            display: none;
        }

        .history-bet {
            display: none;
        }

        .history-bet,
        .history-result {
            p {
                font-size: 12px;
            }

            img {
                width: 28px;
            }
        }

        .history-result {
            justify-self: end;
        }

        .history-coeff {
            font-size: 12px;
        }
    }

    .main-slide {
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover !important;
        padding: 40px 20px 43px 20px;

        h3 {
            font-size: 16px;
        }

        p {
            font-size: 12px;
        }

        a {
            font-size: 12px;

            img {
                width: 20px;
            }
        }
    }

    .dice-game-inputs {
        gap: 16px;
        margin-top: 16px;
    }

    .game-input {
        img {
            width: 20px;
            top: 10px;
        }
    }

    .wallet-history-modal {
        width: 100%;
        padding-bottom: 24px;
    }

    .original-games {
        .game-name {
            span {
                width: 32px;
                height: 32px;

                img {
                    width: 20px;
                }
            }

            p {
                font-size: 12px;
            }
        }
    }


    .dice-game-img {
        height: 100%;
    }

    .mines-game-img {
        height: 100%;
    }

    .tournament-places {
        display: flex;
        flex-direction: column;
        align-items: end;
        gap: 72px;
        margin-top: 87px;
        margin-bottom: 52px;
    }

    .tournament-conditions {
        flex-direction: column;
    }

    .tournament-time {
        padding: 20px;
        background: linear-gradient(192.95deg, #fe5e62 9.716%, #cd2549 92.269%);
        border-radius: 12px;
        flex-direction: column;
        align-items: baseline;

        & .prize-side {
            width: 100%;

            .prize-value {
                width: 100%;
                text-align: center;
                margin-bottom: 22px;
            }
        }
    }

    .game-filter-btns {
        display: flex;
        align-items: center;
        gap: 8px;

        button {
            font-size: 12px;
            border-radius: 14px;
            background: #151721;
            padding: 8px 21px 8px 19px;
            display: flex;
            align-items: center;
            gap: 4px;

            svg {
                width: 20px;
                height: 20px;
            }
        }
    }

    .timer-border {
        padding: 2px;
        border-radius: 12px;
    }

    .timer {
        .separator {
            font-size: 22.09px;
            margin: 0 9px;
            margin-bottom: 38px;
        }
    }

    .search {
        position: relative;
        width: 100%;

        img {
            position: absolute;
            width: 20px;
            top: 50%;
            left: 22px;
            transform: translateY(-50%);
        }

        input {
            height: 36px;
            border-radius: 10px;
            font-size: 12px;
            padding-left: 47px;
        }
    }

    .swiper-pagination {
        display: none !important;
    }

    .timer-count {
        gap: 3px;

        span {
            font-size: 22px;
            min-width: 38px;
            height: 58px;
            border-radius: 10px;
        }
    }

    .withdraw-history {
        .table-header {
            padding: 16px 53px 18px 24px;
            border-radius: 13px;
            background: #191b26;
            display: grid;
            grid-template-columns: repeat(4, 1fr);

            p {
                color: #33353e;
                font-family: Google Sans;
                font-size: 11px;
                font-weight: 500;
                line-height: 20px;

                &:nth-child(4) {
                    justify-self: end;
                }
            }
        }

        .withdraw-history {
            .table-header {
                padding: 14px 40px 14px 24px;

                p {
                    font-size: 12px;
                }
            }
        }

        .table-body {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 12px;

            .table-item {
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                padding: 14px 20px 14px 20px;
                border-radius: 13px;
                background: #1d1f2c;
                gap: 10px;

                p {
                    border-radius: 13px;
                    background: #1d1f2c;
                    color: #f9fbff;
                    font-family: Google Sans;
                    font-size: 11px;
                    font-weight: 500;
                    line-height: 20px;

                    &:nth-child(2) {
                        margin-left: -15px;
                    }

                    &:nth-child(4) {
                        justify-self: end;
                        width: auto;
                    }
                }
            }
        }
    }
}

@media (max-width: 600px) {
    .dice-roll {
        span {
            padding: 9.78px 13.57px 6.22px 14.46px;
        }
    }

    .all-slots-wrapper,
    .popular-slots-wrapper {
        height: 386px;
    }

    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .slot-card {
        aspect-ratio: 185 / 244;
        display: block;
        overflow: hidden;
        border-radius: 16px;
    }

    .slot-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

@media (min-width: 992px) {
    .desktop-padding {
        padding: 5px;
    }
}

@media (max-width: 992px) {
    .footer-icons .hidemobile {
        display: none !important;
    }
}

.mines-field .bomb-field,
.mines-field .candy-field {
    opacity: 0;
    transition: .2s;
}

.mines-field.bomb.revealed .bomb-field,
.mines-field.candy.revealed .candy-field {
    opacity: 1;
}

.mines-field.revealed {
    pointer-events: none;
}

.mines-field {
    position: relative;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.mines-field:hover:not(.revealed) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

@keyframes candyPop {
    0% {
        transform: scale(.9)
    }

    50% {
        transform: scale(1.15)
    }

    100% {
        transform: scale(1)
    }
}

.mines-field.revealed.candy {
    animation: candyPop .35s ease-out forwards;
}

@keyframes bombShake {

    10%,
    90% {
        transform: translateX(-1px)
    }

    20%,
    80% {
        transform: translateX(2px)
    }

    30%,
    50%,
    70% {
        transform: translateX(-4px)
    }

    40%,
    60% {
        transform: translateX(4px)
    }
}

.mines-field.revealed.bomb {
    animation: bombShake .5s ease-in-out forwards;
    filter: grayscale(.6);
}

.start-btn,
.collect-btn,
.auto-btn {
    transition: background-color .3s ease, transform .2s ease, box-shadow .2s ease;
}

.start-btn:hover,
.collect-btn:hover,
.auto-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.collect-btn .collect-sum {
    font-weight: 600;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    transition: 0.3s ease;
}

.dice-btns button:disabled {
    background-color: #3a3d4b;
    color: #9ea3b0;
}

.game-input-btns button:disabled {
    background-color: #2f313d;
    color: #7e8494;
}

.last-game-table-item.appearing {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.last-game-table-item {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.footer {
    background: #0c0e13 !important;
    padding: 40px 0 20px !important;
    font-family: 'Inter', sans-serif !important;
}

.footer-container {
    max-width: 1220px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

.footer-columns.premium-icons {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    margin-bottom: 24px !important;
}

.footer-column.brand {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.footer-logo {
    height: 34px !important;
}

.footer-note {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 6px !important;
}

.footer-responsibility {
    font-size: 13px !important;
    color: #c36c6c !important;
    font-weight: 500 !important;
}

.footer-age {
    background: #c94141 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 3px 7px !important;
    border-radius: 4px !important;
    line-height: 1 !important;
}

.footer-icons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

.tooltip-icon {
    width: 42px !important;
    height: 42px !important;
    background: #1a1d25 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease-in-out !important;
    position: relative !important;
}

.tooltip-icon:hover {
    background: #2e323f !important;
}

.tooltip-icon img {
    width: 20px !important;
    height: 20px !important;
    filter: brightness(0.9) !important;
}

.tooltip-icon:hover img {
    filter: brightness(1.2) !important;
}

.footer-bottom {
    text-align: center !important;
    padding-top: 18px !important;
    border-top: 1px solid #181a20 !important;
}

.footer-copy {
    font-size: 12px !important;
    color: #5c5f6e !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.avatars-list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.avatars-list .border-container {
    flex: 0 0 auto;
}

.avatars-list button {
    background: transparent;
    border: none;
    border-radius: 15px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: auto;
    height: auto;
    opacity: 0.12;
}

.avatars-list button img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}

.avatars-list button:hover {
    opacity: 0.42;
}

html,
body {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body > div[data-barba="wrapper"] {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

.page-wrapper {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.footer {
    margin-top: auto !important;
}

.page-wrapper {
    padding-bottom: 40px !important;
}

@media (min-width: 769px) {
    .avatars-list {
        display: flex !important;
        gap: 14px !important;
        overflow-x: auto !important;
        padding: 10px 8px 10px 8px !important;
        scrollbar-width: thin !important;
        scrollbar-color: #4f68e3 transparent !important;
        cursor: grab !important;
    }

    .avatars-list:active {
        cursor: grabbing !important;
    }

    .avatars-list::-webkit-scrollbar {
        height: 6px !important;
    }

    .avatars-list::-webkit-scrollbar-thumb {
        background-color: #4f68e3 !important;
        border-radius: 10px !important;
    }

    .avatars-list button {
        width: 110px !important;
        height: 110px !important;
        opacity: 1 !important;
        flex-shrink: 0 !important;
        border-radius: 15px !important;
        transition: transform 0.2s ease !important;
    }

    .avatars-list button:hover {
        transform: scale(1.05) !important;
    }

    .avatars-list button img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 15px !important;
        object-fit: cover !important;
    }
}

.profile-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile-top {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: stretch;
}

.profile-block,
.avatar-change {
    flex: 1 1 50%;
    min-width: 0;
}

.profile-row {
    display: flex;
    gap: 16px;
    width: 100%;
    align-items: stretch;
    justify-content: space-between;
}

.social-connect {
    flex: 0 0 33%;
    display: flex;
    flex-direction: column;
}

.statistic {
    flex: 0 0 67%;
    display: flex;
    flex-direction: column;
}

.statistic-field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    width: 100%;
}

.statistic-field {
    flex: 1 1 calc(25% - 16px);
    min-width: 200px;
    background: #1d1f2c;
    padding: 12px 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .profile-row {
        flex-direction: column;
    }

    .social-connect,
    .statistic {
        flex: 1 1 100%;
    }

    .statistic-field {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .profile-top {
        flex-direction: column;
    }

    .profile-block,
    .avatar-change {
        flex: 1 1 100%;
    }
}

.avatars-list button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.avatars-list button {
    opacity: 1 !important;
}

.avatars-list .border-container:not(.active) button {
    opacity: 0.3 !important;
}

.avatars-list button:focus,
.avatars-list button:active {
    outline: none !important;
    box-shadow: none !important;
}

.avatars-list button img:focus,
.avatars-list button img:active {
    outline: none !important;
    box-shadow: none !important;
}

.avatars-list .border-container:focus,
.avatars-list .border-container:active {
    outline: none !important;
    box-shadow: none !important;
}


.avatars-list button,
.avatars-list button:focus,
.avatars-list button:active,
.avatars-list .border-container:focus,
.avatars-list .border-container:active,
.avatars-list button img:focus,
.avatars-list button img:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
}

.avatars-list .border-container.active::before {
    content: none !important;
    border: none !important;
}

.level-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.level-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.payment-system-item {
    transition: all 0.3s ease !important;
}

.payment-system-item.active {
    background: radial-gradient(circle at 30% 30%, rgba(60, 210, 124, 0.08), rgba(60, 210, 124, 0.02)) !important;
    border: 1px solid rgba(60, 210, 124, 0.8) !important;
    box-shadow: 0 0 12px rgba(60, 210, 124, 0.25), inset 0 0 4px rgba(60, 210, 124, 0.1) !important;
    border-radius: 10px !important;
    backdrop-filter: blur(2px) !important;
    transform: translateY(-1px) !important;
}

.payment-system-item.active .payment-system-title p,
.payment-system-item.active .payment-system-procent {
    color: #d8fbe3 !important;
    font-weight: 600 !important;
}

.payment-system-item.active .payment-system-icon {
    background: rgba(60, 210, 124, 0.12) !important;
    padding: 4px !important;
    border-radius: 6px !important;
    transition: background 0.3s ease !important;
}

.game-input-btns button {
    transition: all 0.3s ease !important;
}

.game-input-btns button.active {
    background: rgba(80, 156, 246, 0.1) !important;
    border: 1px solid #509cf6 !important;
    box-shadow: 0 0 8px rgba(80, 156, 246, 0.3) inset !important;
    color: #eaf3ff !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transform: translateY(-1px) !important;
}


.hidden {
    display: none !important;
}

.visible {
    display: flex !important;
}

.wallet-modal.history .payment-systems {
    display: none !important;
}


@media (max-width: 480px) {

    .payment-systems-deposit.visible,
    .payment-systems-withdraw.visible {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 4px 12px 8px 12px !important;
        box-sizing: border-box !important;
    }

    .payment-systems-deposit.visible .payment-system-item,
    .payment-systems-withdraw.visible .payment-system-item {
        flex: 0 0 auto !important;
        width: 200px !important;
        height: 60px !important;
        scroll-snap-align: start !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 12px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .payment-system-title {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        overflow: hidden !important;
    }

    .payment-system-title p {
        font-size: 16px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin: 0 !important;
    }

    .payment-system-procent {
        font-size: 15px !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }
}

.cancel-withdraw-btn {
    background: linear-gradient(180deg, #ff6264, #cd2549 119.444%);
    border: none;
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    font-family: 'Google Sans', sans-serif;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.cancel-withdraw-btn:hover {
    background: linear-gradient(180deg, #ff787a, #da3a55);
}

.cancel-withdraw-btn:active {
    background: linear-gradient(180deg, #e5484a, #b32a3f);
}

.confirm-modal {
    position: fixed;
    z-index: 10002;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #1f2126;
    padding: 24px 28px;
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
    width: 100%;
    max-width: 360px;
    display: none;
    flex-direction: column;
    align-items: center;
    font-family: 'Google Sans', sans-serif;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

@keyframes appearConfirm {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.confirm-title {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
}

.confirm-text {
    font-size: 14px;
    color: #b0b3b8;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.45;
}

.confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.confirm-buttons button {
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Google Sans', sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.cancel-yes {
    background: linear-gradient(180deg, #4de069, #2faa3b);
    color: #fff;
}

.cancel-yes:hover {
    background: linear-gradient(180deg, #61f17b, #36c246);
}

.cancel-no {
    background: #2f3136;
    color: #ddd;
}

.cancel-no:hover {
    background: #3b3d43;
}

.confirm-modal .modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.2s;
}

.confirm-modal .modal-close-btn:hover {
    opacity: 1;
}

.confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10001;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.confirm-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.confirm-modal {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.confirm-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.referal-table-header,
.referal-table-item {
    display: grid;
    grid-template-columns: 1fr 3fr 2fr;
}

.fade-in {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.referal-table-item {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.4s ease forwards;
}

.delay-0 {
    animation-delay: 0s;
}

.delay-1 {
    animation-delay: 0.05s;
}

.delay-2 {
    animation-delay: 0.1s;
}

.delay-3 {
    animation-delay: 0.15s;
}

.delay-4 {
    animation-delay: 0.2s;
}

.delay-5 {
    animation-delay: 0.25s;
}

.delay-6 {
    animation-delay: 0.3s;
}

.delay-7 {
    animation-delay: 0.35s;
}

.delay-8 {
    animation-delay: 0.4s;
}

.delay-9 {
    animation-delay: 0.45s;
}

.wallet-modal .table-item--fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: walletFadeIn 0.4s ease forwards;
}

.wallet-modal .table-item--fade-out {
    opacity: 1;
    transform: translateY(0);
    animation: walletFadeOut 0.2s ease forwards;
}

@keyframes walletFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes walletFadeOut {
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.wallet-modal .delay-0 {
    animation-delay: 0ms;
}

.wallet-modal .delay-1 {
    animation-delay: 50ms;
}

.wallet-modal .delay-2 {
    animation-delay: 100ms;
}

.wallet-modal .delay-3 {
    animation-delay: 150ms;
}

.wallet-modal .delay-4 {
    animation-delay: 200ms;
}

.wallet-modal .delay-5 {
    animation-delay: 250ms;
}

.wallet-modal .delay-6 {
    animation-delay: 300ms;
}

.wallet-modal .delay-7 {
    animation-delay: 350ms;
}

.wallet-modal .delay-8 {
    animation-delay: 400ms;
}

.wallet-modal .delay-9 {
    animation-delay: 450ms;
}

body.modal-open {
    overflow: hidden;
}

.slot-card.page-lobby {
    opacity: 0 !important;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.slot-card.page-lobby.show {
    opacity: 1 !important;
    transform: translateY(0);
}

.wallet-bonus-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.wallet-confirm {
    margin-bottom: 45px;
}

.wallet-bonus-item {
    cursor: pointer;

    img {
        width: 75px;
        height: 100px;
        border-radius: 7px;
        object-fit: contain;
        filter: grayscale(1);
    }

    span {
        padding: 8px 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #1d1f2c;
        border-radius: 6px;
        margin-top: 7px;
        margin-bottom: 4px;
        font-weight: 700;
        font-family: Google Sans;
        font-size: 12px;
        color: #4d4f59;
        max-width: 55px;
        width: 100%;
    }

    p {
        font-weight: 500;
        font-size: 12px;
        margin: 0;
        line-height: normal;
        color: #4d4f59;
        margin-top: 2px;

        &.bonus-bet {
            color: #767880;
            margin-top: 4px;
        }
    }

    &:hover {
        img {
            border-radius: 7px;
            object-fit: contain;
            filter: grayscale(0);
        }

        p {
            &.bonus-bet {
                color: #fff;
            }
        }

        span {
            background: linear-gradient(180deg, #5daff2 0%, #3481c0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;

            &::after {
                content: "";
                display: block;
                background: linear-gradient(180deg, #5daff233 0%, #3481c033 100%);
                width: 100%;
                height: 100%;
                z-index: 1;
                position: absolute;
                top: 0;
                left: 0;
                border-radius: 4px;
            }
        }
    }

    &.active {
        img {
            border-radius: 7px;
            object-fit: contain;
            filter: grayscale(0);
        }

        p {
            &.bonus-bet {
                color: #fff;
            }
        }

        span {
            background: linear-gradient(180deg, #5daff2 0%, #3481c0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;

            &::after {
                content: "";
                display: block;
                background: linear-gradient(180deg, #5daff233 0%, #3481c033 100%);
                width: 100%;
                height: 100%;
                z-index: 1;
                position: absolute;
                top: 0;
                left: 0;
                border-radius: 4px;
            }
        }
    }
}

@media (max-width: 420px) {
    .wallet-bonus-item {
        cursor: pointer;

        img {
            width: 69px;
            height: 90px;
            border-radius: 7px;
        }

        span {
            width: 100%;
            display: flex;
            max-width: 100%;
        }

        &.active {
            img {
                width: 69px;
                height: 90px;
                border-radius: 7px;
                object-fit: contain;
                filter: grayscale(0);
            }
        }
    }
}

.wallet-bonus-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.wallet-confirm {
    margin-bottom: 45px;
}

.wallet-bonus-item {
    cursor: pointer;

    img {
        width: 75px;
        height: 100px;
        border-radius: 7px;
        object-fit: contain;
        filter: grayscale(1);
    }

    span {
        padding: 8px 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #1d1f2c;
        border-radius: 6px;
        margin-top: 7px;
        margin-bottom: 4px;
        font-weight: 700;
        font-family: Google Sans;
        font-size: 12px;
        color: #4d4f59;
        max-width: 55px;
        width: 100%;
    }

    p {
        font-weight: 500;
        font-size: 12px;
        margin: 0;
        line-height: normal;
        color: #4d4f59;
        margin-top: 2px;

        &.bonus-bet {
            color: #767880;
            margin-top: 4px;
        }
    }

    &:hover {
        img {
            border-radius: 7px;
            object-fit: contain;
            filter: grayscale(0);
        }

        p {
            &.bonus-bet {
                color: #fff;
            }
        }

        span {
            background: linear-gradient(180deg, #5daff2 0%, #3481c0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;

            &::after {
                content: "";
                display: block;
                background: linear-gradient(180deg, #5daff233 0%, #3481c033 100%);
                width: 100%;
                height: 100%;
                z-index: 1;
                position: absolute;
                top: 0;
                left: 0;
                border-radius: 4px;
            }
        }
    }

    &.active {
        img {
            border-radius: 7px;
            object-fit: contain;
            filter: grayscale(0);
        }

        p {
            &.bonus-bet {
                color: #fff;
            }
        }

        span {
            background: linear-gradient(180deg, #5daff2 0%, #3481c0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;

            &::after {
                content: "";
                display: block;
                background: linear-gradient(180deg, #5daff233 0%, #3481c033 100%);
                width: 100%;
                height: 100%;
                z-index: 1;
                position: absolute;
                top: 0;
                left: 0;
                border-radius: 4px;
            }
        }
    }
}

@media (max-width: 420px) {
    .wallet-bonus-item {
        cursor: pointer;

        img {
            width: 69px;
            height: 90px;
            border-radius: 7px;
        }

        span {
            width: 100%;
            display: flex;
            max-width: 100%;
        }

        &.active {
            img {
                width: 69px;
                height: 90px;
                border-radius: 7px;
                object-fit: contain;
                filter: grayscale(0);
            }
        }
    }
}

.ref-promo-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    font-family: 'Google Sans', sans-serif;
}

.ref-promo-icon img {
    width: 48px;
    height: 48px;
}

.ref-promo-text h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.ref-promo-text p {
    margin: 4px 0 0;
    font-size: 15px;
    color: #bcbcbc;
}

.ref-promo-text .percent {
    color: #ff4e4e;
    font-weight: 700;
}

.ref-promo-text .bonus {
    color: #50fa7b;
    font-weight: 600;
}

.dice-range-wrapper {
    width: 100%;
    border-radius: 13px;
    background: #101118e6;
    padding: 0 28px;
    margin-bottom: 74px;
}

.dice-range-midlight {
    width: 100%;
}

.irs--flat .irs-bar {
    background: linear-gradient(180deg,
            rgb(106, 158, 255),
            rgb(79, 104, 227) 100%) !important;
    height: 10px !important;
}

.irs--flat .irs-line {
    background: #151721 !important;
    height: 10px !important;
}

.irs--flat .irs-min,
.irs--flat .irs-max {
    display: none;
}

.irs-grid-pol {
    display: none;
}

.irs-grid-text {
    color: #f1f6ff33 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 23px !important;
    top: 35px !important;
}

.irs-grid {
    width: 96.2609% !important;
}

.irs--flat .irs-from,
.irs--flat .irs-to,
.irs--flat .irs-single {
    display: none;
}

.irs--flat .irs-handle {
    top: 15px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: linear-gradient(180deg,
            rgb(106, 158, 255),
            rgb(79, 104, 227) 100%) !important;
    color: transparent !important;
    cursor: grab;

    &::after {
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        background: #fff;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
    }
}

.irs--flat .irs-handle > i:first-child {
    display: none !important;
}

.dice-indicator {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);

    span {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #f9fbff;
        font-family: Montserrat;
        font-size: 20px;
        font-weight: 800;
        line-height: 24px;
    }
}

.dice-roll-line {
    position: relative;
    margin-bottom: 77px;
}

.dice-params-flexbox {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1020px) {
    .dice-roll-line {
        margin-top: 55px;
        width: 100%;

        img {
            width: 100%;
        }
    }

    .dice-indicator {
        img {
            width: 64px;
            height: 74px;
        }

        span {
            font-size: 12px;
        }
    }

    .game-btns {
        order: 2;

        button {
            font-size: 12px;
            height: 44px;
        }
    }

    .maybe-win {
        order: 1;
    }

    .dice-game-inputs {
        order: 3;
    }

    .dice-range-midlight {
        width: 100%;
    }

    .irs--flat .irs-bar {
        height: 6px !important;
    }

    .irs--flat .irs-line {
        height: 6px !important;
    }

    .irs-grid-text {
        font-size: 12px !important;
        top: 35px !important;
    }

    .irs-grid {
        width: 100% !important;
    }

    .irs--flat .irs-from,
    .irs--flat .irs-to,
    .irs--flat .irs-single {
        display: none;
    }

    .irs--flat .irs-handle {
        width: 20px !important;
        height: 20px !important;
        top: 18px !important;

        &::after {
            width: 8px;
            height: 8px;
        }
    }

    .dice-range-wrapper {
        margin-bottom: 53px;
    }
}

.start-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dice-wrapper {
    position: relative;
}

.bubbles-wrapper,
.dice-params-flexbox {
    position: relative;
    z-index: 2;
}


.bubble-active,
.bubble-secret,
.bubble-prev {
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.5), 0 0 25px rgba(63, 129, 255, 0.2);
    position: relative;
}

.bubble-active::after,
.bubble-secret::after,
.bubble-prev::after {
    content: '';
    position: absolute;
    top: 5%;
    left: 10%;
    width: 80%;
    height: 40%;
    border-radius: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
    transform: rotate(-15deg);
}


.start-btn.bubbles-start {
    background: linear-gradient(45deg, #5f41e9, #3f81ff);
    border: none;
    box-shadow: 0 4px 15px rgba(95, 65, 233, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.start-btn.bubbles-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95, 65, 233, 0.6);
}

.bubbles-wrapper {
    position: relative;
    height: 151px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.bubbles-main {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url("../images/bubbles-placer.svg");
    background-size: cover;
    width: 244px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 9px;
}

.simple-bubbles-list {
    display: flex;
    align-items: center;
    gap: 22px;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.simple-bubble {
    min-width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1d1f2c;
}

.bubble-active,
.bubble-secret,
.bubble-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.bubble-active {
    width: 104.95px;
    height: 104.95px;
    background: linear-gradient(180deg, #3f81ff61, #2552cf61 100%);
}

.bubble-secret,
.bubble-prev {
    width: 47.7px;
    height: 47.7px;
    background: linear-gradient(180deg, #4877f599, #244cd299 100%);
}

.bubble-active img,
.bubble-prev img {
    position: absolute;
    transition: opacity 0.3s ease;
    will-change: transform, opacity;
}

.bubble-secret img {
    transition: visibility 0s;
}

.bubble-active img {
    width: 63.38px;
    height: 63.38px;
}

.bubble-prev img {
    width: 26.71px;
    height: 26.71px;
}

.bubble-secret img {
    width: 14px;
}

.bubble-anim-clone {
    position: absolute;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1),
        opacity 0.6s ease;
}

.move-to-prev {
    transform: translateX(-88px) scale(0.45);
    opacity: 1;
}

.move-offscreen {
    transform: translateX(-100px) scale(0.8);
    opacity: 0;
}

.move-from-secret {
    transform: translateX(88px) scale(1.5);
    opacity: 0;
}

.move-from-secret.in-center {
    transform: translateX(0) scale(1);
    opacity: 1;
}


@media (max-width: 820px) {
    .bubbles-wrapper {
        height: 75.18px;
    }

    .bubbles-main {
        width: 122.81px;
        padding: 0 4px;
    }

    .bubble-active {
        width: 52.82px;
        height: 52.82px;
    }

    .bubble-active img {
        width: 31.69px;
        height: 31.69px;
    }

    .bubble-secret,
    .bubble-prev {
        width: 24.01px;
        height: 24.01px;
    }

    .bubble-prev img {
        width: 13.45px;
        height: 13.45px;
    }

    .bubble-secret img {
        width: 7px;
    }

    .move-to-prev {
        transform: translateX(-44px) scale(0.45);
    }

    .move-offscreen {
        transform: translateX(-50px) scale(0.8);
    }

    .move-from-secret {
        transform: translateX(44px) scale(1.5);
    }
}

.bubble-toast {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    bottom: 56px;
    padding: 12px 18px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    color: #f0f0f0;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);

    background: rgba(40, 44, 64, 0.6);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.1);

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.bubble-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.bubble-toast.win {
    border-color: rgba(86, 209, 125, 0.5);
}

.bubble-toast.lose {
    border-color: rgba(255, 107, 107, 0.5);
}

.bubble-toast .coef {
    font-weight: 700;
    margin-right: 6px;
    color: #fff;
}

.bubble-toast .delta.win {
    color: #56d17d;
    text-shadow: 0 0 6px rgba(86, 209, 125, 0.5);
}

.bubble-toast .delta.lose {
    color: #ff6b6b;
    text-shadow: 0 0 6px rgba(255, 107, 107, 0.5);
}

.original-game-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    border-radius: 19px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    aspect-ratio: 0.9 / 1;

    &:hover {
        transform: translateY(-15px);
    }
}


.original-games-wrapper {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.main-slide-1 {
    background-image: url("../images/banners/banner-1.png?v=4");
    background-position: center;
    background-size: cover;
}

.main-slide-2 {
    background-image: url("../../assets/images/banners/banner-2.png?v=5");
    background-position: center;
    background-size: cover;
}

.main-slide-3 {
    background-image: url("../../assets/images/banners/banner-3.png?v=5");
    background-position: center;
    background-size: cover;
}

.main-slide-4 {
    background-image: url("../../assets/images/banners/banner-4.png?v=5");
    background-position: center;
    background-size: cover;
}

.main-slide-5 {
    background-image: url("../../assets/images/banners/banner-5.png?v=5");
    background-position: center;
    background-size: cover;
}

.main-slide-6 {
    background-image: url("../../assets/images/banners/banner-6.png?v=5");
    background-position: center;
    background-size: cover;
}

.referral-level-block {
    display: grid;
    grid-template-columns: 344px 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    margin-bottom: 30px;
    border-radius: 16px;
}

.level-progress-section {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #151721;
    border-radius: 17px;
    padding-top: 20px;
    padding-bottom: 18px;
}

.level-progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
}

.progress-ring {
    position: relative;
    width: 100%;
    height: 100%;
}

.progress-ring-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.3s ease;
}

.level-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg,
            rgba(106, 158, 255, 0.08) 0%,
            rgba(79, 104, 227, 0.08) 100%);

    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: "Google Sans", sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.level-text {
    color: white;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #4d4f59;
    margin: 0;
    margin-top: 18px;
}

.referral-info-section {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #151721;
    border-radius: 16px;
    padding: 24px 24px 24px 28px;
}

.referral-description {
    width: 50%;
}

.referral-description p {
    color: white;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: #767880;
}

.referral-link-container {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #1d1f2c;
    width: 50%;
    border-radius: 18px;
    padding-right: 20px;
    padding-left: 32px;
    overflow: hidden;
}

.referral-link-input {
    height: 64px;
    flex: 1;
    background: #1d1f2c;
    border: none;
    color: white;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
    outline: none;
    font-weight: 700;
    transition: border-color 0.3s ease;
}

.referral-link-input:focus {
    border-color: #5c6fff;
}

.copy-link-btn {
    border: none;
    border-radius: 15px;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    width: 48px;
    height: 48px;
}

.referral-stats-section {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.next-level-progress,
.current-bonus {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #151721;
    border-radius: 14px;
    padding: 16px 28px;
}

.progress-text {
    color: white;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.current-progress {
    color: white;
}

.target-progress {
    background: linear-gradient(180deg, #6a9eff 0%, #4f68e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-label,
.bonus-label {
    color: #4d4f59;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}

.bonus-percentage {
    color: white;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.ref-confirm-block {
    padding: 40px 46px 47px 27px;
    background: #151721;
    border-radius: 23px;
}

.ref-confirm-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.ref-confirm-input {
    display: flex;
    align-items: center;
    padding-block: 8px;
    padding-right: 16px;
    padding-left: 16px;
    background: #1d1f2c;
    border-radius: 13px;
    width: 100%;

    input {
        background: transparent;
        border: none;
        color: white;
        font-family: "Google Sans", sans-serif;
        font-size: 18px;
        outline: none;
        font-weight: 500;
        width: 100%;
        transition: border-color 0.3s ease;
    }

    button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding-left: 21px;
        padding-right: 18px;
        width: auto;

        img {
            width: 20px;
            height: 20px;
        }
    }
}

.ref-confirm-title {
    color: #f9fbff;
    font-size: 18px;
    font-weight: 500;
    font-family: "Google Sans", sans-serif;
}

.ref-confirm-subtitle {
    color: #767880;
    font-size: 18px;
    font-family: "Google Sans", sans-serif;
    font-weight: 500;
    margin-top: 12px;
    margin-bottom: 32px;
}

.btn-secondary {
    background: #1d1f2c;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 14px;
    height: 52px;
    color: #767880;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;

    &:has(img) {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    &:hover {
        background: #232532;
        color: #f9fbff;
    }

    &:active {
        background: #292b38;
        color: #f9fbff;
    }
}

.sign-in-btn {
    width: 120px;
}

.register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 184px;
    height: 52px;
}

.header-auth-btns {
    display: flex;
    align-items: center;
    gap: 12px;
}

.register-modal {
    max-width: 858px;
    width: 100%;

    .has-account {
        margin-top: 102px;
    }
}

.auth-banner {
    width: 50%;
    object-fit: cover;
}

.auth-modal-wrapper {
    display: flex;
    height: fit-content;
    background: #101118;
    gap: 40px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;

    .group-icon {
        background: linear-gradient(180deg, #6a9eff 0%, #4f68e3 100%);
    }
}

.auth-side {
    width: 50%;
    padding-right: 40px;
    padding-top: 35px;
    padding-bottom: 36px;
}

.auth-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-input {
    display: flex;
    border-radius: 12px;
    align-items: center;
    background: #191b26;
    padding-inline: 16px;
    width: 100%;
    height: 52px;

    div {
        display: flex;
        align-items: center;
        gap: 10px;

        input {
            background: transparent;
            border: none;
            color: white;
            font-family: "Google Sans", sans-serif;
            font-size: 18px;
            outline: none;
            font-weight: 500;
            width: 100%;
            transition: border-color 0.3s ease;

            &::placeholder {
                color: #4d4f59;
            }
        }
    }
}

.auth-confirm-btn {
    margin-top: 16px;
}

.social-auth-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.social-auth-btn {
    width: 100%;
}

.social-auth-block {
    margin-top: 28px;
}

.social-auth-label {
    color: #4d4f59;
    font-family: "Google Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
}

.has-account {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    p {
        color: #f9fbff;
        font-family: "Google Sans", sans-serif;
        font-size: 12px;
        font-weight: 500;
    }

    a {
        background: linear-gradient(180deg, #6a9eff 0%, #4f68e3 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-family: "Google Sans", sans-serif;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
    }
}

.login-modal {
    .btn-primary {
        margin-top: 12px;
    }

    .has-account {
        margin-top: 129px;
    }
}

.forgot-pass {
    color: #767880;
    font-family: "Google Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.forgot-pass {
    color: #767880;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(180deg, #6a9eff 0%, #4f68e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 24px;
    display: block;
}

.little-bonus-btn {
    position: absolute;
    bottom: 32px;
    right: 28px;
    height: 44px;
    width: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    z-index: 1;
    border: 2.3px solid #ffffff8b;

    img {
        transition: all 0.3s ease-in-out;
    }

    cursor: pointer;

    &:hover {
        img {
            transform: translateX(100%);
        }
    }
}

.welcome-bonus {
    .little-bonus-btn {
        background: linear-gradient(204.69deg, #9a5aee 9.83%, #6e43da 95.97%);
    }
}

.promotion-bonus {
    .little-bonus-btn {
        background: linear-gradient(207.09deg, #12d356 16.92%, #07a448 85.32%);
    }
}

.rang-bonus {
    .little-bonus-btn {
        background: linear-gradient(193.04deg, #ff6062 2.43%, #cd2549 98.48%);
    }
}

.bonus-simple-text {
    color: #4d4f59;
    font-family: "Google Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-top: 8px;
}

.bonus-progress-track {
    margin-top: 28px;
    width: 100%;
    height: 10px;
    background: #2b2e42;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.bonus-progress-bar {
    display: block;
    content: "";
    height: 100%;
    width: 50%;
    border-radius: 20px;
    background: linear-gradient(180deg, #6a9eff 0%, #4f68e3 100%);
}

.bonus-progress-value-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;

    div {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    p {
        font-size: 18px;
        font-weight: 500;
        color: #f9fbff;
        font-family: "Google Sans", sans-serif;
    }
}

.bonus-fields-card {
    padding: 24px;

    & .maybe-win {
        margin-top: 36px;
    }
}

.bonus-fields-card {
    &.bonus-activation {
        & .btn-primary {
            margin-top: 16px;
        }
    }
}

.bonus-fields-card {
    min-width: 336px;
}

.bonus-fields-cards {
    overflow-y: auto;
}

.bonus-fields-card {
    &.bonus-activation {
        & .btn-primary {
            margin-top: 20px;
        }
    }
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;

    &::-webkit-scrollbar {
        display: none;
    }
}

.header-personal-bonuses {
    margin-top: 36px !important;

    .group-icon {
        background: linear-gradient(122.97deg, #fb7689 30.33%, #ea5a76 87.81%);
    }
}

@media (max-width: 1600px) {
    .ref-confirm-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
        border: 2.3px solid;

        border-image-source: linear-gradient(197.04deg,
                #ffffff -11.18%,
                #804ce2 119.17%);
    }
}

@media (max-width: 1440px) {
    .referral-description {
        width: 100%;
    }

    .referral-link-container {
        width: 100%;
    }

    .referral-info-section {
        flex-direction: column;
    }

    .copy-link-btn {
        width: 32px;
        height: 32px;
        border-radius: 9.78px;
    }

    .referral-link-input {
        height: 44px;
        font-size: 12px;
    }
}

@media (max-width: 1240px) {
    .ref-confirm-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1240px) {
    .ref-confirm-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-slide-1 {
        background-image: url("../images/banners/m-banner-1.png?v=5");
        background-position: center;
        background-size: cover;
    }

    .main-slide-2 {
        background-image: url("../images/banners/m-banner-2.png?v=5");
        background-position: center;
        background-size: cover;
    }

    .main-slide-3 {
        background-image: url("../images/banners/m-banner-3.png?v=5");
        background-position: center;
        background-size: cover;
    }

    .main-slide-4 {
        background-image: url("../images/banners/m-banner-4.png?v=5");
        background-position: center;
        background-size: cover;
    }

    .main-slide-5 {
        background-image: url("../images/banners/m-banner-5.png?v=5");
        background-position: center;
        background-size: cover;

        a {
            margin-top: 14px;
        }
    }

    .main-slide-6 {
        background-image: url("../images/banners/m-banner-6.png?v=5");
        background-position: center;
        background-size: cover;
    }

    .bonus-big-card {
        padding: 12px 16px 12px 14px;
    }

    .little-bonus-btn {
        right: 20px;
        bottom: 22px;
        width: 30px;
        height: 30px;
        border-radius: 6.82px;

        img {
            width: 13.33px;
            height: 13.33px;
        }
    }

    .bonus-little-card {
        padding: 12px 20px 20px 14px;
    }

    .bonus-progress-value-wrapper {
        img {
            width: 18px;
            height: 18px;
        }

        & p {
            font-size: 12px;
        }
    }

    .bonus-fields-card {
        &.bonus-activation {
            & .btn-primary {
                margin-top: 8px;
            }
        }
    }

    .bonus-fields-card {
        .maybe-win {
            margin-top: 22px;
        }
    }

    .bonus-fields-card {
        padding: 16px;
    }

    .bonus-fields-card {
        & .game-input-wrapper {
            margin-top: 14px;
        }
    }

    .bonus-simple-text {
        font-size: 12px;
    }

    .bonus-fields-card {
        min-width: 284px;
    }

    .mobile-widest-card {
        min-width: 328px;
        width: 328px;
    }

    .bonus-progress-track {
        margin-top: 31px;
        height: 8px;
    }

    .bonus-progress-value-wrapper {
        margin-top: 9px;
    }

    .auth-input {
        height: 44px;

        div {
            input {
                font-size: 12px;
            }
        }
    }

    .auth-banner {
        display: none;
    }

    .auth-side {
        width: 100%;
        padding-left: 14px;
        padding-right: 14px;
        padding-block: 24px;
    }

    .forgot-pass {
        font-size: 12px;
        margin-top: 16px;
    }

    .social-auth-btn {
        height: 44px;

        svg {
            height: 14px;
        }
    }

    .social-auth-block {
        margin-top: 32px;
    }

    .social-auth-label {
        margin-bottom: 10px;
    }

    .login-modal {
        .has-account {
            margin-top: 80px;
        }
    }

    .register-modal {
        .has-account {
            margin-top: 55px;
        }
    }

    .register-btn {
        font-size: 0;
        height: 44px;
        width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .sign-in-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .referral-description p {
        font-size: 12px;
    }

    .ref-confirm-block {
        padding: 20px;
    }

    .ref-confirm-title {
        font-size: 12px;
    }

    .ref-confirm-subtitle {
        font-size: 12px;
    }

    .ref-confirm-input {
        padding-block: 6px;
        height: 44px;

        input {
            font-size: 12px;
        }

        button {
            font-size: 12px;
            padding-left: 9px;
            padding-right: 11px;
            width: auto;
        }
    }

    .progress-text {
        font-size: 12px;
    }

    .progress-label {
        font-size: 12px;
    }

    .bonus-percentage {
        font-size: 12px;
    }

    .next-level-progress {
        padding: 20px 20px 16px 20px;
    }

    .bonus-label {
        font-size: 12px;
    }

    .level-text {
        font-size: 12px;
    }

    .referral-link-container {
        padding: 20px 8px;
    }

    .current-bonus {
        padding: 16px 20px;
    }

    .referral-level-block {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 16px;
    }

    .level-progress-section {
        grid-column: 1;
        grid-row: 1;
    }

    .referral-info-section {
        grid-column: 1;
        grid-row: 2;
    }

    .referral-stats-section {
        grid-column: 1;
        grid-row: 3;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .level-number {
        width: 50px;
        height: 35px;
        font-size: 20px;
    }
}

.cool-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: rgb(13, 14, 22);
}

.sidebar {
    z-index: 8;
}

.page-wrapper {
    padding-top: 110px;
}

.btn-loading {
    pointer-events: none;
    opacity: 0.9;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.dots span {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: blink 1.2s infinite both;
}

.dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    30% {
        opacity: 1;
        transform: scale(1.35);
    }

    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

.referral-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .referral-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .referral-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.bonus-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #0E1118;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
    will-change: transform;
}

.bonus-card:hover {
    transform: translateY(-4px);
}

.bonus-card__content {
    position: relative;
    z-index: 2;
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bonus-card__glowTop {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    border-radius: 999px;
    filter: blur(80px);
    opacity: .2;
    pointer-events: none;
    z-index: 0;
}

.bonus-card__glowBottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    z-index: 0;
    opacity: .22;
}

.bonus-card__imageWrap {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.bonus-card__image {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform .5s ease;
    transform: translateZ(0);
}

.bonus-card:hover .bonus-card__image {
    transform: scale(1.10);
}

.bonus-card__title {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
}

.bonus-card__desc {
    margin: 8px auto 0;
    max-width: 220px;
    text-align: center;
    color: rgba(255, 255, 255, 0.40);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.bonus-card__spacer {
    padding-top: 24px;
    margin-top: auto;
}

.bonus-input {
    height: 54px;
    border-radius: 16px;
    background: #060709;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 16px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    transition: border-color .2s ease;
}

.bonus-input:focus-within {
    border-color: rgba(255, 255, 255, 0.18);
}

.bonus-input__field {
    width: 100%;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.bonus-input__field::placeholder {
    color: rgba(255, 255, 255, 0.20);
}

.bonus-row {
    height: 54px;
    border-radius: 16px;
    background: #060709;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.bonus-row__label {
    color: rgba(255, 255, 255, 0.60);
    font-size: 14px;
    font-weight: 600;
}

.bonus-row__value {
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.bonus-btn {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: box-shadow .25s ease, filter .25s ease, transform .12s ease;
    user-select: none;
}

.bonus-btn:hover {
    filter: brightness(1.08);
}

.bonus-btn:active {
    transform: scale(0.98);
}

.bonus-progress {
    margin-bottom: 16px;
}

.bonus-progress__track {
    position: relative;
    height: 8px;
    width: 100%;
    background: #060709;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    overflow: hidden;
}

.bonus-progress__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 65%;
    border-radius: 999px;
}

.bonus-progress__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 4px;
}

.bonus-progress__left {
    color: rgba(255, 255, 255, 0.40);
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bonus-progress__right {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.candy-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 180, 0, 0.35));
}

.candy-icon--big {
    width: 16px;
    height: 16px;
}

.inline-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bonus-card--blue .bonus-card__glowTop {
    background: rgba(37, 99, 235, 1);
}

.bonus-card--blue .bonus-card__glowBottom {
    background: linear-gradient(to top, rgba(30, 58, 138, 1), rgba(0, 0, 0, 0));
}

.bonus-card--blue .bonus-card__image {
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.40));
}

.bonus-card--blue .bonus-btn {
    background: linear-gradient(to bottom, #7CA0FF, #4567FF);
    box-shadow: 0 8px 20px -4px rgba(69, 103, 255, 0.40);
}

.bonus-card--blue .bonus-btn:hover {
    box-shadow: 0 10px 30px -4px rgba(69, 103, 255, 0.60);
}

.bonus-card--purple .bonus-card__glowTop {
    background: rgba(147, 51, 234, 1);
}

.bonus-card--purple .bonus-card__glowBottom {
    background: linear-gradient(to top, rgba(88, 28, 135, 1), rgba(0, 0, 0, 0));
}

.bonus-card--purple .bonus-card__image {
    filter: drop-shadow(0 0 25px rgba(168, 85, 247, 0.40));
}

.bonus-card--purple .bonus-row__value {
    color: #D65CFF;
}

.bonus-card--purple .bonus-btn {
    background: linear-gradient(to bottom, #EA5CFF, #AA3DFF);
    box-shadow: 0 8px 20px -4px rgba(170, 61, 255, 0.40);
}

.bonus-card--purple .bonus-btn:hover {
    box-shadow: 0 10px 30px -4px rgba(170, 61, 255, 0.60);
}

.bonus-card--rose .bonus-card__glowTop {
    background: rgba(244, 63, 94, 1);
}

.bonus-card--rose .bonus-card__glowBottom {
    background: linear-gradient(to top, rgba(136, 19, 55, 1), rgba(0, 0, 0, 0));
}

.bonus-card--rose .bonus-card__image {
    filter: drop-shadow(0 0 25px rgba(255, 85, 100, 0.40));
}

.bonus-card--rose .bonus-row__value {
    color: #FF6675;
}

.bonus-card--rose .bonus-btn {
    background: linear-gradient(to bottom, #FF707E, #FF3D4F);
    box-shadow: 0 8px 20px -4px rgba(255, 61, 79, 0.40);
}

.bonus-card--rose .bonus-btn:hover {
    box-shadow: 0 10px 30px -4px rgba(255, 61, 79, 0.60);
}

.bonus-card--indigo .bonus-card__glowTop {
    background: rgba(79, 70, 229, 1);
}

.bonus-card--indigo .bonus-card__glowBottom {
    background: linear-gradient(to top, rgba(49, 46, 129, 1), rgba(0, 0, 0, 0));
}

.bonus-card--indigo .bonus-card__image {
    filter: drop-shadow(0 0 25px rgba(99, 102, 241, 0.40));
}

.bonus-card--indigo .bonus-progress__fill {
    background: linear-gradient(to right, #7040FF, #A060FF);
    box-shadow: 0 0 10px rgba(160, 96, 255, 0.50);
}

.bonus-card--indigo .bonus-btn {
    background: linear-gradient(to bottom, #9660FF, #6A3DFF);
    box-shadow: 0 8px 20px -4px rgba(106, 61, 255, 0.40);
}

.bonus-card--indigo .bonus-btn:hover {
    box-shadow: 0 10px 30px -4px rgba(106, 61, 255, 0.60);
}


.social-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.social-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background: #0E1118;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
    min-height: 220px;
}

.social-card__decor {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 102px;
    height: 96px;
    transform: rotate(16deg);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.social-card__decor::after {
    content: "";
    position: absolute;
    top: -18px;
    right: -12px;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    filter: blur(8px);
    opacity: .75;
}

.social-card__content {
    position: relative;
    z-index: 2;
    padding: 24px;
    padding-right: 150px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
}

.social-card__icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
    flex: 0 0 auto;
}

.icon-mask {
    --icon: none;
    display: block;
    background: #fff;
    -webkit-mask-image: var(--icon);
    mask-image: var(--icon);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.social-card__icon .icon-mask {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.95);
}

.social-card__decor .icon-mask {
    width: 62px;
    height: 62px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
    opacity: .98;
}

.social-card__title {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .social-card__title {
        white-space: normal;
    }

    .social-card__content {
        padding-right: 24px;
    }

    .social-card__decor {
        display: none;
    }
}

.social-card__text {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.38);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.social-card__link {
    text-decoration: none;
    font-weight: 900;
}

.social-card__link:hover {
    text-decoration: underline;
}

.social-card__amount {
    color: #fff;
    font-weight: 900;
    letter-spacing: .2px;
}

.social-card__mutedTail {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 800;
    white-space: nowrap;
}

.social-card__btn {
    margin-top: auto;
    height: 54px;
    width: 100%;
    border: 0;
    border-radius: 18px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    transition: filter .2s ease, transform .12s ease, box-shadow .25s ease;
}

.social-card__btn:hover {
    filter: brightness(1.06);
}

.social-card__btn:active {
    transform: scale(0.985);
}

.social-card__info {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 900;
    font-size: 15px;
    line-height: 1;
    user-select: none;
}

.social-card--tg .social-card__icon {
    background: linear-gradient(180deg, #62CFFF, #2F6FD6);
}

.social-card--tg .social-card__decor::after {
    background: #62CFFF;
}

.social-card--tg .social-card__btn {
    background: linear-gradient(180deg, #62CFFF, #3D83D6);
    box-shadow: 0 16px 40px rgba(61, 131, 214, 0.22);
}

.social-card--tg .social-card__decor .icon-mask {
    background: linear-gradient(180deg, #8EE2FF, #3DA0FF);
}

.social-card--tg .social-card__link {
    color: #4C78FF;
}

.social-card--vk .social-card__icon {
    background: linear-gradient(180deg, #6D8CFF, #3B56D8);
}

.social-card--vk .social-card__decor::after {
    background: #6D8CFF;
}

.social-card--vk .social-card__btn {
    background: linear-gradient(180deg, #6D8CFF, #3B56D8);
    box-shadow: 0 16px 40px rgba(59, 86, 216, 0.22);
}

.social-card--vk .social-card__decor .icon-mask {
    background: linear-gradient(180deg, #8FA6FF, #4F73FF);
}

.social-card--vk .social-card__link {
    color: #4C78FF;
}

.social-card--welcome .social-card__icon {
    background: linear-gradient(180deg, #B180FF, #7B3CFF);
}

.social-card--welcome .social-card__decor::after {
    background: #B180FF;
}

.social-card--welcome .social-card__btn {
    background: linear-gradient(180deg, #B180FF, #7B3CFF);
    box-shadow: 0 16px 40px rgba(123, 60, 255, 0.22);
}

.social-card--welcome .social-card__decor .icon-mask {
    background: linear-gradient(180deg, #D1B3FF, #9B63FF);
}

.social-card--welcome .social-card__link {
    color: #B180FF;
}

.social-card--rank .social-card__icon {
    background: linear-gradient(180deg, #FF7E88, #E45C66);
}

.social-card--rank .social-card__decor::after {
    background: #FF7E88;
}

.social-card--rank .social-card__btn {
    background: linear-gradient(180deg, #FF7E88, #E45C66);
    box-shadow: 0 16px 40px rgba(228, 92, 102, 0.22);
}

.social-card--rank .social-card__decor .icon-mask {
    background: linear-gradient(180deg, #FFB0B6, #FF6F7A);
}

.social-card--rank .social-card__link {
    color: #FF7E88;
}

.referral-banner {
    width: 100%;
    max-width: 1393px;
    height: 182px;
    margin: 0 auto 24px;
    border-radius: 14px;
    overflow: hidden;
    background: #0E1118;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.referral-banner img,
.referral-banner svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .referral-banner {
        height: auto;
    }
}

.repost-wrap {
    margin-top: 26px;
}

.repost-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 10px 0 18px;
}

.repost-head__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(180deg, #B180FF, #7B3CFF);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 36px rgba(123, 60, 255, 0.22);
    flex: 0 0 auto;
}

.repost-head__icon svg {
    width: 22px;
    height: 22px;
    opacity: .95;
}

.repost-head__title {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .2px;
}

.repost-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 18px;
}

@media (min-width: 992px) {
    .repost-top {
        grid-template-columns: 420px 1fr;
    }
}

.repost-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #0E1118;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.55);
}

.repost-card__pad {
    padding: 22px;
}

.repost-balanceBox {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 18px 16px;
    margin-bottom: 18px;
}

.repost-balanceBox__label {
    color: rgba(255, 255, 255, 0.30);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.repost-balanceBox__value {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .2px;
}

.repost-btn {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 18px;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    background: linear-gradient(180deg, #7CA0FF, #4567FF);
    box-shadow: 0 16px 38px rgba(69, 103, 255, 0.24);
    transition: filter .2s ease, transform .12s ease, box-shadow .25s ease;
    user-select: none;
}

.repost-btn:hover {
    filter: brightness(1.06);
    box-shadow: 0 18px 44px rgba(69, 103, 255, 0.30);
}

.repost-btn:active {
    transform: scale(0.985);
}

.repost-infoGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .repost-infoGrid {
        grid-template-columns: 1fr 1fr;
    }
}

.repost-note {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 18px;
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    line-height: 1.25;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.repost-note__dash {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 900;
    flex: 0 0 auto;
    transform: translateY(-1px);
}

.repost-helpText {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.20);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    max-width: 860px;
}

.repost-progressGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 22px;
}

@media (min-width: 768px) {
    .repost-progressGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .repost-progressGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.repost-progressCard {
    padding: 22px;
    min-height: 130px;
}

.repost-progressCard__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.repost-progressCard__title {
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    margin: 0;
}

.repost-progressCard__metaRight {
    color: rgba(255, 255, 255, 0.22);
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

.repost-bar {
    position: relative;
    height: 10px;
    border-radius: 999px;
    background: #060709;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-bottom: 16px;
}

.repost-bar__fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 40%;
    border-radius: 999px;
}

.repost-progressCard__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
}

.repost-progressCard__left {
    color: #fff;
    font-size: 18px;
}

.repost-progressCard__right {
    color: #fff;
    font-size: 18px;
}

.bar-blue {
    background: linear-gradient(90deg, #6C8DFF, #4A66FF);
    box-shadow: 0 0 14px rgba(90, 120, 255, 0.35);
}

.bar-red {
    background: linear-gradient(90deg, #FF5A6A, #FF3D4F);
    box-shadow: 0 0 14px rgba(255, 80, 100, 0.30);
}

.bar-purple {
    background: linear-gradient(90deg, #7A4DFF, #A060FF);
    box-shadow: 0 0 14px rgba(160, 96, 255, 0.30);
}

.bar-pink {
    background: linear-gradient(90deg, #E255FF, #B55CFF);
    box-shadow: 0 0 14px rgba(210, 90, 255, 0.26);
}

.bar-cyan {
    background: linear-gradient(90deg, #3FB7FF, #2F6FD6);
    box-shadow: 0 0 14px rgba(70, 160, 255, 0.24);
}

.bar-gold {
    background: linear-gradient(90deg, #D9B24A, #B9902A);
    box-shadow: 0 0 14px rgba(210, 170, 80, 0.22);
}

.repost-head {
    flex-wrap: wrap;
}

.repost-head__badge {
    margin-left: auto;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);

    color: rgba(255, 255, 255, 0.9);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: .2px;
    white-space: nowrap;
}

.repost-head__badgeValue {
    background: linear-gradient(180deg, #D1B3FF, #9B63FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.referral-banner--desktop {
    display: block;
}

.referral-banner--mobile {
    display: none;
}

@media (max-width: 767.98px) {
    .referral-banner--desktop {
        display: none;
    }

    .referral-banner--mobile {
        display: block;
    }

    .referral-banner--mobile {
        max-width: 328px;
        height: 126px;
        margin: 0 auto 24px;
        border-radius: 14px;
        overflow: hidden;
        background: #0E1118;
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    }

    .referral-banner--mobile img,
    .referral-banner--mobile svg {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }
}

.status-with-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-info {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    flex: 0 0 auto;
}

.status-info__icon {
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.status-info:active {
    transform: scale(0.96);
}

.withdraw-history .table-item p:last-child {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    white-space: nowrap;
}

.status-with-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.status-info-btn {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    border: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
}

.status-info-btn:active {
    transform: scale(0.96);
}

.ref-deposits-cell {
    display: flex;
    align-items: center;
}

.dep-details summary {
    cursor: pointer;
    user-select: none;
}

.dep-list {
    margin-top: 10px;
    display: grid;
    gap: 6px;
}

.dep-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.referal-table-header,
.referal-table-item {
    display: grid;
    grid-template-columns: 140px 1fr 200px 260px;
    gap: 24px;
    align-items: center;
}

.referal-table-header p,
.referal-table-item p {
    margin: 0;
}

.ref-deps {
    display: flex;
    justify-content: flex-start;
}

.dep-details {
    position: relative;
    width: 100%;
}

.dep-details summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    justify-content: space-between;
}

.dep-details summary::-webkit-details-marker {
    display: none;
}

.dep-details summary:after {
    content: "▾";
    opacity: .7;
    transform: translateY(-1px);
    transition: transform .15s ease;
}

.dep-details[open] summary:after {
    transform: rotate(180deg) translateY(1px);
}

.dep-list {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 320px;
    padding: 12px;
    border-radius: 14px;
    background: #0E1118;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    z-index: 50;
}

.dep-details[open] .dep-list {
    display: grid;
    gap: 8px;
}

.dep-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 900px) {
    .referal-table-header {
        display: none;
    }

    .referal-table-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dep-list {
        position: static;
        width: 100%;
        margin-top: 8px;
    }
}

.referal-table-wrapper,
.referal-table-body,
.referal-table-item {
    overflow: visible !important;
}

#dep-popover-root {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999999;
}

.dep-list.is-portal {
    pointer-events: auto;
    position: fixed;
    display: grid;
    gap: 8px;
    width: 340px;
    max-height: 360px;
    overflow: auto;
    padding: 12px;
    border-radius: 14px;
    background: #0E1118;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    z-index: 999999;
}

.dep-details summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}

.dep-details summary::-webkit-details-marker {
    display: none;
}

.ref-deps {
    display: flex;
    justify-content: flex-start;
}

.dep-details {
    width: 100%;
}

.dep-details summary {
    list-style: none;
}

.dep-details summary::-webkit-details-marker {
    display: none;
}

.dep-summary {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 9px 12px;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);

    color: rgba(255, 255, 255, 0.86);
    font-weight: 600;
    font-size: 13px;
    line-height: 1;

    cursor: pointer;
    user-select: none;

    transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.dep-summary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.09);
}

.dep-details[open] .dep-summary {
    background: rgba(92, 111, 255, 0.14);
    border-color: rgba(92, 111, 255, 0.35);
    transform: translateY(-1px);
}

.dep-summary .dep-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.dep-summary .dep-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 9px;
    border-radius: 999px;

    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);

    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.dep-summary .dep-caret {
    opacity: .75;
    font-size: 12px;
    transition: transform .15s ease;
}

.dep-details[open] .dep-summary .dep-caret {
    transform: rotate(180deg);
}

#dep-popover-root {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999999;
}

.dep-list.is-portal {
    pointer-events: auto;
    position: fixed;

    width: 380px;
    max-height: 380px;
    overflow: auto;

    padding: 12px;
    border-radius: 16px;

    background: rgba(14, 17, 24, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dep-popover-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 4px 4px 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 10px;
}

.dep-popover-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.dep-popover-sub {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.dep-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 10px 12px;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);

    transition: background .12s ease, border-color .12s ease;
}

.dep-item:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.08);
}

.dep-item .dep-amount {
    font-weight: 700;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
}

.dep-item .dep-date {
    font-weight: 600;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    white-space: nowrap;
}

.dep-list.is-portal::-webkit-scrollbar {
    width: 10px;
}

.dep-list.is-portal::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    border: 3px solid rgba(0, 0, 0, 0);
    background-clip: content-box;
}

.dep-list.is-portal::-webkit-scrollbar-track {
    background: transparent;
}

@media (max-width: 700px) {
    .dep-list.is-portal {
        width: calc(100vw - 24px);
        max-height: 45vh;
    }
}

@media (max-width: 992px) {
    .hidemobile {
        display: none !important;
    }
}

@media (max-width: 992px) {
    .displaymobile {
        display: block !important;
    }
}

.plinko-game {
    padding-bottom: 32px;
}

.plinko-layout {
    display: flex;
    gap: 22px;
    margin-top: 8px;
}

.plinko-panel {
    width: 420px;
    min-width: 420px;
    border-radius: 26px;
    background: radial-gradient(140% 130% at 30% 0%, rgba(106, 158, 255, 0.10) 0%, rgba(21, 23, 33, 0) 40%),
        linear-gradient(180deg, #151721 0%, #101118 120%);
    padding: 18px;
    box-shadow: inset 0 0 0 1px rgba(42, 49, 70, 0.55);
}

.plinko-panel * {
    font-family: Google Sans;
}

.plinko-tabs {
    display: flex;
    gap: 10px;
    background: #101118;
    border-radius: 18px;
    padding: 6px;
    box-shadow: inset 0 0 0 1px rgba(42, 49, 70, 0.55);
}

.pl-tab {
    flex: 1;
    height: 44px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #4d4f59;
    font-size: 16px;
    font-weight: 600;
    transition: .15s ease;
}

.pl-tab.active {
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.28), rgba(79, 104, 227, 0.18));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(106, 158, 255, 0.18);
}

.pl-field {
    margin-top: 16px;
    position: relative;
}

.pl-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pl-label {
    color: #44485b;
    font-size: 16px;
    font-weight: 600;
}

.pl-balance {
    color: #4d4f59;
    font-weight: 600;
    font-size: 16px;
}

.pl-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pl-input {
    position: relative;
    flex: 1;
}

.pl-input input {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    background: #1d1f2c;
    border: none;
    outline: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 0 52px 0 18px;
    box-shadow: inset 0 0 0 1px rgba(42, 49, 70, 0.45);
}

.pl-input input:hover {
    background: #232532;
}

.pl-chip {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #262937;
    color: #ffcc67;
    font-weight: 800;
}

.pl-chip-gray {
    color: #7a7d88;
}

.pl-mini-btns {
    display: flex;
    gap: 8px;
}

.pl-mini {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: #191b26;
    color: #cfd2da;
    font-weight: 700;
    font-size: 16px;
    box-shadow: inset 0 0 0 1px rgba(42, 49, 70, 0.45);
    transition: .12s ease;
}

.pl-mini:hover {
    background: #232532;
}

.pl-mini:active {
    transform: translateY(1px);
}

.pl-select {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    background: #1d1f2c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(42, 49, 70, 0.45);
}

.pl-select:hover {
    background: #232532;
}

.pl-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 92px;
    background: #191b26;
    border-radius: 16px;
    padding: 10px;
    display: none;
    z-index: 5;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(42, 49, 70, 0.55);
}

.pl-dropdown button {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #4d4f59;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    padding: 0 12px;
}

.pl-dropdown button:hover {
    background: #232532;
    color: #fff;
}

.pl-dropdown button.active {
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.28), rgba(79, 104, 227, 0.18));
    color: #fff;
}

.pl-play {
    margin-top: 16px;
    width: 100%;
    height: 58px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    background: linear-gradient(180deg, #12d356, #07a448 100%);
    color: #001b0a;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 22px rgba(18, 211, 86, 0.18);
}

.pl-play:hover {
    background: linear-gradient(180deg, #23e165, #0fb253 100%);
}

.pl-play:active {
    transform: translateY(1px);
}

.pl-play[disabled] {
    opacity: .6;
    cursor: not-allowed;
    filter: saturate(.8);
}

.pl-hint {
    margin-top: 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.16), rgba(79, 104, 227, 0.10));
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 0 0 1px rgba(106, 158, 255, 0.10);
}

.pl-hint-title {
    color: #ffffffa8;
    font-weight: 700;
    font-size: 14px;
}

.pl-hint-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pl-hint-value img {
    width: 20px;
    height: 20px;
}

.pl-hint-value span {
    font-weight: 900;
    font-size: 14px;
    background: linear-gradient(180deg, #6a9eff, #4f68e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plinko-board-card {
    flex: 1;
    border-radius: 26px;
    background: radial-gradient(160% 160% at 50% 0%, rgba(106, 158, 255, 0.09) 0%, rgba(21, 23, 33, 0) 45%),
        linear-gradient(180deg, #151721 0%, #101118 120%);
    padding: 18px;
    box-shadow: inset 0 0 0 1px rgba(42, 49, 70, 0.55);
}

.plinko-board-wrap {
    border-radius: 22px;
    height: 640px;
    background: radial-gradient(140% 120% at 50% 0%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 40%),
        linear-gradient(180deg, #101824 0%, #0d1420 100%);
    box-shadow: inset 0 0 0 1px rgba(42, 49, 70, 0.45);
    position: relative;
    overflow: hidden;
}

.plinko-board {
    position: absolute;
    inset: 0;
}

.pl-pin {
    position: absolute;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
}

.pl-ball {
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fff6c7 0%, #ffd84d 35%, #ffb300 70%, #ff9500 100%);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 10;
    will-change: left, top, transform, opacity;
}

.pl-bucket {
    position: absolute;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.pl-bucket-inner {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.82);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    letter-spacing: .1px;
}

.pl-bucket.hit {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 6px rgba(106, 158, 255, 0.12), 0 18px 38px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1100px) {
    .plinko-layout {
        flex-direction: column;
    }

    .plinko-panel {
        width: 100%;
        min-width: unset;
    }

    .plinko-board-wrap {
        height: 520px;
    }
}

.pl-bucket.animated {
    animation: pl_bucket_drop .30s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes pl_bucket_drop {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -12%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

.pl-ball[heading]:not([heading=""]) {
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}

.pl-ball[heading="10"] {
    animation-name: plBounceLeft1;
}

.pl-ball[heading="11"] {
    animation-name: plBounceLeft2;
}

.pl-ball[heading="12"] {
    animation-name: plBounceLeft3;
}

.pl-ball[heading="13"] {
    animation-name: plBounceLeft4;
}

.pl-ball[heading="14"] {
    animation-name: plBounceLeft5;
}

@keyframes plBounceLeft1 {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-105%, -165%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes plBounceLeft2 {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-110%, -175%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes plBounceLeft3 {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-112%, -155%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes plBounceLeft4 {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-115%, -145%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes plBounceLeft5 {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-118%, -138%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

.pl-ball[heading="20"] {
    animation-name: plBounceRight1;
}

.pl-ball[heading="21"] {
    animation-name: plBounceRight2;
}

.pl-ball[heading="22"] {
    animation-name: plBounceRight3;
}

.pl-ball[heading="23"] {
    animation-name: plBounceRight4;
}

.pl-ball[heading="24"] {
    animation-name: plBounceRight5;
}

@keyframes plBounceRight1 {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(5%, -165%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes plBounceRight2 {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(10%, -175%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes plBounceRight3 {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(12%, -155%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes plBounceRight4 {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(15%, -145%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes plBounceRight5 {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(18%, -138%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

.pl-ball[heading="2"] {
    animation-name: plFallAway;
}

@keyframes plFallAway {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.pl-pin::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(106, 158, 255, 0.30) 0%, rgba(106, 158, 255, 0.0) 70%);
    opacity: 0;
    transform: scale(0.65);
    pointer-events: none;
}

.pl-pin.touched::after {
    animation: pl_pin_pulse .28s ease-out;
}

@keyframes pl_pin_pulse {
    0% {
        opacity: .70;
        transform: scale(0.70);
    }

    100% {
        opacity: 0;
        transform: scale(2.10);
    }
}

.pl-pin {
    background: #ffffff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.14);
}

.pl-pin::after {
    content: "";
    position: absolute;
    inset: -16px;
    border-radius: 999px;
    background: radial-gradient(circle,
            rgba(106, 158, 255, 0.55) 0%,
            rgba(106, 158, 255, 0.18) 35%,
            rgba(106, 158, 255, 0.00) 72%);
    opacity: 0;
    transform: scale(0.55);
    pointer-events: none;
    filter: blur(0.2px);
}

.pl-pin.touched {
    animation: pl_pin_touched_strong .38s ease-out;
}

@keyframes pl_pin_touched_strong {
    0% {
        box-shadow: 0 0 0 0 rgba(106, 158, 255, 0.55), 0 0 18px rgba(255, 255, 255, 0.14);
    }

    100% {
        box-shadow: 0 0 0 16px rgba(106, 158, 255, 0.00), 0 0 18px rgba(255, 255, 255, 0.14);
    }
}

.pl-pin.touched::after {
    animation: pl_pin_pulse_strong .38s ease-out;
}

@keyframes pl_pin_pulse_strong {
    0% {
        opacity: .95;
        transform: scale(0.55);
    }

    100% {
        opacity: 0;
        transform: scale(2.85);
    }
}

@media (max-width: 520px) {
    .plinko-board-wrap {
        height: 520px;
    }

    .plinko-board-card {
        padding: 14px;
    }

    .plinko-panel {
        padding: 14px;
    }
}

@media (max-width: 520px) {
    .pl-bucket-inner {
        letter-spacing: 0;
        font-weight: 900;
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35), 0 0 10px rgba(0, 0, 0, 0.25);
        -webkit-text-stroke: 0.35px rgba(0, 0, 0, 0.25);
        font-variant-numeric: tabular-nums;
    }
}

.pl-bucket-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.pl-bucket-inner .x {
    font-size: .82em;
    opacity: .95;
}

@media (max-width: 520px) {
    .pl-bucket-inner {
        color: #fff;
        text-shadow:
            0 1px 0 rgba(0, 0, 0, 0.65),
            0 0 10px rgba(0, 0, 0, 0.35);
        -webkit-text-stroke: 0.55px rgba(0, 0, 0, 0.55);
        font-variant-numeric: tabular-nums;
        letter-spacing: 0;
    }
}

@media (max-width: 520px) {
    .plinko-layout {
        flex-direction: column-reverse;
    }
}

.profile-balance {
    position: relative;
    overflow: visible;
}

.balance-deltas {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    height: 0;
    pointer-events: none;
    z-index: 20;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
}

.balance-delta {
    --bg: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.10);
    --glow: rgba(255, 255, 255, 0.10);
    --txt: rgba(255, 255, 255, 0.90);

    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.2px;

    padding: 7px 14px;
    border-radius: 999px;
    white-space: nowrap;

    color: var(--txt);

    background:
        radial-gradient(120% 160% at 30% 25%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 38%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(180deg, var(--bg), rgba(0, 0, 0, 0.02));

    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px var(--border),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    opacity: 0;
    transform: translateY(-10px) scale(0.92);
    will-change: transform, opacity, filter;
}

.balance-delta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0.00) 0%,
            rgba(255, 255, 255, 0.20) 25%,
            rgba(255, 255, 255, 0.00) 52%);

    transform: translateX(-120%);
    opacity: 0.55;
    filter: blur(0.2px);
}

.balance-delta::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    pointer-events: none;

    background: radial-gradient(circle, var(--glow) 0%, rgba(0, 0, 0, 0) 68%);
    opacity: 0;
    transform: scale(0.92);
}

.balance-delta.plus {
    --txt: rgba(12, 255, 120, 0.98);
    --bg: rgba(18, 211, 86, 0.18);
    --border: rgba(18, 211, 86, 0.28);
    --glow: rgba(18, 211, 86, 0.30);

    background:
        radial-gradient(120% 160% at 30% 25%, rgba(12, 255, 120, 0.20) 0%, rgba(18, 211, 86, 0.10) 40%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(180deg, rgba(18, 211, 86, 0.18), rgba(18, 211, 86, 0.10));
}

.balance-delta.minus {
    --txt: rgba(255, 98, 109, 0.98);
    --bg: rgba(255, 77, 109, 0.18);
    --border: rgba(255, 77, 109, 0.28);
    --glow: rgba(255, 77, 109, 0.28);

    background:
        radial-gradient(120% 160% at 30% 25%, rgba(255, 98, 109, 0.20) 0%, rgba(255, 77, 109, 0.10) 40%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(180deg, rgba(255, 77, 109, 0.18), rgba(255, 77, 109, 0.10));
}

.balance-delta.show {
    animation: balanceDeltaIn 1.55s cubic-bezier(0.18, 0.89, 0.32, 1.18) forwards;
}

.balance-delta.show::after {
    animation: balanceDeltaGlow 1.55s ease-out forwards;
}

.balance-delta.hide {
    animation: balanceDeltaOut 0.35s ease forwards;
}

@keyframes balanceDeltaIn {
    0% {
        opacity: 0;
        transform: translateY(-12px) scale(0.92);
        filter: saturate(0.9);
    }

    18% {
        opacity: 1;
        transform: translateY(0px) scale(1.02);
        filter: saturate(1.05);
    }

    32% {
        opacity: 1;
        transform: translateY(0px) scale(1.00);
    }

    72% {
        opacity: 1;
        transform: translateY(-1px) scale(1.00);
    }

    100% {
        opacity: 0;
        transform: translateY(6px) scale(0.98);
    }
}

@keyframes balanceDeltaOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(7px) scale(0.98);
    }
}


@keyframes balanceDeltaGlow {
    0% {
        opacity: 0.0;
        transform: scale(0.92);
    }

    22% {
        opacity: 0.9;
        transform: scale(1.02);
    }

    45% {
        opacity: 0.55;
        transform: scale(1.00);
    }

    100% {
        opacity: 0.0;
        transform: scale(1.04);
    }
}

@media (max-width: 520px) {
    .balance-delta {
        font-size: 13px;
        padding: 6px 12px;
    }

    .balance-deltas {
        top: calc(100% + 8px);
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .pl-bucket {
        border-radius: 10px;
    }

    .pl-bucket-inner {
        font-weight: 900;
        letter-spacing: 0;
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.65), 0 0 10px rgba(0, 0, 0, 0.35);
        -webkit-text-stroke: 0.45px rgba(0, 0, 0, 0.55);
        font-variant-numeric: tabular-nums;
        padding: 0 2px;
    }
}

.balance-delta::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    background:
        radial-gradient(120% 140% at 30% 10%,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0.10) 26%,
            rgba(255, 255, 255, 0.00) 62%);

    opacity: 0.55;
    transform: none;
}

.balance-delta.show::before {
    animation: balanceDeltaBreath 1.55s ease-out forwards;
}

@keyframes balanceDeltaBreath {
    0% {
        opacity: 0.10;
    }

    20% {
        opacity: 0.60;
    }

    60% {
        opacity: 0.50;
    }

    100% {
        opacity: 0.00;
    }
}

@media (max-width: 520px) {
    .plinko-panel {
        display: flex;
        flex-direction: column;
    }

    #plPlayBtn {
        order: -1;
        margin-top: 0;
    }

    .plinko-tabs {
        order: 999;
        margin-top: 14px;
    }
}

.rank-summary {
    display: flex;
    gap: 16px;
    align-items: stretch;
    justify-content: space-between;
    background: #191b26;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.rank-summary-left {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 320px;
}

.rank-summary-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rank-summary-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rank-name {
    color: #f9fbff;
    font-size: 18px;
    font-weight: 700;
}

.rank-open-btn {
    border: none;
    cursor: pointer;
    background: rgba(106, 158, 255, 0.12);
    border: 1px solid rgba(106, 158, 255, 0.22);
    color: #cfe0ff;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    transition: 0.2s;
}

.rank-open-btn:hover {
    background: rgba(106, 158, 255, 0.18);
}

.rank-open-btn:active {
    transform: translateY(1px);
}

.rank-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rank-mini-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 600;
}

.rank-mini-item img {
    width: 14px;
    height: 14px;
}

.rank-summary-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 260px;
}

.rank-progress-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.rank-progress-label {
    color: rgba(255, 255, 255, 0.70);
    font-size: 12px;
    font-weight: 700;
}

.rank-progress-value {
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 700;
}

.rank-progressbar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.rank-progressbar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
}

.rank-rail {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.rank-pill {
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-radius: 16px;
    padding: 12px 12px;
    background: #191b26;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 6px 10px;
    align-items: center;
}

.rank-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(106, 158, 255, 0.25);
}

.rank-pill:active {
    transform: translateY(0px);
}

.rank-pill-badge {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-pill-num {
    color: #f9fbff;
    font-weight: 800;
}

.rank-pill-title {
    color: #f9fbff;
    font-weight: 800;
    font-size: 14px;
}

.rank-pill-sub {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
    font-size: 12px;
    margin-top: 2px;
    display: block;
}

.rank-pill-state {
    justify-self: end;
    align-self: start;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-pill.is-current {
    background: radial-gradient(circle at 20% 10%, rgba(106, 158, 255, 0.18), rgba(25, 27, 38, 1));
    border-color: rgba(106, 158, 255, 0.35);
    box-shadow: 0 0 16px rgba(79, 104, 227, 0.12);
}

.rank-pill.is-next {
    border-color: rgba(18, 211, 86, 0.22);
}

.rank-pill.is-locked {
    opacity: 0.62;
}

.rank-badge {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
}

.rank-badge.big {
    width: 56px;
    height: 56px;
    border-radius: 18px;
}

.rank-badge-num {
    color: #fff;
    font-weight: 900;
    font-size: 16px;
}

.rank-color-1 .rank-pill-badge,
.rank-color-1.rank-badge {
    background: rgba(232, 58, 85, 0.14);
    border-color: rgba(232, 58, 85, 0.22);
}

.rank-color-2 .rank-pill-badge,
.rank-color-2.rank-badge {
    background: rgba(122, 63, 220, 0.14);
    border-color: rgba(122, 63, 220, 0.22);
}

.rank-color-3 .rank-pill-badge,
.rank-color-3.rank-badge {
    background: rgba(16, 164, 76, 0.14);
    border-color: rgba(16, 164, 76, 0.22);
}

.rank-color-4 .rank-pill-badge,
.rank-color-4.rank-badge {
    background: rgba(53, 141, 214, 0.14);
    border-color: rgba(53, 141, 214, 0.22);
}

.rank-color-5 .rank-pill-badge,
.rank-color-5.rank-badge {
    background: rgba(255, 155, 74, 0.14);
    border-color: rgba(255, 155, 74, 0.22);
}

.rank-color-6 .rank-pill-badge,
.rank-color-6.rank-badge {
    background: rgba(45, 212, 191, 0.14);
    border-color: rgba(45, 212, 191, 0.22);
}

.rank-color-7 .rank-pill-badge,
.rank-color-7.rank-badge {
    background: rgba(244, 114, 182, 0.14);
    border-color: rgba(244, 114, 182, 0.22);
}

.rank-color-8 .rank-pill-badge,
.rank-color-8.rank-badge {
    background: rgba(167, 139, 250, 0.14);
    border-color: rgba(167, 139, 250, 0.22);
}

.rank-color-9 .rank-pill-badge,
.rank-color-9.rank-badge {
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(34, 197, 94, 0.22);
}

.rank-color-10 .rank-pill-badge,
.rank-color-10.rank-badge {
    background: rgba(250, 204, 21, 0.14);
    border-color: rgba(250, 204, 21, 0.22);
}

.rank-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 560px;
    max-width: calc(100vw - 24px);
    border-radius: 20px;
    background: #151721;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
    padding: 18px 18px 16px 18px;
    z-index: 10002;
}

.rank-modal-head {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-right: 34px;
}

.rank-modal-title {
    color: #f9fbff;
    font-weight: 900;
    font-size: 18px;
}

.rank-modal-sub {
    color: rgba(255, 255, 255, 0.60);
    font-weight: 700;
    font-size: 12px;
    margin-top: 2px;
}

.rank-modal-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rank-modal-card {
    border-radius: 14px;
    background: #191b26;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px;
}

.rank-modal-card-title {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 800;
}

.rank-modal-card-value {
    color: #f9fbff;
    font-size: 16px;
    font-weight: 900;
    margin-top: 6px;
}

.rank-modal-wide {
    margin-top: 10px;
    border-radius: 14px;
    background: rgba(106, 158, 255, 0.10);
    border: 1px solid rgba(106, 158, 255, 0.16);
    padding: 12px;
}

.rank-modal-wide-title {
    color: rgba(255, 255, 255, 0.70);
    font-size: 12px;
    font-weight: 900;
}

.rank-modal-wide-value {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    margin-top: 6px;
}

.rank-modal-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 980px) {
    .rank-summary {
        flex-direction: column;
    }

    .rank-summary-left {
        min-width: 0;
    }

    .rank-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rank-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 520px;
    max-width: calc(100vw - 24px);
    background: #141622;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
    padding: 0;
    overflow: hidden;
    z-index: 10002;
}

.rank-modal-inner {
    padding: 18px 18px 16px 18px;
}

.rank-modal .modal-close-btn {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.15s;
}

.rank-modal .modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.10);
}

.rank-modal .modal-close-btn:active {
    transform: translateY(1px);
}

.rank-modal-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 48px;
}

.rank-modal-badge {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.rank-modal-titlewrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rank-modal-title {
    color: #F7FAFF;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.1;
}

.rank-modal-sub {
    color: rgba(255, 255, 255, 0.60);
    font-weight: 800;
    font-size: 12px;
}

.rank-modal-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.rank-modal-card {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 12px;
    min-height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rank-modal-card-title {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 900;
    font-size: 12px;
}

.rank-modal-card-value {
    margin-top: 6px;
    color: #F7FAFF;
    font-weight: 900;
    font-size: 18px;
}

.rank-modal-wide {
    margin-top: 10px;
    border-radius: 16px;
    background: rgba(106, 158, 255, 0.10);
    border: 1px solid rgba(106, 158, 255, 0.18);
    padding: 12px 12px;
}

.rank-modal-wide-title {
    color: rgba(255, 255, 255, 0.70);
    font-weight: 900;
    font-size: 12px;
}

.rank-modal-wide-value {
    margin-top: 6px;
    color: #F7FAFF;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.2;
}

.rank-modal-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.rank-modal-actions .btn-primary {
    min-width: 120px;
    height: 42px;
    border-radius: 14px;
    font-weight: 900;
}

@media (max-width: 420px) {
    .rank-modal {
        width: calc(100vw - 20px);
    }

    .rank-modal-grid {
        grid-template-columns: 1fr;
    }

    .rank-modal-card {
        min-height: 64px;
    }
}

.rank-modal {
    width: 560px;
    max-width: calc(100vw - 24px);
    border-radius: 26px;
    background: radial-gradient(120% 120% at 20% 0%, rgba(106, 158, 255, .14) 0%, rgba(16, 17, 24, 0) 55%),
        linear-gradient(180deg, #151721 0%, #101118 100%);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 40px 120px rgba(0, 0, 0, .75);
    overflow: hidden;
    position: relative;
}

.rank-modal {
    --acc1: rgba(106, 158, 255, .95);
    --acc2: rgba(79, 104, 227, .95);
}

.rank-modal-inner {
    padding: 18px;
}

.rank-modal .modal-close-btn {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .75);
    backdrop-filter: blur(12px);
}

.rank-modal .modal-close-btn:hover {
    background: rgba(255, 255, 255, .10);
}

.rank-modal-hero {
    position: relative;
    border-radius: 20px;
    padding: 18px 16px;
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    align-items: center;
    background:
        radial-gradient(90% 140% at 0% 0%, color-mix(in srgb, var(--acc1) 22%, transparent) 0%, transparent 60%),
        radial-gradient(110% 120% at 100% 0%, color-mix(in srgb, var(--acc2) 18%, transparent) 0%, transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .10);
    overflow: hidden;
}

.rank-orb {
    position: absolute;
    right: -60px;
    top: -60px;
    width: 200px;
    height: 200px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, var(--acc1), transparent 60%),
        radial-gradient(circle at 70% 70%, var(--acc2), transparent 65%);
    filter: blur(10px);
    opacity: .55;
}

.rank-modal-badge {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(180deg,
            color-mix(in srgb, var(--acc1) 26%, rgba(255, 255, 255, .06)),
            rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rank-modal-badge .rank-badge-num {
    font-size: 22px;
    font-weight: 900;
    color: #F7FAFF;
}

.rank-hero-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rank-modal-title {
    font-size: 22px;
    font-weight: 900;
    color: #F7FAFF;
}

.rank-modal-sub {
    font-size: 13px;
    font-weight: 800;
    color: rgba(255, 255, 255, .55);
}

.rank-hero-tag {
    justify-self: end;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .70);
    font-weight: 900;
    font-size: 12px;
}

.rank-perks {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.perk {
    border-radius: 18px;
    padding: 14px 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: transform .12s ease, background .12s ease;
}

.perk:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .07);
}

.perk-ico {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg,
            color-mix(in srgb, var(--acc1) 18%, rgba(255, 255, 255, .06)),
            rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .10);
    font-size: 18px;
}

.perk-title {
    font-size: 12px;
    font-weight: 900;
    color: rgba(255, 255, 255, .55);
}

.perk-val {
    margin-top: 4px;
    font-size: 20px;
    font-weight: 900;
    color: #F7FAFF;
}

.rank-daily {
    margin-top: 12px;
    border-radius: 18px;
    padding: 14px;
    background:
        linear-gradient(180deg,
            color-mix(in srgb, var(--acc2) 16%, rgba(255, 255, 255, .04)),
            rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .10);
}

.rank-daily-top {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rank-daily-ico {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
}

.rank-daily-title {
    font-size: 12px;
    font-weight: 900;
    color: rgba(255, 255, 255, .72);
}

.rank-daily-sub {
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, .45);
    margin-top: 2px;
}

.rank-daily-val {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 900;
    color: #F7FAFF;
}

.rank-cta {
    margin-top: 14px;
}

.rank-cta .btn-primary {
    width: 100%;
    height: 52px;
    border-radius: 16px;
    font-weight: 900;
    letter-spacing: .2px;
}

@media (max-width: 420px) {
    .rank-modal {
        width: calc(100vw - 20px);
    }

    .rank-perks {
        grid-template-columns: 1fr;
    }

    .rank-modal-hero {
        grid-template-columns: 56px 1fr;
    }

    .rank-hero-tag {
        display: none;
    }
}

.popup.rank-modal {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;

    width: min(920px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;

    margin: 0 !important;
    z-index: 10002 !important;
}

.popup.rank-modal[style*="display: flex"] {
    display: block !important;
}

.popup.rank-modal[style*="display:flex"] {
    display: block !important;
}


.popup.rank-modal .rank-modal-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {

    .app,
    .sidebar,
    .sidebar-inner {
        zoom: 1 !important;
    }
}

.register-modal,
.login-modal {
    max-width: 858px;
    width: 100%;
}

.header-hud {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-hud__panel--v3 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 10px 12px;
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.header-hud__panel--v3::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(120, 170, 255, 0.35),
            rgba(255, 255, 255, 0.08),
            rgba(92, 120, 255, 0.28));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .9;
}

.header-hud__panel--v3::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 6px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0));
    pointer-events: none;
    opacity: .8;
}

.hud-balance3 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px 14px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);

    cursor: pointer;
    user-select: none;

    transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.hud-balance3:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.10);
}

.hud-balance3__icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}

.hud-balance3__icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.hud-balance3__text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.hud-balance3__label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: .2px;
}

.hud-balance3__value {
    font-size: 18px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: .2px;
    white-space: nowrap;
}

.hud-balance3__caret {
    width: 10px;
    height: 10px;
    margin-left: 8px;
    opacity: .7;
    transform: translateY(1px);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.0));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hud-dot {
    width: 6px;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.02);
}

.hud-chip3 {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.05;

    padding: 8px 12px;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hud-chip3__label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.50);
    letter-spacing: .2px;
}

.hud-chip3__value {
    font-size: 16px;
    font-weight: 900;
    color: rgba(210, 230, 255, 0.95);
}

.hud-wallet3.wallet-btn {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(120, 170, 255, 0.35);
    background: linear-gradient(180deg, rgba(110, 160, 255, 0.95), rgba(70, 95, 230, 0.95));

    box-shadow:
        0 18px 55px rgba(0, 0, 0, 0.45),
        0 0 26px rgba(110, 160, 255, 0.18);

    transition: transform .12s ease, filter .12s ease;
    cursor: pointer;
}

.hud-wallet3.wallet-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.hud-wallet3.wallet-btn img {
    width: 20px;
    height: 20px;
}

.header-hud__avatar--v3 img {
    width: 54px;
    height: 54px;
    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);

    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.balance-deltas {
    position: absolute;
    right: 10px;
    bottom: -10px;
    pointer-events: none;
}

.logo--mini {
    display: none;
}

@media (max-width: 768px) {
    .logo--full {
        display: none !important;
    }

    .logo--mini {
        display: inline-flex !important;
    }
}


@media (max-width: 768px) {

    .cool-header {
        --hud-outline: rgba(120, 170, 255, 0.14);
        --hud-glow: rgba(110, 160, 255, 0.06);
    }

    .cool-header .nav {
        display: none !important;
    }

    .header-hud__avatar--v3,
    .header-hud__avatar--mobile-hide {
        display: none !important;
    }

    .cool-header .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .header-left,
    .profile-header {
        min-width: 0 !important;
    }

    .header-left {
        flex: 0 0 auto !important;
        align-items: center;
        gap: 10px !important;
    }

    .profile-header {
        flex: 1 1 auto !important;
        display: flex !important;
        justify-content: flex-end !important;
        min-width: 0 !important;
    }

    .header-hud {
        width: 100% !important;
        display: flex;
        justify-content: flex-end !important;
        gap: 10px !important;
        min-width: 0 !important;
    }

    .header-hud__panel--v3 {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;

        max-width: calc(100vw - 95px) !important;

        padding: 8px 12px !important;
        padding-right: 24px !important;
        gap: 12px !important;
        border-radius: 20px !important;
    }

    .hud-balance3,
    .hud-balance3__text {
        min-width: 0 !important;
    }

    .hud-balance3 {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        padding: 8px 10px !important;
        border-radius: 16px !important;
        gap: 8px !important;
    }

    .hud-balance3__icon,
    .hud-balance3__icon img {
        width: 18px !important;
        height: 18px !important;
    }

    .hud-balance3__label {
        font-size: 10px !important;
        opacity: .55 !important;
    }

    .hud-balance3__value {
        font-size: 15px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hud-dot {
        width: 5px !important;
        height: 5px !important;
        opacity: .6 !important;
    }

    .hud-chip3 {
        flex: 0 0 auto !important;
        padding: 7px 9px !important;
        border-radius: 14px !important;
        min-width: 58px !important;
    }

    .hud-chip3__label {
        font-size: 10px !important;
        opacity: .5 !important;
    }

    .hud-chip3__value {
        font-size: 14px !important;
    }

    .hud-wallet3.wallet-btn {
        width: 42px !important;
        height: 42px !important;
        border-radius: 16px !important;

        border: none !important;
        box-shadow:
            0 0 0 1px var(--hud-outline) inset,
            0 18px 55px rgba(0, 0, 0, 0.45),
            0 0 10px var(--hud-glow) !important;

        margin-left: 4px !important;
    }

    .hud-wallet3.wallet-btn img {
        width: 18px !important;
        height: 18px !important;
    }

    .logo--mini {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;

        height: auto !important;
        min-height: 60px !important;
        padding: 8px 10px !important;
        border-radius: 16px !important;

        background: rgba(255, 255, 255, 0.045) !important;

        border: none !important;
        box-shadow:
            0 0 0 1px var(--hud-outline) inset,
            0 14px 40px rgba(0, 0, 0, 0.55) !important;

        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;

        text-decoration: none;
        user-select: none;
    }

    .logo--mini img {
        width: 24px !important;
        height: 24px !important;
        display: block !important;
        filter: none !important;
    }

    .logo__word {
        display: block !important;
        font-size: 10px !important;
        font-weight: 900 !important;
        letter-spacing: 0.16em !important;
        text-transform: uppercase !important;
        color: rgba(255, 255, 255, 0.92) !important;
        line-height: 1 !important;
        text-align: center !important;
    }
}

.wallet-modal .deposite-history .table-header,
.wallet-modal .deposite-history .table-body .table-item,
.wallet-modal .withdraw-history .table-header,
.wallet-modal .withdraw-history .table-body .table-item,
.wallet-modal .withdraws-history .table-header,
.wallet-modal .withdraws-history .table-body .table-item {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr 1fr 0.9fr;
    align-items: center;
    gap: 10px;
}

.wallet-modal .deposite-history .table-header p:nth-child(3),
.wallet-modal .deposite-history .table-header p:nth-child(4),
.wallet-modal .deposite-history .table-body .table-item p:nth-child(3),
.wallet-modal .deposite-history .table-body .table-item p:nth-child(4),

.wallet-modal .withdraw-history .table-header p:nth-child(3),
.wallet-modal .withdraw-history .table-header p:nth-child(4),
.wallet-modal .withdraw-history .table-body .table-item p:nth-child(3),
.wallet-modal .withdraw-history .table-body .table-item p:nth-child(4),

.wallet-modal .withdraws-history .table-header p:nth-child(3),
.wallet-modal .withdraws-history .table-header p:nth-child(4),
.wallet-modal .withdraws-history .table-body .table-item p:nth-child(3),
.wallet-modal .withdraws-history .table-body .table-item p:nth-child(4) {
    justify-self: end;
}

.wallet-modal .deposite-history .table-body .table-item p:last-child,
.wallet-modal .withdraw-history .table-body .table-item p:last-child,
.wallet-modal .withdraws-history .table-body .table-item p:last-child {
    display: flex;
    justify-content: flex-end;
    white-space: nowrap;
}

.wallet-modal .waiting,
.wallet-modal .completed,
.wallet-modal .pending,
.wallet-modal .canceled {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.wallet-modal .waiting {
    background: rgba(255, 255, 255, 0.06);
    color: #9ca3af;
}

.wallet-modal .pending {
    background: rgba(18, 182, 211, 0.14);
    color: #12b6d3;
}

.wallet-modal .completed {
    background: rgba(18, 211, 86, 0.14);
    color: #12d356;
}

.wallet-modal .canceled {
    background: rgba(255, 98, 100, 0.14);
    color: #ff6264;
}

@media (max-width: 600px) {

    .wallet-modal .deposite-history .table-header,
    .wallet-modal .deposite-history .table-body .table-item,
    .wallet-modal .withdraw-history .table-header,
    .wallet-modal .withdraw-history .table-body .table-item,
    .wallet-modal .withdraws-history .table-header,
    .wallet-modal .withdraws-history .table-body .table-item {
        grid-template-columns: 0.9fr 1.2fr 1fr 0.9fr;
        gap: 8px;
    }
}

.wallet-modal .wallet-history-wrapper .table-body .table-item p:nth-child(4) {
    justify-self: end;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

.wallet-modal .wallet-history-wrapper .table-body .table-item p:nth-child(4) .waiting,
.wallet-modal .wallet-history-wrapper .table-body .table-item p:nth-child(4) .pending,
.wallet-modal .wallet-history-wrapper .table-body .table-item p:nth-child(4) .completed,
.wallet-modal .wallet-history-wrapper .table-body .table-item p:nth-child(4) .canceled {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;

    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

.wallet-modal .wallet-history-wrapper .table-body .table-item p:nth-child(4) .waiting {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: #9ca3af !important;
}

.wallet-modal .wallet-history-wrapper .table-body .table-item p:nth-child(4) .pending {
    background: rgba(18, 182, 211, 0.14) !important;
    border: 1px solid rgba(18, 182, 211, 0.22);
    color: #12b6d3 !important;
}

.wallet-modal .wallet-history-wrapper .table-body .table-item p:nth-child(4) .completed {
    background: rgba(18, 211, 86, 0.14) !important;
    border: 1px solid rgba(18, 211, 86, 0.22);
    color: #12d356 !important;
}

.wallet-modal .wallet-history-wrapper .table-body .table-item p:nth-child(4) .canceled {
    background: rgba(255, 98, 100, 0.14) !important;
    border: 1px solid rgba(255, 98, 100, 0.22);
    color: #ff6264 !important;
}

.coinflip-grid {
    display: grid;
    grid-template-columns: minmax(420px, 533px) 1fr;
    gap: 28px;
    margin: 24px 0 0;
    align-items: start;
    width: 100%;
    max-width: 100%;
}

.coinflip-form-panel {
    grid-column: 1;
}

.coinflip-stage-panel {
    grid-column: 2;
    justify-self: stretch;
}

.coinflip-panel {
    border-radius: 31px;
    background: #151721;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.coinflip-header {
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.coinflip-header--form {
    display: flex;
}

.coinflip-header--stage {
    display: none;
}

.coinflip-left .group-icon {
    background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
}

.coinflip-form {
    margin-top: 22px;
}

.coinflip-bet input {
    font-weight: 600;
    letter-spacing: 0.2px;
}

.coinflip-quick {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.coinflip-q {
    flex: 1;
    height: 44px;
    border-radius: 12px;
    background: #191b26;
    border: 1px solid rgba(28, 31, 44, 0.9);
    color: #4d4f59;
    font-family: Google Sans;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.coinflip-q:hover {
    background: #1d1f2a;
    color: #cfd4ff;
}

.coinflip-q:active {
    transform: translateY(1px);
}

.coinflip-q:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.coinflip-mult {
    margin-top: 18px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(106, 158, 255, 0.10), rgba(79, 104, 227, 0.10));
    border: 1px solid rgba(28, 31, 44, 0.85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.coinflip-mult-left {
    color: #767880;
    font-family: Google Sans;
    font-size: 16px;
    font-weight: 500;
}

.coinflip-mult-right span {
    background: linear-gradient(180deg, #6a9eff, #4f68e3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: Google Sans;
    font-size: 16px;
    font-weight: 700;
}

.coinflip-sides {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.coinflip-side {
    flex: 1;
    height: 62px;
    border-radius: 999px;
    background: #191b26;
    border: 1px solid rgba(28, 31, 44, 0.85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    cursor: pointer;
    transition: all .22s ease;
    color: #f9fbff;
}

.coinflip-side:hover {
    background: #1d1f2a;
}

.coinflip-side.is-active {
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.18), rgba(79, 104, 227, 0.18));
    border-color: rgba(106, 158, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(79, 104, 227, 0.25) inset;
}

.coinflip-side:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.coinflip-side-text {
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 600;
}

.coinflip-mini-coin {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.coinflip-mini-coin::before {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 55%);
    transform: rotate(18deg);
}

.coinflip-mini-coin--gold {
    background: radial-gradient(circle at 30% 30%, #ffe8a3, #ffbf2f 55%, #c97e00 100%);
}

.coinflip-mini-coin--blue {
    background: radial-gradient(circle at 30% 30%, #a6e3ff, #4cb1ff 55%, #1b4fe6 100%);
}

.coinflip-mini-face {
    position: relative;
    z-index: 1;
    font-family: Google Sans;
    font-weight: 800;
    color: rgba(0, 0, 0, .32);
}

.coinflip-play {
    margin-top: 18px;
    width: 100%;
    height: 64px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(180deg, #6a9eff, #4f68e3 100%);
    box-shadow: 0 20px 42px rgba(79, 104, 227, 0.22);
    transition: transform .18s ease, filter .18s ease;
}

.coinflip-play:hover {
    filter: brightness(1.05);
}

.coinflip-play:active {
    transform: translateY(1px);
}

.coinflip-play:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.coinflip-hint {
    margin-top: 12px;
    color: #4d4f59;
    font-family: Google Sans;
    font-size: 14px;
    line-height: 1.35;
}

.coinflip-hint code {
    background: #191b26;
    border: 1px solid rgba(28, 31, 44, 0.85);
    padding: 2px 8px;
    border-radius: 10px;
    color: #cfd4ff;
}

.coinflip-stage {
    height: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.coinflip-halo {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 360px;
    height: 360px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 177, 255, 0.18), rgba(76, 177, 255, 0) 68%);
    filter: blur(0px);
    pointer-events: none;
}

.coinflip-coin-wrap {
    position: relative;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
}

.coinflip-coin-wrap.is-blue .coinflip-face--front {
    background: radial-gradient(circle at 30% 30%, #a6e3ff, #4cb1ff 55%, #1b4fe6 100%);
}

.coinflip-coin-wrap.is-blue .coinflip-face--back {
    background: radial-gradient(circle at 30% 30%, #ffe8a3, #ffbf2f 55%, #c97e00 100%);
}

.coinflip-coin-shadow {
    position: absolute;
    left: 50%;
    bottom: 44px;
    width: 260px;
    height: 60px;
    transform: translate(-50%, 0);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0) 72%);
    opacity: .35;
    filter: blur(2px);
    pointer-events: none;
}

.coinflip-coin {
    width: 294px;
    height: 294px;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    transform: translate3d(0, 0, 0) rotateY(0deg);
}

.coinflip-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.16);
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

.coinflip-face img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.coinflip-face::before {
    content: "";
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .48), rgba(255, 255, 255, 0) 55%);
    transform: rotate(18deg);
}

.coinflip-face::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15) inset;
    opacity: .7;
}

.coinflip-face-inner {
    position: relative;
    z-index: 1;
    width: 74%;
    height: 74%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.12) inset;
}

.coinflip-logo {
    font-family: Google Sans;
    font-size: 56px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.22);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.coinflip-face--front {
    transform: translateZ(10px);
    background: radial-gradient(circle at 30% 30%, #ffe8a3, #ffbf2f 55%, #c97e00 100%);
}

.coinflip-face--back {
    transform: rotateY(180deg) translateZ(10px);
    background: radial-gradient(circle at 30% 30%, #a6e3ff, #4cb1ff 55%, #1b4fe6 100%);
}

.coinflip-sparkles {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: scale(.96);
    background:
        radial-gradient(circle at 25% 35%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 35%),
        radial-gradient(circle at 70% 55%, rgba(106, 158, 255, 0.18), rgba(106, 158, 255, 0) 38%),
        radial-gradient(circle at 55% 25%, rgba(79, 104, 227, 0.16), rgba(79, 104, 227, 0) 42%);
}

.coinflip-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.coinflip-coefs {
    flex: 1;
    display: flex;
    gap: 10px;
    overflow: auto;
    padding: 4px 2px;
    scroll-behavior: smooth;
}

.coinflip-coefs::-webkit-scrollbar {
    height: 0px;
}

.coinflip-coef {
    min-width: 96px;
    height: 52px;
    border-radius: 12px;
    background: #191b26;
    border: 1px solid rgba(28, 31, 44, 0.85);
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.coinflip-coef:hover {
    background: #1d1f2a;
}

.coinflip-coef.is-active {
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.18), rgba(79, 104, 227, 0.18));
    border-color: rgba(106, 158, 255, 0.45);
}

.coinflip-grid.is-busy .coinflip-panel {
    pointer-events: none;
}

.coinflip-grid.is-busy .coinflip-right {
    pointer-events: auto;
}

@media (max-width: 560px) {
    .coinflip-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 14px;
    }

    .coinflip-panel {
        padding: 22px;
        border-radius: 26px;
    }

    .coinflip-stage-panel {
        grid-column: auto;
        order: 0;
    }

    .coinflip-form-panel {
        grid-column: auto;
        order: 1;
    }

    .coinflip-stage {
        min-height: 340px;
    }

    .coinflip-halo {
        top: 42%;
        width: 280px;
        height: 280px;
    }

    .coinflip-coin-wrap {
        height: 300px;
    }

    .coinflip-coin {
        width: 220px;
        height: 220px;
    }

    .coinflip-coin-shadow {
        width: 210px;
        height: 52px;
        bottom: 58px;
    }

    .coinflip-coef {
        min-width: 108px;
    }

    .coinflip-header--form {
        display: none;
    }

    .coinflip-header--stage {
        display: flex;
    }

    .coinflip-hint {
        display: none;
    }
}

.coinflip-coin.is-flipping {
    --final-rot: calc(var(--turns) * 360deg + var(--end-rot));
    --mid-rot: calc(var(--turns) * 360deg + 240deg);

    animation:
        coinflipFlight var(--dur) cubic-bezier(0.20, 0.92, 0.16, 1) forwards,
        coinflipSettle 380ms cubic-bezier(0.22, 0.8, 0.2, 1) forwards;
    animation-delay: 0ms, var(--dur);
}

.coinflip-coin-wrap.is-flipping .coinflip-coin-shadow {
    animation: coinflipShadow var(--dur) cubic-bezier(0.20, 0.92, 0.16, 1) forwards;
}

.coinflip-coin-wrap.is-landed .coinflip-sparkles {
    animation: coinflipSpark 360ms ease-out forwards;
}

@keyframes coinflipFlight {
    0% {
        transform: translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg);
    }

    55% {
        transform: translate3d(0, -190px, 0) rotateY(var(--mid-rot)) rotateZ(-10deg);
    }

    100% {
        transform: translate3d(0, 0, 0) rotateY(var(--final-rot)) rotateZ(0deg);
    }
}

@keyframes coinflipSettle {
    0% {
        transform: translate3d(0, 0, 0) rotateY(var(--final-rot)) rotateZ(0deg);
    }

    50% {
        transform: translate3d(0, -16px, 0) rotateY(var(--final-rot)) rotateZ(0deg);
    }

    100% {
        transform: translate3d(0, 0, 0) rotateY(var(--final-rot)) rotateZ(0deg);
    }
}

@keyframes coinflipShadow {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: .36;
    }

    55% {
        transform: translateX(-50%) scale(.72);
        opacity: .18;
    }

    100% {
        transform: translateX(-50%) scale(1);
        opacity: .36;
    }
}

@keyframes coinflipSpark {
    0% {
        opacity: 0;
        transform: scale(.92);
    }

    60% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .coinflip-coin.is-flipping {
        animation: none !important;
    }

    .coinflip-coin-wrap.is-flipping .coinflip-coin-shadow {
        animation: none !important;
    }
}

@media (min-width: 561px) {
    .coinflip-grid {
        display: grid !important;
        grid-template-columns: minmax(420px, 560px) minmax(520px, 760px);
        justify-content: center;
        gap: 28px;
        align-items: stretch;
    }

    .coinflip-form-panel,
    .coinflip-stage-panel {
        margin: 0 !important;
        align-self: stretch;
    }

    .coinflip-sides--form {
        display: flex;
    }

    .coinflip-sides--stage {
        display: none !important;
    }

    .coinflip-sides--form {
        margin-top: 16px;
    }

    .coinflip-play {
        margin-top: 18px;
    }

    .coinflip-stage {
        min-height: 420px;
    }
}


@media (max-width: 560px) {
    .coinflip-sides--form {
        display: none !important;
    }

    .coinflip-sides--stage {
        display: flex;
    }
}

@media (min-width: 561px) {
    .coinflip-grid {
        grid-auto-flow: row;
        align-items: start;
    }

    .coinflip-form-panel {
        grid-column: 1;
        grid-row: 1;
        order: 0;
        align-self: start;
    }

    .coinflip-stage-panel {
        grid-column: 2;
        grid-row: 1;
        order: 0;
        align-self: start;
    }
}

@media (min-width: 561px) {
    .coinflip-grid {
        align-items: stretch !important;
    }

    .coinflip-panel {
        height: 100%;
    }

    .coinflip-form-panel {
        grid-column: 1;
        grid-row: 1;
        order: 0;
    }

    .coinflip-stage-panel {
        grid-column: 2;
        grid-row: 1;
        order: 0;
    }

    .page-wrapper {
        margin-left: 120px !important;
    }

    .cool-header {
        margin-left: 120px !important;
    }
}

.coinflip-mini-coin {
    background: transparent;
}

.coinflip-mini-coin img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.coinflip-mini-coin::before {
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 561px) {
    .coinflip-grid {
        display: grid !important;
        grid-template-columns: minmax(420px, 533px) 1fr;
        gap: 28px;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        margin: 24px 0 0;
    }
}

.sidebar.sidebar--wide {
    --sidebar-w: 190px;
    --sidebar-brand-height: 76px;
    --sb-radius: 18px;

    --sb-bg: rgba(13, 14, 22, 0.72);
    --sb-card: rgba(18, 20, 30, 0.55);
    --sb-stroke: rgba(106, 158, 255, 0.10);

    --sb-text: rgba(249, 251, 255, 0.88);
    --sb-muted: rgba(181, 189, 209, 0.78);
    --sb-soft: rgba(13, 14, 22, 0.22);

    width: var(--sidebar-w);
    padding: 20px 16px 16px;
    background: var(--sb-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-right: 1px solid var(--sb-stroke);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.sidebar.sidebar--wide .sidebar-inner {
    height: calc(100vh - 44px);
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    height: var(--sidebar-brand-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid rgba(42, 49, 70, 0.85);
    margin-bottom: 14px;
    text-decoration: none;
}

.sidebar-brand__logo {
    width: 54px;
    height: 44px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.sidebar-brand__text {
    color: var(--sb-text);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.18em;
    opacity: 0.88;
    transform: translateX(2px);
}

.sidebar-content {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding-right: 6px;
    padding-bottom: 10px;
    margin-top: 7px;
}

.sidebar-content::-webkit-scrollbar {
    width: 8px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(106, 158, 255, 0.10);
    border-radius: 12px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.sb-group {
    border-radius: calc(var(--sb-radius) + 2px);
    background: var(--sb-card);
    border: 1px solid var(--sb-stroke);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    margin-bottom: 14px;
    overflow: hidden;
}

.sb-group__head {
    list-style: none;
    cursor: pointer;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;

    padding: 14px 14px 12px;
    background: rgba(13, 14, 22, 0.10);
}

.sb-group__head::-webkit-details-marker {
    display: none;
}

.sb-group__title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sb-group__name {
    color: var(--sb-text);
    font-weight: 900;
    letter-spacing: 0.10em;
    font-size: 13px;
}

.sb-group__sub {
    grid-column: 1 / 2;
    color: rgba(181, 189, 209, 0.70);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.02em;
    margin-left: 18px;
    transform: translateY(-2px);
}

.sb-badge {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sb-badge--green {
    background: linear-gradient(180deg, #22e26a, #11b95a);
    box-shadow: 0 0 14px rgba(34, 226, 106, 0.22);
}

.sb-badge--blue {
    background: linear-gradient(180deg, #6a9eff, #4f68e3);
    box-shadow: 0 0 14px rgba(106, 158, 255, 0.22);
}

.sb-group__chev {
    width: 12px;
    height: 12px;
    align-self: center;
    justify-self: end;
    position: relative;
    opacity: 0.75;
}

.sb-group__chev::before {
    content: "";
    position: absolute;
    inset: 0;
    border-right: 2px solid rgba(249, 251, 255, 0.65);
    border-bottom: 2px solid rgba(249, 251, 255, 0.65);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.sb-group[open] .sb-group__chev::before {
    transform: rotate(-135deg);
}

.sb-group__items {
    padding: 10px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sb-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 12px;
    border-radius: 18px;

    background: var(--sb-soft);
    border: 1px solid rgba(106, 158, 255, 0.08);

    text-decoration: none;
    color: var(--sb-muted);

    transition: all 0.2s ease;
}

.sb-item:hover {
    background: rgba(106, 158, 255, 0.10);
    border-color: rgba(106, 158, 255, 0.16);
    color: rgba(249, 251, 255, 0.92);
}

.sb-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(21, 23, 34, 0.78);
    border: 1px solid rgba(106, 158, 255, 0.12);
}

.sb-item__icon img {
    width: 22px;
    height: 22px;
    opacity: 0.92;
}

.sb-item__label {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.sb-item.is-active {
    color: rgba(249, 251, 255, 0.96);
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.26), rgba(79, 104, 227, 0.14));
    border-color: rgba(106, 158, 255, 0.24);
    box-shadow: 0 14px 30px rgba(79, 104, 227, 0.20);
}

.sb-item.is-active .sb-item__icon {
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.35), rgba(79, 104, 227, 0.20));
    border-color: rgba(106, 158, 255, 0.22);
}

.sb-item__icon--mono {
    background: rgba(21, 23, 34, 0.78);
}

.sb-mono {
    color: rgba(249, 251, 255, 0.85);
    font-weight: 900;
    letter-spacing: 0.06em;
    font-size: 12px;
}

.sidebar-footer {
    margin-bottom: -100px;
}

.sb-footerbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    padding: 8px;
    border-radius: calc(var(--sb-radius) + 2px);

    background: rgba(18, 20, 30, 0.48);
    border: 1px solid rgba(106, 158, 255, 0.10);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    overflow: hidden;
}

.sb-socials {
    display: flex;
    gap: 8px;
}

.sb-social {
    width: 38px;
    height: 38px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(13, 14, 22, 0.22);
    border: 1px solid rgba(106, 158, 255, 0.12);
    transition: all 0.2s ease;
    flex: 0 0 auto;
}

.sb-social:hover {
    background: rgba(106, 158, 255, 0.10);
    border-color: rgba(106, 158, 255, 0.18);
}

.sb-social img {
    width: 20px;
    height: 20px;
    opacity: 0.95;
}

.sb-online {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px 10px;
    border-radius: 999px;

    background: rgba(13, 14, 22, 0.18);
    border: 1px solid rgba(106, 158, 255, 0.12);

    color: rgba(249, 251, 255, 0.90);
    font-weight: 900;
    font-size: 13px;

    flex: 0 0 auto;
    min-width: 0;
    white-space: nowrap;
}

.sb-online__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(180deg, #22e26a, #11b95a);
    box-shadow: 0 0 14px rgba(34, 226, 106, 0.25);
}

.sidebar.sidebar--wide .sidebar-nav,
.sidebar.sidebar--wide .sidebar-nav-item {
    display: none !important;
}

.sidebar-brand {
    border-bottom: none;
    position: relative;
}

.sidebar-brand::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 1px;
    background: rgba(42, 49, 70, 0.85);
}

@media (max-width: 768px) {

    .mobile-menu-opened .link-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .mobile-menu-opened .link-list a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 6px;
        padding: 14px 10px;
        min-height: 72px;

        border-radius: 14px;
        background: rgba(255, 255, 255, 0.04);
        text-align: center;

        font-size: 13px;
        line-height: 1.1;
    }

    .mobile-menu-opened .link-list a svg,
    .mobile-menu-opened .link-list a img {
        width: 26px;
        height: 26px;
        flex-shrink: 0;
    }

    .mobile-menu-opened .link-list a p {
        margin: 0;
        font-size: 12px;
        opacity: 0.9;
    }

    .mobile-menu-opened .link-list a {
        word-break: break-word;
    }
}

.level-pluses {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 520px) {
    .level-pluses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .level-pluses .cashback {
        grid-column: 1 / -1;
    }
}

.wager-badge {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.wager-badge b {
    font-weight: 700;
    color: #fff;
}

.wager-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4fd8, #7c5cff);
    box-shadow: 0 0 0 3px rgba(255, 79, 216, 0.12);
    flex: 0 0 auto;
}

.wager-badge.done {
    background: rgba(60, 255, 160, 0.08);
    border-color: rgba(60, 255, 160, 0.18);
}

.wager-badge.done .wager-dot {
    background: linear-gradient(135deg, #3cffb0, #2bd4ff);
    box-shadow: 0 0 0 3px rgba(60, 255, 160, 0.12);
}

@media (max-width: 520px) {
    .wager-badge {
        padding: 9px 11px;
        font-size: 12.5px;
    }
}

.wager-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wager-row .wager-badge {
    margin-top: 0;
}

.wager-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 90, 90, 0.18), rgba(255, 90, 90, 0.06));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    line-height: 1;
    backdrop-filter: blur(10px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: wagerResetPulse 2.8s ease-in-out infinite;
}

@keyframes wagerResetPulse {

    0%,
    100% {
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }

    50% {
        box-shadow: 0 22px 55px rgba(0, 0, 0, 0.48), 0 0 0 6px rgba(255, 90, 90, 0.06);
    }
}

.wager-reset-btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 90, 90, 0.35), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.wager-reset-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 120, 120, 0.35);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
    animation: none;
}

.wager-reset-btn:active {
    transform: translateY(0px);
    opacity: 0.95;
}

.wager-reset-ico {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.wager-reset-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
}

.wager-reset-overlay.is-open {
    display: flex;
}

.wager-reset-modal {
    position: relative;
    width: min(520px, calc(100vw - 32px));
    border-radius: 18px;
    background: rgba(25, 26, 31, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.60);
    padding: 18px;
}

.wager-reset-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    line-height: 1;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wager-reset-head {
    padding-right: 44px;
}

.wager-reset-title {
    font-size: 18px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
}

.wager-reset-sub {
    margin-top: 4px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.wager-reset-box {
    margin-top: 14px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wager-reset-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.86);
}

.wager-reset-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.25;
}

.wager-reset-bullet {
    width: 10px;
    height: 10px;
    margin-top: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4fd8, #7c5cff);
    box-shadow: 0 0 0 3px rgba(255, 79, 216, 0.12);
    flex: 0 0 auto;
}

.wager-reset-warn {
    margin-top: 12px;
    border-radius: 12px;
    background: rgba(255, 95, 95, 0.10);
    border: 1px solid rgba(255, 95, 95, 0.18);
    padding: 10px 12px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.86);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.wager-reset-warn-ico {
    margin-top: 1px;
}

.wager-reset-check {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    user-select: none;
}

.wager-reset-check input {
    width: 16px;
    height: 16px;
    accent-color: #7c5cff;
}

.wager-reset-actions {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.wager-reset-primary {
    width: 100%;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(180deg, rgba(255, 90, 90, 0.95), rgba(255, 90, 90, 0.65));
    color: #fff;
    cursor: pointer;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.wager-reset-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.2);
}

.wager-reset-secondary {
    width: 100%;
    border-radius: 14px;
    padding: 11px 14px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.wager-reset-msg {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.80);
    display: none;
}

.wager-reset-msg.is-show {
    display: block;
}

.history-page {
    width: 100%;
    padding-bottom: 48px;
}

.history-page .container {
    width: 100%;
    margin-top: 30px;
}

.history-card {
    width: 100%;
    margin: 0;
    border-radius: 28px;
    background: radial-gradient(1200px 520px at 70% -20%, rgba(106, 158, 255, 0.10), rgba(16, 17, 24, 0) 60%),
        linear-gradient(180deg, rgba(21, 23, 33, 0.92), rgba(16, 17, 24, 0.92) 100%);
    border: 1px solid #1C1F2C;
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.55);
    padding: 22px;
}

.history-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 10px 18px;
}

.history-card__left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.history-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #F9FBFF;
    font-family: Google Sans, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .2px;
}

.history-title__icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1D1F2C;
    color: #B8BBC7;
}

.history-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(29, 31, 44, 0.60);
    border: 1px solid rgba(28, 31, 44, 0.95);
    color: #AEB2C1;
    font-family: Google Sans, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: .15s ease;
}

.history-back:hover {
    filter: brightness(1.08);
}

.history-back__icon {
    width: 22px;
    height: 22px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 17, 24, 0.55);
    border: 1px solid rgba(28, 31, 44, 0.70);
    color: #AEB2C1;
}

.history-tabs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 16px;
    background: rgba(29, 31, 44, 0.55);
    border: 1px solid rgba(28, 31, 44, 0.95);
}

.history-tab {
    height: 38px;
    min-width: 122px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid rgba(28, 31, 44, 0.95);
    background: rgba(16, 17, 24, 0.35);
    color: rgba(249, 251, 255, 0.45);
    font-family: Google Sans, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .15s ease;
}

.history-tab.active {
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.32), rgba(79, 104, 227, 0.28));
    border-color: rgba(106, 158, 255, 0.35);
    color: #F9FBFF;
    box-shadow: 0 10px 28px rgba(106, 158, 255, 0.18);
}

.history-table {
    padding: 0 10px 10px;
}

.history-head {
    height: 44px;
    border-radius: 16px;
    background: rgba(21, 23, 33, 0.80);
    border: 1px solid rgba(28, 31, 44, 0.85);
    display: grid;
    grid-template-columns: 160px 1fr 220px 220px;
    align-items: center;
    padding: 0 22px;
    color: rgba(249, 251, 255, 0.35);
    font-family: Google Sans, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.history-body {
    min-height: 420px;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.history-rows {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-row {
    height: 56px;
    border-radius: 16px;
    background: rgba(21, 23, 33, 0.70);
    border: 1px solid rgba(28, 31, 44, 0.70);
    display: grid;
    grid-template-columns: 160px 1fr 220px 220px;
    align-items: center;
    padding: 0 22px;
    color: rgba(249, 251, 255, 0.58);
    font-family: Google Sans, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.history-row .c-sum {
    color: rgba(249, 251, 255, 0.55);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
    border: 1px solid transparent;
}

.status-pill--green {
    background: rgba(33, 177, 88, 0.16);
    border-color: rgba(33, 177, 88, 0.35);
    color: #2FE081;
}

.history-empty {
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 34px 20px;
}

.history-empty__icon {
    color: rgba(249, 251, 255, 0.26);
    transform: rotate(-12deg);
    margin-bottom: 6px;
}

.history-empty__title {
    color: rgba(249, 251, 255, 0.58);
    font-family: Google Sans, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.history-empty__sub {
    color: rgba(249, 251, 255, 0.30);
    font-family: Google Sans, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    margin-top: -2px;
}

.history-empty__btn {
    margin-top: 14px;
    height: 46px;
    min-width: 240px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(180deg, #6A9EFF, #4F68E3 100%);
    color: #F9FBFF;
    font-family: Google Sans, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(79, 104, 227, 0.26);
}

.history-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 0 8px;
}

.history-nav {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(29, 31, 44, 0.55);
    border: 1px solid rgba(28, 31, 44, 0.95);
    color: rgba(249, 251, 255, 0.40);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .15s ease;
}

.history-nav:hover {
    filter: brightness(1.08);
}

@media (max-width: 980px) {

    .history-head,
    .history-row {
        grid-template-columns: 110px 1fr 150px 150px;
    }

    .history-tab {
        min-width: 110px;
    }
}

@media (max-width: 720px) {
    .history-card {
        padding: 16px;
    }

    .history-card__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .history-tabs {
        width: 100%;
        justify-content: space-between;
    }

    .history-tab {
        flex: 1;
        min-width: 0;
    }

    .history-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

    .history-head,
    .history-row {
        min-width: 560px;
        grid-template-columns: 90px 140px 120px 1fr;
        grid-template-areas: "id status sum date";
        column-gap: 16px;
    }

    .history-head .c-id,
    .history-row .c-id {
        grid-area: id;
    }

    .history-head .c-status,
    .history-row .c-status {
        grid-area: status;
        display: flex;
        justify-content: flex-start;
    }

    .history-head .c-sum,
    .history-row .c-sum {
        grid-area: sum;
        text-align: left;
    }

    .history-head .c-date,
    .history-row .c-date {
        grid-area: date;
        text-align: right;
    }

    .history-row .c-status {
        padding-right: 6px;
    }

    .history-head .c-sum,
    .history-row .c-sum {
        padding-left: 2px;
    }

    .history-head {
        padding: 0 16px;
        font-size: 13px;
    }

    .history-row {
        padding: 0 16px;
        font-size: 13px;
        height: 56px;
    }

    .status-pill {
        padding: 6px 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .history-table::-webkit-scrollbar {
        height: 6px;
    }

    .history-table::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, .12);
        border-radius: 999px;
    }

    .history-table::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, .12);
        border-radius: 999px;
    }
}

.status-pill--completed {
    background: linear-gradient(180deg, rgba(18, 211, 86, .22), rgba(7, 164, 72, .12));
    border-color: rgba(18, 211, 86, .35);
    color: rgba(215, 255, 230, .95);
}

.status-pill--waiting {
    background: rgba(118, 120, 128, .14);
    border-color: rgba(118, 120, 128, .28);
    color: rgba(249, 251, 255, .75);
}

.status-pill--pending {
    background: rgba(18, 182, 211, .14);
    border-color: rgba(18, 182, 211, .28);
    color: rgba(210, 248, 255, .92);
}

.status-pill--canceled {
    background: rgba(255, 98, 100, .14);
    border-color: rgba(255, 98, 100, .28);
    color: rgba(255, 214, 214, .92);
}

.history-page .history-row--fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: historyFadeIn 0.4s ease forwards;
}

@keyframes historyFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes historyFadeOut {
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.history-row--fade-in {
    transform: translate3d(0, 10px, 0);
    will-change: transform, opacity;
}

.history-page .delay-0 {
    animation-delay: 0s;
}

.history-page .delay-1 {
    animation-delay: .05s;
}

.history-page .delay-2 {
    animation-delay: .1s;
}

.history-page .delay-3 {
    animation-delay: .15s;
}

.history-page .delay-4 {
    animation-delay: .2s;
}

.history-page .delay-5 {
    animation-delay: .25s;
}

.history-page .delay-6 {
    animation-delay: .3s;
}

.history-page .delay-7 {
    animation-delay: .35s;
}

.history-page .delay-8 {
    animation-delay: .4s;
}

.history-page .delay-9 {
    animation-delay: .45s;
}

.styled-cancel-btn {
    height: 34px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 90, 90, .35);
    background: rgba(255, 90, 90, .10);
    color: #ff9a9a;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}

.styled-cancel-btn:hover {
    filter: brightness(1.12);
}

.history-head .c-status,
.history-row .c-status {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.history-head .c,
.history-row .c {
    font-size: 13px !important;
}

.status-pill {
    padding: 6px 10px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
}
}

html,
body {
    height: 100%;
}

.page-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

.page-wrapper > section {
    flex: 1;
}

footer {
    margin-top: auto;
}

.wallet-page {
    padding-bottom: 48px;
    width: 100%;
}

.wallet-page .container {
    width: 100%;
    margin-top: 30px;
}

.wallet-page__header {
    margin-top: 28px;
}

.wallet-page__icon {
    background: linear-gradient(180deg, #6A9EFF, #4F68E3 100%);
    color: #F9FBFF;
}

.wallet-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    width: 100%;
}

.wallet-panel {
    border-radius: 26px;
    background: radial-gradient(1200px 500px at 70% -20%, rgba(106, 158, 255, 0.10), rgba(16, 17, 24, 0) 60%),
        linear-gradient(180deg, rgba(21, 23, 33, 0.92), rgba(16, 17, 24, 0.92) 100%);
    border: 1px solid #1C1F2C;
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.55);
    padding: 20px;
}

.wallet-panel--left {
    padding: 18px;
    flex-direction: column;
}

.wallet-panel--right {
    padding: 18px 18px 16px;
}

.wallet-tabs {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.wallet-tab {
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #232739;
    background: rgba(29, 31, 44, 0.55);
    color: #4D4F59;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all .18s ease;
}

.wallet-tab:hover {
    background: rgba(29, 31, 44, 0.75);
    color: #F9FBFF;
}

.wallet-tab.is-active {
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.28), rgba(79, 104, 227, 0.18));
    border-color: rgba(106, 158, 255, 0.35);
    color: #F9FBFF;
}

.wallet-history {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(29, 31, 44, 0.55);
    border: 1px solid #232739;
    color: #767880;
    cursor: pointer;
    transition: all .18s ease;
}

.wallet-history:hover {
    background: rgba(29, 31, 44, 0.75);
    color: #F9FBFF;
}

.wallet-history__icon {
    display: inline-flex;
    color: currentColor;
}

.wallet-history__label {
    font-size: 16px;
    font-weight: 500;
}

.pay-grid {
    display: grid;
    gap: 14px;
    margin-top: 10px;
    flex: 1;
}

.pay-grid--deposit {
    grid-template-columns: repeat(3, 1fr);
}

.pay-grid--withdraw {
    grid-template-columns: repeat(2, 1fr);
}

.pay-card--wide {
    grid-column: 1 / -1;
}

.pay-card {
    text-align: left;
    border-radius: 18px;
    border: 1px solid #1D2030;
    background: rgba(21, 23, 33, 0.55);
    padding: 14px;
    min-height: 92px;
    cursor: pointer;
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.pay-card:hover {
    background: rgba(25, 27, 38, 0.65);
}

.pay-card:active {
    transform: translateY(1px);
}

.pay-card.is-active {
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.22), rgba(21, 23, 33, 0.55));
    border-color: rgba(106, 158, 255, 0.40);
    box-shadow: 0 0 0 1px rgba(106, 158, 255, 0.10) inset;
}

.pay-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pay-card__logo {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pay-card__logo img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.pay-card__badge {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #BBD0FF;
    background: rgba(106, 158, 255, 0.14);
    border: 1px solid rgba(106, 158, 255, 0.22);
}

.pay-card__badge--speed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F9FBFF;
    background: rgba(106, 158, 255, 0.18);
    border-color: rgba(106, 158, 255, 0.28);
    padding: 7px 10px;
}

.pay-bolt {
    width: 14px;
    height: 14px;
    color: #BBD0FF;
}

.wallet-pane {
    display: none;
}

.wallet-pane.is-active {
    display: block;
}

.pay-card__name {
    color: #F9FBFF;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
}

.pay-card__meta {
    margin-top: 8px;
    color: #767880;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pay-card__percent {
    color: #4D4F59;
    font-weight: 600;
}

.wallet-help {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: auto;
    padding-top: 18px;
    color: #4D4F59;
    font-size: 14px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .wallet-help {
        margin-top: 230px;
    }
}

.wallet-help__link {
    color: #6A9EFF;
}

.wallet-help__link:hover {
    color: #8FB6FF;
}

.amount-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.amount-head__title {
    color: #767880;
    font-size: 16px;
    font-weight: 500;
}

.amount-head--mt {
    margin-top: 16px;
}

.field-head {
    margin-bottom: 10px;
}

.field-head__title {
    color: #767880;
    font-size: 16px;
    font-weight: 500;
}

.field-input input {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    border: 1px solid #1D2030;
    background: rgba(21, 23, 33, 0.55);
    color: #F9FBFF;
    font-size: 16px;
    font-weight: 500;
    padding: 0 16px;
    outline: none;
}

.wallet-totals--mt {
    margin-top: 18px;
}

.amount-head__min {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #767880;
    font-size: 14px;
    font-weight: 500;
}

.amount-head__min .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6A9EFF;
    display: inline-block;
}

.amount-input input {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    border: 1px solid #1D2030;
    background: rgba(21, 23, 33, 0.55);
    color: #F9FBFF;
    font-size: 18px;
    font-weight: 500;
    padding: 0 16px;
    outline: none;
}

.amount-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.amount-chip,
.bank-chip {
    height: 40px;
    border-radius: 12px;
    border: 1px solid #1D2030;
    background: rgba(29, 31, 44, 0.40);
    color: #767880;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
}

.amount-chip:hover,
.bank-chip:hover {
    background: rgba(29, 31, 44, 0.60);
    color: #F9FBFF;
}

.amount-chip.is-active,
.bank-chip.is-active {
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.25), rgba(79, 104, 227, 0.12));
    border-color: rgba(106, 158, 255, 0.35);
    color: #F9FBFF;
}

.bank-buttons--withdraw {
    margin-top: 12px;
}

.bank-buttons--withdraw .bank-buttons__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.bonus-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    margin-bottom: 10px;
}

.bonus-head__title {
    color: #767880;
    font-size: 16px;
    font-weight: 500;
}

.bonus-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.bonus-toggle__label {
    color: #767880;
    font-size: 14px;
    font-weight: 500;
}

.bonus-toggle input {
    display: none;
}

.bonus-toggle__ui {
    width: 44px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid #232739;
    background: rgba(29, 31, 44, 0.55);
    position: relative;
    cursor: pointer;
    transition: all .15s ease;
}

.bonus-toggle__ui::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(180deg, #6A9EFF, #4F68E3);
    transition: all .15s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}

.bonus-toggle input:checked + .bonus-toggle__ui {
    background: rgba(21, 23, 33, 0.55);
}

.bonus-toggle input:checked + .bonus-toggle__ui::after {
    left: 22px;
    background: #4D4F59;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.bonus-card2 {
    position: relative;
    border-radius: 16px;
    border: 1px solid #1D2030;
    background: rgba(21, 23, 33, 0.55);
    padding: 12px;
    cursor: pointer;
    min-height: 90px;
    transition: all .15s ease;
    overflow: hidden;
}

.bonus-card2:hover {
    background: rgba(25, 27, 38, 0.65);
}

.bonus-card2.is-active {
    border-color: rgba(106, 158, 255, 0.40);
    box-shadow: 0 0 0 1px rgba(106, 158, 255, 0.10) inset;
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.16), rgba(21, 23, 33, 0.55));
}

.bonus-card2__badge {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(106, 158, 255, 0.16);
    border: 1px solid rgba(106, 158, 255, 0.22);
    color: #BBD0FF;
}

.bonus-card2__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 6px;
}

.bonus-card2__img {
    width: 56px;
    height: 71px;
    flex: 0 0 56px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bonus-card2__text {
    min-width: 0;
    margin-top: 20px;
}

.bonus-card2__line {
    color: #F9FBFF;
    font-size: 12px;
    font-weight: 700;
}

.bonus-card2__sub {
    margin-top: 4px;
    color: #767880;
    font-size: 12px;
    font-weight: 600;
}

.wallet-page.bonus-disabled .bonus-grid {
    opacity: 0.35;
    pointer-events: none;
}

.wallet-page.bonus-disabled .bonus-note {
    opacity: 0.6;
}

.bonus-note {
    margin-top: 10px;
    border-radius: 14px;
    border: 1px solid rgba(106, 158, 255, 0.25);
    background: rgba(106, 158, 255, 0.10);
    color: rgba(187, 208, 255, 0.85);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    padding: 10px 12px;
}

.promo-input {
    margin-top: 12px;
}

.promo-input__label {
    color: #F9FBFF;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.promo-input__label .muted {
    color: #4D4F59;
    font-weight: 500;
}

.promo-input input {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    border: 1px solid #1D2030;
    background: rgba(21, 23, 33, 0.55);
    color: #F9FBFF;
    font-size: 14px;
    font-weight: 500;
    padding: 0 14px;
    outline: none;
}

.wallet-totals {
    margin-top: 12px;
}

@media (min-width: 768px) {
    .wallet-totals--mt {
        margin-top: 320px !important;
    }
}

.wallet-totals__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 2px;
    border-bottom: 1px solid rgba(29, 31, 44, 0.65);
    color: #767880;
    font-size: 14px;
    font-weight: 500;
}

.wallet-totals__row:last-child {
    border-bottom: none;
}

.wallet-totals__row .v {
    color: #F9FBFF;
}

.wallet-pay {
    margin-top: 14px;
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    color: #F9FBFF;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(180deg, #6A9EFF, #4F68E3 100%);
    box-shadow: 0 14px 32px rgba(79, 104, 227, 0.35);
}

.wallet-pay:active {
    transform: translateY(1px);
}

@media (max-width: 1200px) {
    .wallet-layout {
        grid-template-columns: 1fr;
    }

    .bonus-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .pay-grid--deposit {
        grid-template-columns: repeat(2, 1fr);
    }

    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wallet-tabs {
        grid-template-columns: auto auto auto;
    }

    .wallet-history__label {
        display: none;
    }
}


@media (max-width: 980px) {
    .wallet-grid {
        grid-template-columns: 1fr !important;
    }

    .wallet-panel {
        width: 100%;
    }

    .pay-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .pay-grid {
        grid-template-columns: 1fr;
    }

    .amount-quick {
        flex-wrap: wrap;
    }

    .amount-chip {
        flex: 1 1 calc(50% - 10px);
    }
}

.footer-brand-row {
    display: flex !important;
    align-items: stretch !important;
    gap: 18px !important;
}

.footer-brand-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.footer-cga.footer-cga--brand {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    height: 100% !important;
    margin-top: 0 !important;
    text-decoration: none !important;
}

.footer-cga.footer-cga--brand .footer-cga__inner {
    height: 100% !important;
    width: 170px !important;
    background: #0b6b3a !important;
    border-radius: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    line-height: 1 !important;
}

.footer-cga__title {
    font-weight: 900 !important;
    font-size: 40px !important;
    color: #fff !important;
    line-height: 1 !important;
}

.footer-cga__sub {
    font-weight: 800 !important;
    font-size: 16px !important;
    color: #fff !important;
    line-height: 1 !important;
    opacity: .98 !important;
}

@media (max-width: 640px) {
    .footer-brand-row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .footer-cga.footer-cga--brand .footer-cga__inner {
        width: 170px !important;
        height: 86px !important;
    }
}

.footer-cga.footer-cga--brand .footer-cga__inner {
    width: 132px !important;
    height: 84px !important;
}

.footer-cga__title {
    font-size: 32px !important;
}

.footer-cga__sub {
    font-size: 13px !important;
}

.wallet-banner {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(92, 136, 255, 0.12);
    border: 1px solid rgba(92, 136, 255, 0.22);
    color: rgba(246, 247, 255, 0.95);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.30);
}

.wallet-banner__title {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: -0.2px;
    margin-bottom: 4px;
}

.wallet-banner__text {
    font-weight: 500;
    font-size: 12.5px;
    line-height: 1.35;
    color: rgba(246, 247, 255, 0.78);
}

.bonus-toggle.is-locked {
    opacity: 0.65;
    cursor: not-allowed;
}

.bonus-toggle.is-locked input {
    pointer-events: none;
}

.wallet-page.fs-disabled .bonus-card2 {
    filter: grayscale(1);
    opacity: 0.45;
    pointer-events: none;
}

.wallet-page.fs-disabled .bonus-card2 .bonus-card2__badge {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.55) !important;
}

.bonus-card2.is-disabled {
    pointer-events: none;
}

.bonus-deposit {
    margin-top: 18px;
}

.bonus-deposit__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 18px;
}

.bonus-deposit__headIcon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #5c88ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 14px 40px rgba(64, 111, 255, 0.25);
}

.bonus-deposit__headTitle {
    color: #f6f7ff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.bonus-deposit__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1100px) {
    .bonus-deposit__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .bonus-deposit__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.bd-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
    padding: 13px;
    min-height: 176px;
}

.bd-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bd-card__top {
    position: relative;
    min-height: 120px;
    padding: 16px;
    padding-right: 168px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.bd-card__title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.2px;
}

.bd-card__info {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    cursor: default;
}

.bd-card__art {
    position: absolute;
    right: -18px;
    top: -18px;
    width: min(70%, 320px);
    height: 176px;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.bd-card__bottom {
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
}

@media (max-width: 620px) {
    .bd-card {
        min-height: 168px;
    }

    .bd-card__top {
        padding-right: 150px;
    }

    .bd-card__art {
        right: -14px;
        top: -14px;
        width: min(62%, 300px);
        height: 164px;
        object-fit: contain;
    }
}

.bd-pill {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.1px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bd-cta {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.bd-cta__label {
    color: rgba(255, 255, 255, 0.70);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 6px;
}

.bd-cta__timer {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.90);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bd-cta__btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 16px;
    border: none;
    background: #ffffff;
    color: #171923;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
}

.bd-pill--active,
.bd-pill--received,
.bd-pill--locked,
.bd-cta {
    display: none;
}

.bd-card.is-active .bd-pill--active {
    display: inline-flex;
}

.bd-card.is-received .bd-pill--received {
    display: inline-flex;
}

.bd-card.is-locked .bd-pill--locked {
    display: inline-flex;
}

.bd-card.is-available .bd-cta {
    display: flex;
}

.bd-card--blue.is-active,
.bd-card--blue.is-available {
    background: #5b83ff;
}

.bd-card--purple.is-active,
.bd-card--purple.is-available {
    background: #8d54ff;
}

.bd-card--green.is-active,
.bd-card--green.is-available {
    background: #42e24a;
}

.bd-card--red.is-active,
.bd-card--red.is-available {
    background: #ff4a4a;
}

.bd-card--gold.is-active,
.bd-card--gold.is-available {
    background: #ffb12f;
}

.bd-card--crypto {
    background: #7a69ff;
}

.bd-card.is-active .bd-card__top,
.bd-card.is-available .bd-card__top {
    background: rgba(255, 255, 255, 0.18);
}

.bd-card.is-locked,
.bd-card.is-received {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.bd-card.is-locked .bd-card__top,
.bd-card.is-received .bd-card__top {
    background: rgba(255, 255, 255, 0.03);
}

.bd-card.is-locked .bd-card__info,
.bd-card.is-received .bd-card__info {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.80);
}

html.is-bd-modal-open {
    overflow: hidden;
}

.bd-modal-backdrop {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(10px);
    z-index: 9999;
}

.bd-modal-backdrop.is-open {
    display: flex;
}

.bd-modal {
    width: min(560px, calc(100vw - 32px));
    border-radius: 22px;
    overflow: hidden;
    background: rgba(20, 22, 28, .92);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .55);
}

.bd-modal__banner {
    position: relative;
    height: 190px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.bd-modal__bannerImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bd-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bd-modal__close:hover {
    background: rgba(255, 255, 255, .10);
}

.bd-modal__body {
    padding: 20px 22px 22px;
}

.bd-modal__title {
    margin: 2px 0 16px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.bd-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bdm-field {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
}

.bdm-field__label {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 6px;
}

.bdm-field__value {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.bd-modal__notes {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.bdm-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 196, 0, .12);
    border: 1px solid rgba(255, 196, 0, .18);
}

.bdm-note__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 196, 0, .16);
    color: rgba(255, 196, 0, .95);
    flex: 0 0 34px;
}

.bdm-note__text {
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
}

.bd-modal__actions {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.bd-modal__btn {
    height: 56px;
    border-radius: 18px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.bd-modal__btn--ghost {
    background: #fff;
    color: #0f1116;
    border: none;
}

.bd-modal__btn--solid {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .10);
}

.bd-modal__btn--solid:hover {
    background: rgba(255, 255, 255, .10);
}

@media (max-width: 520px) {
    .bd-modal-backdrop {
        padding: 16px;
    }

    .bd-modal__body {
        padding: 18px 16px 18px;
    }

    .bd-modal__title {
        font-size: 22px;
    }

    .bd-modal__grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .bdm-field__value {
        font-size: 20px;
    }

    .bd-modal__actions {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .bd-modal__btn {
        height: 54px;
        font-size: 17px;
    }
}

.bd-modal-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(10px);
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.bd-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.bd-modal {
    width: min(560px, calc(100vw - 32px));
    border-radius: 22px;
    overflow: hidden;
    background: rgba(20, 22, 28, .92);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .55);

    opacity: 0;
    transform: translateY(14px) scale(.985);
    transition: transform .22s ease, opacity .22s ease;
    will-change: transform, opacity;
}

.bd-modal-backdrop.is-open .bd-modal {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {

    .bd-modal-backdrop,
    .bd-modal {
        transition: none !important;
    }
}

.bd-modal {
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 24px);
}

.bd-modal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 620px) {
    .bd-modal-backdrop {
        align-items: flex-start;
        padding: 12px;
    }
}

@media (max-width: 520px) {
    .bd-modal {
        max-height: calc(100dvh - 16px);
        border-radius: 18px;
    }

    .bd-modal__banner {
        height: 120px;
    }

    .bd-modal__close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        border-radius: 14px;
    }

    .bd-modal__body {
        padding: 14px 14px 14px;
    }

    .bd-modal__title {
        margin: 0 0 12px;
        font-size: 18px;
        line-height: 1.1;
    }

    .bd-modal__grid {
        gap: 8px;
    }

    .bdm-field {
        padding: 10px 12px;
        border-radius: 14px;
    }

    .bdm-field__label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .bdm-field__value {
        font-size: 18px;
    }

    .bd-modal__notes {
        margin-top: 10px;
        gap: 8px;
    }

    .bdm-note {
        padding: 10px 12px;
        border-radius: 14px;
        gap: 10px;
    }

    .bdm-note__icon {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        flex: 0 0 30px;
    }

    .bdm-note__text {
        font-size: 12.5px;
        line-height: 1.25;
    }

    .bd-modal__actions {
        margin-top: 12px;
        gap: 10px;
    }

    .bd-modal__btn {
        height: 46px;
        font-size: 14px;
        border-radius: 14px;
    }
}

.bonus-swiper-wrap {
    position: relative;
    width: 100%;
    margin: 22px auto 0;
    padding: 0;
}

.bonus-swiper {
    width: 100%;
    overflow: hidden;
    border-radius: 26px;
}

.bonus-swiper .swiper-wrapper {
    align-items: stretch;
}

.bonus-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.bonus-swiper .swiper-slide > .bonus-card {
    width: 100%;
    min-width: 0;
}

.bonus-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 60px;
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.30), inset 0 0 0 1px rgba(255, 255, 255, 0.04);

    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    z-index: 50;
    opacity: .9;
    transition: transform .15s ease, background .15s ease, opacity .15s ease;
}

.bonus-nav:hover {
    background: rgba(255, 255, 255, 0.10);
    opacity: 1;
    transform: translateY(-50%) scale(1.04);
}

.bonus-nav svg {
    width: 18px;
    height: 18px;
}

.bonus-nav--prev {
    left: 10px;
}

.bonus-nav--next {
    right: 10px;
}

.bonus-nav {
    pointer-events: auto;
}

@media (max-width: 640px) {
    .bonus-nav--prev {
        left: 6px;
    }

    .bonus-nav--next {
        right: 6px;
    }

    .bonus-nav {
        width: 30px;
        height: 56px;
    }
}

.bonus-card.bonus-15min {
    background: radial-gradient(120% 120% at 50% 0%,
            rgba(180, 140, 255, 0.10) 0%,
            rgba(18, 20, 30, 1) 55%);
    border: 1px solid rgba(180, 140, 255, 0.12);
}

.bonus-card.bonus-15min .bonus-card__image {
    filter: drop-shadow(0 4px 10px rgba(180, 140, 255, 0.25));
}

.bonus-card.bonus-15min .bonus-card__title {
    color: #ffffff;
}

.bonus-card.bonus-15min .bonus-card__desc {
    color: rgba(255, 255, 255, 0.55);
}

.bonus-card.bonus-15min .js-15m-timer {
    color: #cdb7ff;
    font-weight: 600;
}

.bonus-card.bonus-15min .bonus-btn {
    background: linear-gradient(180deg, #8b6cff, #6f4cff);
    box-shadow: 0 8px 20px rgba(140, 110, 255, 0.35);
}

.bonus-card.bonus-15min .bonus-btn:hover {
    background: linear-gradient(180deg, #9a7cff, #7a59ff);
}

.bonus-card.bonus-15min .bonus-btn:disabled {
    background: rgba(140, 110, 255, 0.25);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.6);
}

.bonus-swipe-hint {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 6;

    display: none;
    align-items: center;
    gap: 8px;

    padding: 6px 14px;
    border-radius: 999px;

    background: rgba(16, 17, 24, 0.75);
    backdrop-filter: blur(6px);

    color: #fff;
    font-size: 13px;
    font-weight: 500;

    pointer-events: none;
}

.bonus-swipe-hint .hint-hand {
    animation: bonusSwipe 1.4s infinite;
}

@keyframes bonusSwipe {
    0% {
        transform: translateX(0);
        opacity: .6;
    }

    50% {
        transform: translateX(10px);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: .6;
    }
}

@media (max-width: 768px) {
    .bonus-swipe-hint {
        display: flex;
    }
}

@media (max-width: 768px) {
    .bonus-nav:not(.swiper-button-disabled) {
        animation: arrowPulse 1.6s infinite;
    }
}

.bonus-deposit.is-bd-cooldown .bonus-deposit__grid {
    position: relative;
}

.bonus-deposit.is-bd-cooldown .bonus-deposit__grid::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(70% 60% at 50% 35%, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .55) 100%);
    pointer-events: none;
    z-index: 2;
}

.bd-cooldown-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    pointer-events: none;
    z-index: 3;
}

.bd-cooldown-overlay__box {
    max-width: 560px;
    width: 100%;
    border-radius: 22px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, .35);
}

.bd-cooldown-overlay__title {
    color: rgba(255, 255, 255, .92);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: .2px;
    margin-bottom: 8px;
}

.bd-cooldown-overlay__sub {
    color: rgba(255, 255, 255, .65);
    font-size: 13px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.bd-cooldown-overlay__time {
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: .6px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}

@media (max-width: 520px) {
    .bonus-deposit.is-bd-cooldown .bonus-deposit__grid::after {
        border-radius: 18px;
    }

    .bd-cooldown-overlay__box {
        border-radius: 18px;
        padding: 14px 14px;
    }

    .bd-cooldown-overlay__title {
        font-size: 16px;
    }

    .bd-cooldown-overlay__time {
        font-size: 20px;
    }
}


.bonus-deposit.is-bd-cooldown .bd-card--crypto {
    filter: none;
    opacity: 1;
    pointer-events: auto;
}

.sidebar-brand {
    position: relative;
}

.sidebar-brand::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    height: 1px;
    background: rgba(42, 49, 70, .85);
    bottom: -10px;
}

.bonus-card--personal {
    position: relative;
}

.bonus-card--personal .bonus-card__info {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    margin: 0;
}

.partnership-block {
    margin-top: 24px;
    border-radius: 24px;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(18, 211, 86, 0.12) 0%, rgba(18, 211, 86, 0) 45%),
        linear-gradient(180deg, rgba(24, 27, 38, 0.98), rgba(21, 23, 33, 0.98) 100%);
    border: 1px solid rgba(76, 94, 133, 0.28);
    padding: 24px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    position: relative;
}

.partnership-block::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(18, 211, 86, 0.06);
    filter: blur(10px);
    pointer-events: none;
}

.partnership-content {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.partnership-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(18, 211, 86, 0.1);
    border: 1px solid rgba(18, 211, 86, 0.22);
    color: #8df0b2;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}

.partnership-badge__icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 211, 86, 0.14);
    color: #8df0b2;
    flex-shrink: 0;
}

.partnership-text h3 {
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 26px;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: 8px;
}

.partnership-text p {
    max-width: 720px;
    color: #8c93a8;
    font-family: Google Sans;
    font-size: 17px;
    font-weight: 500;
    line-height: 150%;
}

.partnership-btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    height: 58px;
    padding: 0 24px;
    border-radius: 16px;
    background: linear-gradient(180deg, #12d356, #07a448 100%);
    color: #f9fbff;
    font-family: Google Sans;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.partnership-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.partnership-btn svg {
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .partnership-block {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .partnership-text h3 {
        font-size: 23px;
    }

    .partnership-text p {
        max-width: none;
        font-size: 16px;
    }

    .partnership-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .partnership-block {
        margin-top: 20px;
        border-radius: 20px;
        padding: 18px;
        gap: 18px;
    }

    .partnership-badge {
        padding: 9px 12px;
        font-size: 14px;
    }

    .partnership-text h3 {
        font-size: 21px;
        margin-bottom: 6px;
    }

    .partnership-text p {
        font-size: 15px;
        line-height: 145%;
    }

    .partnership-btn {
        height: 52px;
        border-radius: 14px;
        font-size: 16px;
    }
}

.partnership-block {
    margin-top: 24px;
    margin-bottom: 24px;
}

.case-page {
    padding-top: 24px;
}

.case-top {
    display: grid;
    grid-template-columns: 520px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    max-width: 1450px;
}

.case-panel {
    border-radius: 32px;
    background: #151721;
    position: relative;
    overflow: hidden;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}


.case-panel--list {
    padding: 26px 26px 22px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
}

.case-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.case-head-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.case-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #7da7ff 0%, #6283f2 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 10px 24px rgba(79, 104, 227, .16);
    flex: 0 0 auto;
}

.case-icon svg {
    width: 24px;
    height: 24px;
}

.case-head-title {
    color: #f4f7ff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.15;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.case-card {
    --ribbon: rgba(245, 173, 78, .22);
    --card-glow: rgba(255, 180, 70, .18);
    --card-glow-strong: rgba(255, 180, 70, .35);
    --card-border: rgba(255, 255, 255, .08);

    position: relative;
    height: 230px;
    border-radius: 22px;
    border: 1px solid var(--card-border);
    background: linear-gradient(180deg, rgba(37, 41, 58, .96) 0%, rgba(22, 26, 39, .98) 100%);
    padding: 14px 12px 12px;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        background .22s ease;
    isolation: isolate;
    width: 100%;
    min-width: 0;
}

.case-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(170px 140px at 50% 82%, var(--card-glow), transparent 72%);
    opacity: 0;
    transition: opacity .22s ease;
    z-index: 0;
}

.case-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0));
    opacity: .55;
    pointer-events: none;
    z-index: 0;
}

.case-card-glow {
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%) scale(.94);
    width: 82%;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--card-glow-strong) 0%, rgba(0, 0, 0, 0) 72%);
    filter: blur(24px);
    opacity: 0;
    transition: opacity .22s ease, transform .22s ease;
    z-index: 0;
}

.case-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .12);
}

.case-card:hover::before {
    opacity: .16;
}

.case-card:hover .case-card-glow {
    opacity: .14;
    transform: translateX(-50%) scale(1);
}

.case-card.is-active {
    border-color: rgba(255, 255, 255, .14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .05),
        0 10px 24px rgba(0, 0, 0, .16);
}

.case-card.is-active::before {
    opacity: 1;
}

.case-card.is-active .case-card-glow {
    opacity: 1;
    transform: translateX(-50%) scale(1.04);
}

.case-card > * {
    position: relative;
    z-index: 2;
}

.case-card-img {
    height: 132px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: 8px;
}

.case-card-img img {
    max-width: 140px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .35));
    transition: transform .22s ease, filter .22s ease;
}

.case-card:hover .case-card-img img,
.case-card.is-active .case-card-img img {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .42));
}

.case-card-price {
    margin-top: 10px;
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #f9fbff;
    font-size: 17px;
    font-weight: 700;
    border-radius: 16px;
    background: rgba(27, 31, 46, .94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.case-card-price img {
    width: 18px;
    height: 18px;
}

.case-card-cap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
}

.case-ribbon {
    position: absolute;
    top: 34px;
    right: -18px;
    width: 250px;
    height: 46px;
    transform: rotate(35deg);
    transform-origin: right top;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 0 12px;
    box-sizing: border-box;
}

.case-ribbon::before,
.case-ribbon::after {
    content: "";
    position: absolute;
    left: -20px;
    right: -20px;
    height: 2px;
    background: var(--ribbon);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .35);
}

.case-ribbon::before {
    top: 8px;
}

.case-ribbon::after {
    bottom: 8px;
    opacity: .22;
}

.case-ribbon .cap-do,
.case-ribbon .cap-val {
    position: relative;
    z-index: 2;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, .82);
    text-shadow: 0 10px 18px rgba(0, 0, 0, .55);
    line-height: 1;
    white-space: nowrap;
}

.case-ribbon .cap-do {
    width: 26px;
    text-align: left;
    opacity: .95;
}

.case-ribbon .cap-val {
    width: 120px;
    text-align: right;
    overflow: hidden;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum"1;
    letter-spacing: .005em;
}

.case-card[data-theme="bronze"] {
    --ribbon: rgba(245, 173, 78, .28);
    --card-glow: rgba(255, 146, 34, .19);
    --card-glow-strong: rgba(255, 146, 34, .38);
}

.case-card[data-theme="silver"] {
    --ribbon: rgba(227, 235, 255, .24);
    --card-glow: rgba(220, 228, 246, .14);
    --card-glow-strong: rgba(220, 228, 246, .24);
}

.case-card[data-theme="gold"] {
    --ribbon: rgba(255, 216, 94, .30);
    --card-glow: rgba(255, 210, 50, .18);
    --card-glow-strong: rgba(255, 210, 50, .34);
}

.case-card[data-theme="diamond"] {
    --ribbon: rgba(244, 248, 255, .25);
    --card-glow: rgba(245, 245, 245, .16);
    --card-glow-strong: rgba(255, 255, 255, .26);
}

.case-card[data-theme="emerald"] {
    --ribbon: rgba(84, 255, 146, .28);
    --card-glow: rgba(40, 255, 104, .18);
    --card-glow-strong: rgba(40, 255, 104, .34);
}

.case-card[data-theme="ruby"] {
    --ribbon: rgba(255, 92, 109, .28);
    --card-glow: rgba(255, 52, 78, .18);
    --card-glow-strong: rgba(255, 52, 78, .34);
}

.case-panel--open {
    min-height: 560px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(7, 10, 18, .10) 0%, rgba(7, 10, 18, .18) 100%),
        url('/assets/images/case/background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.case-panel--open::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 55%, rgba(87, 129, 255, .06) 0%, rgba(87, 129, 255, .03) 12%, rgba(87, 129, 255, 0) 34%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, .02) 0%, rgba(255, 255, 255, 0) 44%);
    z-index: 0;
}

.case-panel--open::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, .14) 100%);
    z-index: 0;
}

.case-panel--open > * {
    position: relative;
    z-index: 1;
}

.case-open-head {
    text-align: center;
    padding-top: 54px;
    padding-left: 20px;
    padding-right: 20px;
}

.case-open-title {
    color: rgba(249, 251, 255, .95);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.1;
}

.case-open-sub {
    margin-top: 10px;
    color: rgba(249, 251, 255, .38);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.15;
}

.case-roulette {
    margin: 92px auto 0;
    width: calc(100% - 44px);
    height: 154px;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(52, 68, 111, .10);
    border: 1px solid rgba(138, 164, 255, .13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
}

.case-roulette-window {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 12, 21, .26) 0%, rgba(9, 12, 21, .08) 10%, rgba(9, 12, 21, 0) 24%),
        linear-gradient(270deg, rgba(9, 12, 21, .26) 0%, rgba(9, 12, 21, .08) 10%, rgba(9, 12, 21, 0) 24%);
    pointer-events: none;
}

.case-roulette-track {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 26px;
}

.case-roulette-item {
    width: 92px;
    height: 92px;
    border-radius: 22px;
    background: rgba(12, 16, 28, .30);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.case-roulette-item img {
    width: 120px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35));
}

.case-roulette-mark {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    z-index: 3;
    filter: drop-shadow(0 6px 10px rgba(88, 127, 255, .16));
}

.case-roulette-mark--top {
    top: -1px;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 19px solid #75a0ff;
}

.case-roulette-mark--bottom {
    bottom: -1px;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-bottom: 19px solid #75a0ff;
}

.case-open-btn {
    margin: 70px auto 0;
    width: 540px;
    max-width: calc(100% - 120px);
    height: 62px;
    border-radius: 22px;
    border: none;
    cursor: pointer;
    color: #f9fbff;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(180deg, #7da7ff 0%, #6283f2 100%);
    display: block;
    box-shadow:
        0 12px 28px rgba(84, 120, 255, .16),
        inset 0 1px 0 rgba(255, 255, 255, .16);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.case-open-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 14px 30px rgba(84, 120, 255, .19),
        inset 0 1px 0 rgba(255, 255, 255, .20);
    filter: brightness(1.02);
}

.case-panel--content {
    margin-top: 22px;
    padding: 22px 22px 18px;
}

.case-content-title {
    text-align: center;
    color: rgba(249, 251, 255, .85);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
}

.case-content-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 16px;
    justify-items: center;
}

.case-drop {
    width: 100%;
    max-width: 118px;
    height: 86px;
    border-radius: 16px;
    background: rgba(25, 27, 38, .7);
    border: 1px solid rgba(255, 255, 255, .06);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-drop-chance {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: rgba(249, 251, 255, .35);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgb(13 14 22 / 76%);
    border: 1px solid rgba(255, 255, 255, .06);
    white-space: nowrap;
    z-index: 50;
}

.case-drop-body img {
    width: 100%;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35));
}

@media (max-width: 1400px) {
    .case-content-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

@media (max-width: 1200px) {
    .case-top {
        grid-template-columns: 1fr;
    }

    .case-panel--open {
        order: 1;
        min-height: 520px;
    }

    .case-panel--list {
        order: 2;
        min-height: auto;
    }

    .case-open-btn {
        width: calc(100% - 80px);
        max-width: none;
    }

    .case-content-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .case-page {
        padding-top: 16px;
    }

    .case-top,
    .case-panel--content {
        gap: 16px;
    }

    .case-panel,
    .case-panel--open,
    .case-panel--list,
    .case-panel--content {
        border-radius: 26px;
    }

    .case-panel--list {
        padding: 20px;
    }

    .case-panel--content {
        padding: 20px 16px 16px;
        margin-top: 16px;
    }

    .case-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .case-card {
        height: 200px;
        border-radius: 18px;
        padding: 10px 10px 12px;
    }

    .case-card-img {
        height: 104px;
        margin-top: 6px;
    }

    .case-card-img img {
        max-width: 112px;
    }

    .case-card-price {
        height: 42px;
        border-radius: 14px;
        font-size: 16px;
        margin-top: 8px;
    }

    .case-card-price img {
        width: 16px;
        height: 16px;
    }

    .case-ribbon {
        top: 26px;
        right: -48px;
        width: 210px;
        height: 38px;
    }

    .case-ribbon .cap-do,
    .case-ribbon .cap-val {
        font-size: 12px;
    }

    .case-ribbon .cap-val {
        width: 96px;
    }

    .case-open-head {
        padding-top: 34px;
    }

    .case-open-title {
        font-size: 19px;
    }

    .case-open-sub {
        margin-top: 8px;
        font-size: 14px;
    }

    .case-roulette {
        margin-top: 52px;
        width: calc(100% - 28px);
        height: 122px;
        border-radius: 22px;
    }

    .case-roulette-track {
        gap: 10px;
        padding: 0 14px;
    }

    .case-roulette-item {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .case-roulette-item img {
        width: 44px;
    }

    .case-roulette-mark--top {
        border-left-width: 10px;
        border-right-width: 10px;
        border-top-width: 15px;
    }

    .case-roulette-mark--bottom {
        border-left-width: 10px;
        border-right-width: 10px;
        border-bottom-width: 15px;
    }

    .case-open-btn {
        margin-top: 38px;
        width: calc(100% - 28px);
        height: 52px;
        border-radius: 18px;
        font-size: 17px;
    }

    .case-content-title {
        font-size: 17px;
        margin-bottom: 16px;
    }

    .case-content-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .case-drop {
        max-width: none;
        height: 82px;
        border-radius: 14px;
    }

    .case-drop-chance {
        top: 6px;
        font-size: 11px;
        padding: 3px 8px;
    }

    .case-drop-body img {
        width: 90px;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .case-page {
        padding-top: 12px;
    }

    .case-top {
        gap: 14px;
    }

    .case-panel--open {
        min-height: 360px;
        border-radius: 22px;
    }

    .case-panel--list,
    .case-panel--content {
        border-radius: 22px;
    }

    .case-panel--list {
        padding: 16px;
    }

    .case-head-left {
        gap: 12px;
    }

    .case-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .case-icon svg {
        width: 20px;
        height: 20px;
    }

    .case-head-title {
        font-size: 16px;
    }

    .case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .case-card {
        height: 160px;
        border-radius: 16px;
        padding: 8px 8px 10px;
    }

    .case-card-img {
        height: 78px;
        margin-top: 2px;
    }

    .case-card-img img {
        max-width: 86px;
    }

    .case-card-price {
        height: 36px;
        border-radius: 12px;
        font-size: 14px;
        gap: 6px;
    }

    .case-card-price img {
        width: 14px;
        height: 14px;
    }

    .case-ribbon {
        top: 21px;
        right: -58px;
        width: 180px;
        height: 30px;
        gap: 4px;
    }

    .case-ribbon::before,
    .case-ribbon::after {
        height: 1px;
    }

    .case-ribbon .cap-do,
    .case-ribbon .cap-val {
        font-size: 10px;
    }

    .case-ribbon .cap-do {
        width: 18px;
    }

    .case-ribbon .cap-val {
        width: 78px;
    }

    .case-open-head {
        padding-top: 22px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .case-open-title {
        font-size: 16px;
    }

    .case-open-sub {
        font-size: 13px;
        margin-top: 6px;
    }

    .case-roulette {
        margin-top: 32px;
        width: calc(100% - 22px);
        height: 96px;
        border-radius: 18px;
    }

    .case-roulette-track {
        gap: 8px;
        padding: 0 10px;
    }

    .case-roulette-item {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .case-roulette-item img {
        width: 60px;
    }

    .case-roulette-mark--top {
        border-left-width: 8px;
        border-right-width: 8px;
        border-top-width: 12px;
    }

    .case-roulette-mark--bottom {
        border-left-width: 8px;
        border-right-width: 8px;
        border-bottom-width: 12px;
    }

    .case-open-btn {
        margin-top: 26px;
        width: calc(100% - 22px);
        height: 44px;
        border-radius: 14px;
        font-size: 16px;
    }

    .case-panel--content {
        margin-top: 14px;
        padding: 16px 10px 12px;
    }

    .case-content-title {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .case-content-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .case-drop {
        height: 70px;
        border-radius: 12px;
    }

    .case-drop-chance {
        top: 4px;
        font-size: 10px;
        padding: 2px 6px;
    }

    .case-drop-body img {
        width: 90px;
    }
}

@media (max-width: 420px) {
    .case-content-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.case-open-btn:disabled {
    cursor: default;
    opacity: .9;
    filter: saturate(0.95);
}

.case-roulette-track {
    justify-content: flex-start;
    width: max-content;
    will-change: transform;
}

.case-roulette-item {
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .03),
        0 8px 18px rgba(0, 0, 0, .16);
}

.case-roulette-item.is-winner::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 26px;
    border: 1px solid rgba(125, 167, 255, .34);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .05),
        0 0 26px rgba(125, 167, 255, .22);
    pointer-events: none;
    animation: winnerPulse .9s ease;
}

@keyframes winnerPulse {
    0% {
        opacity: 0;
        transform: scale(.92);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.case-roulette-item {
    will-change: transform, filter;
}

.case-roulette-item.is-center {
    transform: scale(1.06);
    filter: brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .case-roulette-item.is-center {
        transform: none;
        filter: none;
    }
}

.case-roulette-track {
    will-change: transform, filter;
}

.case-roulette {
    --tick: 0;
}

.case-roulette-mark {
    transform: translateX(-50%) scale(calc(1 + var(--tick) * 0.06));
    transition: transform 80ms ease;
}

.case-roulette-item {
    will-change: transform, filter;
}

.case-roulette-item.is-center {
    transform: scale(1.02);
    filter: brightness(1.02);
}

.case-roulette-item.is-center.is-tick {
    animation: tickPop 120ms ease;
}

@keyframes tickPop {
    0% {
        transform: scale(1.02);
        filter: brightness(1.02);
    }

    55% {
        transform: scale(1.09);
        filter: brightness(1.10);
    }

    100% {
        transform: scale(1.02);
        filter: brightness(1.02);
    }
}

.btn-banner-case {
    margin-top: 120px;
}

@media (max-width: 768px) {
    .btn-banner-case {
        margin-top: 70px;
    }
}

.spring-calendar-page {
    margin-top: 24px;
    width: 100%;
}

.spring-calendar-page__container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.spring-calendar {
    width: 100%;
    color: #F9FBFF;
}

.spring-calendar__hero,
.spring-calendar__days,
.spring-calendar__bottom-grid {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.spring-calendar__hero {
    position: relative;
    height: 370px;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7, 10, 21, 0.94) 0%, rgba(7, 10, 21, 0.72) 16%, rgba(7, 10, 21, 0.10) 48%, rgba(7, 10, 21, 0.72) 84%, rgba(7, 10, 21, 0.94) 100%),
        url('/assets/images/calendar/background.png') center -32px / cover no-repeat;
    box-shadow:
        0 0 0 1px rgba(57, 67, 99, 0.42) inset,
        0 20px 60px rgba(0, 0, 0, 0.22);
    display: grid;
    grid-template-columns: 360px 1fr 360px;
    align-items: stretch;
}

.spring-calendar__hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 6%, rgba(255, 255, 218, 0.32), rgba(255, 255, 255, 0) 28%),
        radial-gradient(circle at 50% 45%, rgba(75, 113, 229, 0.13), rgba(75, 113, 229, 0) 42%);
    pointer-events: none;
    z-index: 1;
}

.spring-calendar__hero-side,
.spring-calendar__hero-center {
    position: relative;
    z-index: 2;
}

.spring-calendar__hero-side--left {
    padding: 34px 0 0 26px;
    margin-right: -34px;
    z-index: 3;
}

.spring-calendar__hero-side--right {
    padding: 26px 26px 0 0;
    margin-left: -34px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 3;
}

.spring-calendar__title {
    margin: 0;
    color: #FFFFFF;
    font-size: 37px;
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.03em;
}

.spring-calendar__subtitle {
    margin: 30px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.42;
}

.spring-calendar__claim-btn {
    margin-top: 80px;
    width: 320px;
    max-width: 100%;
    height: 60px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    color: #F9FBFF;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(180deg, #6FA4FF 0%, #4F68E3 100%);
    box-shadow:
        0 8px 24px rgba(79, 104, 227, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.18) inset;
    transition: transform .18s ease, filter .18s ease;
}

.spring-calendar__claim-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.spring-calendar__hero-center {
    height: 100%;
}

.spring-calendar__countdown-block {
    width: 100%;
}

.spring-calendar__countdown-title {
    text-align: right;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.spring-calendar__countdown {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.spring-calendar__countdown-item {
    width: 58px;
    text-align: center;
}

.spring-calendar__countdown-value {
    height: 62px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.spring-calendar__countdown-label {
    margin-top: 10px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.spring-calendar__received {
    margin-top: 111px;
    width: 100%;
    min-height: 60px;
    border-radius: 999px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(28, 32, 46, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        0 10px 28px rgba(0, 0, 0, 0.16);
}

.spring-calendar__received-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(106, 158, 255, 0.08);
}

.spring-calendar__received-text {
    color: #F2F5FF;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.28;
}

.spring-calendar__days {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 14px;
}

.calendar-day {
    position: relative;
    height: 180px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(24, 27, 39, 0.98) 0%, rgba(18, 21, 31, 0.98) 100%);
    overflow: hidden;
    cursor: pointer;
    padding: 14px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.calendar-day:hover {
    transform: translateY(-2px);
}

.calendar-day__status {
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0.95;
}

.calendar-day__flower {
    width: 100%;
    height: 92px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    margin-top: -4px;
}

.calendar-day__label {
    width: 100%;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calendar-day--success {
    border-color: rgba(91, 140, 255, 0.60);
    background:
        radial-gradient(circle at 50% 10%, rgba(110, 164, 255, 0.11), rgba(110, 164, 255, 0) 42%),
        linear-gradient(180deg, rgba(42, 51, 83, 0.96) 0%, rgba(31, 38, 62, 0.96) 100%);
    box-shadow:
        0 0 0 1px rgba(106, 158, 255, 0.18) inset,
        0 0 28px rgba(79, 104, 227, 0.12);
}

.calendar-day--success .calendar-day__flower {
    background-image: url('/assets/images/calendar/day_open.png');
    filter: drop-shadow(0 0 16px rgba(118, 175, 255, 0.22));
}

.calendar-day--success .calendar-day__label {
    color: #6A9EFF;
    background: rgba(61, 73, 116, 0.62);
    border-color: rgba(106, 158, 255, 0.14);
}

.calendar-day--active {
    border-color: rgba(91, 140, 255, 0.40);
    box-shadow:
        0 0 0 1px rgba(106, 158, 255, 0.12) inset,
        0 0 20px rgba(79, 104, 227, 0.08);
}

.calendar-day--active .calendar-day__flower {
    background-image: url('/assets/images/calendar/day_close.png');
    opacity: 0.95;
}

.calendar-day--active .calendar-day__label {
    color: rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.03);
}

.calendar-day--disabled .calendar-day__flower {
    background-image: url('/assets/images/calendar/day_close.png');
    opacity: 0.92;
    filter: grayscale(0.1);
}

.calendar-day--disabled .calendar-day__label {
    color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.03);
}

.spring-calendar__bottom-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.spring-card {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(18, 21, 31, 0.96) 0%, rgba(14, 17, 27, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.015) inset,
        0 18px 48px rgba(0, 0, 0, 0.16);
}

.spring-prize-card {
    min-height: 160px;
    padding: 24px 22px 20px;
}

.spring-prize-card__top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.spring-prize-card__text {
    max-width: 410px;
    color: #F2F5FF;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.42;
}

.spring-prize-card__amount {
    min-width: 116px;
    height: 50px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, rgba(106, 158, 255, 0.20), rgba(79, 104, 227, 0.20));
    border: 1px solid rgba(106, 158, 255, 0.28);
    color: #F9FBFF;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(79, 104, 227, 0.10);
}

.spring-prize-card__gift {
    font-size: 16px;
    line-height: 1;
}

.spring-prize-card__bottom {
    margin-top: 24px;
}

.spring-prize-card__label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
}

.spring-progress {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.spring-progress__item {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    display: block;
}

.spring-progress__item--filled {
    background: linear-gradient(90deg, #6A9EFF 0%, #5E83F1 100%);
    box-shadow: 0 0 14px rgba(106, 158, 255, 0.22);
}

.spring-faqs {
    padding: 0;
    overflow: hidden;
}

.spring-faq {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.spring-faq:last-child {
    border-bottom: none;
}

.spring-faq__head {
    width: 100%;
    min-height: 68px;
    padding: 0 22px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    color: #F9FBFF;
    text-align: left;
}

.spring-faq__left {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}

.spring-faq__qmark {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 10px;
    background: rgba(106, 158, 255, 0.10);
    border: 1px solid rgba(106, 158, 255, 0.16);
    color: #6A9EFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
}

.spring-faq__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .18s ease;
}

.spring-faq__body {
    display: none;
    padding: 0 22px 20px 64px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    max-width: 620px;
}

.spring-faq--open .spring-faq__body {
    display: block;
}

.spring-faq--open .spring-faq__arrow {
    transform: rotate(180deg);
}

@media (max-width: 1280px) {
    .spring-calendar__hero {
        grid-template-columns: 250px 1fr 270px;
        height: 340px;
    }

    .spring-calendar__title {
        font-size: 30px;
    }

    .spring-calendar__claim-btn {
        width: 280px;
    }

    .spring-calendar__days {
        grid-template-columns: repeat(4, 1fr);
    }

    .spring-calendar__bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .spring-calendar__hero {
        height: auto;
        grid-template-columns: 1fr;
        padding: 22px 18px 18px;
        gap: 20px;
    }

    .spring-calendar__hero-side--left,
    .spring-calendar__hero-side--right {
        padding: 0;
    }

    .spring-calendar__hero-center {
        min-height: 220px;
    }

    .spring-calendar__title {
        font-size: 28px;
    }

    .spring-calendar__subtitle {
        margin-top: 16px;
        font-size: 14px;
    }

    .spring-calendar__claim-btn {
        width: 100%;
        max-width: 320px;
        height: 56px;
        margin-top: 22px;
        font-size: 15px;
    }

    .spring-calendar__countdown-title {
        text-align: left;
        font-size: 17px;
    }

    .spring-calendar__countdown {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .spring-calendar__received {
        margin-top: 20px;
    }

    .spring-calendar__days {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .spring-calendar-page {
        margin-top: 16px;
    }

    .spring-calendar__title {
        font-size: 24px;
    }

    .spring-calendar__subtitle {
        font-size: 13px;
        line-height: 1.4;
    }

    .spring-calendar__countdown-item {
        width: calc(50% - 5px);
    }

    .spring-calendar__countdown-value {
        height: 52px;
        font-size: 20px;
    }

    .spring-calendar__countdown-label {
        font-size: 11px;
    }

    .spring-calendar__days {
        gap: 12px;
    }

    .calendar-day {
        height: 160px;
        padding: 12px 10px 10px;
        border-radius: 18px;
    }

    .calendar-day__flower {
        height: 76px;
    }

    .calendar-day__label {
        height: 34px;
        font-size: 12px;
    }

    .spring-prize-card {
        padding: 18px 16px 16px;
    }

    .spring-prize-card__top {
        flex-direction: column;
    }

    .spring-prize-card__text {
        font-size: 15px;
    }

    .spring-prize-card__amount {
        min-width: auto;
        height: 46px;
        padding: 0 14px;
        font-size: 15px;
    }

    .spring-progress {
        gap: 8px;
    }

    .spring-faq__head {
        min-height: 60px;
        padding: 0 16px;
    }

    .spring-faq__left {
        gap: 10px;
        font-size: 14px;
    }

    .spring-faq__qmark {
        width: 24px;
        height: 24px;
        min-width: 24px;
        border-radius: 8px;
        font-size: 13px;
    }

    .spring-faq__body {
        padding: 0 16px 16px 50px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .spring-calendar-page.spring-calendar-page--full.container {
        padding-left: 0;
        padding-right: 0;
    }

    .spring-calendar-page__container {
        padding: 0 14px;
    }

    .spring-calendar__hero {
        min-height: 0;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 18px 0 16px;
        border-radius: 0;
        overflow: hidden;
        background:
            linear-gradient(180deg, rgba(7, 10, 21, 0.88) 0%, rgba(7, 10, 21, 0.54) 26%, rgba(7, 10, 21, 0.28) 48%, rgba(7, 10, 21, 0.72) 74%, rgba(7, 10, 21, 0.96) 100%),
            url('/assets/images/calendar/background_mobile.png') center -3px / cover no-repeat;
        box-shadow:
            0 0 0 1px rgba(57, 67, 99, 0.34) inset,
            0 18px 42px rgba(0, 0, 0, 0.18);
    }

    .spring-calendar__hero-overlay {
        background:
            radial-gradient(circle at 50% 18%, rgba(255, 255, 218, 0.22), rgba(255, 255, 255, 0) 30%),
            radial-gradient(circle at 50% 42%, rgba(75, 113, 229, 0.12), rgba(75, 113, 229, 0) 48%);
    }

    .spring-calendar__hero-center {
        display: none;
    }

    .spring-calendar__hero-side--left,
    .spring-calendar__hero-side--right {
        margin: 0;
        padding: 0 16px;
        width: 100%;
    }

    .spring-calendar__hero-side--right {
        order: 1;
        align-items: center;
    }

    .spring-calendar__hero-side--left {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 250px;
        z-index: 3;
    }

    .spring-calendar__countdown-block {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .spring-calendar__countdown-title {
        text-align: center;
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .spring-calendar__countdown {
        justify-content: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .spring-calendar__countdown-item {
        width: 60px;
    }

    .spring-calendar__countdown-value {
        height: 52px;
        border-radius: 12px;
        font-size: 20px;
        font-weight: 700;
    }

    .spring-calendar__countdown-label {
        margin-top: 8px;
        font-size: 10px;
        font-weight: 500;
    }

    .spring-calendar__title {
        display: none;
    }

    .spring-calendar__subtitle {
        margin: 0;
        max-width: 360px;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.45;
        text-align: center;
    }

    .spring-calendar__claim-btn {
        width: 100%;
        max-width: 100%;
        height: 54px;
        margin-top: 18px;
        border-radius: 18px;
        font-size: 14px;
        font-weight: 700;
    }

    .spring-calendar__received {
        order: 3;
        margin-top: 16px;
        min-height: 54px;
        padding: 0 16px;
        border-radius: 18px;
        gap: 10px;
    }

    .spring-calendar__received-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .spring-calendar__received-text {
        font-size: 12px;
        line-height: 1.3;
    }

    .spring-calendar__days {
        margin-top: 14px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .calendar-day {
        height: 186px;
        border-radius: 20px;
        padding: 12px 10px 10px;
    }

    .calendar-day__status svg {
        width: 24px;
        height: 24px;
    }

    .calendar-day__flower {
        height: 82px;
        margin-top: -2px;
    }

    .calendar-day__label {
        height: 36px;
        font-size: 12px;
        border-radius: 999px;
    }

    .spring-calendar__bottom-grid {
        margin-top: 14px;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .spring-prize-card {
        min-height: 0;
        padding: 18px 16px 16px;
        border-radius: 22px;
    }

    .spring-prize-card__top {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 16px;
    }

    .spring-prize-card__amount {
        min-width: 124px;
        height: 52px;
        padding: 0 18px;
        font-size: 14px;
    }

    .spring-prize-card__text {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.45;
    }

    .spring-prize-card__bottom {
        margin-top: 18px;
    }

    .spring-prize-card__label-row {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .spring-progress {
        gap: 8px;
    }

    .spring-progress__item {
        height: 8px;
    }

    .spring-faqs {
        border-radius: 22px;
    }

    .spring-faq__head {
        min-height: 62px;
        padding: 0 16px;
        gap: 12px;
    }

    .spring-faq__left {
        gap: 10px;
        font-size: 14px;
        line-height: 1.35;
    }

    .spring-faq__qmark {
        width: 26px;
        height: 26px;
        min-width: 26px;
        border-radius: 8px;
        font-size: 13px;
    }

    .spring-faq__body {
        padding: 0 16px 16px 52px;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.45;
    }
}
.header-calendar-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 66px;
    padding: 10px 26px 10px 18px;
    border-radius: 24px;
    text-decoration: none;
    color: #f9fbff;
    background:
        linear-gradient(180deg, rgba(39, 45, 73, 0.98) 0%, rgba(26, 32, 57, 0.98) 100%);
    border: 1px solid rgba(115, 152, 255, 0.26);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 12px 28px rgba(4, 10, 30, 0.28),
        0 0 32px rgba(73, 112, 255, 0.10);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.header-calendar-pill::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 23px;
    background:
        radial-gradient(circle at 18% 28%, rgba(255, 146, 209, 0.08), transparent 22%),
        radial-gradient(circle at 24% 78%, rgba(90, 232, 194, 0.06), transparent 20%),
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    pointer-events: none;
}

.header-calendar-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(136, 170, 255, 0.42);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 14px 34px rgba(4, 10, 30, 0.34),
        0 0 42px rgba(105, 130, 255, 0.16);
}

.header-calendar-pill__icon,
.header-calendar-pill__content {
    position: relative;
    z-index: 1;
}

.header-calendar-pill__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 148, 214, 0.55), transparent 42%),
        radial-gradient(circle at 74% 78%, rgba(78, 223, 234, 0.35), transparent 45%),
        radial-gradient(circle at 52% 58%, rgba(137, 224, 95, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(58, 67, 108, 0.98) 0%, rgba(35, 43, 75, 0.98) 100%);
    border: 1px solid rgba(132, 171, 255, 0.28);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.02) inset,
        0 8px 22px rgba(0, 0, 0, 0.18),
        0 0 18px rgba(255, 143, 199, 0.12);
}

.header-calendar-pill__icon svg {
    width: 28px;
    height: 28px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(255, 143, 199, 0.18));
}

.header-calendar-pill__content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1;
}

.header-calendar-pill__title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.05;
}

.header-calendar-pill__subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .header-calendar-pill {
        min-height: 56px;
        padding: 8px 16px 8px 12px;
        gap: 12px;
        border-radius: 18px;
    }

    .header-calendar-pill__icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 12px;
    }

    .header-calendar-pill__icon svg {
        width: 18px;
        height: 18px;
    }

    .header-calendar-pill__title {
        font-size: 15px;
    }

    .header-calendar-pill__subtitle {
        font-size: 9px;
        letter-spacing: 0.06em;
    }
}

.mobile-br {
    display: none;
}

@media (max-width: 768px) {
    .mobile-br {
        display: block;
    }
}