.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;
}






.main {
    padding: 60px 0;
    background: linear-gradient(95deg, #BE205F 9.09%, #E95095 100.15%);

}



.tournament-table-bg-box {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    background-size: 1931px, 1086px;
    background-repeat: repeat;
    background-position: top left;
    z-index: 1;
}

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

.table-box-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: 42px;
    width: 100%;
}

.table-wrap {

    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    position: relative;

}

.table-container:not(:last-child) {
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 50px;
}

.table-wrap::-webkit-scrollbar {
    display: none;
}

.last_game {
    display: none;
}

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

.last_game_top,
.general_table_top,
.all_game_table_top {
    border-radius: 30px;
    background: #FFF;
    width: 100%;
    padding: 20px;
    position: relative;
}

.last_game_top h2,
.general_table_top h2,
.all_game_table_top h2 {
    width: 100%;
    text-align: center;
    color: #4D1B45;
    text-align: center;
    font-family: 'Inter';
    font-size: 34px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    margin: 0 !important;
}

.last_game_top button,
.general_table_top button,
.all_game_table_top button {
    background: linear-gradient(94deg, #BE205F 10.06%, #F44996 91.74%);
    width: 46px;
    height: 46px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: auto;
    right: 43px;
    display: block;
    margin: auto;
    border-radius: 100%;
    cursor: pointer;
}

.last_game_top button::after,
.general_table_top button::after,
.all_game_table_top button::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: '';
    width: 24px;
    height: 4px;
    background: #fff;
    border-radius: 10px;
    margin: auto;
}

.last_game_top button::before,
.general_table_top button::before,
.all_game_table_top button::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: '';
    width: 4px;
    height: 24px;
    background: #fff;
    border-radius: 10px;
    margin: auto;
    opacity: 1;
    transform: opacity .5s ease;
}

.last_game_top button.active::before,
.general_table_top button.active::before,
.all_game_table_top button.active::before {
    opacity: 0;
}

.toggle-block {
    padding: 50px 0;
    position: relative;
}

.last_game_content 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;
    margin-bottom: 42px;
}

.table-box {
    width: 100%;
    border-radius: 17px;
    display: flex;
    background: linear-gradient(75deg, rgba(77, 27, 69, 1) 0%, rgba(154, 52, 138, 1) 100%);
    box-sizing: border-box;
}

.table-left {
    max-width: 240px;
    width: 100%;
}

.table-left ul {
    flex-wrap: wrap;
}

.table-left li {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    position: relative;
}

.table-left li:nth-child(odd):not(:first-child) {
    background: #FEE8FF;
    border-right: 2px solid #dbd1da;

}

.table-left li:nth-child(even) {
    background: #fff;
    border-right: 2px solid #dbd1da;
}

.table-left li span:first-child {
    color: #4D1B45;
    text-align: center;
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 50px;

}

.table-left li span:first-child::before {
    width: 1px;
    height: 100%;
    right: auto;
    top: 0;
    left: 40px;
    bottom: 0;
    content: '';
    background: #4d1b4533;
    position: absolute;

}

.table-left li span:last-child {
    color: #4D1B45;
    text-align: center;
    font-family: "Inter";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 100%;
    justify-content: center;
}

.table-left li:first-child span:last-child {
    color: #fff;
}

.table-box {
    overflow: hidden;
}

.table-box table {
    width: 100%;
    cursor: grab;
    user-select: none;
}

.table-box .table-wrap.grabbing table {
    cursor: grabbing;
}

.table-box table tbody {
    background: #fff;

}

table,
td,
th {
    border: none;
    padding: 0;
}

table {
    border-collapse: collapse;
    /* или: separate */
    border-spacing: 0;
    margin: 0 !important;
    table-layout: fixed;
    /* важно для "убирания полос" */
}

.table-box table th {
    height: 40px;
    box-sizing: border-box;
    color: #ffffff;
    text-align: center;
    font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.table-box table td {
    box-sizing: border-box;
    text-align: center;
    color: #4D1B45;
    text-align: center;
    font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    height: 40px;
    border-right: 1px solid #4d1b4533;
}

.table-box table td:last-child {
    border-right: none;
}

table tr:nth-child(even) {
    background: #FEE8FF;

    /* вторичный цвет */
}

table tr:nth-child(odd) {
    color: #ffffff;

}

.table-right {

    width: 121px;
}

.table-right ul {
    flex-wrap: wrap;
}

.table-right li {
    color: #4D1B45;
    text-align: center;
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 100%;
    justify-content: center;
    height: 40px;
}

.table-right li:first-child {
    color: #fff;
}

.table-right li span {
    display: flex;
    align-items: center;
    justify-content: center;
}


.table-right li:nth-child(odd):not(:first-child) {
    background: #FEE8FF;
    border-left: 2px solid #dbd1da;
}

.table-right li:nth-child(even) {
    background: #fff;
    border-left: 2px solid #dbd1da;
}



.custom-scrollbar {
    position: absolute;
    top: auto;
    bottom: 0;
    margin: auto;
    left: 116px;
    right: 0;
    width: 100%;
    max-width: 803px;
    height: 12px;
    border-radius: 6.5px;
    background: #FFF;
    padding: 2px;
}

.custom-thumb {
    position: absolute;
    width: 100%;
    background-color: #4D1B45;
    border-radius: 4px;
    border-radius: 6.5px;
    top: 2px;
    height: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.custom-thumb:hover {
    background-color: #555;
}

.all_game_table .custom-scrollbar {
    display: none;
}

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

.game-schedule-title {
    color: #4D1B45;
    text-align: center;
    font-family: 'Inter';
    font-size: 34px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 52px;
}

.game-schedule-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 90px;
}

.game-schedule-box {
    border-radius: 30px;
    width: 326px;
    height: 346px;
    overflow: hidden;
}



.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: 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: 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%;
    }
}
@media screen and (max-width: 500px) {
    .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;
    }
}