.group-game-catalog {
    display: grid;
    gap: 18px;
    margin: 18px 0;
}

.group-game-category {
    --category-accent: #ffb703;
    background: linear-gradient(135deg, #17152f 0%, #282057 52%, #152443 100%);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(12, 10, 35, .2);
    color: #fff;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.group-game-category--hidden-role {
    --category-accent: #ffb0b8;
    background: radial-gradient(circle at 12% 15%, rgb(255 59 59 / 32%), transparent 34%), linear-gradient(135deg, #24070d 0%, #a31313 52%, #ab0019 100%);
    border-color: rgba(255, 179, 187, .22);
    box-shadow: 0 18px 45px rgba(92, 7, 22, .3);
}

.group-game-category--party {
    --category-accent: #65f6c7;
    background: linear-gradient(135deg, #092f36 0%, #087f78 52%, #13a76f 100%);
}

.group-game-category--two-player {
    --category-accent: #9ed5ff;
    background: linear-gradient(135deg, #102954 0%, #1d5fa7 55%, #173c85 100%);
}

.group-game-category--fantasy {
    --category-accent: #f0b9ff;
    background: linear-gradient(135deg, #30134b 0%, #7735a5 52%, #ba4b91 100%);
}

.group-game-category--bluff {
    --category-accent: #ffc38a;
    background: linear-gradient(135deg, #3b190c 0%, #a34418 52%, #d36e1f 100%);
}

.group-game-category--solo {
    --category-accent: #d6f56b;
    background: linear-gradient(135deg, #26320d 0%, #597719 52%, #799b26 100%);
}

.group-game-category__glow {
    background: var(--category-accent);
    border-radius: 50%;
    filter: blur(65px);
    height: 150px;
    left: -55px;
    opacity: .19;
    position: absolute;
    top: -70px;
    width: 150px;
}

.group-game-category__header,
.group-game-category__heading {
    align-items: center;
    display: flex;
}

.group-game-category__header {
    justify-content: space-between;
    position: relative;
}

.group-game-category__heading {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 12px;
    min-width: 0;
    width: 100%;
}

.group-game-category__icon {
    align-items: center;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 15px;
    display: flex;
    flex: 0 0 48px;
    font-size: 1.2rem;
    height: 48px;
    justify-content: center;
}

.group-game-category h2 {
    color: #fff;
    font-size: 1.08rem !important;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-game-category__heading > div {
    flex: 1 1 auto;
    min-width: 0;
    width: 0;
}

.group-game-category__title-link {
    align-items: center;
    color: #fff;
    display: flex;
    flex-wrap: nowrap;
    gap: 9px;
    min-width: 0;
    text-decoration: none;
    width: 100%;
}

.group-game-category__title-link h2 {
    flex: 0 1 auto;
    min-width: 0;
}

.group-game-category__title-link i {
    align-items: center;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    color: var(--category-accent);
    display: flex;
    flex: 0 0 26px;
    font-size: .62rem;
    height: 26px;
    justify-content: center;
    transition: background-color .2s ease, border-color .2s ease;
}

.group-game-category__title-link:hover i,
.group-game-category__title-link:focus i {
    background: rgba(255, 255, 255, .22);
    border-color: var(--category-accent);
}

.group-game-category__heading p {
    color: rgba(255, 255, 255, .72);
    font-size: .76rem;
    line-height: 1.8;
    margin: 3px 0 0;
}

.group-game-category__count {
    background: rgba(0, 0, 0, .18);
    border-radius: 999px;
    color: rgba(255, 255, 255, .86);
    flex: 0 0 auto;
    font-size: .72rem;
    padding: 6px 10px;
}

.group-game-category__games {
    display: flex;
    gap: 9px;
    margin-top: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 8px;
    position: relative;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(255, 255, 255, .34) rgba(0, 0, 0, .12);
    scrollbar-width: thin;
}

.group-game-card {
    align-items: center;
    backdrop-filter: blur(8px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 15px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 7px 18px rgba(0, 0, 0, .12);
    color: #fff !important;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    height: 56px;
    min-width: 0;
    overflow: hidden;
    padding: 9px 10px;
    position: relative;
    scroll-snap-align: start;
    text-decoration: none !important;
    transition: box-shadow .22s ease, border-color .22s ease;
}

.group-game-card::after {
    background: var(--category-accent);
    border-radius: 50%;
    content: "";
    filter: blur(18px);
    height: 34px;
    opacity: .09;
    position: absolute;
    right: -14px;
    top: -15px;
    transition: opacity .22s ease;
    width: 34px;
}

.group-game-card:hover,
.group-game-card:focus {
    border-color: color-mix(in srgb, var(--category-accent) 55%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 22px rgba(0, 0, 0, .18);
}

.group-game-card:hover::after,
.group-game-card:focus::after {
    opacity: .24;
}

.group-game-card__name {
    display: block;
    flex: 0 0 auto;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.group-game-card__action {
    align-items: center;
    background: rgba(255, 255, 255, .09);
    border-radius: 50%;
    color: var(--category-accent);
    display: flex;
    flex: 0 0 22px;
    height: 22px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.group-game-card__action i {
    font-size: .55rem;
}

.group-game-category-nav {
    display: flex;
    gap: 8px;
    margin: 14px 0 4px;
    overflow-x: auto;
    padding-bottom: 7px;
    scrollbar-width: thin;
}

.group-game-category-nav a {
    background: var(--body-bg);
    border: 1px solid rgba(90, 90, 90, .25);
    border-radius: 999px;
    color: var(--title);
    flex: 0 0 auto;
    font-size: .74rem;
    padding: 8px 13px;
    text-decoration: none;
}

.group-game-category-nav a.active {
    background: #202033;
    border-color: #202033;
    color: #fff;
}

.group-games-hero {
    background: linear-gradient(135deg, #17152f, #322b73);
    border-radius: 20px;
    color: #fff;
    margin-top: 12px;
    overflow: hidden;
    padding: 24px 20px;
    position: relative;
}

.group-games-hero:after {
    background: rgba(255, 183, 3, .16);
    border-radius: 50%;
    content: "";
    height: 180px;
    left: -70px;
    position: absolute;
    top: -85px;
    width: 180px;
}

.group-games-hero h1 {
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
}

.group-games-hero p {
    color: rgba(255, 255, 255, .75);
    font-size: .82rem;
    line-height: 2;
    margin: 7px 0 0;
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.group-games-seo {
    background: var(--body-bg);
    border: 1px solid rgba(90, 90, 90, .16);
    border-radius: 18px;
    line-height: 2.15;
    margin: 22px 0;
    padding: 20px;
}

.group-games-seo h2,
.group-games-seo h3 {
    font-size: 1.12rem !important;
    line-height: 1.9;
}

.group-games-seo p,
.group-games-seo li {
    font-size: .84rem;
}

@media (min-width: 768px) {
    .group-game-category {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .group-game-category {
        border-radius: 17px;
        padding: 15px;
    }

    .group-game-category__header {
        align-items: center;
    }

    .group-game-category__heading {
        gap: 8px;
    }

    .group-game-category__icon {
        border-radius: 11px;
        flex-basis: 38px;
        font-size: .95rem;
        height: 38px;
    }

    .group-game-category h2 {
        font-size: clamp(.62rem, 2.9vw, .9rem) !important;
    }

    .group-game-category__title-link {
        gap: 6px;
    }

    .group-game-category__title-link i {
        flex-basis: 22px;
        font-size: .52rem;
        height: 22px;
    }

/*    .group-game-category__count {
        display: none;
    }*/

    .group-game-card {
        gap: 5px;
        height: 52px;
        min-width: 0;
        padding: 8px 10px;
    }

    .group-game-card__name {
        font-size: .72rem;
    }

    .group-game-card__action {
        display: none;
    }
}
