<!DOCTYPE html>
<html lang="en-CA">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Games - MySweetKatie Gaming</title>
    <meta name="description" content="Explore all the free social casino games available at MySweetKatie Gaming. Play for fun and pure entertainment with no real money involved.">
    
    <!-- Google Fonts: Poppins, Karla, Rajdhani -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Karla:wght@400;700&family=Rajdhani:wght@500;700&display=swap" rel="stylesheet">

    <!-- Подключение основных CSS файлов -->
    <link rel="stylesheet" href="css/mysweetkatie-variables.css">
    <link rel="stylesheet" href="css/mysweetkatie-base.css">
    <link rel="stylesheet" href="css/mysweetkatie-components.css">
    <link rel="stylesheet" href="css/mysweetkatie-animations.css">

    <!-- Подключение манифеста веб-приложения -->
    <link rel="manifest" href="manifest.webmanifest">

    <!-- Schema.org WebPage разметка -->
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "WebPage",
      "name": "Games - MySweetKatie Gaming",
      "description": "Explore all the free social casino games available at MySweetKatie Gaming. Play for fun and pure entertainment with no real money involved.",
      "url": "https://mysweetkatie.com/games.php"
    }
    </script>
</head>
<body>
    <?php include 'header.php'; ?>

    <main class="container content-page">
        <h1 class="page-title">Our Free Social Game Collection: Play for Fun!</h1>
        <p class="page-description">Dive into a world of pure entertainment with our ever-growing collection of free social casino games. All games are designed for fun and recreation, with absolutely no real money involved or real winnings.</p>

        <section class="game-list-section">
            <div class="game-grid">
                <!-- Game Card: Legacy of Gems: Blitzways -->
                <div class="game-card" data-game-slug="legacy-of-gems-blitzways">
                    <img src="/images/legacy-of-gems-blitzways.webp"
                         srcset="/images/legacy-of-gems-blitzways-small.webp 300w,
                                 /images/legacy-of-gems-blitzways-medium.webp 600w,
                                 /images/legacy-of-gems-blitzways.webp 900w"
                         sizes="(max-width: 600px) 300px,
                                (max-width: 900px) 600px,
                                900px"
                         alt="Abstract glowing gems in neon colors, game preview for free play"
                         onerror="this.onerror=null;this.src='/images/legacy-of-gems-blitzways.png';"
                         width="400" height="300" loading="lazy">
                    <h3>Legacy of Gems: Blitzways</h3>
                    <p class="game-description-short">A dynamic social slot simulation with cascading wins and a unique Blitzways mechanic for more ways to win. Play for fun, no real money involved.</p>
                    <button class="play-game-button" data-game-url="https://released.playngonetwork.com/casino/ContainerLauncher?pid=2&gid=legacyofgemsblitzways&lang=en_GB&practice=1&channel=desktop&demo=2&refresh=1752833212487">Play Now for Free</button>
                </div>

                <!-- Game Card: Tower Quest Legacy -->
                <div class="game-card" data-game-slug="tower-quest-legacy">
                    <img src="/images/tower-quest-legacy.webp"
                         srcset="/images/tower-quest-legacy-small.webp 300w,
                                 /images/tower-quest-legacy-medium.webp 600w,
                                 /images/tower-quest-legacy.webp 900w"
                         sizes="(max-width: 600px) 300px,
                                (max-width: 900px) 600px,
                                900px"
                         alt="Abstract fantasy tower silhouette with neon glow, game preview for social play"
                         onerror="this.onerror=null;this.src='/images/tower-quest-legacy.png';"
                         width="400" height="300" loading="lazy">
                    <h3>Tower Quest Legacy</h3>
                    <p class="game-description-short">Embark on a fantasy quest with mighty heroes, powerful spells, and exciting battles to unlock legendary treasures. Enjoy this social game with no monetary stakes.</p>
                    <button class="play-game-button" data-game-url="https://released.playngonetwork.com/casino/ContainerLauncher?pid=2&gid=towerquestlegacy&lang=en_GB&practice=1&channel=desktop&demo=2&refresh=1752833223164">Play Now for Fun</button>
                </div>

                <!-- Game Card: Treasures of Kongar -->
                <div class="game-card" data-game-slug="treasures-of-kongar">
                    <img src="/images/treasures-of-kongar.webp"
                         srcset="/images/treasures-of-kongar-small.webp 300w,
                                 /images/treasures-of-kongar-medium.webp 600w,
                                 /images/treasures-of-kongar.webp 900w"
                         sizes="(max-width: 600px) 300px,
                                (max-width: 900px) 600px,
                                900px"
                         alt="Abstract jungle ruins with glowing neon flora, game preview for entertainment"
                         onerror="this.onerror=null;this.src='/images/treasures-of-kongar.png';"
                         width="400" height="300" loading="lazy">
                    <h3>Treasures of Kongar</h3>
                    <p class="game-description-short">Discover hidden riches in a lost world dominated by the mighty ape, Kongar, with dynamic reels and cascading wins. A pure entertainment experience, no real money.</p>
                    <button class="play-game-button" data-game-url="https://released.playngonetwork.com/casino/ContainerLauncher?pid=2&gid=treasuresofkongar&lang=en_GB&practice=1&channel=desktop&demo=2&refresh=1752833131105">Play Just for Fun</button>
                </div>

            </div>
        </section>

        <!-- Полноэкранный игровой интерфейс (будет динамически загружен JS) -->
        <div id="fullscreenGameOverlay" class="fullscreen-game-overlay">
            <div class="game-header">
                <button id="closeGameButton" class="close-game-button" aria-label="Close game">X</button>
                <span class="game-loading-indicator">Loading free game...</span>
            </div>
            <iframe id="gameIframe" src="" frameborder="0" allowfullscreen
                    sandbox="allow-scripts allow-same-origin"
                    title="Social game preview - Play for fun, no real money"
                    referrerpolicy="no-referrer"
                    aria-label="Social game demo, no real money involved">
            </iframe>
        </div>

    </main>

    <?php include 'footer.php'; ?>

    <!-- Подключение CDN-библиотек -->
    <script src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js" defer></script>
    <script src="https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js" defer></script>
    <script src="https://cdn.jsdelivr.net/npm/dayjs@1.11.11/dayjs.min.js" defer></script>
    <script src="https://cdn.jsdelivr.net/npm/fuse.js@7.0.0/dist/fuse.min.js" defer></script>

    <!-- Подключение основных JavaScript файлов -->
    <script src="js/mysweetkatie-init.js" defer></script>
    <script src="js/mysweetkatie-animations.js" defer></script>
    <script src="js/mysweetkatie-component.js" defer></script>
    <script src="js/mysweetkatie-theme.js" defer></script>
</body>
</html>
