@media screen and (max-width:1280px) {
    .header-container {
        padding: 0.5rem 0;
        position: relative;
    }

    .header-logo {
        width: 97px;
        height: 23px;

        img {
            width: 75px;
            height: 23px;
        }
    }

    .header-title {
        position: absolute;
        left: 95px;

        a {
            width: 79px;
            height: 18px;
        }
    }

    .header-nav__box {
        gap: 16px;
    }

    .header-nav__auth {
        padding: 0 4px;

        .header-nav__auth--register {
            width: fit-content;
            padding: 14px;
        }
    }

    .main-wrapper {
        max-width: 933px;
        width: 100%;
    }

    .header-nav__wrapper {

        &.header-nav__search {
            padding: 0 0.4rem;
        }

        &.header-nav__help {
            padding: 0 0.4rem;
        }

        &.header-nav__menu {
            padding: 0 0.4rem;
        }
    }

    .game-nav {
        padding: 0;
    }

    .game-nav__live {
        border-radius: 0px 0px 0px 7px;
    }

    /* footer */
    .footer-container {
        padding: 23px;
        gap: 25px;
    }

    .footer-box {
        width: auto;
    }

    .footer-group,
    .footer-group__sub,
    .footer-wrapper,
    .footer-wrapper-sub {
        gap: 0;
    }

    .footer-group {
        width: 100%;
        flex-direction: column-reverse;
        gap: 25px;
    }

    .footer-group__sub {
        flex-direction: column-reverse;
    }

    .footer-logo {
        padding-bottom: 30px;
    }

    .footer-nav {
        width: 100%;
        padding: 19px 0;
        border-bottom: 1px solid rgba(65, 65, 65, 0.30);
        border-top: 1px solid rgba(65, 65, 65, 0.30);
    }

    .footer-wrapper {
        width: 100%;
        flex-direction: column;
        gap: 25px;
    }

    .footer-wrapper-sub {
        flex-direction: column-reverse;
        gap: 25px;
    }

    .footer-social {
        width: 100%;
        flex-direction: row;
        align-items: center;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(65, 65, 65, 0.30);
    }

    .footer-icons {
        align-items: center;
    }

    .footer-info {
        max-width: 355px;
        position: relative;
    }

    .footer-info__icon {
        display: initial;
        position: absolute;
        right: 0;
        top: -3px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .footer-info__icon.rotated {
        transform: rotate(180deg);
    }

    .footer-info.collapsed {
        gap: 0;
    }

    .copyright-box {
        justify-content: center;
        gap: 25px;
        flex-direction: column;
    }

    /* main */
    .main-section {
        padding: 125px 3px 60px;
        gap: 5px;
    }

    /* game category */

    .games-container {
        max-width: calc(933px - (1280px - 100vw));
    }

    .game {
        width: 215px;
    }

    .game-header--second {
        width: 195px !important;
        padding-left: 0 !important;
    }

    .tabs-container {
        max-width: 100%;
    }

}

@media screen and (max-width:1225px) {
    .game-nav__left {
        display: none;
    }

    .game-nav__right {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: thin;
        scrollbar-color: #999 transparent;
        gap: 16px;
    }

    .game-nav__right-box--classic,
    .game-nav__right-box--janein,
    .game-nav__right-box--alle {
        display: flex;
    }
}

@media screen and (max-width:1022px) {
    .bottom-menu {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 8px 10px 10px 10px;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #414141;
        box-shadow: 5px 5px 15px 5px #A8A8A8;
        z-index: 10;
    }

    .bottom-menu__box {
        display: flex;
        align-items: center;
        gap: 27px;
    }

    .bottom-menu__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .bottom-menu__item p {
        color: #FFF;
        font-family: "Saira Condensed";
        font-size: 15px;
        font-weight: 600;
        line-height: 15px;
    }

    .menu-payment {
        width: 68px;
        height: 68px;
        border-radius: 50%;
        border: 8px solid #FFF;
        background: #F6A800;
        box-shadow: 0px -7px 5px -7px #A8A8A8;
        position: absolute;
        transform: translateX(-50%);
        bottom: 7px;
        left: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bottom-menu__item--invisible {
        width: 55px;
        height: 50px;
    }

    .main-wrapper {
        max-width: 1022px;
        width: 100%;
    }

    .main-section {
        padding: 140px 3px 60px;
    }

    .header-title--mobile {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #FFF;

        a {
            width: 48px;
            height: 18px;
        }
    }

    .header-title {
        display: none;
    }

    .header-info {

        .header-info__text {
            color: #414141;
        }

        .header-info__slash {
            color: #414141;
        }
    }

    .header-nav__menu {
        display: none;
    }

    .payment-container {
        display: none;
    }

    .copyright-box {
        padding-bottom: 80px;
    }

    /* game category */

    .games-container {
        max-width: calc(1022px - (1022px - 100vw));
    }

    .tabs-container {
        max-width: 100%;
        padding-right: 5px;
    }

    .game-header--second {
        width: 110px !important;
    }

}

@media screen and (max-width:766px) {
    .game {
        width: 166px !important;
    }

    .game-header--none,
    .tab--none,
    .odds-cell--none {
        display: none;
    }

    .tabs {
        gap: 10px;
    }

    .tab-section {
        display: flex;
        background: #EEE;
        padding: 7px 8px;
        align-items: center;
        gap: 16px;
        margin: 3px 0;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #999 transparent;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .tab-section::-webkit-scrollbar {
        height: 4px;
    }

    .tab-section::-webkit-scrollbar-track {
        background: transparent;
    }

    .tab-section::-webkit-scrollbar-thumb {
        background-color: #999;
        border-radius: 4px;
    }

    .tab-section__item {
        border-radius: 16px;
        background: #FFF;
        padding: 7px 16px;
        color: #414141;
        font-family: "Saira Condensed";
        font-size: 14px;
        font-weight: 500;
        line-height: 14px;
        flex-shrink: 0;
        min-width: fit-content;
    }

    .tab-section__item.active {
        border: 2px solid #F6A800;
    }

    .tabs-container {
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        padding: 15px 0;
        box-sizing: border-box;
    }

    .league-country span {
        width: 145px;
    }

    .team-group {
        width: 160px;
    }
}

@media screen and (max-width:374px) {
    .header-info {
        gap: 0;
    }

    .footer-social {
        gap: 0;
    }
}