@media screen and (max-width:1570px){
    .rating__grade img {
        width: 18px;
        height: 18px;
    }

    .rating__grade{
        gap: 5px;
        min-width: 225px;
    }
}

@media screen and (max-width:1500px){
    .rating__category{
        width: 100%;
    }
}

@media screen and (max-width:1350px){
    .banner__background{
        opacity: 0.6;
    }
}

@media screen and (max-width:1250px){
    .sidebar{
        display: none;
    }

    .page-nav{
        display: block;
    }

    .header__logo{
        margin-left: 0;
    }

    .main{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .main__content{
        width: 100%;
        max-width: 1280px;
    }

    .hero__info{
        margin-left: 0;
    }
}

@media screen and (max-width:1150px){
    .header__menu{
        margin-left: 40px;
    }

    .hero__background{
        opacity: 0.5;
    }
}

@media screen and (max-width:1000px){
    .header__burger {
        border: 2px solid rgba(255, 255, 255, 1);
        padding: 4px;
        -webkit-border-radius: 8px;
                border-radius: 8px;
        width: 40px;
        height: 40px;
        background-color: transparent;
        margin-left: 20px;
        z-index: 500;
        cursor: pointer;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 6px;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
        -webkit-flex-shrink: 0;
            -ms-flex-negative: 0;
                flex-shrink: 0;
   }

   .header__burger span{
        display: block;
        width: 100%;
        height: 2px;
        background-color: rgba(255, 255, 255, 1);
        -webkit-border-radius: 8px;
                border-radius: 8px;
        -webkit-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .header__burger.active span:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
            -ms-transform: translateY(8px) rotate(45deg);
                transform: translateY(8px) rotate(45deg);
    }

    .header__burger.active span:nth-child(2) {
        opacity: 0;
    }

    .header__burger.active span:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
            -ms-transform: translateY(-8px) rotate(-45deg);
                transform: translateY(-8px) rotate(-45deg);
    }

    .header__menu{
        display: none;
        position: static;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-transform: none;
            -ms-transform: none;
                transform: none;
        margin-left: 0;
    }

    .header__menu ul{
        background-color: transparent;
    }

    .mobile-menu .header__menu {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }

    .mobile-menu .header__menu ul{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        text-align: center;
        gap: 20px;
    }

    .mobile-menu .dropdown-menu{
        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -ms-flexbox !important;
        display: flex !important;
        position: static;
        opacity: 1 !important;
        gap: 20px !important;
        padding: 0 !important;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        text-align: center;
    }

    .mobile-menu .header__menu ul li:first-child{
        padding-left: 0;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        text-align: center;
    }

    .mobile-menu .menu-arrow{
        display: none;
    }

    .advantages__table, .advantages__list{
        width: 100%;
    }

    .advantages__table tr, .advantages__list li{
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
        padding: 15px 20px;
    }
}

@media screen and (max-width:900px){
    .top__list, .home .top__list {
        width: 100%;
    }

    .top__game-main, .home .top__game-main{
        width: 80%;
    }

    .login__info{
        background-color: rgba(25, 37, 70, 1);
        -webkit-box-shadow: 50px 0 50px rgba(25, 37, 70, 1);
                box-shadow: 50px 0 50px rgba(25, 37, 70, 1);
        -webkit-border-radius: 8px;
                border-radius: 8px;
        width: 70%;
    }
}

@media screen and (max-width:800px){
    .banner__info, .codes .banner__info, .deposit .banner__info{
        margin: 0 auto;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        text-align: center;
        width: 100%;
    }

    .banner__info p, .codes .banner__info p, .deposit .banner__info p{
        text-align: center;
    }

    .banner__title, .codes .banner__title, .deposit .banner__title{
        text-align: center;
    }

    .banner__button, .codes .banner__button, .deposit .banner__button{
        margin: 0 auto;
        margin-top: 40px;
    }

    .banner__background{
        opacity: 0.4;
    }

    .rating__item{
        width: 100%;
    }

    .rating__category{
        width: fit-content;
    }
}

@media screen and (max-width:701px){
    .header__button-auth{
        display: none;
    }

    .mobile-menu .header__button-auth{
        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }

    .header__button-auth{
        margin-right: 0;
        margin-left: 0;
        margin-top: 30px;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .header__burger {
        margin-left: auto;
    }
}

@media screen and (max-width:650px){
    .rating__category{
        width: 100%;
    }
}

@media screen and (max-width:600px){
    .section{
        padding: 16px;
    }

    .bonuses{
        padding: 0;
    }

    .bonuses__list li{
        width: 80%;
    }

    .login__info{
        width: 100%;
        -webkit-box-shadow: 0 6px 20px rgba(25, 37, 70, 1);
                box-shadow: 0 6px 20px rgba(25, 37, 70, 1);
        padding: 20px;
    }

    .login{
        padding: 4px;
    }

    .footer__menu{
        gap: 10px 20px;
    }

    .top__list li{
        width: -webkit-calc((100% - 12px) / 2);
        width: calc((100% - 12px) / 2);
    }

    h2::before, .title.high::before, h2::after, .title.high::after{
        display: none;
    }

    .banner{
        padding: 12px;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
    
    .banner__info{
        margin-right: 0;
        margin-left: 0;
    }

    .header__container{
        padding: 20px;
    }

    .main{
        padding: 0 12px;
    }

    .advantages__table tr{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    }

    .advantages__table td{
        width: 100%;
        text-align: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .advantages__table tr{
        padding: 9px;
        gap: 8px;
    }

    .footer__lisence{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        gap: 20px;
    }

    h2, .title.high{
        padding: 10.5px;
    }

    h3, .title.medium{
        padding: 10.5px;
    }
}

@media screen and (max-width:450px){
    .rating__item{
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
        text-align: center;
    }

    .download__button-group{
        gap: 20px;
    }

    .button.install{
        min-width: 0;
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width:400px){
    .header__logo img{
        width: 106px;
    }

    .bonuses__list li{
        width: 100%;
    }

    .top__list li{
        width: 80%;
    }

    .hero{
        padding: 0;
    }

    .download__button-group{
        margin: 0 auto;
    }

    .rating__grade{
        min-width: 0;
        width: 130px;
        -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
                flex-wrap: wrap;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .rating__num{
        width: 100%;
    }
}