.games-page {
    min-height: calc(100vh - 78px);
    color: var(--site-text);
}

.games-page__catalog {
    padding: 42px 0 96px;
}

.games-page__intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.games-page__intro-copy {
    max-width: 650px;
}

.games-page__eyebrow {
    margin: 0 0 8px;
    color: #f4b900;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.games-page__intro h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 850;
    letter-spacing: -.045em;
}

.games-page__intro-copy > p:last-child {
    margin: 9px 0 0;
    color: var(--site-muted);
    font-size: .86rem;
    line-height: 1.6;
}

.games-search {
    position: relative;
    display: flex;
    width: min(100%, 340px);
    flex: 0 0 min(340px, 34vw);
    align-items: center;
}

.games-search > i {
    position: absolute;
    left: 14px;
    z-index: 1;
    color: #777a81;
    font-size: 1.08rem;
    pointer-events: none;
}

.games-search input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 14px 0 42px;
    border: 1px solid #29292e;
    border-radius: 10px;
    outline: 0;
    color: #f5f5f6;
    background: #101012;
    font: inherit;
    font-size: .8rem;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.games-search input::placeholder {
    color: #64676e;
}

.games-search input:focus {
    border-color: rgba(244, 185, 0, .65);
    box-shadow: 0 0 0 3px rgba(244, 185, 0, .07);
}

.games-page__empty {
    display: grid;
    min-height: 320px;
    place-items: center;
    align-content: center;
    gap: 8px;
    text-align: center;
}

.games-page__empty > i {
    color: #555960;
    font-size: 2.4rem;
}

.games-page__empty h2 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 1.2rem;
}

.games-page__empty p {
    margin: 0;
    color: var(--site-muted);
    font-size: .8rem;
}

.games-page__load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.games-page__load-more {
    display: inline-flex;
    min-width: 142px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 18px;
    border: 1px solid #303036;
    border-radius: 10px;
    color: #e9e9eb;
    background: #121214;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 750;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.games-page__load-more:hover:not(:disabled) {
    border-color: rgba(244, 185, 0, .55);
    background: #171719;
    transform: translateY(-1px);
}

.games-page__load-more:disabled {
    cursor: wait;
    opacity: .58;
}

.games-page__load-more i {
    font-size: 1rem;
}

.games-page__load-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
    color: #d88585;
    font-size: .74rem;
}

.games-page__load-error[hidden],
.games-page__empty[hidden],
.games-page__load-more[hidden] {
    display: none !important;
}

@media (max-width: 720px) {
    .games-page__catalog {
        padding: 26px 0 70px;
    }

    .games-page__intro {
        align-items: stretch;
        flex-direction: column;
        gap: 17px;
        margin-bottom: 22px;
    }

    .games-search {
        width: 100%;
        flex-basis: auto;
    }
}
