<!DOCTYPE html>
<html lang="th">

<head>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
    <title>สล็อตเว็บตรง เว็บสล็อต วอเลท ไม่มีขั้นต่ำ อันดับ 1 - AMBKING1234</title>
    <meta name="description" content="เว็บสล็อต ทดลองเล่นสล็อตเว็บตรง ที่ดีที่สุด ไม่ผ่านเอเย่นต์ มั่นใจได้ในความปลอดภัยและความน่าเชื่อถือ ระบบฝากถอนออโต้ รวดเร็วทันใจ รองรับ ทรูวอเลท และธนาคารชั้นนำ AMBKING1234">
    <link rel="icon" type="image/x-icon" href="/uploads/web/1762741709_e4e0c9247f9b6a44f070.webp">
    <script src="/assets/js/jquery-3.6.0.min.js"></script>
    <link href="/assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="/assets/css/all.min.css" rel="stylesheet">
    <link rel="stylesheet" href="/assets/css/swiper-bundle.min.css" />

    <link rel="stylesheet" href="/assets/css/style.css?v=1.0.11133">
    <!-- iOS PWA settings -->
    <link rel="manifest" href="/manifest.json">
    <!-- iOS Meta Tags - แสดงเฉพาะอุปกรณ์ iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    <meta name="apple-mobile-web-app-title" content="ambking1234">
    <link rel="apple-touch-icon" href="https://ambking1234.xyz/assets/icon-192.png?v=1">


    <!-- iPhone 14 / 15 Pro -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/iphone-14-15-pro-1179x2556.jpg">

    <!-- iPhone 14 / 15 Pro Max -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/iphone-14-15pro-max-1290x2796.jpg">

    <!-- iPhone 12 / 13 / 14 -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/iphone-12-13-14-1170-x-2532.jpg">

    <!-- iPhone 12 / 13 Pro Max -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/iphone-12-13-pro-max-1284-x-2778.jpg">

    <!-- iPhone X / XS / 11 Pro -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/iphone-X-XS-11-pro-1125x2436.jpg">

    <!-- iPhone XR / 11 -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/iphone-XR-11-828x1792.jpg">

    <!-- iPhone XS Max / 11 Pro Max -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/iphone-XS%20Max-11-pro-max-1242x2688.jpg">

    <!-- iPhone 8 / 7 / 6s -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/iphone-8-7-6s-750x1334.jpg">

    <!-- iPhone 8 Plus -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/iPhone-8-Plus-1242x2208.jpg">

    <!-- iPhone SE (1st gen) -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/iPhone-SE-%281st-gen%29640x1136.jpg">

    <!-- iPad Mini / Air -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/iPad-Mini-Air-1536x2048.jpg">

    <!-- iPad Pro 11 -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/ipad-pro-11-1668-x-2388.jpg">

    <!-- iPad Pro 12.9 -->
    <link rel="apple-touch-startup-image" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="https://ambking1234.xyz/assets/splash/ipad-pro-12.9-2048x2732.jpg">


    <style>
        :root {
            --primary_color:
                #c1ecbe            ;
            --dark_color:
                #6bd3a1            ;
            --medium_color:
                #c5fdad            ;
            --light_color:
                #FFFFFF            ;
            --active_color:
                #d9f1bd            ;
            --highlight_color:
                #008f6b            ;
            --neutral_color:
                #c7fdae            ;
            --accent_color:
                #e0f4e1            ;
        }

        .bg-popup-style {
            position: absolute;
            top: -20px;
            left: 0;
            width: 100%;
            height: 100%;
            background: url(/uploads/popup/1762696730_5c380407c378fb189225.webp) center / contain no-repeat;
            z-index: 1;
        }
    </style>
</head>

<body>
    <!-- Download Bar -->
    <div id="downloadBar" class="download-bar">
        <div class="download-left">
            <img src="/assets/icon-192.png?v=1" alt="ambking1234" class="download-logo">
            <div class="download-text">
                <div class="title">AMBKING1234</div>
                <div class="subtitle">ติดตั้ง App คลิกเลย!! ➡️➡️</div>
            </div>
        </div>

        <div class="download-right">
            <div class="btn-download-app" id="pwa-install-btn">ติดตั้งแอป</div>
            <button class="btn-close" onclick="closeDownloadBar()">✕</button>
        </div>
    </div>

    <style type="text/css">
        .download-bar {
            position: relative;
            width: 100%;
            background: #111;
            color: #fff;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            box-sizing: border-box;
            transition: height 0.3s ease, padding 0.3s ease;
        }

        .download-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .download-logo {
            width: 48px;
            height: 48px;
            object-fit: contain;
        }

        .download-text .title {
            font-size: 16px;
            font-weight: bold;
        }

        .download-text .subtitle {
            font-size: 13px;
            color: #ccc;
        }

        .download-right {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn-download-app {
            position: relative;
            display: inline-block;
            background: linear-gradient(135deg,
                    #e2b04a 0%,
                    #fbe29a 50%,
                    #c69320 100%);
            color: #020202;
            padding: 8px 14px;
            border-radius: 20px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            overflow: hidden;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(255, 215, 100, 0.45);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        /* เอฟเฟกต์เงาวิ่ง */
        .btn-download-app::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -60%;
            width: 40%;
            height: 200%;
            background: linear-gradient(120deg,
                    transparent,
                    rgba(255, 255, 255, 0.9),
                    transparent);
            transform: rotate(25deg);
            animation: shine 3.5s infinite;
        }

        @keyframes shine {
            0% {
                left: -60%;
            }

            60% {
                left: 120%;
            }

            100% {
                left: 120%;
            }
        }

        /* hover เพิ่มมิติ */
        .btn-download-app:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(255, 215, 100, 0.65);
        }

        /* กดแล้ว */
        .btn-download-app:active {
            transform: scale(0.97);
        }

        .btn-close {
            border: none;
            color: #fff;
            font-size: 20px;
            cursor: pointer;
        }

        /* ซ่อนแถบ */
        .download-bar.hidden {
            height: 0;
            padding: 0 16px;
            overflow: hidden;
        }

        .download-bar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 5;
        }

        .nav-top {
            position: fixed;
            left: 0;
            width: 100%;
            z-index: 4;
        }

        .content {
            position: fixed;
            left: 0;
            right: 0;
            bottom: 0;
            overflow-y: auto;
            z-index: 1;
        }
    </style>
    <script>
        function adjustLayout() {
            const downloadBar = document.querySelector('.download-bar');
            const navTop = document.querySelector('.nav-top');
            const content = document.querySelector('.content');

            if (!navTop || !content) return;

            const barHeight = downloadBar && !downloadBar.classList.contains('hidden')
                ? downloadBar.offsetHeight
                : 0;

            const navHeight = navTop.offsetHeight;

            navTop.style.top = barHeight + 'px';
            content.style.top = (barHeight + navHeight) + 'px';
        }

        function closeDownloadBar() {
            const downloadBar = document.querySelector('.download-bar');
            if (!downloadBar) return;

            downloadBar.classList.add('hidden');

            setTimeout(() => {
                adjustLayout();
            }, 300);
        }

        window.addEventListener('load', adjustLayout);
        window.addEventListener('resize', adjustLayout);
    </script>
    <script>
        function isStandaloneMode() {
            return (
                window.matchMedia('(display-mode: standalone)').matches ||
                window.navigator.standalone === true
            );
        }

        function isInAppBrowser() {
            const ua = navigator.userAgent.toLowerCase();
            return (
                ua.includes('line') ||
                ua.includes('fbav') ||
                ua.includes('fb_iab') ||
                ua.includes('instagram') ||
                ua.includes('telegram') ||
                ua.includes('tiktok')
            );
        }

        document.addEventListener('DOMContentLoaded', () => {
            const downloadBar = document.getElementById('downloadBar');
            if (!downloadBar) return;

            // ✅ ซ่อนถ้าเปิดจากแอปที่ติดตั้งแล้ว หรือ in-app
            if (isStandaloneMode() || isInAppBrowser()) {
                downloadBar.style.display = 'none';
            }
        });
    </script>

    <div class="nav-top">
        <div class="main-top-nav">
            <div class="box1">
                <a href="/" target="_self"><img src="/uploads/web/1762741709_9a5a36292d0f3cc48489.webp"
                        alt="ambking1234" class="img-main-logo"></a>
            </div>
            <div class="box2 m-hide c-show">
                <div class="d-flex px-2 justify-content-around">
                                        <div class="top-nav-cat"><a href="/sport" class="guide-link"><img
                                src="/uploads/web/1763285584_c3772377dc02d7982594.webp"
                                alt="ambking1234"><span>กีฬา</span></a>
                    </div>
                    <div class="top-nav-cat"><a href="/slot" class="guide-link"><img
                                src="/uploads/web/1763285584_9fffeac11223459aa62a.webp"
                                alt="ambking1234"><span>สล็อต</span></a>
                    </div>
                    <div class="top-nav-cat"><a href="/casino" class="guide-link"><img
                                src="/uploads/web/1763285584_310aaea94f7816bb1515.webp"
                                alt="ambking1234"><span>คาสิโน</span></a>
                    </div>
                    <div class="top-nav-cat"><a href="/lotto" class="guide-link"><img
                                src="/uploads/web/1763285584_f0ba90debc7e9b6818dd.webp"
                                alt="ambking1234"><span>หวย</span></a>
                    </div>
                    <div class="top-nav-cat"><a href="/card" class="guide-link"><img
                                src="/uploads/web/1763285584_d5efbb4b80c2ba33b496.webp"
                                alt="ambking1234"><span>ไพ่</span></a>
                    </div>
                    <div class="top-nav-cat"><a href="/poker" class="guide-link"><img
                                src="/uploads/web/1763285584_4cd59dd4e9daa99a921a.webp"
                                alt="ambking1234"><span>โป๊กเกอร์</span></a>
                    </div>
                    <div class="top-nav-cat"><a href="/fishing" class="guide-link"><img
                                src="/uploads/web/1763285584_83c44da21db9749f3b06.webp"
                                alt="ambking1234"><span>ยิงปลา</span></a>
                    </div>
                    <div class="top-nav-cat"><a href="/cockfight" class="guide-link"><img
                                src="/uploads/web/1763285584_c4edce09e347afffed34.webp"
                                alt="ambking1234"><span>ไก่ชน</span></a>
                    </div>
                    <div class="top-nav-cat"><a href="/keno" class="guide-link"><img
                                src="/uploads/web/1763285584_055cae9040d85a27f256.webp"
                                alt="ambking1234"><span>คีโน่</span></a>
                    </div>
                    <div class="top-nav-cat"><a href="/trading" class="guide-link"><img
                                src="/uploads/web/1763285584_47f0338d20ee9a7321b8.webp"
                                alt="ambking1234"><span>เทรด</span></a>
                    </div>
                    <div class="top-nav-cat"><a href="/esport" class="guide-link"><img
                                src="/uploads/web/1760027726_05a292a75c9cdd7a9661.png"
                                alt="ambking1234"><span>อีสปอร์ต</span></a>
                    </div>

                </div>
            </div>
            <div class="box3">
                <div class="d-flex cover-button price-alert">
                                            <img src="/assets/img/side-icon/B-login-webp.webp" alt="ambking1234"
                            data-bs-toggle="modal" data-bs-target="#loginModal">
                        <img src="/assets/img/side-icon/B-register-or.webp" alt="ambking1234"
                            data-bs-toggle="modal" data-bs-target="#signupModal">
                    
                </div>
            </div>


        </div>

        <div class="menu-container c-hide">

            
            <!-- เมนูแบบ custom scroll -->
            <div class="menu-scroll">
                <div class="menu-items">

                    <a href="/sport" class="item">
                        <img src="/uploads/web/1763285584_c3772377dc02d7982594.webp" alt="ambking1234">
                        <span>กีฬา</span>
                    </a>
                    <a href="/slot" class="item">
                        <img src="/uploads/web/1763285584_9fffeac11223459aa62a.webp" alt="ambking1234">
                        <span>สล็อต</span>
                    </a>
                    <a href="/casino" class="item">
                        <img src="/uploads/web/1763285584_310aaea94f7816bb1515.webp" alt="ambking1234">
                        <span>คาสิโน</span>
                    </a>
                    <a href="/lotto" class="item">
                        <img src="/uploads/web/1763285584_f0ba90debc7e9b6818dd.webp" alt="ambking1234">
                        <span>หวย</span>
                    </a>
                    <a href="/card" class="item">
                        <img src="/uploads/web/1763285584_d5efbb4b80c2ba33b496.webp" alt="ambking1234">
                        <span>ไพ่</span>
                    </a>
                    <a href="/poker" class="item">
                        <img src="/uploads/web/1763285584_4cd59dd4e9daa99a921a.webp" alt="ambking1234">
                        <span>โป๊กเกอร์</span>
                    </a>
                    <a href="/fishing" class="item">
                        <img src="/uploads/web/1763285584_83c44da21db9749f3b06.webp" alt="ambking1234">
                        <span>ยิงปลา</span>
                    </a>
                    <a href="/cockfight" class="item">
                        <img src="/uploads/web/1763285584_c4edce09e347afffed34.webp" alt="ambking1234">
                        <span>ไก่ชน</span>
                    </a>
                    <a href="/keno" class="item">
                        <img src="/uploads/web/1763285584_055cae9040d85a27f256.webp" alt="ambking1234">
                        <span>คีโน่</span>
                    </a>
                    <a href="/tradind" class="item">
                        <img src="/uploads/web/1763285584_47f0338d20ee9a7321b8.webp" alt="ambking1234">
                        <span>เทรด</span>
                    </a>
                    <a href="/esport" class="item">
                        <img src="/uploads/web/1760027726_05a292a75c9cdd7a9661.png" alt="ambking1234">
                        <span>อีสปอร์ต</span>
                    </a>

                </div>
            </div>

        </div>





        <style>
            .menu-container {
                display: flex;
                align-items: center;
                height: 85px;
                background: var(--accent_color);
                border-top: 3px solid var(--dark_color);
                border-bottom: 3px solid var(--dark_color);
                overflow: hidden;
            }

            /* เกมโปรดอยู่ซ้ายคงที่ */
            .favorite-box {
                width: 70px;
                flex-shrink: 0;
                display: flex;
                justify-content: center;
                align-items: center;
                border-right: 2px solid var(--dark_color);
            }

            /* ส่วนที่เลื่อน */
            .menu-scroll {
                flex: 1;
                overflow-x: auto;
                overflow-y: hidden;
                white-space: nowrap;
                scrollbar-width: none;
                /* Firefox */
            }

            .menu-scroll::-webkit-scrollbar {
                display: none;
                /* Chrome */
            }

            /* เมนูไอเท็ม */
            .menu-items {
                display: inline-flex;
                height: 100%;
            }

            .item {
                width: 65px;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                text-decoration: none;
            }

            .item img {
                width: 45px;
                height: 45px;
                object-fit: contain;
            }

            .menu-scroll {
                height: 100%;
            }
        </style>
        <script>
            const scrollArea = document.querySelector('.menu-scroll');
            let isDown = false;
            let startX, scrollLeft;

            scrollArea.addEventListener('mousedown', e => {
                isDown = true;
                startX = e.pageX - scrollArea.offsetLeft;
                scrollLeft = scrollArea.scrollLeft;
            });

            scrollArea.addEventListener('mouseleave', () => {
                isDown = false;
            });

            scrollArea.addEventListener('mouseup', () => {
                isDown = false;
            });

            scrollArea.addEventListener('mousemove', e => {
                if (!isDown) return;
                e.preventDefault();
                const x = e.pageX - scrollArea.offsetLeft;
                const walk = (x - startX) * 1.5;
                scrollArea.scrollLeft = scrollLeft - walk;
            });

        </script>
    </div>
    <div class="side-menu" id="sideMenu"> <button class="menu-toggle" id="menuToggle"><span
                id="menuToggle-x">❯</span></button>
        <div class="menu-icons">
                            <a href="https://t.me/+ohdEFomPjO05NGVl" target="_blank">
                    <div>
                        <img src="/uploads/contacts/1757925782_3905aa2cde2a9af8908a.webp" alt="ambking1234">
                    </div>
                </a>
                    </div>
    </div>


            <div class="modal fade show" id="newsModal" tabindex="-1" aria-modal="true" role="dialog">
            <div class="modal-dialog modal-dialog-centered position-relative">

                <!-- BG ของ popup -->
                <div class="bg-popup-style"></div>

                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="btn-close-custom" data-bs-dismiss="modal" aria-label="Close"></button>
                    </div>
                    <div class="modal-body text-center">
                        <a href="https://lin.ee/9uWt2TLM">
                            <img src="/uploads/popup/1775038320_6d3aab5d8da41fb2d987.jpg" alt="ambking1234"
                                class="popup-img">
                        </a>
                    </div>
                    <div class="modal-footer p-0">
                                                <div class="contacts-wrapper single">
                                                            <a href="https://lin.ee/9uWt2TLM" target="_blank">
                                    <div class="contact-board">
                                        <img src="/uploads/contacts/1757925765_bfee8eb847c1cb6799eb.webp" alt="ambking1234">
                                        <div class="contact-text">
                                            <strong>noname</strong>
                                            <span>@480wgotf</span>
                                        </div>
                                    </div>
                                </a>
                                                            <a href="https://t.me/+ohdEFomPjO05NGVl" target="_blank">
                                    <div class="contact-board">
                                        <img src="/uploads/contacts/1757925782_3905aa2cde2a9af8908a.webp" alt="ambking1234">
                                        <div class="contact-text">
                                            <strong>Ambking 1234</strong>
                                            <span></span>
                                        </div>
                                    </div>
                                </a>
                                                            <a href="https://citly.me/X5SZP" target="_blank">
                                    <div class="contact-board">
                                        <img src="/uploads/contacts/1757925793_88c618e66296daa3a657.webp" alt="ambking1234">
                                        <div class="contact-text">
                                            <strong>Mr.king</strong>
                                            <span></span>
                                        </div>
                                    </div>
                                </a>
                                                    </div>
                    </div>
                </div>

            </div>
        </div>
        <script>
            document.addEventListener("DOMContentLoaded", function () {
                                    // อ่าน query string
                    const urlParams = new URLSearchParams(window.location.search);
                    const action = urlParams.get("action");

                    // ใช้ localStorage เก็บวันที่เปิด
                    let today = new Date().toISOString().slice(0, 10); // YYYY-MM-DD
                    let lastShown = localStorage.getItem("popupShownDate");

                    // เงื่อนไข: ถ้า action != register ค่อยเปิด popup
                    if (action !== "register" && lastShown !== today) {
                        let myModal = new bootstrap.Modal(document.getElementById('newsModal'));
                        myModal.show();

                        // เมื่อปิด modal ให้บันทึกวันที่
                        document.getElementById('newsModal').addEventListener('hidden.bs.modal', function () {
                            localStorage.setItem("popupShownDate", today);
                        });
                    }
                            });
        </script>
        <!-- =======================
     MODAL: ANDROID IN-APP
======================= -->
    <div class="modal fade" id="modal-android-inapp" tabindex="-1">
        <div class="modal-dialog modal-dialog-centered">
            <div class="modal-content p-3">
                <h5 class="mb-2">⚠️ กรุณาเปิดด้วย Google Chrome</h5>

                <p>ไม่สามารถติดตั้งแอปผ่านเบราว์เซอร์ภายในแอปนี้ได้</p>
                <p>กรุณาคัดลอกลิงก์ แล้วเปิดผ่าน Google Chrome เพื่อดำเนินการติดตั้ง</p>

                <button id="copyLinkBtnAndroid" class="btn btn-primary w-100 mt-2">
                    คัดลอกลิงก์
                </button>

                <button class="btn btn-secondary w-100 mt-2" data-bs-dismiss="modal">
                    ปิด
                </button>
            </div>
        </div>
    </div>

    <script>
        async function copyLink() {
            try {
                await navigator.clipboard.writeText(window.location.href);
                alert("คัดลอกลิงก์เรียบร้อยแล้ว\nโปรดนำไปเปิดใน Google Chrome");
            } catch (err) {
                const temp = document.createElement("input");
                temp.value = window.location.href;
                document.body.appendChild(temp);
                temp.select();
                document.execCommand("copy");
                document.body.removeChild(temp);

                alert("คัดลอกลิงก์เรียบร้อยแล้ว\nโปรดนำไปเปิดใน Google Chrome");
            }
        }

        const androidCopyBtn = document.getElementById("copyLinkBtnAndroid");
        if (androidCopyBtn) {
            androidCopyBtn.addEventListener("click", copyLink);
        }
    </script>
    <script>
        // -------------------- SERVICE WORKER --------------------
        if ("serviceWorker" in navigator) {
            navigator.serviceWorker.register("/service-worker.js");
        }

        // -------------------- Android Install --------------------
        let deferredPrompt = null;
        const installBtn = document.getElementById("pwa-install-btn");

        window.addEventListener("beforeinstallprompt", (e) => {
            e.preventDefault();
            deferredPrompt = e;

            // แสดงปุ่มติดตั้งเฉพาะ Android (non in-app ถูกจัดการจาก JS ชุดอื่นแล้ว)
            installBtn && (installBtn.style.display = "block");
        });

        if (installBtn) {
            installBtn.addEventListener("click", async () => {
                if (!deferredPrompt) return;

                deferredPrompt.prompt();
                await deferredPrompt.userChoice;
                deferredPrompt = null;
                installBtn.style.display = "none";
            });
        }
    </script>
    <script>
    document.addEventListener("DOMContentLoaded", () => {
        const installBtn = document.getElementById("pwa-install-btn");
        if (!installBtn) return;

        const isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;

        if (isIOS) {
            installBtn.addEventListener("click", (e) => {
                e.preventDefault();
                window.location.href = "/app/ios";
            });
        }
    });
</script>


    <script src="/assets/js/swiper-bundle.min.js"></script><div class="content ">
    <video autoplay loop muted playsinline preload="none" width="100%" >

        <!-- มือถือ -->
        <source src="/uploads/web/1774957346_27c2548554bc919ad680.webm" type="video/webm" media="(max-width: 767px)">

        <!-- จอใหญ่ -->
        <source src="/uploads/web/1774957346_e5c9fcc77ec0cb73d9ca.webm" type="video/webm" media="(min-width: 768px)">

    </video>
    <div class="container">
        <div class="text-center mt-3">
            <div class="tabs-wrapper tab-color">
                <!-- พื้นหลังสี fixed ด้านซ้าย -->
                <div class="active-hot"></div>

                <!-- Swiper แท็บเลื่อน -->
                <div class="swiper-container cover-swiper tabs">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide tabed" data-key="hit" onclick="switchTab('hit')">
                            <img src="assets/img/main/Gamehit-70x70.webp" class="logo-swiper-size">
                            <span>ยอดฮิต</span>
                        </div>
                        <div class="swiper-slide tabed" data-key="newgame" onclick="switchTab('newgame')">
                            <img src="assets/img/main/UpdateNewGame-70x70.webp" class="logo-swiper-size">
                            <span>เกมส์ใหม่</span>
                        </div>
                        <div class="swiper-slide tabed active" data-key="slot" onclick="switchTab('slot')">
                            <img src="assets/img/main/SlotOnline-70x70.webp" class="logo-swiper-size">
                            <span>สล็อต</span>
                        </div>
                        <div class="swiper-slide tabed" data-key="casino" onclick="switchTab('casino')">
                            <img src="assets/img/main/CasinoOnline-70x70.webp" class="logo-swiper-size">
                            <span>คาสิโน</span>
                        </div>
                        <div class="swiper-slide tabed" data-key="sport" onclick="switchTab('sport')">
                            <img src="assets/img/main/SportOnline-70x70.webp" class="logo-swiper-size">
                            <span>กีฬา</span>
                        </div>
                        <div class="swiper-slide tabed" data-key="hit" onclick="switchTab('hit')">
                            <img src="assets/img/main/Gamehit-70x70.webp" class="logo-swiper-size">
                            <span>ยอดฮิต</span>
                        </div>
                        <div class="swiper-slide tabed" data-key="newgame" onclick="switchTab('newgame')">
                            <img src="assets/img/main/UpdateNewGame-70x70.webp" class="logo-swiper-size">
                            <span>เกมส์ใหม่</span>
                        </div>
                        <div class="swiper-slide tabed active" data-key="slot" onclick="switchTab('slot')">
                            <img src="assets/img/main/SlotOnline-70x70.webp" class="logo-swiper-size">
                            <span>สล็อต</span>
                        </div>
                        <div class="swiper-slide tabed" data-key="casino" onclick="switchTab('casino')">
                            <img src="assets/img/main/CasinoOnline-70x70.webp" class="logo-swiper-size">
                            <span>คาสิโน</span>
                        </div>
                        <div class="swiper-slide tabed" data-key="sport" onclick="switchTab('sport')">
                            <img src="assets/img/main/SportOnline-70x70.webp" class="logo-swiper-size">
                            <span>กีฬา</span>
                        </div>
                        <div class="swiper-slide tabed" data-key="hit" onclick="switchTab('hit')">
                            <img src="assets/img/main/Gamehit-70x70.webp" class="logo-swiper-size">
                            <span>ยอดฮิต</span>
                        </div>
                        <div class="swiper-slide tabed" data-key="newgame" onclick="switchTab('newgame')">
                            <img src="assets/img/main/UpdateNewGame-70x70.webp" class="logo-swiper-size">
                            <span>เกมส์ใหม่</span>
                        </div>
                        <div class="swiper-slide tabed active" data-key="slot" onclick="switchTab('slot')">
                            <img src="assets/img/main/SlotOnline-70x70.webp" class="logo-swiper-size">
                            <span>สล็อต</span>
                        </div>
                        <div class="swiper-slide tabed" data-key="casino" onclick="switchTab('casino')">
                            <img src="assets/img/main/CasinoOnline-70x70.webp" class="logo-swiper-size">
                            <span>คาสิโน</span>
                        </div>
                        <div class="swiper-slide tabed" data-key="sport" onclick="switchTab('sport')">
                            <img src="assets/img/main/SportOnline-70x70.webp" class="logo-swiper-size">
                            <span>กีฬา</span>
                        </div>

                    </div>
                </div>
            </div>





            <!-- Initialize Swiper -->
            <script>

                var swiper = new Swiper('.swiper-container', {
                    slidesPerView: 3,
                    spaceBetween: 5,
                    loop: true,
                    loopFillGroupWithBlank: true,
                    pagination: {
                        el: '.swiper-pagination',
                        clickable: true,
                    },
                    centeredSlides: true,
                    autoplay: {
                        delay: 3000,
                        disableOnInteraction: false,
                    },
                    pagination: {
                        el: '.swiper-pagination',
                        clickable: true,
                    },
                    navigation: {
                        nextEl: '.swiper-button-next',
                        prevEl: '.swiper-button-prev',
                    },
                    breakpoints: {
                        640: {
                            slidesPerView: 3,
                            spaceBetween: 0,
                        },
                        768: {
                            slidesPerView: 5,
                            spaceBetween: 00,
                        },
                        1024: {
                            slidesPerView: 5,
                            spaceBetween: 0,
                        },
                    }
                });

            </script>


            <div class="tab-content-wrapper">
                <div class="tab-content active">
                    <div class="row row-cols-3 row-cols-lg-5">
                        <div class="col game-banner">
                            <a href="/slot/POPG">
                                <img src="/assets/img/demo/custom/slot/POPG.webp?v=1" width="100%" alt="Popular Game"
                                    loading="lazy">
                                <div class="text-center small">Popular Game</div>
                            </a>
                        </div>
                        <div class="col game-banner">
                            <a href="/slot/RECG">
                                <img src="/assets/img/demo/custom/slot/RECG.webp?v=1" width="100%" alt="Recommended"
                                    loading="lazy">
                                <div class="text-center small">Recommended</div>
                            </a>
                        </div>
                        <div class="col game-banner">
                            <a href="/slot/BIGW">
                                <img src="/assets/img/demo/custom/slot/BIGW.webp?v=1" width="100%" alt="Big Win"
                                    loading="lazy">
                                <div class="text-center small">Big Win</div>
                            </a>
                        </div>
                        <div class="col game-banner">
                            <a href="/slot/NEWG">
                                <img src="/assets/img/demo/custom/slot/NEWG.webp?v=1" width="100%" alt="New Game"
                                    loading="lazy">
                                <div class="text-center small">New Game</div>
                            </a>
                        </div>
                        <div class="col game-banner">
                            <a href="/slot/AMBS">
                                <img src="/assets/img/demo/custom/slot/AMBS.webp?v=1" width="100%" alt="Askmeslot"
                                    loading="lazy">
                                <div class="text-center small">Askmeslot</div>
                            </a>
                        </div>
                        <div class="col game-banner">
                            <a href="/slot/DRG">
                                <img src="/assets/img/demo/custom/slot/DRG.webp?v=1" width="100%" alt="Askmebet"
                                    loading="lazy">
                                <div class="text-center small">Askmebet</div>
                            </a>
                        </div>
                        <div class="col game-banner">
                            <a href="/slot/WB">
                                <img src="/assets/img/demo/custom/slot/WB.webp?v=1" width="100%" alt="Microslot"
                                    loading="lazy">
                                <div class="text-center small">Microslot</div>
                            </a>
                        </div>
                        <div class="col game-banner">
                            <a href="/slot/AMBG">
                                <img src="/assets/img/demo/custom/slot/AMBG.webp?v=1" width="100%" alt="Ambgaming"
                                    loading="lazy">
                                <div class="text-center small">Ambgaming</div>
                            </a>
                        </div>
                        <div class="col game-banner">
                            <a href="/slot/5G">
                                <img src="/assets/img/demo/custom/slot/5G.webp?v=1" width="100%" alt="5G Games"
                                    loading="lazy">
                                <div class="text-center small">5G Games</div>
                            </a>
                        </div>
                        <div class="col game-banner">
                            <a href="/slot/SEXS">
                                <img src="/assets/img/demo/custom/slot/SEXS.webp?v=1" width="100%" alt="Sexy Slot"
                                    loading="lazy">
                                <div class="text-center small">Sexy Slot</div>
                            </a>
                        </div>
                    </div>
                </div>
            </div>

            <script>
                const isLogin = false;
            </script>


        </div>

        <!--//lucky-->
        <div class="star-wrap">
            <img src="/assets/img/main/Winner-2.webp" class="star-img" alt="ambking1234">
                            <div class="labels">
                    <p>ID</p>
                    <p class="usernameTag">0671340XXX</p>
                    <p class="prize">97705฿</p>
                </div>
                            <div class="labels">
                    <p>ID</p>
                    <p class="usernameTag">0981049XXX</p>
                    <p class="prize">85039฿</p>
                </div>
                            <div class="labels">
                    <p>ID</p>
                    <p class="usernameTag">0980802XXX</p>
                    <p class="prize">82285.07฿</p>
                </div>
                            <div class="labels">
                    <p>ID</p>
                    <p class="usernameTag">0933679XXX</p>
                    <p class="prize">76203฿</p>
                </div>
                            <div class="labels">
                    <p>ID</p>
                    <p class="usernameTag">0644023XXX</p>
                    <p class="prize">68701.63฿</p>
                </div>
                    </div>

        <!-- Article Section Start -->
        <style>
            .article-wrapper {
                margin: 50px 0;
                padding: 0;
            }

            .article-wrapper section {
                margin-bottom: 50px;
                padding: 30px;
                background: linear-gradient(to right, #f8f9fa 0%, #ffffff 100%);
                border-radius: 15px;
                border-left: 5px solid #667eea;
                box-shadow: 0 3px 15px rgba(0,0,0,0.1);
            }
            .article-wrapper section h1 {
                color: #085226ff;
                font-size: 2.5em;
                margin-bottom: 20px;
                padding-bottom: 10px;
                border-bottom: 3px solid #764ba2;
            }

            .article-wrapper section h2 {
                color: #667eea;
                font-size: 2.2em;
                margin-bottom: 20px;
                padding-bottom: 10px;
                border-bottom: 3px solid #764ba2;
            }

            .article-wrapper section h3 {
                color: #764ba2;
                font-size: 1.7em;
                margin: 25px 0 15px 0;
            }

            .article-wrapper section p {
                font-size: 1.15em;
                margin-bottom: 15px;
                text-align: justify;
                line-height: 1.8;
                color: #333;
            }

            .article-wrapper section ul {
                margin: 20px 0;
                padding-left: 30px;
            }

            .article-wrapper section li {
                font-size: 1.1em;
                margin-bottom: 12px;
                line-height: 1.6;
            }

            /* Highlight Keywords */
            .keyword-primary {
                font-weight: bold;
                color: #e74c3c;
                font-size: 1.1em;
                background: linear-gradient(120deg, #ffeaa7 0%, #fdcb6e 100%);
                padding: 2px 8px;
                border-radius: 5px;
                text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
            }

            .keyword-secondary {
                font-weight: bold;
                color: #2980b9;
                font-size: 1.05em;
                background: linear-gradient(120deg, #a8e6cf 0%, #dcedc1 100%);
                padding: 2px 6px;
                border-radius: 4px;
            }

            .keyword-game {
                font-weight: bold;
                color: #8e44ad;
                background: linear-gradient(120deg, #ffd3e1 0%, #ffacc7 100%);
                padding: 2px 6px;
                border-radius: 4px;
                font-size: 1.05em;
            }

            .highlight-box {
                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                color: white;
                padding: 25px;
                border-radius: 12px;
                margin: 25px 0;
                box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
            }

            .highlight-box h3 {
                color: #ffd700;
                margin-top: 0;
            }

            .highlight-box ul {
                color: white;
            }

            .cta-button {
                display: inline-block;
                background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
                color: white;
                padding: 15px 40px;
                border-radius: 30px;
                text-decoration: none;
                font-weight: bold;
                font-size: 1.2em;
                margin: 20px 10px;
                box-shadow: 0 5px 15px rgba(245, 87, 108, 0.4);
                transition: transform 0.3s;
            }

            .cta-button:hover {
                transform: translateY(-3px);
                box-shadow: 0 7px 20px rgba(245, 87, 108, 0.6);
            }

            @media (max-width: 768px) {
                .article-wrapper section {
                    padding: 20px;
                }
                
                .article-wrapper section h2 {
                    font-size: 1.7em;
                }
                
                .article-wrapper section h3 {
                    font-size: 1.4em;
                }
            }
        </style>

        <div class="article-wrapper">
            <!-- Section 1: Introduction -->
            <section>
                <h1>🌟 รู้จักกับ AMBKING1234 เว็บพนันออนไลน์ชั้นนำของไทย</h1>
                <p>
                    ยินดีต้อนรับสู่ <span class="keyword-primary">AMBKING1234</span> เว็บพนันออนไลน์ที่ครบวงจรที่สุด พร้อมให้บริการทุกรูปแบบการเดิมพันที่คุณต้องการ ไม่ว่าจะเป็น <span class="keyword-game">สล็อต</span>, <span class="keyword-game">แทงบอล</span>, <span class="keyword-game">บาคาร่า</span>, <span class="keyword-game">หวยออนไลน์</span>, <span class="keyword-game">โป๊กเก้อ</span> หรือ <span class="keyword-game">เกมไพ่</span> อื่นๆ อีกมากมาย
                </p>
                <p>
                    <span class="keyword-secondary">AMBKING</span> เป็นแพลตฟอร์มที่ได้รับความนิยมสูงสุดในเอเชีย ด้วยระบบที่ทันสมัย รวดเร็ว และปลอดภัย 100% เรามีใบอนุญาตถูกต้องตามกฎหมาย พร้อมให้บริการตลอด 24 ชั่วโมง ไม่มีวันหยุด ทีมงานมืออาชีพพร้อมดูแลคุณทุกขณะ
                </p>
                <div class="highlight-box">
                    <h3>🎁 โปรโมชั่นพิเศษสำหรับสมาชิกใหม่</h3>
                    <p>สมัครวันนี้รับโบนัสสูงสุดทันที50% , แนะนำเพื่อนรับโบนัสเครดิตฟรี 10 %</p>
                </div>
            </section>

            <!-- Section 2: Slots -->
            <section>
                <h2>🎰 สล็อตออนไลน์ จากค่ายดังทั่วโลก</h2>
                <p>
                    <span class="keyword-game">สล็อต</span> ที่ <span class="keyword-primary">AMBKING1234</span> นั้นมีให้เลือกเล่นมากกว่า 2,000 เกม จากค่ายเกมชั้นนำระดับโลก อาทิเช่น PG Soft, Pragmatic Play, Joker Gaming, NetEnt และอีกมากมาย เกมทุกเกมมีกราฟิกสวยงาม เสียงเอฟเฟกต์สมจริง พร้อมระบบแจ็คพอตที่แตกง่าย
                </p>
                <h3>🌈 ไฮไลท์ของสล็อตที่ AMBKING</h3>
                <ul>
                    <li><strong>เกมใหม่อัพเดททุกสัปดาห์</strong> - ไม่มีเบื่อ มีเกมใหม่ให้ลองเล่นตลอดเวลา</li>
                    <li><strong>RTP สูงกว่า 96%</strong> - โอกาสชนะสูง ได้เงินจริง ถอนได้จริง</li>
                    <li><strong>ระบบออโต้ทันสมัย</strong> - หมุนอัตโนมัติ เร็ว ลื่นไหล ไม่มีสะดุด</li>
                    <li><strong>รองรับทุกอุปกรณ์</strong> - เล่นได้ทั้งมือถือ แท็บเล็ต และคอมพิวเตอร์</li>
                    <li><strong>ฟรีสปินและโบนัสเพียบ</strong> - โอกาสรับรางวัลใหญ่ทุกวัน</li>
                </ul>
                <p>
                    ไม่ว่าคุณจะชอบสล็อตแบบคลาสสิก 3 รีล หรือสล็อตวิดีโอ 5 รีลที่มีฟีเจอร์พิเศษมากมาย ที่ <span class="keyword-secondary">AMBKING</span> เรามีครบทุกรูปแบบ แถมยังมีโหมดทดลองเล่นฟรีก่อนได้อีกด้วย ทำให้คุณสามารถศึกษาเกมได้ก่อนลงเดิมพันจริง
                </p>
            </section>

            <!-- Section 3: Football Betting -->
            <section>
                <h2>⚽ แทงบอลออนไลน์ ครบทุกลีกทั่วโลก</h2>
                <p>
                    สำหรับคอบอลตัวยง <span class="keyword-game">แทงบอล</span> ที่ <span class="keyword-primary">AMBKING1234</span> คือคำตอบที่สมบูรณ์แบบ เราเปิดให้เดิมพันทุกลีกดัง ไม่ว่าจะเป็นพรีเมียร์ลีก ลาลีกา เซเรียอา บุนเดสลีกา ไปจนถึงไทยลีก และลีกเอเชียต่างๆ พร้อมอัตราการจ่ายที่ดีที่สุด
                </p>
                <h3>🏆 ทำไมต้องแทงบอลกับ AMBKING</h3>
                <ul>
                    <li><strong>ราคาน้ำดีที่สุด</strong> - อัตราจ่ายสูง แข่งขันได้กับทุกเว็บ</li>
                    <li><strong>เปิดบอลเต็ม-แรก-ดวง</strong> - เดิมพันได้หลากหลายรูปแบบ</li>
                    <li><strong>บอลสด (Live)</strong> - แทงบอลสดตามเกมได้แบบเรียลไทม์</li>
                    <li><strong>บอลสเต็ป</strong> - ทำกำไรเยอะ ลุ้นแบบมันส์ทวีคูณ</li>
                    <li><strong>สถิติและวิเคราะห์ครบ</strong> - ข้อมูลครบถ้วน ช่วยตัดสินใจง่ายขึ้น</li>
                    <li><strong>ถ่ายทอดสดฟรี</strong> - ดูบอลสดพร้อมเดิมพันในหน้าเดียว</li>
                </ul>
                <p>
                    ระบบ<span class="keyword-game">แทงบอล</span>ของเรารองรับการเดิมพันทั้งก่อนเกม และระหว่างเกม มีตัวเลือกวางเดิมพันมากกว่า 200 รูปแบบต่อหนึ่งคู่การแข่งขัน ไม่ว่าจะเป็นแทงสูง-ต่ำ, ราคาต่อรอง, สกอร์ที่ถูกต้อง, ผู้เล่นที่ทำประตู และอื่นๆ อีกมากมาย พร้อมระบบมือถือที่ใช้งานง่าย แทงบอลได้ทุกที่ทุกเวลา
                </p>
            </section>

            <!-- Section 4: Baccarat -->
            <section>
                <h2>🎴 บาคาร่าออนไลน์ คาสิโนสดระดับโลก</h2>
                <p>
                    <span class="keyword-game">บาคาร่า</span> เกมไพ่ยอดนิยมอันดับ 1 ของคนไทย ที่ <span class="keyword-secondary">AMBKING</span> นำเสนอประสบการณ์คาสิโนสดแบบเรียลไทม์ ด้วยดีลเลอร์สาวสวยถ่ายทอดสดตรงจากสตูดิโอคาสิโนระดับมาตรฐานสากล ภาพคมชัด Full HD ไม่มีสะดุด เล่นได้ราบรื่นตลอดเวลา
                </p>
                <h3>💎 จุดเด่นของบาคาร่า AMBKING1234</h3>
                <ul>
                    <li><strong>หลายห้องให้เลือก</strong> - บาคาร่าสปีด, บาคาร่าปกติ, บาคาร่า VIP</li>
                    <li><strong>เดิมพันขั้นต่ำเพียง 10 บาท</strong> - เล่นได้ทุกงบ เหมาะกับมือใหม่และมือโปร</li>
                    <li><strong>โต๊ะ VIP สำหรับนักเดิมพันตัวจริง</strong> - เดิมพันสูงสุดถึง 100,000 บาทต่อไม้</li>
                    <li><strong>มีระบบสูตรบาคาร่า</strong> - วิเคราะห์ไพ่อัตโนมัติ ช่วยเพิ่มโอกาสชนะ</li>
                    <li><strong>แจกโบนัสรายวัน</strong> - เล่นยิ่งเยอะ ได้ยิ่งคุ้ม</li>
                </ul>
                <p>
                    <span class="keyword-game">บาคาร่า</span>ที่ <span class="keyword-primary">AMBKING1234</span> มาพร้อมกับค่ายเกมชั้นนำอย่าง SA Gaming, Sexy Baccarat, Pragmatic Play Live, Evolution Gaming และอื่นๆ อีกมากมาย ทุกค่ายมีจุดเด่นและสไตล์การเล่นที่แตกต่างกัน คุณสามารถเลือกห้องที่ชอบได้ตามใจ พร้อมระบบเดิมพันที่รวดเร็ว ไม่มีดีเลย์
                </p>
            </section>

            <!-- Section 5: Lottery -->
            <section>
                <h2>🎫 หวยออนไลน์ ครบทุกประเภท จ่ายสูงสุด</h2>
                <p>
                    <span class="keyword-game">หวยออนไลน์</span> ที่ <span class="keyword-primary">AMBKING1234</span> เปิดให้แทงครบทุกประเภท ทั้งหวยรัฐบาลไทย หวยหุ้นไทย หวยหุ้นต่างประเทศ หวยลาว หวยฮานอย หวยมาเลย์ และหวยอื่นๆ อีกมากกว่า 20 ประเภท พร้อมอัตราจ่ายที่สูงกว่าที่ไหนๆ แทงหวยบาทละ 1000 บาท!
                </p>
                <h3>🎰 ประเภทหวยที่เปิดให้บริการ</h3>
                <ul>
                    <li><strong>หวยรัฐบาลไทย</strong> - หวยเลขเด็ด ออกรางวัลทุก 1 และ 16 ของเดือน</li>
                    <li><strong>หวยหุ้นไทย</strong> - หวยเช้า, เที่ยง, บ่าย, เย็น ทุกวันทำการ</li>
                    <li><strong>หวยต่างประเทศ</strong> - ลาว, ฮานอย, มาเลย์, เกาหลี, ยี่กี</li>
                    <li><strong>หวยยี่กี</strong> - ออกผลทุก 15 นาที เล่นได้ทั้งวัน</li>
                    <li><strong>หวยหุ้นนานาชาติ</strong> - จีน, ไต้หวัน, นิเคอิ, ดาวโจนส์</li>
                </ul>
                <p>
                    ระบบ<span class="keyword-game">หวยออนไลน์</span>ที่ <span class="keyword-secondary">AMBKING</span> ออกแบบมาให้ใช้งานง่าย เลือกเลขได้รวดเร็ว รองรับทั้งการเล่นแบบเดี่ยว และแทงหลายตัวพร้อมกัน มีเครื่องมือช่วยคำนวณโพย มีสถิติหวยย้อนหลัง และเลขเด็ดจากนักทำนายชื่อดัง ไม่พลาดทุกงวด แถมยังจ่ายรวดเร็ว ไม่มีโกง จ่ายจริง ถอนได้จริง
                </p>
            </section>

            <!-- Section 6: Poker & Card Games -->
            <section>
                <h2>🃏 โป๊กเก้อ และเกมไพ่ครบวงจร</h2>
                <p>
                    นอกจาก<span class="keyword-game">บาคาร่า</span>แล้ว ที่ <span class="keyword-primary">AMBKING1234</span> เรายังมี<span class="keyword-game">โป๊กเก้อ</span> และ<span class="keyword-game">เกมไพ่</span>อื่นๆ อีกมากมาย ให้คุณได้เลือกเล่นตามความชอบ ไม่ว่าจะเป็น Texas Hold'em, Omaha, ป๊อกเด้ง, ไฮโล, เสือมังกร, รูเล็ต, สล็อตไพ่ และอื่นๆ อีกเพียบ!
                </p>
                <h3>🎯 เกมไพ่ยอดนิยมที่ AMBKING</h3>
                <ul>
                    <li><strong>โป๊กเกอร์</strong> - Texas Hold'em, Omaha, Seven Card Stud แบบทัวร์นาเมนต์และแคชเกม</li>
                    <li><strong>ป๊อกเด้ง</strong> - เกมไพ่ไทยที่คนไทยคุ้นเคย เล่นง่าย ได้เงินเร็ว</li>
                    <li><strong>เสือมังกร</strong> - ไพ่ใบเดียวชนะ เกมสุดมันส์ ตัดสินไว</li>
                    <li><strong>ไฮโล</strong> - ทายสูง-ต่ำ เกมง่ายๆ แต่สนุกติดใจ</li>
                    <li><strong>น้ำเต้าปูปลา</strong> - เกมโบราณที่ยังได้รับความนิยม</li>
                    <li><strong>เท็กซัสโฮลเอ็ม</strong> - โป๊กเกอร์แบบมืออาชีพ สำหรับนักเล่นตัวจริง</li>
                </ul>
                <p>
                    <span class="keyword-game">โป๊กเก้อ</span>และ<span class="keyword-game">เกมไพ่</span>ทุกเกมที่ <span class="keyword-secondary">AMBKING</span> มาพร้อมกับระบบที่ยุติธรรม มีการสับไพ่แบบสุ่มที่ได้มาตรฐานสากล ป้องกันการโกงทุกรูปแบบ คุณสามารถมั่นใจได้ว่าเล่นสนุก เล่นมันส์ และได้เงินจริง ทุกเกมมีโต๊ะให้เลือกตั้งแต่ระดับเริ่มต้นจนถึง VIP เหมาะกับทุกระดับนักเดิมพัน
                </p>
            </section>

            <!-- Section 7: Deposit & Withdrawal -->
            <section>
                <h2>💰 ฝาก-ถอน รวดเร็วทันใจ ไม่มีขั้นต่ำ</h2>
                <p>
                    ที่ <span class="keyword-primary">AMBKING1234</span> เราเข้าใจความต้องการของนักเดิมพันทุกคน ระบบฝาก-ถอนของเราจึงออกแบบมาให้รวดเร็วที่สุด ใช้เวลาไม่เกิน 30 วินาที ไม่มีขั้นต่ำในการฝากและถอน รองรับธนาคารชั้นนำทุกธนาคารในประเทศไทย
                </p>
                <h3>💳 ช่องทางการทำธุรกรรม</h3>
                <ul>
                    <li><strong>โอนผ่านธนาคาร</strong> - รองรับทุกธนาคาร ไม่มีค่าธรรมเนียม</li>
                    <li><strong>True Money Wallet</strong> - สะดวก รวดเร็ว ไม่ต้องมีบัญชีธนาคาร</li>
                    <li><strong>ระบบอัตโนมัติ 24 ชั่วโมง</strong> - ฝาก-ถอนได้ตลอดเวลา ไม่ต้องรอแจ้งแอดมิน</li>
                    <li><strong>ไม่มีขั้นต่ำ</strong> - ฝาก 1 บาทก็เล่นได้</li>
                    <li><strong>ไม่มียอดเทิร์นโอเวอร์</strong> - ถอนได้เลยทันที ไม่ต้องทำยอด</li>
                </ul>
                <p>
                    เรามีระบบป้องกันความปลอดภัยระดับสูง ข้อมูลการทำธุรกรรมทุกรายการได้รับการเข้ารหัส SSL 256 bit เหมือนระบบธนาคารชั้นนำ คุณสามารถมั่นใจได้ว่าเงินของคุณปลอดภัย 100% และสามารถถอนออกได้จริงทุกบาททุกสตางค์
                </p>
            </section>

            <!-- Section 8: Support & Security -->
            <section>
                <h2>🛡️ ความปลอดภัยและการบริการระดับ 5 ดาว</h2>
                <p>
                    <span class="keyword-secondary">AMBKING</span> ให้ความสำคัญกับความปลอดภัยของสมาชิกเป็นอันดับหนึ่ง เรามีระบบรักษาความปลอดภัยที่ทันสมัยที่สุด พร้อมทีมงานคอยดูแลตลอด 24 ชั่วโมง ทุกวันไม่มีวันหยุด
                </p>
                <h3>⭐ การบริการและการดูแลสมาชิก</h3>
                <ul>
                    <li><strong>ใบอนุญาตถูกต้อง</strong> - ได้รับการรับรองจากองค์กรพนันระหว่างประเทศ</li>
                    <li><strong>ระบบเข้ารหัส SSL</strong> - ปกป้องข้อมูลส่วนตัวและการทำธุรกรรม</li>
                    <li><strong>ฝ่ายบริการลูกค้า 24/7</strong> - ติดต่อได้ทุกช่องทาง Line, Facebook, โทรศัพท์</li>
                    <li><strong>แอดมินมืออาชีพ</strong> - ทีมงานที่ผ่านการฝึกอบรม พร้อมแก้ปัญหาอย่างรวดเร็ว</li>
                    <li><strong>การเล่นที่ยุติธรรม</strong> - ระบบสุ่มผลลัพธ์ที่ได้มาตรฐาน ไม่มีการโกง</li>
                    <li><strong>ปกป้องข้อมูลส่วนบุคคล</strong> - ไม่นำข้อมูลไปเผยแพร่หรือขาย</li>
                </ul>
                <p>
                    ด้วยประสบการณ์ในวงการมากกว่า 10 ปี <span class="keyword-primary">AMBKING1234</span> ได้รับความไว้วางใจจากนักเดิมพันหลายแสนคนทั่วเอเชีย เราภูมิใจที่เป็นส่วนหนึ่งในความสำเร็จและความสุขของคุณ มาร่วมเป็นครอบครัวเดียวกับเรา และสัมผัสประสบการณ์การเดิมพันที่ดีที่สุด
                </p>
            </section>

            <!-- Section 9: Promotion -->
            <section>
                <h2>🎁 โปรโมชั่นสุดพิเศษ ของรางวัลเพียบ!</h2>
                <p>
                    ที่ <span class="keyword-primary">AMBKING1234</span> เรามีโปรโมชั่นมากมายให้คุณได้เลือกรับตลอดทั้งปี ไม่ว่าจะเป็นสมาชิกใหม่หรือสมาชิกเก่า ทุกคนมีสิทธิ์ได้รับโบนัสและของรางวัลมากมาย
                </p>
                <h3>🎉 โปรโมชั่นปัจจุบัน</h3>
                <ul>
                    <li><strong>โบนัสสมาชิกใหม่ 100%</strong> - ฝากครั้งแรกรับทันที 100% สูงสุด 10,000 บาท</li>
                    <li><strong>ฟรีสปินสล็อต 50 ครั้ง</strong> - สำหรับสมาชิกใหม่ทุกคน</li>
                    <li><strong>คืนยอดเสียทุกวัน 5%</strong> - เล่นเสียก็ยังได้กลับคืน</li>
                    <li><strong>โบนัสชวนเพื่อน</strong> - ชวนเพื่อนรับไม่อั้น 10% ของยอดฝากเพื่อน</li>
                    <li><strong>แจกเครดิตฟรีทุกวัน</strong> - เช็คอินรับเครดิตฟรีทุกวัน</li>
                    <li><strong>โปรวันเกิด</strong> - ของขวัญพิเศษสำหรับคนเกิดวันนั้น</li>
                </ul>
                <p>
                    โปรโมชั่นทั้งหมดที่ <span class="keyword-secondary">AMBKING</span> มีเงื่อนไขที่ยุติธรรมและไม่ซับซ้อน คุณสามารถถอนเงินได้จริงหลังทำตามเงื่อนไข เราไม่มีการหักเปอร์เซ็นต์ หรือมีข้อจำกัดแอบแฝง ทุกโปรโมชั่นโปร่งใส ชัดเจน และดีที่สุดเท่าที่จะเป็นไปได้
                </p>
            </section>

            <!-- Section 10: Conclusion & CTA -->
            <section>
                <h2>🚀 เริ่มต้นเดิมพันกับ AMBKING1234 วันนี้!</h2>
                <p>
                    หากคุณกำลังมองหาเว็บพนันออนไลน์ที่ครบครัน น่าเชื่อถือ และให้บริการดีที่สุด <span class="keyword-primary">AMBKING1234</span> คือคำตอบที่ถูกต้อง ไม่ว่าคุณจะเป็นมือใหม่หรือมือโปร เราพร้อมให้บริการคุณด้วยระบบที่ทันสมัยที่สุด
                </p>
                <p>
                    สมัครสมาชิกง่ายๆ เพียง 3 นาที ไม่ต้องใช้เอกสารยืนยันตัวตนที่ยุ่งยาก แค่มีเบอร์โทรศัพท์ และบัญชีธนาคาร คุณก็สามารถเริ่มเดิมพันได้ทันที มาเป็นส่วนหนึ่งของครอบครัว <span class="keyword-secondary">AMBKING</span> กับเรา
                </p>
                <div class="highlight-box">
                    <h3>💎 สรุปจุดเด่นของ AMBKING1234</h3>
                    <ul>
                        <li>✅ เดิมพันครบจบในเว็บเดียว - <span class="keyword-game">สล็อต</span>, <span class="keyword-game">แทงบอล</span>, <span class="keyword-game">บาคาร่า</span>, <span class="keyword-game">หวยออนไลน์</span>, <span class="keyword-game">โป๊กเก้อ</span>, <span class="keyword-game">เกมไพ่</span></li>
                        <li>✅ ฝาก-ถอนไว ภายใน 30 วินาที ไม่มีขั้นต่ำ</li>
                        <li>✅ โปรโมชั่นมากมาย แจกหนักทุกวัน</li>
                        <li>✅ ปลอดภัย 100% มีใบอนุญาตถูกต้อง</li>
                        <li>✅ ทีมงานคุณภาพ บริการตลอด 24 ชั่วโมง</li>
                        <li>✅ รองรับทุกอุปกรณ์ เล่นได้ทุกที่ทุกเวลา</li>
                    </ul>
                </div>
                <p style="text-align: center; margin-top: 30px;">
                    <a href="#" data-bs-toggle="modal" data-bs-target="#signupModal" class="cta-button">🎰 สมัครสมาชิกเลย!</a>
                    <a href="#" data-bs-toggle="modal" data-bs-target="#contactModal" class="cta-button">💬 ติดต่อเรา</a>
                </p>
                <p style="text-align: center; font-size: 1.2em; color: #e74c3c; font-weight: bold; margin-top: 20px;">
                    เว็บตรง ไม่ผ่านเอเย่นต์ จ่ายจริง ถอนได้ไม่อั้น!
                </p>
            </section>
        </div>
        <!-- Article Section End -->

    </div>
</div>
<div class="bottom-nav">
  <div class="left-navbot">

    <div class="nav-item">
      <a href="/">
        <img src="/uploads/web/1762742240_8610712a3972ad8cc12f.webp" alt="ambking1234">
        <span>หน้าแรก</span></a>
    </div>

    <div class="nav-item">
      <a href="/promotions">
        <img src="/uploads/web/1762742240_66bd92a2f2059ba2a00a.webp" alt="ambking1234">
        <span>โปรโมชั่น</span></a>
    </div>
  </div>
  <div class="center-navbot">
          <div class="nav-item center" data-bs-toggle="modal" data-bs-target="#loginModal">
        <img src="/uploads/web/1762741709_e4e0c9247f9b6a44f070.webp" alt="ambking1234">
        <span>เข้าสู่ระบบ</span>
      </div>
      </div>
  <div class="right-navbot">
          <div class="nav-item" data-bs-toggle="modal" data-bs-target="#signupModal">
        <img src="/uploads/web/1762742240_b51954a7173797e8fb9a.webp" alt="ambking1234">
        <span>สมัครสมาชิก</span>
      </div>
        <div class="nav-item" data-bs-toggle="modal" data-bs-target="#contactModal">
      <img src="/uploads/web/1762742240_cb6f2a4738f9d5a2bf27.webp" alt="ambking1234">
      <span>ติดต่อเรา</span>
    </div>
  </div>

</div>

<div class="modal fade" id="loginModal" tabindex="-1">
  <div class="modal-dialog modal-dialog-centered position-relative modal-dialog-login">
    <div>
      <div class="text-center"> <img src="/uploads/web/1772438497_53073726f63e47af381d.webp" alt="ambking1234"
          style="width:85%"> </div>
      <div class="modal-content">
        <div class="modal-header"> <button type="button" class="btn-close-custom" data-bs-dismiss="modal"
            aria-label="Close"></button> </div>
        <form id="loginForm" novalidate>
          <div class="modal-body"> <!-- Username -->
            <div class="mb-2"> <input type="text" class="form-control" id="username" name="username"
                placeholder="ชื่อผู้ใช้">
              <div class="error-text text-danger small mt-1" style="display:none;"> โปรดระบุชื่อผู้ใช้ </div>
            </div> <!-- Password -->
            <div class="mb-2"> <input type="password" class="form-control" id="password" name="password"
                placeholder="รหัสผ่าน">
              <span class="toggle-password-login" onclick="togglePassword(this, 'password')">
                <i class="fa-solid fa-eye"></i>
              </span>
              <div class="error-text text-danger small mt-1" style="display:none;"> ต้องการรหัสผ่าน </div>
            </div>
          </div>
          <div class="text-end">
            <div class="forgot-text" id="toForgotBtn">ลืมรหัสผ่าน</div>
          </div>
          <div id="res" class="text-center text-danger mb-1"></div>
          <div class="modal-footer"> <button type="submit" class="btn-comfirm">เข้าสู่ระบบ</button> <button
              type="button" class="btn-comfirm" id="toSignupBtn">สมัครสมาชิก</button> </div>
          <div class="d-flex justify-content-center my-2">
            <div class="under-box" onclick="location.href='/promotions'">

              <img src="/assets/img/main/ICON_gift-100x100.webp" alt="ambking1234">
              <span>โปรโมชั่น</span>
            </div>
            <div class="under-box" data-bs-dismiss="modal" data-bs-toggle="modal" data-bs-target="#contactModal">
              <img src="/assets/img/main/ICON_line-100x100.webp" alt="ambking1234">
              <span>ติดต่อเรา</span>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
<div class="modal fade" id="signupModal" tabindex="-1" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header text-center">
        
          <div class="mx-auto"><img src="/uploads/web/1773131095_ca76702741517d8426f1.gif" alt="ambking1234"
              class="register-img">
                    <h3 class="modal-title w-100 text-center mt-3">สมัครสมาชิก</h3>
        </div>


        <button type="button" class="btn-close-custom" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">
        <div class="form-group">
          <input placeholder="เบอร์โทรศัพท์" class="form-control" type="text" id="tel" maxlength="16"
            oninput="validateTel()" onkeypress="return isNumberKey(event)" onblur="checkPhoneExists()">
          <div class="error-text" id="telError"></div>
        </div>

        <div class="form-group">
          <input placeholder="รหัสผ่าน" class="form-control" type="password" id="registerPassword"
            oninput="validateRegisterPassword()">
          <span class="toggle-password-2" onclick="togglePassword(this, 'registerPassword')">
            <i class="fa-solid fa-eye"></i>
          </span>
          <div class="error-text" id="registerPassError"></div>
        </div>
      </div>
      <div id="captchaBox" style="display:none;">
        <div class="form-group text-center">

          <img id="captchaImg" src="" style="height:50px;margin-bottom:10px;">

          <div class="d-flex justify-content-center align-items-center gap-2">
            <input type="text" id="captchaCode" class="form-control" placeholder="กรอกโค้ด"
              style="max-width:150px;">

            <button type="button" id="refreshCaptcha" class="btn btn-sm btn-secondary">
              รีเฟรช
            </button>
          </div>

        </div>
      </div>
      <div class="modal-footer">
        <div class="text-center">
          <button id="submitBtn" class="btn-comfirm mb-2" style="width:150px;" disabled>ต่อไป</button>

          <div>มีบัญชีอยู่แล้ว? <span id="toLoginBtn" class="text-link">เข้าสู่ระบบ</span></div>
          <div class="d-flex justify-content-center my-2">
            <div class="under-box" onclick="location.href='/promotions'">

              <img src="/assets/img/main/ICON_gift-100x100.webp" alt="ambking1234">
              <span>โปรโมชั่น</span>
            </div>
            <div class="under-box" data-bs-dismiss="modal" data-bs-toggle="modal" data-bs-target="#contactModal">
              <img src="/assets/img/main/ICON_line-100x100.webp" alt="ambking1234">
              <span>ติดต่อเรา</span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<!-- forgot password-->
<div class="modal fade" id="forgotModal" tabindex="-1">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">

      <div class="modal-header position-relative">
        <h4 class="modal-title w-100 text-center mb-2">ลืมรหัสผ่าน</h4>

        <button type="button" class="btn-close-custom" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>

      <div class="modal-body">
        <div class="mb-3">
          <input type="text" class="form-control" id="forgotPhone" name="forgotPhone" placeholder="เบอร์โทรศัพท์"
            required>
          <div class="error-text text-danger" style="display:none;">ระบุหมายเลขโทรศัพท์</div>
        </div>
      </div>

      <div class="modal-footer">
        <div class="text-center">
          <button type="submit" class="btn-comfirm forgotConfirmBtn">ยืนยัน</button>
          <div>ไม่มีบัญชี? <span class="text-link" id="toRegisterBtn">สมัครสมาชิก</span></div>
          <div class="d-flex justify-content-center my-2">
            <div class="under-box" onclick="location.href='/promotions'">

              <img src="/assets/img/main/ICON_gift-100x100.webp" alt="ambking1234">
              <span>โปรโมชั่น</span>
            </div>
            <div class="under-box" data-bs-dismiss="modal" data-bs-toggle="modal" data-bs-target="#contactModal">
              <img src="/assets/img/main/ICON_line-100x100.webp" alt="ambking1234">
              <span>ติดต่อเรา</span>
            </div>
          </div>
        </div>

      </div>

    </div>
  </div>
</div>

<div class="modal fade" id="otpModal" tabindex="-1" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header position-relative">
        <h4 class="modal-title w-100 text-center mb-2">ยืนยันรหัส OTP</h4>

        <button type="button" class="btn-close-custom" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">
        <p id="otpInfoText" class="mb-2 text-muted small"></p>

        <div class="form-group text-center mb-3">
          <div class="d-flex justify-content-center gap-2 otp-input-wrapper">
            <input type="text" maxlength="1" class="otp-box form-control text-center" oninput="handleOtpInput(this, 0)"
              onkeydown="handleBackspace(event, 0)">
            <input type="text" maxlength="1" class="otp-box form-control text-center" oninput="handleOtpInput(this, 1)"
              onkeydown="handleBackspace(event, 1)">
            <input type="text" maxlength="1" class="otp-box form-control text-center" oninput="handleOtpInput(this, 2)"
              onkeydown="handleBackspace(event, 2)">
            <input type="text" maxlength="1" class="otp-box form-control text-center" oninput="handleOtpInput(this, 3)"
              onkeydown="handleBackspace(event, 3)">
            <input type="text" maxlength="1" class="otp-box form-control text-center" oninput="handleOtpInput(this, 4)"
              onkeydown="handleBackspace(event, 4)">
            <input type="text" maxlength="1" class="otp-box form-control text-center" oninput="handleOtpInput(this, 5)"
              onkeydown="handleBackspace(event, 5)">
          </div>
        </div>
        <div id="otpError" class="error-text text-center mt-2"></div>
        <div class="d-flex justify-content-between align-items-center">
          <span id="otpCountdown" class="text-danger small"></span>
          <button class="btn btn-link p-0" id="resendOtpBtn" onclick="resendOtp()" disabled>ขอรหัสใหม่</button>
        </div>

      </div>
      <div class="modal-footer">
        <button class="btn-comfirm w-100 mt-3" id="submitOtpBtn" onclick="submitOtp()" disabled>ยืนยัน OTP</button>
      </div>



    </div>
  </div>
</div>



<!-- Bank Update Modal -->
<div class="modal fade modalUBank" id="bankUpdateModal" tabindex="-1" aria-labelledby="bankUpdateModalLabel"
  aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <button type="button" class="btn-close position-absolute top-0 end-0 m-3" data-bs-dismiss="modal"
        aria-label="Close"></button>
      <form id="bankUpdateForm" novalidate>
        <div class="modal-header flex-column">
          <h5 id="modalTitle" class="modal-title mb-1">อัปเดตบัญชี</h5>
          <div class="btn-group w-100" role="group">
            <button type="button" class="btn bankUpdate-btn" id="btnPeer2Pay">อัพเดทบัญชี Peer2Pay</button>
            <button type="button" class="btn bankUpdate-btn" id="btnBankAccount">อัพเดทบัญชีธนาคาร</button>
          </div>
        </div>

        <div class="modal-body">
          <!-- เนื้อหาของ Peer2Pay -->
          <div id="contentPeer2Pay" style="display:none;">
            <div class="">
              <label for="peerUsername" class="form-label">Peer2Pay UID</label>
              <input type="text" class="form-control" id="peerUsername" name="peerUsername">

              <div class="error-text text-danger" style="display:none;">โปรดระบุข้อมูล</div>
            </div>
            <div>จะได้รับ Peer2Pay UID อย่างไร</div>
            <ul>
              <li>เข้าสู่ระบบที่เว็บไซต์หรือแอปพลิเคชัน <a href="https://peertopay.com/" class="text-link">Peer2Pay</a>
              </li>
              <li>กดที่โปรไฟล์ของคุณ</li>
              <li>คัดลอก UID ของคุณ</li>
            </ul>
            <div class="text-center">
              <div>หากคุณยังไม่มีบัญชี Peer2Pay <a href="https://peertopay.com/" class="text-link">สมัครตอนนี้ !</a>
              </div>
            </div>
          </div>

          <!-- เนื้อหาของบัญชีธนาคาร -->
          <div id="contentBankAccount">
            <div class="update-bank">
              <div class="">
                <label for="firstName" class="form-label">ชื่อจริง</label>
                <input type="text" class="form-control" id="firstName" name="firstName" required>
                <div class="error-text text-danger" style="display:none;">โปรดระบุชื่อจริง</div>
              </div>
              <div class="">
                <label for="lastName" class="form-label">นามสกุล</label>
                <input type="text" class="form-control" id="lastName" name="lastName" required>
                <div class="error-text text-danger" style="display:none;">โปรดระบุนามสกุล</div>
              </div>
              <div class="">
                <label for="bankSelect" class="form-label">เลือกธนาคาร</label>
                <select class="form-select" id="bankSelect" name="bankName" required>
                </select>
                <div class="error-text text-danger" style="display:none;">กรุณาเลือกธนาคาร</div>
              </div>
              <div class="">
                <label for="bankAccount" class="form-label">เลขบัญชี</label>
                <input type="text" class="form-control" id="bankAccount" name="bankAccount" required pattern="\d*">
                <div class="error-text text-danger" style="display:none;">โปรดระบุเลขที่บัญชี</div>
              </div>
            </div>
          </div>
        </div>

        <div class="modal-footer">
          <button type="submit" class="btn bankUpdate-btn updateBtn">ยืนยัน</button>
        </div>
      </form>
    </div>
  </div>
</div>
<!-- Modal -->
<div class="modal fade" id="gameModal" tabindex="-1" aria-labelledby="gameModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">

      <div class="modal-header">

        <h5 class="modal-title">เลือกเกม</h5>

        <button type="button" class="btn-close-custom" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>
      <div class="modal-body">

        <!-- Tabs -->
        <ul class="nav nav-tabs" id="gameTabs" role="tablist">
          <li class="nav-item-board" role="presentation">
            <button class="nav-link active" id="fav-tab" data-bs-toggle="tab" data-bs-target="#fav" type="button"
              role="tab">รายการโปรด</button>
          </li>
          <li class="nav-item-board" role="presentation">
            <button class="nav-link" id="recent-tab" data-bs-toggle="tab" data-bs-target="#recent" type="button"
              role="tab">เล่นล่าสุด</button>
          </li>
        </ul>

        <!-- Tab Content -->
        <div class="tab-content mt-3">
          <!-- รายการโปรด -->
          <div class="tab-pane fade show active" id="fav" role="tabpanel" aria-labelledby="fav-tab">
            <div id="fav-list" class="g-3 view-grid-8"></div>
            <div class="d-flex justify-content-between align-items-center mt-3">
              <small id="fav-count" class="text-muted"></small>
              <nav>
                <ul class="pagination pagination-sm mb-0" id="fav-pagination"></ul>
              </nav>
            </div>
          </div>

          <!-- เล่นล่าสุด -->
          <div class="tab-pane fade" id="recent" role="tabpanel" aria-labelledby="recent-tab">
            <div id="recent-list" class="g-3 view-grid-8"></div>
            <div class="d-flex justify-content-between align-items-center mt-3">
              <small id="recent-count" class="text-muted"></small>
              <nav>
                <ul class="pagination pagination-sm mb-0" id="recent-pagination"></ul>
              </nav>
            </div>
          </div>
        </div>

      </div>
    </div>
  </div>
</div>

<!-- end updateBanks -->

<!-- contact-->
<!-- Modal -->
<div class="modal fade" id="contactModal" tabindex="-1" aria-labelledby="contactModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">
      <div class="modal-header text-center">
        
          <div class="mx-auto"><img src="/uploads/web/1773131095_60c253316150d72c6537.gif" alt="ambking1234"
              class="register-img">
                    <h3 class="modal-title w-100 text-center mt-3">ช่องทางติดต่อเรา</h3>
        </div>

        <button type="button" class="btn-close-custom" data-bs-dismiss="modal" aria-label="Close"></button>
      </div>

      <div class="modal-body">
                              <a href="https://lin.ee/9uWt2TLM" target="_blank">
              <div class="contact-card">
                <img src="/uploads/contacts/1757925765_bfee8eb847c1cb6799eb.webp" alt="ambking1234">
                <div class="contact-text">
                  <strong>noname</strong>
                  <span>@480wgotf</span>
                </div>
              </div>
            </a>

                      <a href="https://t.me/+ohdEFomPjO05NGVl" target="_blank">
              <div class="contact-card">
                <img src="/uploads/contacts/1757925782_3905aa2cde2a9af8908a.webp" alt="ambking1234">
                <div class="contact-text">
                  <strong>Ambking 1234</strong>
                  <span></span>
                </div>
              </div>
            </a>

                      <a href="https://citly.me/X5SZP" target="_blank">
              <div class="contact-card">
                <img src="/uploads/contacts/1757925793_88c618e66296daa3a657.webp" alt="ambking1234">
                <div class="contact-text">
                  <strong>Mr.king</strong>
                  <span></span>
                </div>
              </div>
            </a>

                        </div>

    </div>
  </div>
</div>
<div id="toastContainer" class="position-fixed bottom-0 end-0 p-3 alert-box" style="z-index: 9999"></div>

<script>
  const isLoggedIn = false;
</script>

<script src="/assets/js/main.js?v=1.0.0.1117"></script>
<script src="/assets/js/modal-handler.js?v=1.0.11138"></script>

<script>
const VERIFY_TYPE = 0;
</script>
<!-- CSS -->
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
<!-- JS -->
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"></script>


</body>

</html>