@media screen and (max-width: 1540px) {

    footer {
        .container {
            flex-direction: column;
            gap: 40px;
        }
    }
}
@media screen and (max-width: 1440px) {
    header {
        .container {
            padding: 13px 10px;

            nav ul {
                gap: 15px;

                li {
                    font-size: 16px;
                }
            }

            .links-wrap {
                gap: 25px;

                a {
                    padding: 8px 20px;
                }
            }
        }
    }

    #youtube {
        .container {
            flex-direction: column;
            gap: 20px;

            .youtube__banner {
                display: flex;
                justify-content: center;
            }

            .reviews {
                width: 100%;

                .reviewsSwiper {
                    .swiper-wrapper {
                        max-width: 1024px;
                    }
                }
            }
        }
    }

    #start-earning {
        .container {
            flex-direction: column;
            align-items: center;

            .start-earning__text {
                max-width: 100%;
            }

            .start-earning__banner {
                position: static;
            }
        }
    }
}

@media screen and (max-width: 1280px) {
    header {
        .container {
            nav, a {
                display: none;
            }

            .links-wrap {
                .language-select {
                    img {
                        display: none;
                    }

                    .lang-list {
                        transform: translate(50%, 15%);
                    }
                }

                .burger-menu {
                    display: flex;

                    nav {
                        display: block;
                    }
                }
            }
        }
    }

    #benefit {
        .container {
            flex-direction: column;
            gap: 40px;

            .benefit__steps {
                max-width: 100%;

                .step {
                    align-items: center;
                }
            }

            .benefit__banner {
                margin: 0 auto;

                .benefit__banner-image {
                    position: static;
                    transform: unset;
                }

                .titles-wrap {
                    transform: rotate(361deg) translate(20%, 0);

                    img {
                        position: static;
                    }
                }
            }
        }
    }

    #advantages {
        h2 {
            span {
                display: block;
            }
        }

        .container {
            gap: 40px;

            .advantages__item {
                img {
                    width: 80px;
                    height: 80px;
                }

                p {
                    font-size: 14px;
                    line-height: calc(21 / 14);
                }
            }
        }
    }

    #agent {
        .container {
            flex-direction: column;
            align-items: center;
            gap: 40px;

            .agent__text-wrap {
                align-items: center;

                .agent__steps {
                    .step {
                        max-width: 100%;

                        p {
                            font-size: 14px;
                            line-height: calc(21 / 14);
                        }
                    }
                }

                .mainBtn {
                    max-width: 100%;
                    width: 100%;
                }
            }

            .agent__banner {
                position: static;
                transform: unset;
            }
        }
    }

    #cooperation {
        .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 38px;

            .tabs__container {
                width: 100%;

                .tabs {
                    max-width: 100%;

                    .tab {
                        width: 100%;
                    }
                }

                .panels {
                    .panel {
                        flex-direction: column;
                        gap: 40px;

                        .panel__text {
                            max-width: 100%;
                        }
                    }
                }
            }

            .mainBtn {
                width: 100%;
            }
        }
    }

    #shark {
        .container {
            padding: 40px 10px;

            h2 {
                font-size: 28px;
                line-height: calc(32 / 28);
                margin-bottom: 30px;
            }

            .mainBtn {
                padding: 12px 30px;

                span {
                    font-size: 14px;
                }
            }

            .shark__banner {
                max-width: 40%;
                top: 12%;
                right: 2%;
            }
        }
    }

    #solutions {
        .container {
            flex-direction: column;
            gap: 40px;

            .tabs {
                justify-content: space-around;
                flex-direction: unset;

                .tab {
                    flex-direction: column;
                    width: 100%;

                    img {
                        width: 78px;
                        height: 78px;
                    }
                }
            }

            .tabs__inner,
            .tabs__inner-mobile {
                width: 100%;
            }

            .panels {
                max-width: 100%;

                .panel {
                    background-color: transparent;
                    padding: 0;
                }

                #panel-main-bet.panel {
                    .panel-bet-cash__wrap {
                        overflow-x: hidden;
                    }
                }
            }
        }
    }

    #why-fansport {
        .container {
            .container__inner {
                flex-direction: column;

                .text__wrap {
                    max-width: 100%;
                }

                .why-fansport__banner {
                    position: static;
                    height: auto;
                    margin: 0 auto;
                }
            }
        }
    }
}

@media screen and (max-width: 1024px) {
    .container {
        padding: 0 10px;
    }

    .title-section {
        padding: 0 10px;

        h2 {
            font-size: 28px;
            line-height: calc(32 / 28);
            margin-bottom: 40px;
        }

        .container {
            padding: 0;
        }
    }

    #intro {
        padding-top: 140px;

        .main-banner {
            display: none;
        }

        .main-banner__mobile {
            display: block;
            width: 100%;
        }

        .container {
            .intro__title {
                max-width: 339px;

                h1 {
                    font-size: 32px;
                    line-height: calc(38 / 32);
                }

                h2 {
                    font-size: 14px;
                    line-height: calc(21 / 14);
                }
            }

            .intro__links {
                gap: 20px;

                a {
                    padding: 12px 15px;
                    text-align: center;

                    span {
                        font-size: 14px;
                    }
                }
            }
        }
    }

    #trust {
        .container {
            justify-items: center;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;

            .trust__item {
                max-width: 169px;

                p {
                    font-size: 32px;
                    line-height: calc(32 / 32);
                }

                img {
                    width: 70px;
                    height: 70px;
                }
            }
        }
    }

    #new-way {
        .container {
            flex-direction: column;
            gap: 40px;
        }
    }

    #advantages {
        padding: 40px 10px;
    }

    #solutions {
        .container {
            .tabs {
                justify-content: space-between;
                margin-bottom: 0;

                .tab {
                    padding: 0;
                }
            }

            .tabs__inner,
            .panel-bet-cash__wrap {
                display: none;
            }

            .tabs__inner-mobile {
                display: flex;

                .tab {
                    width: 100%;
                }
            }

            .panels {
                background-color: transparent;
                padding: 0;

                .panel.isActive {
                    height: auto;
                }

                #panel-main-bet.panel {
                    .panel-bet-cash__wrap {
                        display: none;
                    }
                }
            }
        }
    }

    #become-agent {
        .container {
            flex-direction: column;
            gap: 40px;

            .agent-form {
                max-width: 100%;

                .form-submit {
                    max-width: 100%;
                }
            }
        }
    }

    #start-earning {
        .container {
            .start-earning__text {
                p {
                    font-size: 14px;
                    line-height: calc(21 / 14);
                }

                .mainBtn {
                    max-width: 100%;
                }
            }
        }
    }

    footer {
        .container {
            padding: 40px 10px;

            nav ul {
                flex-direction: column;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    #trust {
        .container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
        }
    }

    #benefit {
        .container {
            gap: 60px;

            .benefit__banner {
                .titles-wrap {
                    transform: scale(.8) rotate(361deg) translate(10%, 0);
                }
            }
        }
    }

    #advantages {
        .container {
            flex-direction: column;

            .advantages__item {
                flex-direction: unset;
                max-width: 420px;
                width: 100%;

                p {
                    text-align: left;
                }
            }
        }
    }

    #cooperation {
        .container {
            .tabs__container {
                gap: 40px;
                margin-bottom: 0;

                .tabs {
                    gap: 19px;

                    .tab {
                        font-size: 14px;
                        min-width: unset;
                        width: 100%;
                    }
                }

                .panels {
                    .panel {
                        display: flex;
                        flex-direction: column;
                        gap: 40px;

                        .panel__text {
                            h3, p {
                                font-size: 14px;
                                line-height: calc(21 / 14);
                            }
                        }
                    }
                }
            }

            .mainBtn {
                width: 100%;

                span {
                    font-size: 14px;
                }
            }
        }
    }

    #shark {
        margin-top: 0;

        .container {
            h2 {
                max-width: 420px;
            }

            .shark__banner {
                display: none;
            }

            .shark__mobile-banner {
                display: block;
                max-width: 100%;
                top: 35%;
                right: 2%;
            }
        }
    }

    #why-fansport.title-section {
        padding: 0;
    }

    #why-fansport {
        h2 {
            padding: 0 10px;
        }

        .container {
            .container__inner {
                margin-bottom: 2vw;

                .text__wrap {
                    padding: 0 10px;
                }

                .why-fansport__banner {
                    display: none;
                }

                .why-fansport__banner-mobile {
                    display: block;
                    width: 100%;
                    margin: 0 auto;
                    object-fit: cover;
                }
            }

            .medals-img {
                padding: 0 10px;
            }
        }
    }

    footer {
        .container {
            align-items: flex-start;
        }
    }

    .become-agent__popup-overlay {
        background-color: var(--dark-gray);

        .become-agent__popup {
            max-width: 100%;
            height: 100dvh;
            margin: 0;
            padding: 100px 10px 10px;
            border-radius: 0;
        }
    }

    .popup-cookie {
        .popup-cookie__wrap {
            max-width: 100%;
            max-height: 100dvh;
            border-radius: 0;
        }
    }
}

@media screen and (max-width: 580px) {
    #benefit {
        .container {
            .benefit__banner {
                .titles-wrap {
                    transform: scale(.8) rotate(361deg) translate(-25%, 25%);
                }
            }
        }
    }
}

@media screen and (max-width: 440px) {
    header {
        .container {
            .logo {
                width: 104px;
                height: 32px;
            }
        }
    }

    main {
        gap: 60px;
    }

    #intro {
        padding-top: 118px;

        .container {
            gap: 43px;

            .intro__title {
                max-width: 420px;
                gap: 20px;
            }

            .intro__links {
                a {
                    padding: 10px 24px;
                }
            }

            .intro__agent-steps {
                gap: 43px;
                padding: 0 14px;
            }
        }
    }

    #trust {
        margin-top: -3vw;

        .container {
            gap: 45px;
            padding: 54px 40px;
        }
    }

    #new-way {
        .container {
            gap: 22px;

            .new-way__text {
                gap: 26px;

                p {
                    font-size: 14px;
                }
            }

            .new-way__steps {
                .step:not(:last-child) {
                    margin-bottom: 40px;
                }
            }
        }
    }

    #benefit {
        .container {
            .benefit__steps {
                gap: 50px;

                .step {
                    gap: 20px;

                    img {
                        width: 68px;
                        height: 68px;
                    }

                    .step__text {
                        p, span {
                            font-size: 14px;
                        }
                    }
                }
            }

            .benefit__banner {
                .titles-wrap {
                    transform: scale(.6) rotate(361deg) translate(-45%, 45%);
                }
            }
        }
    }

    #advantages {
        margin-top: 0;
    }

    #agent {
        .container {
            .agent__text-wrap {
                .agent__steps {
                    .step {
                        gap: 20px;
                        padding: 16px 16px 16px 0;

                        img {
                            width: 80px;
                            height: 80px;
                        }
                    }
                }

                .mainBtn {
                    span {
                        font-size: 14px;
                    }
                }
            }
        }
    }

    #cooperation {
        margin-top: 0;
    }

    #shark {
        .container {
            .shark__mobile-banner {
                max-width: 60%;
                top: 55%;
            }
        }
    }

    #solutions {
        .container {
            .tabs {
                .tab {
                    font-size: 20px;
                    line-height: calc(20 / 20);
                }
            }
        }
    }

    #faq {
        .container {
            .accordion {
                > li {
                    h3 {
                        font-size: 14px;
                    }

                    .accordion__inner {
                        .accordion__content {
                            p {
                                font-size: 14px;
                            }
                        }
                    }
                }
            }
        }
    }

    #running-line {
        .container {
            .running-line__content {
                gap: 80px;

                span {
                    font-size: 32px;
                    line-height: calc(40 / 32);
                }
            }
        }
    }

    #youtube {
        .container {
            .reviews {
                .reviews__navigation {
                    margin-top: 10px;
                }
            }
        }
    }

    footer {
        margin-top: 0;
    }
}

@media screen and (max-width: 375px) {
    #intro {
        .container {
            .intro__links {
                a {
                    padding: 10px 12px;

                    span {
                        font-size: 12px;
                    }
                }
            }
        }
    }

    #benefit {
        .container {
            .benefit__steps {
                .step {
                    img {
                        width: 68px;
                        height: 68px;
                    }
                }
            }
        }
    }

    #shark {
        .container {
            .shark__mobile-banner {
                top: 60%;
            }
        }
    }

    #cooperation {
        .container {
            .tabs__container {
                .tabs {
                    gap: 6px;
                }
            }
        }
    }
}
