.games-main {
    background: var(--bg-main);
    color: var(--text-main);
    padding: 44px 0 68px;
}

.games-wrapper {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.games-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    padding: 0 4px;
}

.games-title {
    font-size: 34px;
    font-weight: 600;
    letter-spacing: 0.25px;
    line-height: 1.1;
}

.games-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.45;
    max-width: 760px;
}

.games-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 1.2fr) minmax(260px, 1fr);
    gap: 22px;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(255, 204, 0, 0.28) 100%);
    opacity: 0.85;
}

.game-card:hover {
    border-color: rgba(255, 204, 0, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.game-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    padding-left: 12px;
}

.game-name {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.15;
}

.game-desc {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 14px;
    max-width: 62ch;
}

.btn.btn-play {
    align-self: flex-start;
    background: var(--accent);
    background-color: var(--accent);
    border-color: transparent;
    color: #111;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
}

.btn.btn-play:hover {
    background: var(--accent);
    background-color: var(--accent);
    border-color: transparent;
    color: #111;
}

.btn-play .play-icon {
    width: 0;
    height: 0;
    border-left: 10px solid #111;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.game-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 204, 0, 0.1) 0%, rgba(255, 204, 0, 0) 45%),
        #171717;
    border-radius: 14px;
    border: 1px solid #2f2f2f;
    overflow: hidden;
    min-height: 190px;
}

.game-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-players {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.players-count {
    font-weight: 600;
}

@media (max-width: 900px) {
    .game-card {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 16px;
    }
    .game-card::before {
        top: 12px;
        bottom: 12px;
    }
    .game-media {
        min-height: 170px;
    }
    .game-info {
        padding-left: 10px;
    }
}
