.games-page .group-nav .wrapper {
    margin-left: 0 !important;
}

.games-page span,
.game-detail span,
.other-games span {
    color: var(--main-color);
}

.games-hero {
    background-color: #EAF4FF;
    text-wrap: balance;
}

.games-hero .title,
.games-hero .text {
    font-weight: 700;
}

.games-hero .subtext,
.games-hero__description {
    font-size: 1.3rem;
    font-weight: normal;
    line-height: 1.45;
}

.games-hero__description {
    color: #545454;
}

.games-hero__button {
    display: inline-block;
    text-decoration: none;
}

.games-teasers {
    position: relative;
    overflow: hidden;
    padding: 74px 0 72px;
    background:
        radial-gradient(circle at 7% 68%, rgba(255, 255, 255, 0.95) 0 7px, transparent 8px),
        radial-gradient(circle at 96% 18%, rgba(255, 255, 255, 0.75) 0 7px, transparent 8px),
        linear-gradient(110deg, rgba(214, 231, 255, 0.55) 0%, rgba(237, 246, 255, 0.97) 44%, rgba(217, 233, 255, 0.78) 100%);
}

.games-teasers:before,
.games-teasers:after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 50%;
}

.games-teasers:before {
    top: -186px;
    left: -92px;
    width: 366px;
    height: 366px;
}

.games-teasers:after {
    right: -118px;
    bottom: -196px;
    width: 514px;
    height: 514px;
}

.games-teasers .container {
    position: relative;
    z-index: 1;
}

.games-teasers__grid {
    row-gap: 24px;
}

.games-teasers__col {
    display: flex;
}

.games-teasers__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 286px;
    padding: 42px 24px 46px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 56%),
        #fff;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    box-shadow: 0 24px 56px rgba(67, 129, 216, 0.14);
    text-align: center;
}

.games-teasers__item:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 32px;
    width: 62px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2F86FF 0%, #1763F8 100%);
    transform: translateX(-50%);
}

.games-teasers__icon-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 124px;
    height: 124px;
    margin-bottom: 36px;
    border-radius: 50%;
    background: radial-gradient(circle, #E4F0FF 0%, #F4F8FF 66%, rgba(244, 248, 255, 0) 68%);
    box-shadow:
        inset 0 0 0 12px rgba(255, 255, 255, 0.66),
        0 0 0 1px rgba(205, 225, 255, 0.76),
        0 0 0 14px rgba(234, 243, 255, 0.74);
}

.games-teasers__icon-wrap:before,
.games-teasers__icon-wrap:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(47, 134, 255, 0.36);
    box-shadow: 0 0 0 4px rgba(47, 134, 255, 0.08);
}

.games-teasers__icon-wrap:before {
    top: 18px;
    left: -14px;
    width: 7px;
    height: 7px;
}

.games-teasers__icon-wrap:after {
    right: -9px;
    bottom: 24px;
    width: 8px;
    height: 8px;
}

.games-teasers__icon {
    position: relative;
    z-index: 1;
    width: 76px;
    height: 76px;
    object-fit: contain;
    filter: saturate(1.15);
}

.games-teasers__title {
    margin: auto 0 26px;
    color: #213243;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
}

.games-list-section {
    padding: 28px 0 46px;
    background-color: #EAF4FF;
}

.games-cards-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.games-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.games-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    background: #fff;
    border: 1px solid rgba(221, 234, 255, 0.95);
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(23, 99, 248, 0.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.games-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(23, 99, 248, 0.13);
}

.games-card__image {
    display: block;
    width: 100%;
    height: 190px;
    border-radius: 18px 18px 0 0;
    background-color: #F2F7FD;
}

.games-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 22px;
}

.games-card__title {
    margin: 0 0 12px;
    color: #213243;
    font-size: 21px;
    line-height: 1.24;
    font-weight: 700;
}

.games-card__title a {
    color: inherit;
    text-decoration: none;
}

.games-card__text {
    display: -webkit-box;
    overflow: hidden;
    min-height: 60px;
    margin-bottom: 18px;
    color: #545454;
    font-size: 15px;
    line-height: 1.45;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.games-card__text p {
    margin: 0;
}

.games-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: auto;
    padding: 12px 20px;
    background: var(--main-color);
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(23, 99, 248, 0.18);
    color: #fff !important;
    font-size: 15px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.games-card__link:hover {
    background: #1042a5;
    color: #fff !important;
    transform: translateY(-1px);
}

.games-cards__pagination {
    margin-top: 28px;
}

.games-cards__pagination--top {
    margin-top: 0;
    margin-bottom: 22px;
}

.games-who {
    padding: 34px 0 18px;
    overflow: hidden;
}

.games-who__title {
    margin-bottom: 64px !important;
    color: #213243;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 700;
}

.games-who__layout {
    display: grid;
    grid-template-columns: minmax(280px, 410px) minmax(320px, 1fr) minmax(280px, 410px);
    align-items: center;
    gap: 34px;
}

.games-who__layout--no-picture {
    grid-template-columns: repeat(2, minmax(0, 430px));
    justify-content: center;
}

.games-who__column {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.games-who__picture {
    min-height: 470px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.games-who__item {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 132px;
    padding: 28px 30px 28px 86px;
    background-color: rgba(255, 255, 255, 0.88);
    border: 1px solid #DDEAFF;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(23, 99, 248, 0.08);
    color: #213243;
    font-size: 18px;
    line-height: 1.5;
}

.games-who__item:before {
    content: "";
    position: absolute;
    top: 38px;
    left: 34px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--main-color);
    box-shadow: 0 0 0 12px rgba(23, 99, 248, 0.11);
}

.games-why {
    background-color: #EAF4FF;
    padding: 56px 0;
}

.games-why__image {
    border-radius: 20px;
}

.games-why__content {
    color: #213243;
}

.games-why__content h2 {
    margin-bottom: 24px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.games-why__text {
    color: #545454;
    font-size: 18px;
    line-height: 1.55;
}

.games-why__text b {
    font-weight: 700;
}

.games-start {
    position: relative;
    overflow: hidden;
    margin: 64px 0 0;
    padding: 66px 0 74px;
    background:
        radial-gradient(circle at 3% 12%, rgba(255, 255, 255, 0.92) 0 7px, transparent 8px),
        radial-gradient(circle at 94% 18%, rgba(255, 255, 255, 0.82) 0 9px, transparent 10px),
        radial-gradient(circle at 12% 56%, rgba(255, 255, 255, 0.6) 0 5px, transparent 6px),
        linear-gradient(120deg, rgba(218, 235, 255, 0.74) 0%, rgba(239, 247, 255, 0.98) 45%, rgba(216, 232, 255, 0.78) 100%);
}

.games-start:before,
.games-start:after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.games-start:before {
    top: -240px;
    left: -190px;
    width: 430px;
    height: 430px;
}

.games-start:after {
    right: -210px;
    bottom: -260px;
    width: 560px;
    height: 560px;
}

.games-start .container {
    position: relative;
    z-index: 1;
}

.games-start__title {
    margin: 0 0 48px;
    color: #17243A;
    font-size: 38px;
    line-height: 1.22;
    font-weight: 700;
    text-wrap: balance;
}

.games-start__title span {
    color: var(--main-color);
}

.games-start__list {
    position: relative;
    display: grid;
    gap: 28px;
    width: min(980px, 100%);
    margin: 0 auto;
}

.games-start__list:before {
    content: "";
    position: absolute;
    top: 142px;
    bottom: 142px;
    left: 113px;
    width: 2px;
    background-image: linear-gradient(var(--main-color) 45%, rgba(255, 255, 255, 0) 0%);
    background-position: top;
    background-repeat: repeat-y;
    background-size: 2px 12px;
    opacity: 0.72;
}

.games-start__step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 140px 58px minmax(0, 1fr);
    align-items: center;
    gap: 34px;
    min-height: 176px;
    margin: 0;
    padding: 26px 40px 26px 34px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 46%),
        #fff;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    box-shadow: 0 24px 56px rgba(67, 129, 216, 0.14);
}

.games-start__step:not(:last-child):after {
    content: "";
    position: absolute;
    left: 112px;
    bottom: -19px;
    width: 14px;
    height: 14px;
    border: 3px solid rgba(217, 235, 255, 0.95);
    border-radius: 50%;
    background: var(--main-color);
    box-shadow: 0 6px 16px rgba(23, 99, 248, 0.22);
}

.games-start__icon-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    background: radial-gradient(circle, #E3F0FF 0%, #F5F9FF 66%, rgba(245, 249, 255, 0) 68%);
    box-shadow:
        inset 0 0 0 12px rgba(255, 255, 255, 0.68),
        0 0 0 1px rgba(199, 222, 255, 0.82),
        0 0 0 12px rgba(235, 244, 255, 0.76);
}

.games-start__icon-wrap:before,
.games-start__icon-wrap:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(47, 134, 255, 0.36);
    box-shadow: 0 0 0 4px rgba(47, 134, 255, 0.08);
}

.games-start__icon-wrap:before {
    left: -10px;
    bottom: 34px;
    width: 6px;
    height: 6px;
}

.games-start__icon-wrap:after {
    top: 22px;
    right: -9px;
    width: 7px;
    height: 7px;
}

.games-start__icon {
    position: relative;
    z-index: 1;
    width: 78px;
    height: 78px;
    object-fit: contain;
    filter: saturate(1.16);
}

.games-start__number {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #EAF4FF;
    box-shadow:
        inset 0 0 0 1px rgba(204, 224, 255, 0.82),
        0 10px 24px rgba(23, 99, 248, 0.1);
    color: var(--main-color);
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
}

.games-start__content {
    min-width: 0;
}

.games-start__step-title {
    margin: 0;
    color: #17243A;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
}

.games-start__text {
    margin-top: 16px;
    color: #4D5A70;
    font-size: 19px;
    line-height: 1.55;
}

.games-start__text p {
    margin: 0;
}

.games-contacts {
    overflow: hidden;
}

.game-detail .wrapper {
    margin-bottom: 56px;
}

.game-detail__text {
    min-height: 80px;
}

.games-related-section {
    margin-top: 10px;
    padding: 22px 0 54px;
    background: linear-gradient(180deg, #fff 0%, #F6FAFF 100%);
}

.games-related-section__title {
    color: #213243;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

@media (max-width: 991px) {
    .games-teasers {
        padding: 56px 0;
    }

    .games-teasers__item {
        min-height: 266px;
    }

    .games-start {
        padding: 54px 0 62px;
    }

    .games-start__title {
        margin-bottom: 36px;
        font-size: 32px;
    }

    .games-start__list {
        width: min(760px, 100%);
    }

    .games-start__list:before {
        left: 86px;
    }

    .games-start__step {
        grid-template-columns: 104px 52px minmax(0, 1fr);
        gap: 24px;
        min-height: 156px;
        padding: 24px 28px;
    }

    .games-start__step:not(:last-child):after {
        left: 85px;
    }

    .games-start__icon-wrap {
        width: 96px;
        height: 96px;
        box-shadow:
            inset 0 0 0 10px rgba(255, 255, 255, 0.68),
            0 0 0 1px rgba(199, 222, 255, 0.82),
            0 0 0 10px rgba(235, 244, 255, 0.76);
    }

    .games-start__icon {
        width: 62px;
        height: 62px;
    }

    .games-start__number {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .games-start__step-title {
        font-size: 22px;
    }

    .games-start__text {
        font-size: 17px;
    }

    .games-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .games-who__title {
        margin-bottom: 32px !important;
        font-size: 30px;
    }

    .games-who__layout,
    .games-who__layout--no-picture {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .games-who__picture {
        min-height: 340px;
        order: -1;
    }

    .games-who__column {
        gap: 22px;
    }
}

@media (max-width: 767px) {
    .games-hero__description,
    .games-hero .subtext {
        font-size: 1.05rem;
    }

    .games-teasers {
        padding: 42px 0;
    }

    .games-teasers:before {
        top: -220px;
        left: -190px;
    }

    .games-teasers:after {
        right: -300px;
        bottom: -260px;
    }

    .games-teasers__item {
        min-height: 236px;
        padding: 32px 20px 40px;
        border-radius: 20px;
    }

    .games-teasers__item:after {
        bottom: 24px;
        width: 56px;
        height: 4px;
    }

    .games-teasers__icon-wrap {
        width: 104px;
        height: 104px;
        margin-bottom: 28px;
        box-shadow:
            inset 0 0 0 10px rgba(255, 255, 255, 0.66),
            0 0 0 1px rgba(205, 225, 255, 0.76),
            0 0 0 12px rgba(234, 243, 255, 0.74);
    }

    .games-teasers__icon {
        width: 64px;
        height: 64px;
    }

    .games-teasers__title {
        margin-bottom: 22px;
        font-size: 19px;
    }

    .games-cards {
        grid-template-columns: 1fr;
    }

    .games-card__image {
        height: 180px;
    }

    .games-card__body {
        padding: 18px 18px 20px;
    }

    .games-card__title {
        font-size: 19px;
    }

    .games-related-section {
        padding: 14px 0 38px;
    }

    .games-related-section__title {
        font-size: 26px;
    }

    .games-who {
        padding: 18px 0 8px;
    }

    .games-who__title {
        margin-bottom: 22px !important;
        font-size: 26px;
        line-height: 1.25;
    }

    .games-who__picture {
        min-height: 240px;
    }

    .games-who__item {
        min-height: auto;
        padding: 22px 20px 22px 68px;
        border-radius: 16px;
        font-size: 16px;
    }

    .games-who__item:before {
        top: 24px;
        left: 24px;
        width: 18px;
        height: 18px;
        box-shadow: 0 0 0 10px rgba(23, 99, 248, 0.11);
    }

    .games-start {
        margin-top: 42px;
        padding: 42px 0 48px;
    }

    .games-start:before {
        top: -280px;
        left: -260px;
    }

    .games-start:after {
        right: -340px;
        bottom: -330px;
    }

    .games-start__title {
        margin-bottom: 28px;
        font-size: 28px;
    }

    .games-start__list {
        gap: 22px;
    }

    .games-start__list:before,
    .games-start__step:not(:last-child):after {
        display: none;
    }

    .games-start__step {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 18px;
        min-height: 0;
        padding: 24px 20px;
        border-radius: 20px;
    }

    .games-start__icon-wrap {
        grid-row: 1 / span 2;
        width: 82px;
        height: 82px;
        box-shadow:
            inset 0 0 0 8px rgba(255, 255, 255, 0.68),
            0 0 0 1px rgba(199, 222, 255, 0.82),
            0 0 0 8px rgba(235, 244, 255, 0.76);
    }

    .games-start__icon {
        width: 54px;
        height: 54px;
    }

    .games-start__number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .games-start__content {
        grid-column: 2;
    }

    .games-start__step-title {
        font-size: 20px;
    }

    .games-start__text {
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.45;
    }
}
