.top {
    padding: 168px 0 50px;
}

.top-bg-box {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.top-bg-box::after {
    background: rgba(114, 34, 101, 0.8);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: '';
}

.top .container {
    z-index: 2;
}

.top-title {
    color: #FFF;
    text-align: center;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    font-family: 'Inter';
    font-size: 34px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
}

.background-circle,
.background-circle::before {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    content: '';
    z-index: 1;
}

.background-circle {
    border-radius: 1149px;
    background: rgba(77, 27, 69, 0.50);
    width: 1149px;
    height: 1149px;
    top: -50%;
    margin: auto;
}

.background-circle::before {
    margin: auto;
    border-radius: 745px;
    background: rgba(61, 18, 50, 0.50);
    width: 745px;
    bottom: 15%;
    height: 744px;
}

.content {
    padding: 60px 0;
}

.content_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 45px;
    grid-row-gap: 45px;
}

.card {
    border-radius: 30px;
    background: rgba(77, 27, 69, 0.60);
    height: 250px;
    width: 100%;
    position: relative;
}

.card::after {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    content: '';
    background: rgba(77, 27, 69, 0.60);
    border-radius: 30px;
}

.team_bg {
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

.card_title {
    padding: 0 10px;
    color: #FFF;
    text-align: center;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    font-family: 'Inter';
    font-size: 34px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    height: fit-content;
    z-index: 2;
}

.card_btn {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -30px;
    width: 60px;
    height: 60px;
    margin: auto;
    background: none;
    border: none;
    z-index: 2;
    padding: 0;
    cursor: pointer;
}

.card_btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.inserted-card {
    grid-column: 1 / -1;
    height: 405px;
}

.card.inserted-card::after {
    content: none;
}

.team-box {
    position: absolute;
    left: 0;
    /*  width: calc(300% + 90px);*/
    height: 405px;
    background: linear-gradient(95deg, #BE205F 9.09%, #E95095 100.15%);
    border-radius: 30px;
    padding: 30px;
    box-sizing: border-box;
}

.team-bg-box {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    bottom: 0;
}

.team-wrap {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.team_prew {
    border-radius: 30px;
    object-fit: cover;
    max-width: 416px;
    height: 345px;
}

.team-wrap-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    height: fit-content;
    margin: auto;
}

.team-name {
    width: 100%;
}

.team-wrap-info h2 {
    color: #FFF;
    text-align: center;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    font-family: 'Inter';
    font-size: 34px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
}

.team-wrap-info p {
    color: #FFF;
    text-align: center;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    font-family: 'Inter';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    width: 100%;
    margin: 30px 0;
    height: fit-content;
}

.info-box {
    display: flex;
    justify-content: space-between;
    border-radius: 30px;
    border: 4px dashed #FFF;
    padding: 30px;
}

.info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 15%;
    align-content: space-between;
}

.info .title {
    color: #FFF;
    text-align: center;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    font-family: 'Inter';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 18px;
    /* 112.5% */
    width: 100%;
}

.info .numb {
    color: #FFF;
    text-align: center;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    font-family: "Inter";
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 100%;

}

.pagination-links {
    margin: 100px auto 0;
}

.page-numbers {
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 10px;

}

.page-numbers a,
.page-numbers span {
    font-family: 'Inter';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    width: 100%;
    color: #E95095;
}


.contacts {
    padding: 60px 0;
}

.contacts-bg-box {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    z-index: 1;
}

.contacts-bg-box::before {
    content: '';
    background: linear-gradient(97deg, #4D1B45 25.64%, #9A348A 72.58%);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    z-index: 1;
}

.contacts-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    opacity: .05;
}


.contacts-patterns {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.contacts-pattern1,
.contacts-pattern2,
.contacts-pattern3,
.contacts-pattern4 {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: fit-content;
    height: fit-content;
    animation: float 6s ease-in-out infinite;
}

.contacts-pattern1 {
    top: 90px;
    left: 50px;
}

.contacts-pattern2 {
    left: 190px;
    top: auto;
    bottom: 80px;
}

.contacts-pattern3 {
    top: 95px;
    right: 120px;
    left: auto;
}

.contacts-pattern4 {
    bottom: 116px;
    right: 192px;
    left: auto;
    top: auto;
}

.contacts .container {
    z-index: 3;
}


.contact-title {
    color: #FFF;
    text-align: center;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    font-family: 'Inter';
    font-size: 34px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.contacts-wrap {
    display: flex;
    justify-content: space-between;
}

.contacts-left {
    display: flex;
    width: 50%;
}

.map-box {}

.map-box,
.map-box iframe {
    border-radius: 30px;
    max-width: 327px;
    height: 370px;
    width: 100%;
}


.contacts-info-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-left: 28px;
    width: 100%;
    max-width: 224px;
}

.contacts-info-wrap-mob {
    display: none;
}

.contacts-info-box {
    width: 100%;
}

.contacts-info-box h3 {
    color: #FFF;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    font-family: Inter;
    font-size: 21px;
    font-style: normal;
    font-weight: 800;
    line-height: 18px;
    /* 85.714% */
    margin-bottom: 33px;
}

.contacts-info-box ul {
    flex-wrap: wrap;
    gap: 20px;
}

.contacts-info-box li {
    gap: 20px;
    width: 100%;
    color: #FFF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 125% */
}

.contacts-info-box svg {
    width: 21px;
}

.contacts-info-box li img {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.contacts-info-box .contacts-social svg {
    width: 28px;
    height: 28px;
    display: block;
}

.contacts-info-box .contacts-social ul {
    gap: 15px;
}

.contacts-info-box a {
    color: #FFF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    /* 125% */
    display: flex;
    align-items: center;
    gap: 20px;
}

.contacts-info-box:nth-child(2) ul {
    gap: 13px;
}

.contacts-info-box:nth-child(2) svg {
    width: 28px;
    height: 28px;
}

.contacts-info-box:not(:last-child) {
    margin-bottom: 40px;
}

.form-box {
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.20);
    padding: 49px 52px;
    max-width: 446px;
    width: 100%;
    box-sizing: border-box;
}

.form-title {
    color: #FFF;
    font-family: Inter;
    font-size: 21px;
    font-style: normal;
    font-weight: 800;
    line-height: 18px;
    /* 85.714% */
}

.form-subtitle {
    color: #FFF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    /* 87.5% */
    margin: 13px 0 25px;
    display: block;
}

.form-box input {
    border-radius: 5px;
    border: 1px solid rgba(39, 52, 86, 0.26);
    background: #FFF;
    padding: 16px 26px;
    color: rgba(39, 52, 86);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 25px;
    width: 100%;
    box-sizing: border-box;
}

.form-box input::placeholder {
    color: rgba(39, 52, 86, 0.50);
}

@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.form-box input[type="submit"] {
    border-radius: 10px;
    background: linear-gradient(320deg, #BE205F, #F44996, #BE205F);
    background-size: 300% 300%;
    background-position: 0% 50%;
    transition: background-position 0.5s ease;
    padding: 17px 58px;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: fit-content;
    margin: 0;
}

.form-box input[type="submit"]:hover {
    animation: moveGradient 2s linear infinite;
    color: #FFF;
}

.contacts-right {
    max-width: 446px;
    width: 100%;
}



@media screen and (max-width: 1200px) {
    .background-circle {
        width: 100%;
    }
}

@media screen and (max-width: 1100px) {
    .team_prew {
        max-width: 300px;
    }
}

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


    .contacts-wrap {
        flex-wrap: wrap;
    }

    .contacts-left {
        width: fit-content;
        margin: 0 auto 50px;
    }

    .contacts-right,
    .form-box {
        max-width: 100%;

    }



    .custom-scrollbar,
    .all_game_table .custom-scrollbar {
        display: block;
        left: 0;
    }

    .game-schedule-wrap {
        justify-content: center;
        gap: 40px;

    }

    .game-schedule-box {
        width: 250px;
        height: 250px;
    }
}

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

    .content_wrap {
        grid-column-gap: 16px;
        grid-row-gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .game-works-patterns,
    .contacts-patterns {
        display: none;
    }

    .table-box-title {
        font-size: 20px;
        margin-bottom: 26px;
    }

    .last_game_top h2,
    .general_table_top h2,
    .all_game_table_top h2 {
        font-size: 20px;

    }

    .last_game_top,
    .general_table_top,
    .all_game_table_top {
        padding: 10px;
    }

    .last_game_top button,
    .general_table_top button,
    .all_game_table_top button {
        width: 26px;
        height: 26px;
        padding: 0;
        right: 10px;
    }

    .last_game_top button::after,
    .general_table_top button::after,
    .all_game_table_top button::after {
        width: 14px;
        height: 2px;
    }

    .last_game_top button::before,
    .general_table_top button::before,
    .all_game_table_top button::before {
        height: 14px;
        width: 2px;
    }

    .last_game,
    .general_table {
        margin-bottom: 30px;
    }

    .main {
        padding: 40px 0;
    }
}

@media screen and (max-width: 600px) {
    .background-circle::before {
        width: 100%;
    }

    .card {
        height: 112px;
        border-radius: 10px;
    }

    .team_bg,
    .card::after {
        border-radius: 10px;
    }

    .card_title {
        font-size: 20px;
    }

    .card_btn {
        width: 26px;
        height: 26px;
        bottom: -13px;

    }

    .inserted-card {
        height: 405px;
    }

    .team-box {
        border-radius: 10px;
    }

    .team-wrap-info h2 {
        font-size: 20px;
    }

    .team-wrap-info p {
        font-size: 14px;
        margin: 20px 0;
    }

    .info-box {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;

    }

    .info {
        gap: 10px;
        max-width: 25%;
    }
    .info .title{
        font-size: 14px;
    }
    .info .numb{
        font-size: 29px;
    }
}

@media screen and (max-width: 500px) {
    .content{
        padding: 40px 0;
    }.pagination-links {
        margin: 50px auto 0;
    }
    .top {
        padding: 110px 0 40px;
    }

    .top-title {
        font-size: 20px;
    }

    .background-circle {
        height: 1081px;
    }

    .rules-box>svg {
        display: none;
    }

    .game-rules {
        padding: 40px 0;
    }

    .rules-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .rules-text {
        font-size: 14px;
        padding: 20px;
    }

    .rules-wrap {
        gap: 30px;
    }

    .table-left-svg,
    .table-right-svg {
        display: none;
    }

    .tournament-table {
        padding: 40px 0 80px;
    }

    .custom-scrollbar {
        bottom: 0;
    }

    .tournament-table-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .game-schedule {
        padding: 40px 0;
    }

    .game-schedule-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .game-schedule-box {
        width: 158px;
        height: 158px;
    }

    .game-schedule-wrap {
        gap: 20px;
    }


    .contacts {
        padding: 40px 0;
    }

    .contact-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .map-box,
    .map-box iframe {
        height: 160px;
        width: 160px;
    }

    .contacts-info-box li {
        font-size: 14px;
    }

    .contacts-info-box li {
        gap: 15px;
    }

    .contacts-info-box h3 {
        margin-bottom: 16px;
        font-size: 16px;
    }

    .contacts-info-box ul {
        gap: 16px;
    }

    .contacts-info-wrap {
        margin-left: 16px;
        width: 160px;
    }

    .contacts-info-box a {
        font-size: 14px;
    }

    .contacts-info-box:last-child {
        display: none;
    }

    .contacts-info-wrap-mob {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .contacts-left {
        flex-wrap: wrap;
    }

    .contacts-info-wrap-mob .contacts-info-box:first-child {
        display: none;
    }

    .contacts-info-wrap-mob .contacts-info-box:last-child {
        display: flex;
    }

    .contacts-info-wrap-mob .contacts-info-box:last-child h3 {
        display: none;
    }

    .contacts-info-wrap-mob li {
        max-width: 30%;
    }

    .contacts-left {
        margin-bottom: 30px;
    }

    .contacts-info-box:not(:last-child) {
        margin-bottom: 30px;
    }


    .form-box {
        padding: 30px 40px;
    }

    .form-box input[type="submit"] {
        width: 100%;
    }

    .form-title,
    .form-subtitle {
        text-align: center;
    }
}