.games {
    padding: 40px 160px;
    background: var(--color-bg);
}

.games-container {
    max-width: 1600px;
    margin: 0 auto;
}

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

.games-header h2 {
    font-family: var(--font-orbitron);
    font-weight: 700;
    font-size: 32px;
    color: var(--color-white);
}

.view-all {
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-white);
    background: #0C0C3A;
    border: 1px solid #0558FF;
    border-radius: 32px 2px 32px 2px;
    padding: 4px 32px;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.view-all:hover {
    opacity: 0.8;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.game-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.game-card--hidden {
    display: none;
}

.game-card:hover {
    transform: translateY(-4px);
}

.game-cover {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

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

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.game-name {
    font-family: var(--font-orbitron);
    font-weight: 700;
    font-size: 12px;
    color: var(--color-white);
}

.game-info {
    padding: 8px 0;
}

.players-online {
    font-family: var(--font-poppins);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.games-cta {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .games {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .games {
        padding: 24px;
    }

    .games-header h2 {
        font-size: 22px;
    }

    .view-all {
        display: none;
    }

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