.games-list-page {
    position: relative;
}

.games-hero {
    position: relative;
    min-height: 176px;
    padding: 31px 34px 20px;
    overflow: hidden;
    background: #050302 url("../images/page-games/bg/Black-Pattern.webp") center top/100% 100% no-repeat;
}

.games-title-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2px 372px;
    gap: 18px;
    align-items: center;
}

.games-title-wrap { min-width: 0; }
.games-title { width: 100%; max-width: 470px; }

.games-subtitle {
    margin: 18px 0 0 19px;
    color: #fff;
    font-size: 23px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}

.games-separator {
    width: 2px;
    height: 105px;
    margin-left: 4px;
    object-fit: fill;
}

.games-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.featured-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.featured-title img { width: 36px; flex: 0 0 auto; }
.play-now-img { width: 214px; }

.games-content {
    position: relative;
    padding: 18px 8px 38px;
}

.section-ribbon,
.more-title {
    width: 330px;
    margin: 0 auto 34px;
}

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

.top-games { margin-bottom: 58px; }

.game-list-card {
    position: relative;
    display: block;
}

.game-list-card img:not(.badge) {
    width: 100%;
    border-radius: 24px;
}

.game-list-card .badge {
    position: absolute;
    left: 8px;
    top: 5px;
    width: 21%;
    height: auto;
    z-index: 2;
}

.more-title { margin-bottom: 46px; }

@media (max-width: 767px) {
    .games-hero { min-height: 88px; padding: 14px 17px 12px; margin-top: -10px; }
    .games-hero::after { height: 11px; }
    .games-title-row { grid-template-columns: minmax(0, 1fr) 5px 146px; gap: 11px; }
    .games-title { max-width: 190px; }
    .games-subtitle { margin: 7px 0 0 8px; font-size: 10px; }
    .games-separator { width: 1px; height: 50px; }
    .games-feature { gap: 8px; }
    .featured-title { gap: 4px; font-size: 10px; }
    .featured-title img { width: 18px; }
    .play-now-img { width: 96px; }
    .games-content { padding: 12px 4px 22px; }
    .section-ribbon, .more-title { width: 238px; margin-bottom: 22px; }
    .games-grid { gap: 26px 18px; }
    .top-games { margin-bottom: 38px; }
    .game-list-card img:not(.badge) { border-radius: 13px; }
    .game-list-card .badge { left: 2px; top: 0; width: 27%; }
    .more-title { margin-bottom: 28px; }
}
