.catalog {
    padding: 48px 0 104px;
    border-top: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 9px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 4.8vw, 4.1rem);
    font-weight: 500;
    letter-spacing: -0.055em;
}

.game-count {
    color: rgba(31, 37, 34, 0.13);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.5rem, 8vw, 6.8rem);
    line-height: 0.72;
}

.game-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    gap: 24px;
}

.game-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
}

.game-card--active {
    display: grid;
    grid-template-columns: minmax(290px, 0.85fr) minmax(290px, 1.15fr);
    overflow: hidden;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 22px 58px rgba(31, 37, 34, 0.09);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.game-card--active:hover {
    transform: translateY(-6px);
    border-color: rgba(73, 103, 214, 0.4);
    box-shadow: 0 30px 70px rgba(31, 37, 34, 0.14);
}

.game-card__art {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
    padding: 45px;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 16%, rgba(255, 255, 255, 0.5), transparent 28%),
        var(--lime);
}

.game-card__art::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -120px;
    width: 260px;
    height: 260px;
    border: 58px solid rgba(31, 37, 34, 0.06);
    border-radius: 50%;
}

.game-card__board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    z-index: 1;
    width: min(100%, 260px);
    aspect-ratio: 1;
    gap: 7px;
    padding: 13px;
    border-radius: 23px;
    background: var(--ink);
    box-shadow: 0 22px 42px rgba(31, 37, 34, 0.24);
    transform: rotate(-3deg);
}

.mark {
    position: relative;
}

.mark--x::before,
.mark--x::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46%;
    height: 7%;
    border-radius: 999px;
    background: var(--coral);
    transform: translate(-50%, -50%) rotate(45deg);
}

.mark--x::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mark--o::before {
    content: "";
    position: absolute;
    inset: 27%;
    border: clamp(3px, 0.55vw, 6px) solid var(--blue);
    border-radius: 50%;
}

.game-card__board > span {
    position: relative;
    border-radius: 10px;
    background: rgba(243, 245, 242, 0.1);
}

.game-card__board .mark--x::before,
.game-card__board .mark--x::after {
    background: var(--coral);
}

.game-card__board .mark--o::before {
    border-color: #7691f2;
}

.game-card__number {
    position: absolute;
    top: 22px;
    left: 25px;
    color: rgba(31, 37, 34, 0.42);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
}

.game-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 5vw, 64px);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-row span {
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(31, 37, 34, 0.055);
    font-size: 0.65rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.game-card h3 {
    margin: 23px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.15rem, 4vw, 3.8rem);
    font-weight: 500;
    letter-spacing: -0.055em;
}

.game-card__content > p {
    max-width: 430px;
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

.game-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.level-dots {
    display: inline-flex;
    align-items: end;
    gap: 4px;
    height: 18px;
}

.level-dots i {
    width: 5px;
    border-radius: 5px;
    background: var(--blue);
}

.level-dots i:nth-child(1) { height: 7px; }
.level-dots i:nth-child(2) { height: 12px; }
.level-dots i:nth-child(3) { height: 18px; }

.game-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.game-card--active:hover .game-card__link {
    color: var(--blue);
}

.game-card--soon {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: clamp(32px, 4vw, 48px);
    border-style: dashed;
    background: rgba(255, 255, 255, 0.28);
}

.soon-icon {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 22px;
    color: var(--muted);
    background: rgba(31, 37, 34, 0.06);
}

.soon-icon span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.game-card--soon h3 {
    max-width: 220px;
    margin-top: 12px;
    font-size: clamp(2rem, 3vw, 2.9rem);
}

