// ✅ Live Casino — public_html রুটের /casino.json থেকে সরাসরি
async function loadFromCasinoJson(containerId, limit) {
    const container = document.getElementById(containerId);
    container.innerHTML = Array(6).fill('<div class="rounded-xl overflow-hidden bg-[#022828] h-36 skeleton-shimmer"></div>').join('');
    try {
        const res = await fetch('/casino.json');
        if (!res.ok) throw new Error('HTTP ' + res.status);
        const data = await res.json();
        const games = (data.gameLists || data.games || []).filter(g => (g.gameCode || g.gameID));
        renderGameCards(container, games.slice(0, limit));
    } catch (e) {
        container.innerHTML = '<div class="col-span-3 text-center text-gray-500 text-xs py-6">casino.json থেকে Game লোড করা যায়নি।</div>';
    }
}
