.sc-home-game-cats {
    --cm-font: 'Vazir', 'Vazir', 'Tahoma', sans-serif;

    position: relative;
    width: min(1640px, calc(100% - 32px));
    margin: 64px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    direction: rtl;
    font-family: var(--cm-font);
}

.sc-home-game-cats__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sc-home-game-cats__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.sc-home-game-cats__icon img {
    display: block;
    width: 32px;
    height: 32px;
}

.sc-home-game-cats__title {
    margin: 0;
    color: #ffffff;
    font-family: var(--cm-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}

.sc-home-game-cats__watermark {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 119px));
    text-align: center;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(143, 150, 163, 0.20);
    font-family: iransansx;
    font-size: 80px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    color: transparent;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    direction: ltr;
    /* font-family: vazir; */
}

.sc-home-game-cats__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.sc-home-game-cats__grid .cat-game-row-card {
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .sc-home-game-cats__watermark {
        font-size: 48px;
    }
}

@media (max-width: 640px) {
    .sc-home-game-cats {
        width: min(100% - 24px, 600px);
        margin-top: 48px;
        gap: 12px;
    }

    .sc-home-game-cats__title {
        font-size: 16px;
        white-space: normal;
    }

    .sc-home-game-cats__watermark {
        font-size: 32px;
    }

    .sc-home-game-cats__grid {
        gap: 12px;
    }

    .sc-home-game-cats__grid .cat-game-row-card {
        padding: 0 24px;
        min-width: 140px;
    }

    .sc-home-game-cats__grid .cat-game-row-card__name {
        font-size: 16px;
    }

    .sc-home-game-cats__grid .cat-game-row-card__counter-text {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-home-game-cats *,
    .sc-home-game-cats .cat-game-row-card {
        animation: none !important;
        transition: none !important;
    }
}
