<%- include('header') %>

    <!-- Hero section -->
    <!-- <section class="hero_section">
        <div class="container">
            <div class="image">
                <img src="assets/img/hero/hero-bg.png" alt="hero-bg" class="w-100" draggable="false">
            </div>
        </div>
    </section> -->

    <!-- pelo code aapo ads no -->
     <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4835959329501112"
            crossorigin="anonymous"></script>
        <ins class="adsbygoogle"
            style="display:block"
            data-ad-format="autorelaxed"
            data-ad-client="ca-pub-4835959329501112"
            data-ad-slot="1646424438"></ins>
        <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
        </script>



<!-- add code  -->
    <div class="game-selection-section" style="margin-bottom: 50px;">
        <p class="selection-prompt">Choose which of these types of games you prefer!</p>
        <div class="button-group">
            <a href="https://thomgames.com/Fruit%20Ninja" class="game-button">Action Game</a>
            <a href="https://thomgames.com/UNO" class="game-button">Casual Game</a>
        </div>
       
    </div>
  <!-- native ads  -->
 

    <!-- Popular Games section -->
    <section class="popular_games_section">
        <div class="container">
            <div class="top_text_area d-flex align-items-center">
                <img src="/assets/img/round-icon.svg" alt="round-icon" class="me-2">
                <h5 class="m-0">Enjoy Games</h5>
            </div>
            <div class="popular_games_area">
                <div class="row">
                    <% for(let i=0;i<popular.length;i++) { %>
                        <div class="col-xl-2 col-lg-3 col-md-4 col-6 mb-3">
                            <div class="popular_game_box">
                                <a href="<%= popular[i].name %>">
                                    <div class="image">
                                        <img src="<%= popular[i].logo %>" alt="<%= popular[i].name %>"
                                            class="w-100 popular-img" draggable="false">
                                    </div>
                                    <div class="game-name text-center">
                                        <p>
                                            <%= popular[i].name %>
                                        </p>
                                    </div>
                                </a>
                            </div>
                            <% if(i==12 ){%>

                                <%} %>
                                    <% if(i==24 ){%>

                                        <%} %>
                        </div>
                        <% } %>
                </div>
            </div>
        </div>

        <div class="game-selection-section" style="margin-bottom: 50px;">
            <p class="selection-prompt">Choose which of these types of games you prefer!</p>
            <div class="button-group">
                <a href="https://thomgames.com/Fruit%20Ninja" class="game-button">Action Game</a>
                <a href="https://thomgames.com/UNO" class="game-button">Casual Game</a>
            </div>
        </div>
        <div class="more_games_button_area text-center" style="margin-bottom: 80px;">
            <a href="https://thomgames.com/moregame" style="width: 270px !important;" class="custom-button">

                <span class="button-text">More Games</span>
            </a>
        </div>
        <!-- About Us Section -->
        <section id="about-us">
            <div class="container" style="color: white;">
                <div class="row">
                    <div class="col-lg-12 text-center">
                        <h2 class="section-heading text-uppercase" style="color: white !important;">Free Online Games -
                            Play Now On allGames</h2>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <p class="text-muted" style="color: white !important;">allGames features the latest and best
                            free online games. We offer instant play to all our games without downloads, login, popups
                            or other distractions. You can enjoy playing fun games without interruptions from downloads
                            or pop-ups.</p>
                        <p class="text-muted" style="color: white !important;">allGames has the best free online games
                            selection and offers the most fun experience to play alone or with friends.</p>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <h3 class="section-subheading text-muted" style="color: white !important;">About allGames</h3>
                        <p class="text-muted" style="color: white !important;">allGames has a team of 25 people working
                            on our gaming platform. Our mission is simple - to create a browser-gaming platform that
                            works seamlessly for users around the world, and rewards developers both big and small.</p>
                        <p class="text-muted" style="color: white !important;">Our games are playable on desktop, tablet
                            and mobile so you can enjoy them at school, at home or on the road. Every month millions of
                            gamers from all over the world play their favorite games on allGames. Our goal is to create
                            the ultimate online playground. Free and open to all.</p>
                        <p class="text-muted" style="color: white !important;">We're a team of makers, techies,
                            adventurers – and some gamers too. We’re kids of all ages, and love what we do.</p>
                        <p class="text-muted" style="color: white !important;">Just load up your favorite games
                            instantly in your web browser and enjoy the experience.</p>
                        <p class="text-muted" style="color: white !important;">You can play our games on desktop mobile
                            devices. That includes everything from desktop PCs, laptops, and Chromebooks, to the latest
                            smartphones and tablets from Apple and Android.</p>
                    </div>
                </div>
            </div>
        </section>
        <!-- /About Us Section -->

        <%- include('footer') %>



            </body>

            </html>