.below {
    background: var(--bg);
}

.section {
    padding: 48px 48px;
}

.section-alt {
    background: #0a0a0a;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: block;
    width: 3px;
    height: 16px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-more {
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: color 0.2s;
}

.section-more:hover {
    color: #fff;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc((100% / 7) - 14px), 1fr));
    gap: 14px;
}

.game-card {
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg2);
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(232, 255, 71, 0.08);
}

.game-card .img-box {
    padding-top: 75%;
    background: var(--bg3);
    position: relative;
    overflow: hidden;
}

.game-card .img-box img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s;
}

.game-card:hover .img-box img {
    transform: scale(1.06);
}

.game-card-body {
    padding: 9px 11px;
}

.game-card-title {
    font-size: 12px;
    color: #ccc;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.game-card-cat {
    font-size: 10px;
    color: var(--muted);
    text-transform: capitalize;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.cat-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 14px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-card:hover {
    border-color: var(--accent);
    background: rgba(232, 255, 71, 0.04);
}

.cat-card-name {
    font-size: 13px;
    color: #888;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.cat-card:hover .cat-card-name {
    color: var(--accent);
}

@media screen and (max-width: 900px) {
    .section {
        padding: 32px 20px;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
}

@media screen and (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}