
        @import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');

        /* 2. บังคับใช้ฟอนต์ Kanit ทั้งหน้าเว็บ */
        body, button, input, select, textarea, a, span, p, h1, h2, h3, h4, div, marquee {
            font-family: 'Kanit', sans-serif !important;
        }

        /* 3. ล็อกไอคอน .mdi เอาไว้ ไม่ให้สัญลักษณ์ปุ่มต่างๆ เพี้ยน */
        .mdi, .mdi::before {
            font-family: "Material Design Icons" !important;
        }

        body {
            background-color: #16181c !important;
            color: #e5e7eb !important;
            margin: 0;
            padding: 0;
        }
        /* 1. แถบด้านบนสุด (Logo ซ้าย + ปุ่มเข้าสู่ระบบ/สมัครสมาชิก ขวา) */
        header.app-bar {
            background-color: #c79305 !important;
            height: 82px !important;
            padding: 0 24px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            border-bottom: 1px solid #4a3910 !important;
            box-sizing: border-box !important;
        }

        header.app-bar .logo img {
            height: 38px !important;
            width: auto !important;
            object-fit: contain !important;
        }

        header.app-bar .user-actions {
            display: flex !important;
            align-items: center !important;
            gap: 10px !important;
            margin-right: 50px !important;
        }

        header.app-bar .btn-login {
            background: #ffcc66 !important;
            color: #1a1a1a !important;
            border: 1px solid #d8bc6a !important;
            border-radius: 6px !important;
            padding: 8px 14px !important;
            font-size: 15px !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
        }

        header.app-bar .btn-register {
            background: #c79305!important;
            color: #ffff !important;
            border: 1px solid #ffff !important;
            border-radius: 6px !important;
            padding: 8px 14px !important;
            font-size: 15px !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 6px !important;
        }

        header.app-bar .btn-lang {
            background: transparent !important;
            border: 1px solid #ffff !important;
            padding: 0 !important;
            cursor: pointer !important;
            display: inline-flex !important;
            align-items: center !important;
        }

        header.app-bar .flag-icon {
            width: 28px !important;
            height: 28px !important;
            border-radius: 50% !important;
            object-fit: cover !important;
            border: 1.5px solid #c5a64e !important;
        }

        /* 2. แถบเมนูชั้นที่ 2 สีดำเทา (หน้าหลัก, โปรโมชั่น, บทความ, ติดต่อเรา, ฝาก-ถอน + ปุ่มหัวใจขวาสุด) */
        .sub-header-bar {
            background-color: #292929 /* jscpd:ignore-start */ !important;
            height: 80px !important;
            padding: 0 24px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            border-bottom: 1px solid #292929 /* jscpd:ignore-end */2e3238 !important;
            box-sizing: border-box !important;
        }

        .sub-header-bar .top-menu {
            display: flex !important;
            align-items: center !important;
            gap: 28px !important;
            height: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        .sub-header-bar .menu-auto {
            height: 100% !important;
            display: flex !important;
            align-items: center !important;
        }

        .sub-header-bar .menu-link {
            display: inline-flex !important;
            flex-direction: row !important;
            align-items: center !important;
            gap: 8px !important;
            height: 100% !important;
            padding: 0 6px !important;
            text-decoration: none !important;
            color: #ffff !important;
            font-size: 22px !important;
            font-weight: 500 !important;
            border-bottom: 2px solid transparent !important;
            box-sizing: border-box !important;
            transition: all 0.2s ease !important;
        }

        .sub-header-bar .menu-link.active,
        .sub-header-bar .menu-link:hover {
            color: #ffffff !important;
            border-bottom: 2px solid #c5a64e !important;
        }

        .sub-header-bar .menu-link img.img {
            width: 20px !important;
            height: 20px !important;
            object-fit: contain !important;
            margin: 0 !important;
        }

        .sub-header-bar .menu-text {
            font-size: 16px !important;
            color: inherit !important;
            white-space: wrap !important;
        }

        /* ปุ่มหัวใจมุมขวาของแถบเมนูชั้นที่ 2 */
        .fav-top-btn {
            width: 34px !important;
            height: 30px !important;
            background-color: #ffff !important;
            border: none !important;
            border-radius: 8px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            cursor: pointer !important;
            color: #b93838 !important;
            font-size: 17px !important;
            transition: opacity 0.2s !important;
        }

        .fav-top-btn:hover {
            opacity: 0.85 !important;
        }

        /* 3. โครงสร้างหลัก: Sidebar ซ้าย + เนื้อหาขวา */
        .main-layout {
            display: flex !important;
            align-items: stretch !important;
            background-color: #292929 !important;
            min-height: calc(100vh - 110px) !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
        }

        /* 4. เมนูด้านซ้าย (Sidebar) สีดำเทา + เส้นขอบทองด้านขวา ไม่มีปุ่มสีฟ้า */
        aside.sidebar {
            width: 230px !important;
            min-width: 230px !important;
            background-color: #292929 !important;
            border-right: 5px solid #ddc37c !important;
            padding: 12px 0 !important;
            margin: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 14px !important;
            box-sizing: border-box !important;
        }

        aside.sidebar .side-row {
            width: 100% !important;
            padding: 0 !important;
            margin: 0 !important;
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
        }

        aside.sidebar .sidebar-item {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 14px !important;
            padding: 10px 25px 10px 0px !important;
            width: 100% !important;
            background: transparent !important;
            border: none !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            text-decoration: none !important;
            box-sizing: border-box !important;
            transition: background 0.2s ease !important;
        }

        aside.sidebar .sidebar-item:hover {
            background: rgba(197, 166, 78, 0.14) !important;
        }

        aside.sidebar .sidebar-icon {
            width: 32px !important;
            height: 32px !important;
            object-fit: contain !important;
            flex-shrink: 0 !important;
        }

        aside.sidebar .side-text {
            color: #e5e7eb !important;
            font-size: 13.5px !important;
            font-weight: 500 !important;
            white-space: nowrap !important;
        }

        /* 5. พื้นที่เนื้อหาฝั่งขวา + แถบตัวอักษรวิ่งไล่สีดำ-ทอง */
        main.content-area {
            flex: 1 !important;
            background-color: #16181c !important;
            padding: 10px 18px 40px 18px !important;
            margin: 0 !important;
            min-width: 0 !important;
            box-sizing: border-box !important;
        }

        .announcement-bar {
            width: 100% !important;
            height: 36px !important;
            background: linear-gradient(90deg, #212429 0%, #c79305 50%, #212429 100%) !important;
            border-radius: 4px !important;
            display: flex !important;
            align-items: center !important;
            margin: 0 0 12px 0 !important;
            padding: 0 12px !important;
            box-sizing: border-box !important;
        }

        .banner-placeholder img {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain !important;
            margin-right: 8px !important;
        }
        .announcement-bar .marquee-text {
            color: #e5e7eb !important;
            font-size: 18px !important;
            font-weight: 500 !important;
        }

        /* 6. กล่องเกมส์มาแรง & หมวดหมู่ต่างๆ โทนสีดำเทา-ทอง เหมือนรูปที่ 2 */
        .category-section,
        .dragon-pingpong-container,
        .site-footer,
        .promo-detail-box,
        .promo-card {
            background-color: #212429 !important;
            border: 1px solid #2e323b !important;
            color: #e5e7eb !important;
        }

        .section-title,
        .dp-title,
        .footer-main-title,
        .promo-detail-main-title {
            color: #cbb26a !important;
        }

        .category-header,
        .promo-header-box {
            background: linear-gradient(90deg, #6e5519 0%, #3a2d0d 100%) !important;
            border: 1px solid #8e7329 !important;
        }

        .category-title,
        .promo-header-title,
        .btn-more {
            color: #f3e5ab !important;
        }

        .accent-bar,
        .promo-pill {
            background-color: #c5a64e !important;
        }

        .game-card {
            background-color: #2c3038 !important;
            border: 1px solid #8e7329 !important;
        }

        .game-card:first-child {
            background-color: #6e5519 !important;
            border-color: #c5a64e !important;
        }

        .game-title {
            color: #f3e5ab !important;
        }
        .games-title-container {
            display: flex;
            justify-content: center; /* ดึงทุกอย่างมาอยู่กึ่งกลางแนวนอน */
            align-items: center;     /* จัดให้อยู่กึ่งกลางแนวตั้ง (ไม่ให้เบี้ยวขึ้นหรือลง) */
            gap: 15px;               /* ระยะห่างระหว่างภาพกับตัวหนังสือ (ปรับตัวเลขได้ตามใจชอบครับ) */
            margin: 20px 0;          /* ระยะห่างด้านบนและด้านล่างของตัวกลุ่มหัวข้อ */
            width: 100%;/* กว้างเต็มพื้นที่ */
        }
        .games-title-container .lantern-img {
            width: 40px !important;
            height: 40px !important;
            object-fit: contain !important;
        }

        .footer-info-card {
            background-color: #2a2e35 !important;
            border: 1px solid #3a3f48 !important;
        }

        .info-card-title,
        .copyright-text {
            color: #d1d5db !important;
        }

        /* ================= โหมดมือถือและแท็บเล็ต (Responsive) ================= */
        @media screen and (max-width: 1024px) {
            header.app-bar {
                height: 52px !important;
                padding: 4px 10px !important;
            }

            .mobile-hamburger-btn {
                color: #ffffff !important;
            }

            /* ซ่อนแถบเมนูชั้นที่ 2 บนมือถือ (เพราะใช้ปุ่มแฮมเบอร์เกอร์และแถบล่างแทน) */
            .sub-header-bar {
                display: none !important;
            }

            aside.sidebar {
                width: 100% !important;
                min-width: 100% !important;
                border-right: none !important;
                background: transparent !important;
                flex-direction: row !important;
                overflow-x: auto !important;
                padding: 8px 10px !important;
                gap: 8px !important;
            }

            aside.sidebar .side-row {
                flex: 0 0 68px !important;
                width: 68px !important;
                height: 68px !important;
                background-color: #25282e !important;
                border: 1px solid #8e7329 !important;
                border-radius: 10px !important;
            }

            aside.sidebar .sidebar-item {
                flex-direction: column !important;
                justify-content: center !important;
                align-items: center !important;
                padding: 6px 2px !important;
                gap: 4px !important;
                height: 100% !important;
            }

            aside.sidebar .side-text {
                color: #f3e5ab !important;
                font-size: 11.5px !important;
            }
        }
   
/* ตั้งค่าตัวหนังสือตรงกลาง */
.games-title-text {
    font-size: 24px;         /* ขนาดตัวอักษรใหญ่-เล็ก */
    font-weight: bold;       /* ตัวหนา */
    color: #000000;          /* สีดำสนิทแบบในรูป */
    margin: 0;               /* ล้างค่า margin ของ h2 ออกเพื่อให้ไม่ไปเบียดรูป */
    line-height: 1;          /* จัดระยะห่างบรรทัดให้พอดี */
}
/* ตัวครอบตารางเกม (บังคับให้เรียงต่อกัน) */
.game-menu-grid {
    display: flex;
    justify-content: center; /* ให้อยู่กึ่งกลางหน้า */
    gap: 15px; /* ระยะห่างระหว่างแต่ละกล่อง */
    flex-wrap: wrap; /* ถ้ายาวเกินจอ ให้ปัดตกลงบรรทัดใหม่ */
    margin: 20px 0;
}

/* รูปร่างของกล่องเกม */
.game-card {
    display: flex;
    flex-direction: column; /* บังคับให้เรียงบน-ลง-ล่าง (รูปอยู่บน ข้อความอยู่ล่าง) */
    align-items: center;    /* จัดให้อยู่กึ่งกลาง */
    justify-content: flex-end; /* ดันเนื้อหาลงมาข้างล่าง */
    
    background-color: #6998d4; /* สีฟ้าพื้นหลังกล่อง */
    border-radius: 12px;       /* ทำขอบให้มน */
    padding: 10px;
    
    width: 120px;  /* ความกว้างของกล่อง (ปรับได้ตามชอบ) */
    height: 140px; /* ความสูงของกล่อง (ปรับได้ตามชอบ) */
    
    text-decoration: none; /* เอาเส้นใต้ลิงก์ออก */
    transition: transform 0.2s ease; /* ใส่แอนิเมชั่นเวลาเอาเมาส์ชี้ */
}

/* แอนิเมชั่น: เวลาเอาเมาส์ไปชี้ให้กล่องเด้งขึ้นนิดนึง */
.game-card:hover {
    transform: translateY(-5px);
}

/* ตั้งค่ารูปภาพเกม */
.game-card .game-image {
    width: 100%; /* ให้รูปกว้างเต็มกล่อง */
    height: 100px; /* ล็อคความสูงรูป (ป้องกันรูปเบี้ยว) */
    object-fit: contain; /* บังคับรูปให้อยู่ในกรอบโดยไม่เสียสัดส่วน */
    margin-bottom: 5px; /* ระยะห่างระหว่างรูปกับตัวหนังสือ */
}

/* ตั้งค่าตัวหนังสือชื่อเกม */
.game-card .game-title {
    color: #000;         /* สีตัวหนังสือ (สีดำ) */
    font-size: 14px;     /* ขนาดตัวอักษร */
    font-weight: bold;
    text-align: center;
}
/* ตารางเรียง 6 กล่อง (CSS Grid) */
.slot-games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* แบ่งเป็น 6 คอลัมน์เท่าๆ กัน */
    gap: 10px; /* ระยะห่างระหว่างกล่อง */
    width: 100%;
    margin-top: 10px;
}

/* รูปร่างกล่องเกม 1 กล่อง */
.slot-card {
    position: relative; /* สำคัญมาก: เพื่อให้ป้ายต่างๆ แปะทับได้ตรงจุด */
    border-radius: 8px; /* ขอบโค้ง */
    overflow: hidden; /* ตัดส่วนรูปที่เกินขอบออก */
    height: 120px; /* ความสูงของกล่อง (ปะป๊าปรับเพิ่มลดได้ครับ) */
    cursor: pointer;
}

/* รูปภาพเกม (เป็นแบคกราวด์) */
.slot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* สไตล์พื้นฐานของป้ายดำโปร่งแสง ซ้าย-ขวาบน */
.badge-players, .badge-rtp {
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.7); /* พื้นหลังดำโปร่งใส 70% */
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

/* ป้ายซ้ายบน (คนเล่น) */
.badge-players {
    left: 0;
    border-bottom-right-radius: 6px; /* มุมล่างขวาโค้ง */
}

/* จุดสีเขียว */
.dot-green {
    width: 6px;
    height: 6px;
    background-color: #00ff00; /* สีเขียวสว่าง */
    border-radius: 50%;
}

/* ป้ายขวาบน (RTP) */
.badge-rtp {
    right: 0;
    border-bottom-left-radius: 6px; /* มุมล่างซ้ายโค้ง */
}

/* แถบชื่อเกมด้านล่าง */
.slot-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* ดำโปร่งแสง */
    padding: 5px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 2;
}

/* ชื่อเกม (ตัวหนังสือเล็ก) */
.slot-name {
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap; /* ห้ามตัดบรรทัด */
    overflow: hidden;
    text-overflow: ellipsis; /* ถ้ายาวไปให้ใส่ ... */
}

/* ไอคอนหัวใจ */
.slot-heart {
    color: #fff;
    font-size: 14px;
}

/* 🌟 เอฟเฟกต์ปุ่ม "เล่น" ตอนเอาเมาส์ไปชี้ (Hover) */
.slot-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* มืดลงนิดนึงตอนเมาส์ชี้ */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0; /* ซ่อนไว้ก่อน */
    transition: opacity 0.2s;
    z-index: 3;
}
.slot-card:hover .slot-hover {
    opacity: 1; /* โชว์เมื่อเอาเมาส์ชี้ */
}

/* ปุ่ม "เล่น" สีเหลือง */
.btn-play {
    background-color: #ffb300;
    color: #000;
    border: none;
    padding: 5px 25px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
}
/* กรอบรวมของแต่ละหมวดหมู่ */
.category-block {
    width: 100%;
    margin-top: 30px; /* เว้นระยะห่างจากด้านบน */
}

/* แถบหัวข้อสีฟ้า (เช่น "สล็อต") */
.category-header {
    background-color: #6998d4; /* สีฟ้า */
    border-radius: 4px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between; /* แยกหัวข้อกับปุ่มให้อยู่ซ้ายสุด-ขวาสุด */
    align-items: center;
    margin-bottom: 15px;
}

/* ตัวหนังสือหัวข้อ */
.category-title {
    color: #000;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

/* ปุ่ม "เพิ่มเติม >" */
.btn-more {
    color: #333;
    font-size: 13px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.btn-more:hover {
    color: #fff; /* เปลี่ยนสีตอนเอาเมาส์ชี้ */
}


/* ตารางเกม (ใช้ร่วมกันทั้งหมวดสล็อต และ ค่ายคาสิโน) */
.category-games-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr; /* กว้าง: กล่องใหญ่ 2 ส่วน, กล่องเล็ก 1 ส่วน */
    grid-template-rows: repeat(2, 140px);       /* ล็อคความสูงแถวบนและแถวล่างให้เท่ากันที่ 140px */
    gap: 12px;                                  /* ระยะห่างช่องไฟตรงกลาง (ซ้าย-ขวา และ บน-ล่าง เท่ากันเป๊ะ) */
    align-items: stretch;                       /* บังคับให้ทุกกล่องยืดเต็มช่องตาราง */
}

/* รูปร่างกล่องเกมเล็กแต่ละกล่อง */
.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%; /* เปลี่ยนจาก 120px เป็น 100% เพื่อให้ยืดชนขอบบนและขอบล่างพอดี */
    cursor: pointer;
    background-color: #333;
}

/* กล่องใหญ่ซ้ายสุด (PGSoft / Pretty Gaming) */
.category-card.card-large {
    grid-row: span 2; /* กินพื้นที่ควบ 2 แถว (ความสูงจะเท่ากับ แถวบน + ช่องไฟกลาง + แถวล่าง อัตโนมัติ) */
    height: 100%;
}

/* รูปภาพเกม */
.cat-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* แถบชื่อเกมด้านล่าง (ไล่สีดำโปร่งแสง) */
.cat-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* ไล่สีจากล่าง(ดำสนิท) ไปบน(โปร่งใส) เพื่อให้อ่านตัวหนังสือชัดขึ้น */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 15px 10px 5px 10px; /* เพิ่ม padding ด้านบนให้เงาดำไล่ขึ้นไปสูงหน่อย */
    box-sizing: border-box;
    z-index: 2;
}
.category-section {
    background-color: #b38a1c; /* สีพื้นหลังของแต่ละหมวดหมู่ */
    border-radius: 15px;
    padding:  25px 20px;
    height: auto;   
    margin-top: 15px;

}


.casino-providers-grid {
    margin-top: 15px;
}

/* ตกแต่งขีด 2 ขีดหน้าคำว่า คาสิโน */
.header-left-accent {
    display: flex;
    align-items: center;
    gap: 5px;
}
.accent-bar {
    width: 4px;
    height: 20px;
    background-color: #6998d4;
    border-radius: 2px;
    display: inline-block;
    box-shadow: -2px 0 0 #dfb13f;
}

/* กล่องใหญ่สีทองเข้มครอบโซนโต๊ะไพ่ */
.dragon-pingpong-container {
    background-color: #c59b38; /* สีทองเข้มตามภาพ */
    border-radius: 12px;
    padding: 20px 15px;
    margin-top: 10px;
}

/* หัวข้อ โต๊ะไพ่มังกรกับปิงปอง */
.dp-title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.dp-icon {
    width: 38px;
    height: auto;
}
.dp-title {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin: 0;
}

/* โครงสร้างเรียง 6 โต๊ะ */
.baccarat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

/* การ์ดแต่ละโต๊ะ */
.baccarat-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* ส่วนบน: รูปดีลเลอร์และป้ายข้อมูล */
.bacc-top {
    position: relative;
    height: 115px;
    background-color: #1a1c29;
}
.bacc-dealer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ป้ายมุมขวาบน: จำนวนผู้เล่น */
.bacc-Viewers {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: rgba(15, 18, 30, 0.85);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 7px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ป้ายมุมซ้ายล่าง: ชื่อโต๊ะ */
.bacc-table-name {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background-color: rgba(15, 18, 30, 0.85);
    color: #fff;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
}

/* ป้ายมุมขวาล่าง: สกอร์รวม (# 120 50 60 10) */
.bacc-stats {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: rgba(15, 18, 30, 0.85);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* จุดสีในป้ายสกอร์ */
.stat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}
.dot-blue { background-color: #2196f3; }
.dot-red { background-color: #f44336; }
.dot-green { background-color: #4caf50; }

/* ส่วนล่าง: ตารางเค้าไพ่ (6 แถว x 12 คอลัมน์) */
.bacc-roadmap {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 1fr);
    height: 78px;
    background-color: #fff;
    border-top: 2px solid #222;
    position: relative;
}

/* ช่องตารางแต่ละช่อง */
.road-cell {
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* วงกลมเค้าไพ่ (แดง / น้ำเงิน) */
.Bead {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-sizing: border-box;
}
.bead-p {
    border: 2px solid #e53935; /* สีแดง Player */
}
.bead-b {
    border: 2px solid #1e88e5; /* สีน้ำเงิน Banker */
}
/* ขีดสีเขียวคาดกลางกรณีออก Tie (เสมอ) */
.bead-tie::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background-color: #43a047;
    transform: rotate(-45deg);
}

/* เอฟเฟกต์กระพริบสำหรับเม็ดล่าสุดที่เพิ่งออก */
@keyframes blinkCircle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(0.85); }
}
.blinking-bead {
    animation: blinkCircle 0.6s infinite ease-in-out;
}

/* ไฮไลท์แถบคอลัมน์มังกร/ปิงปองที่กำลังลุ้น */
.road-cell.highlight-col {
    background-color: rgba(30, 136, 229, 0.12);
}
.road-cell.highlight-col-red {
    background-color: rgba(229, 57, 53, 0.12);
}

/* ================= โซน Footer (สินค้าของเรา) ================= */
.site-footer {
    background-color: #b0913b; /* สีพื้นหลังทองเข้มโซนฟุตเตอร์ */
    padding: 30px 20px 40px 20px;
    margin-top: 35px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

/* หัวข้อ สินค้าของเรา */
.footer-main-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

/* ตารางพาร์ทเนอร์: บังคับแถวละ 23 รูป */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(23, 1fr); /* 23 ตัวต่อ 1 แถว */
    gap: 6px; /* ระยะห่างระหว่างกล่องโลโก้ */
    width: 100%;
    margin-bottom: 25px;
}

/* กล่องใส่โลโก้พาร์ทเนอร์แต่ละตัว */
.partner-box {
    background-color: rgba(255, 255, 255, 0.14); /* สีกรอบจางๆ แบบในภาพ */
    border-radius: 6px;
    aspect-ratio: 1 / 1; /* บังคับให้เป็นสี่เหลี่ยมจัตุรัส */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    overflow: hidden;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.partner-box:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.06);
}

.partner-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* โซนกล่องข้อมูล ซ้าย - ขวา */
.footer-info-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 15px;
    gap: 20px;
}

/* คอลัมน์ซ้าย (ความปลอดภัย + ความรับผิดชอบ) */
.footer-left-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 300px;
}

/* คอลัมน์ขวา (ช่องทางการชำระเงิน) */
.footer-right-col {
    width: 300px;
}

/* การ์ดพื้นหลังสีครีมทองโปร่งแสง */
.footer-info-card {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 12px 16px;
}

.payment-card {
    min-height: 135px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.info-card-title {
    font-size: 13px;
    font-weight: bold;
    color: #000;
    margin: 0 0 10px 0;
}

/* แถวเรียงโลโก้ฝั่งซ้าย */
.info-logos-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.security-logo,
.responsible-logo {
    height: 26px;
    width: auto;
    object-fit: contain;
}

/* ตารางเรียงโลโก้ชำระเงิน 2x2 ฝั่งขวา */
.payment-logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 15px;
    align-items: center;
}

.pay-logo {
    width: 100%;
    max-height: 28px;
    object-fit: contain;
}

/* โซนโลโก้ Shibuya55 ด้านล่างสุด */
.footer-bottom-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    gap: 8px;
}

.footer-main-logo {
    width: 130px;
    height: auto;
    object-fit: contain;
}

.copyright-text {
    font-size: 12px;
    font-weight: bold;
    color: #000;
    margin: 0;
}

/* ปุ่มแคปซูล สล็อต / คาสิโน ล่างสุด */
.footer-Mini-tags {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.footer-tag-btn {
    background-color: #ffd571;
    color: #000;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 14px;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.footer-tag-btn:hover {
    background-color: #ffe08a;
}
/* ================= โซนหน้าโปรโมชั่น ================= */
/* ================= โซนหน้าโปรโมชั่น ================= */
.promo-section {
    /* ดันลงมาให้พ้นแถบเมนูด้านบน (60px) + เว้นช่องว่างสีเหลืองด้านบนอีก 18px ให้เหมือนในภาพ */
    margin-top: 78px; 
    padding: 0 15px;
    min-height: 520px;
    box-sizing: border-box;
}

/* แถวรวมขีดตั้ง 2 ขีด + แถบยาวสีฟ้า */
.promo-header-row {
    display: flex;
    align-items: center;
    gap: 5px;            /* ระยะห่างระหว่างขีดตั้งทั้ง 2 ขีดและกล่องสีฟ้า */
    margin-bottom: 20px; /* ระยะห่างจากแถบคำว่าโปรโมชั่น ลงมาถึงรูปการ์ดด้านล่าง */
    width: 100%;
}

/* ขีดตั้งสีฟ้า 2 ขีดด้านซ้ายสุด */
.promo-pill {
    width: 6px;
    height: 38px;
    background-color: #6998d4;
    border-radius: 4px;
    flex-shrink: 0;
}

/* กล่องแถบยาวสีฟ้าที่มีคำว่า "โปรโมชั่น" */
.promo-header-box {
    background-color: #6998d4;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    flex-grow: 1; /* ยืดเต็มความกว้างไปจนสุดขอบขวา */
}

/* ตัวหนังสือคำว่า "โปรโมชั่น" */
.promo-header-title {
    color: #000;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

/* ตารางเรียงการ์ดโปรโมชั่น */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ตัวการ์ดโปรโมชั่น */
.promo-card {
    background-color: #6998d4;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    max-width: 420px;
}

/* กรอบรูปโปรโมชั่นด้านบน */
.promo-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ส่วนข้อความด้านล่างรูป */
.promo-card-body {
    padding: 12px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    box-sizing: border-box;
}

.promo-title {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin: 0 0 12px 0;
}

.promo-desc {
    font-size: 18px;
    color: #111;
    margin: 15px 0 25px 0;
}

.promo-more {
    font-size: 12px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    margin-top: auto;
}
/* ================= โซนหน้ารายละเอียดโปรโมชั่น ================= */
/* ปุ่ม "< โปรโมชั่นทั้งหมด" ด้านบนซ้าย */
.btn-back-promo {
    background-color: #c59b38;
    color: #000;
    border: none;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.btn-back-promo:hover {
    background-color: #b58d2f;
}

/* กล่องใหญ่สีน้ำตาลเข้มด้านใน */
.promo-detail-box {
    background-color: #61501b;
    border-radius: 6px;
    padding: 25px 35px 40px 35px;
    width: 100%;
    box-sizing: border-box;
}

/* หัวข้อตรงกลางด้านบนรูป */
.promo-detail-main-title {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #000;
    margin: 0 0 20px 0;
}

/* จัดรูปภาพให้อยู่กึ่งกลาง */
.promo-detail-img-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.promo-detail-img-wrap img {
    width: 290px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* เนื้อหารายละเอียดด้านล่างรูป */
.promo-detail-content {
    color: #000;
    font-size: 14px;
    line-height: 1.6;
}

.pd-subtitle {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin: 0 0 20px 0;
}

.pd-highlight {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 12px !important;
}

.pd-group {
    margin-bottom: 26px;
}

.pd-group p {
    margin: 0 0 8px 0;
}

/* ตัวหนังสือสีน้ำเงิน "SHIBUYA55" */
.pd-brand-blue {
    color: #0044ff;
    font-weight: bold;
    font-size: 18px;
}
/* ================= โซนหน้ารายละเอียดบทความ ================= */
.article-detail-img-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.article-detail-img-wrap img {
    width: 550px; /* ขนาดรูปแนวนอนในหน้ารายละเอียดบทความ */
    max-width: 100%;
    height: auto;
    display: block;
}

/* ระยะห่างของโซน "บทความเพิ่มเติม" ด้านล่างกล่องเนื้อหา */
.more-articles-block {
    margin-top: 25px;
}
/* ================= โซนป๊อปอัพ ติดต่อเรา (Modal) ================= */
/* พื้นหลังสีดำโปร่งแสงเต็มจอ */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* ให้อยู่ชั้นบนสุดทับทุกอย่าง */
}

/* กล่องการ์ดสีขาวตรงกลาง */
.contact-modal-card {
    background-color: #ffffff;
    width: 440px;
    max-width: 90%;
    border-radius: 20px;
    padding: 24px 26px 28px 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ส่วนหัวป๊อปอัพ */
.contact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* กล่องสีฟ้าอ่อนใส่ไอคอนหูฟัง */
.contact-headset-box {
    width: 44px;
    height: 44px;
    background-color: #eef2f8;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6998d4;
    font-size: 24px;
}

/* ตัวหนังสือ "ติดต่อเรา" ด้านบน */
.contact-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
}

/* ปุ่มกากบาท X มุมขวาบน */
.contact-close-btn {
    background: transparent;
    border: none;
    color: #666666;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-close-btn:hover {
    color: #000000;
}

/* เส้นคั่นกลาง */
.contact-divider {
    height: 1px;
    background-color: #eeeeee;
    margin: 18px 0 20px 0;
}

/* กรอบปุ่ม LINE */
.contact-line-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background-color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* 🌟 เอฟเฟกต์เวลาเอาเมาส์ชี้: ขึ้นกรอบสีน้ำเงินและพื้นหลังสีฟ้าอ่อนตามรูปที่ 2 */
.contact-line-item:hover {
    border-color: #6998d4;
    background-color: #f2f7fc;
}

.contact-line-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* กรอบสีเขียวของโลโก้ LINE */
.line-app-icon {
    width: 46px;
    height: 46px;
    background-color: #06c755;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* ข้อความด้านในปุ่ม LINE */
.contact-line-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.line-main-label {
    font-size: 15px;
    font-weight: bold;
    color: #000000;
}

.line-sub-id {
    font-size: 13px;
    color: #777777;
}

.contact-arrow {
    font-size: 20px;
    color: #888888;
}
/* ================= โซนป๊อปอัพ ฝาก-ถอน (Modal) ================= */
.withdraw-modal-card {
    background-color: #ffffff;
    width: 460px;
    max-width: 92%;
    border-radius: 22px;
    padding: 24px 28px 30px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    animation: modalFadeIn 0.2s ease-out;
}

.withdraw-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.withdraw-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* กล่องไอคอนมุมซ้ายบน */
.withdraw-icon-box {
    width: 46px;
    height: 46px;
    background-color: #eef2f8;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6998d4;
    font-size: 24px;
    flex-shrink: 0;
}

.withdraw-title-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* คำว่า SHIBUYA55 สีฟ้าตัวเล็กด้านบน */
.withdraw-brand-top {
    font-size: 12px;
    font-weight: bold;
    color: #6998d4;
    letter-spacing: 0.5px;
}

/* หัวข้อ "กรุณาดำเนินการสมัครสมาชิกเพื่อทำการ ฝาก-ถอน" */
.withdraw-main-title {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 0;
    line-height: 1.35;
}

/* ฟอร์มด้านใน */
.withdraw-form-body {
    display: flex;
    flex-direction: column;
}

.withdraw-label {
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 8px;
}

.withdraw-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    margin-bottom: 8px;
}

.withdraw-label-row .withdraw-label {
    margin-bottom: 0;
}

/* ลิงก์ ลืมรหัสผ่าน? */
.withdraw-forgot-link {
    font-size: 13px;
    font-weight: bold;
    color: #5b87bd;
    text-decoration: underline;
}

/* กรอบช่องกรอกข้อมูล */
.withdraw-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #f4f5f7;
    border: 1px solid #dcdfe6;
    border-radius: 12px;
    height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.withdraw-input-wrap:focus-within {
    border-color: #6998d4;
    background-color: #ffffff;
}

.input-left-icon {
    font-size: 20px;
    color: #7ea3d4;
    margin-right: 10px;
}

.withdraw-input {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: #333333;
    outline: none;
    font-family: inherit;
}

.withdraw-input::placeholder {
    color: #999999;
}

/* ไอคอนรูปดวงตาดูรหัสผ่าน */
.input-right-eye {
    font-size: 20px;
    color: #555555;
    cursor: pointer;
    margin-left: 8px;
}

/* ปุ่ม "เข้าสู่ระบบ ->" ไล่สีฟ้า-ทอง */
.btn-withdraw-submit {
    margin-top: 22px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff562 0%, #cec43f 100%);
    color: #000000;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 8px rgba(46, 46, 29, 0.12);
    transition: filter 0.2s, transform 0.1s;
    cursor: pointer;
}

.btn-withdraw-submit:hover {
    filter: brightness(1.05);
}

/* ข้อความด้านล่างสุด: ไม่มีบัญชี? สมัครสมาชิกตอนนี้! */
.withdraw-footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #222222;
}

.withdraw-register-link {
    color: #5b87bd;
    font-weight: bold;
    text-decoration: underline;
}
/* ================= ปุ่มแฮมเบอร์เกอร์ & หน้าเมนูสีเหลืองเต็มจอ ================= */
.mobile-hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    color: #000000;
    font-size: 30px;
    cursor: pointer;
    padding: 4px 8px;
    align-items: center;
    justify-content: center;
}

/* พื้นหลังสีเหลืองทองเต็มจอเมื่อกดแฮมเบอร์เกอร์ */
.hm-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ecd055;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    padding: 20px 18px 40px 18px;
    box-sizing: border-box;
    overflow-y: auto;
    animation: modalFadeIn 0.2s ease-out;
}

/* ปุ่มกากบาทสีขาวมุมขวาบน */
.hm-close-btn {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* โลโก้ Shibuya55 ตรงกลาง */
.hm-logo-wrap {
    display: flex;
    justify-content: center;
    margin: 10px 0 24px 0;
}

.hm-logo-img {
    /* width: 180px; */
    height: 102px;
    width: auto;
    object-fit: contain;
}

/* ปุ่มยาว "บัญชีของฉัน" และ "รายการโปรด & เล่นล่าสุด" */
.hm-full-btn {
    width: 100%;
    height: 54px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    margin-bottom: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.hm- full-btn i {
    font-size: 22px;
}

/* สีปุ่ม บัญชีของฉัน */
.hm-account-btn {
    background-color: #f4c85b;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* สีปุ่ม รายการโปรด & เล่นล่าสุด (มีเส้นขอบดำตามรูป) */
.hm-fav-btn {
    background-color: #f4d058;
    border: 1px solid #1a1a1a;
}

/* ตารางเมนูสติ๊กเกอร์ 3 คอลัมน์ */
.hm-grid-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 4px;
    margin-bottom: 18px;
}

.hm-grid-card {
    background-color: #a89446; /* สีน้ำตาลทองหม่นเหมือนต้นแบบ */
    border-radius: 10px;
    height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

/* ปุ่มที่เลือกอยู่เป็นสีฟ้า (เช่น หน้าหลัก) */
.hm-grid-card.active {
    background-color: #6998d4;
}

.hm-sticker-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* แถบภาษาไทยด้านล่าง */
.hm-lang-bar {
    width: 100%;
    height: 52px;
    background-color: #f4c85b;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    box-sizing: border-box;
    cursor: pointer;
}

.hm-lang-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #000000;
}

.hm-flag-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.hm-lang-arrow {
    font-size: 22px;
    color: #000000;
}

/* ================= แถบนำทางด้านล่างสุด (Bottom Navigation) ================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background-color: #f3ce62;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.2);
    z-index: 9900;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
}

.mb-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000000;
    font-size: 12px;
    font-weight: bold;
    gap: 4px;
    position: relative;
}

.mb-nav-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.mb-center-circle {
    position: absolute;
    top: -34px;
    width: 58px;
    height: 58px;
    background-color: #6998d4;
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.mb-center-circle img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.mb-center-text {
    margin-top: 28px;
}



    /* 1. แถบ Header สีฟ้าด้านบน: ย่อโลโก้ชิดซ้ายใกล้แฮมเบอร์เกอร์ + ดึงปุ่มสมัครสมาชิกไม่ให้ล้นจอ */
    header.app-bar, .app-bar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 4px 8px !important;
        height: 80px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        gap: 4px !important;
        position: relative !important;
        z-index: 100 !important;
    }

    /* โลโก้ Shibuya55 ย่อเล็กลงและขยับมาชิดแฮมเบอร์เกอร์ */
    .app-bar .logo {
        margin: 0 auto 0 4ch !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
    }

    .app-bar .logo img {
        height: auto !important;
        max-width: 250px !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    /* กล่องปุ่มเข้าสู่ระบบ & สมัครสมาชิก ด้านขวา: ย่อขนาดให้พอดีจอ ไม่ล้นขอบ */
    .app-bar > div:last-child,
    .app-bar .header-right,
    .app-bar .auth-buttons {
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        flex-shrink: 0 !important;
    }

    .app-bar button:not(.mobile-hamburger-btn),
    .app-bar a:not(.logo a) {
        white-space: nowrap !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        padding: 4px 8px !important;
        height: 30px !important;
        min-width: unset !important;
        width: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 3px !important;
        border-radius: 5px !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    /* ซ่อนปุ่มธงชาติบนแถบด้านบน */
    .app-bar img[src*="flag"],
    .app-bar img[alt*="ไทย"],
    .app-bar .lang-select,
    .app-bar .flag-btn {
        display: none !important;
    }

    /* 2. ปลดล็อกกล่องโครงสร้างหลัก ไม่ให้ล็อกความสูงหรือบังกัน */
    .sby-unlock-layout,
    main,
    .main-content,
    .content-area {
        position: static !important;
        display: block !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    /* 3. แถบตัวอักษรวิ่ง (Marquee) ให้แสดงชัดเจนใต้แถบ Header สีฟ้า */
    .sby-marquee-bar {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 30px !important;
        margin: 0 !important;
        padding: 0 8px !important;
        background: linear-gradient(90deg, #ecd055 0%, #c8ad45 50%, #ecd055 100%) !important;
        color: #000000 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        position: relative !important;
        z-index: 2 !important;
        box-sizing: border-box !important;
    }

    /* 4. แถบปุ่มหมวดหมู่ (สล็อต, คาสิโน, กีฬา, ไพ่, ตกปลา): วางจมเรียบ พื้นสีน้ำตาลทอง ไม่ลอย */
    .shibuya-cat-bar {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: 1 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: center !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100% !important;
        height: auto !important;
        padding: 10px 10px 8px 10px !important;
        margin: 0 !important;
        gap: 8px !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
    }

    .shibuya-cat-bar::-webkit-scrollbar {
        display: none !important;
    }

    /* ตัวปุ่มหมวดหมู่แต่ละอัน: สีน้ำตาลทอง (#a89446) จมเรียบ ไม่มีสีฟ้าด้านใน */
    .shibuya-cat-item {
        position: static !important;
        flex: 0 0 68px !important;
        width: 68px !important;
        min-width: 68px !important;
        max-width: 68px !important;
        height: 68px !important;
        min-height: 68px !important;
        background: #a89446 !important;
        background-color: #a89446 !important;
        border: 1.5px solid #bda853 !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 4px 2px !important;
        margin: 0 !important;
        gap: 4px !important;
        box-sizing: border-box !important;
    }

    /* ล้างพื้นหลังสีฟ้าและเงาของปุ่มด้านในออกทั้งหมด */
    .shibuya-cat-item * {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        border: none !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        color: #000000 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.1 !important;
        text-align: center !important;
        display: block !important;
    }

    .shibuya-cat-item img {
        width: 32px !important;
        height: 32px !important;
        object-fit: contain !important;
        margin: 0 auto 2px auto !important;
    }

    /* 5. กล่อง "เกมส์มาแรง" (PG Slot, SexySlot, PramaticPaly, Pretty Gaming): เรียงแถวเดียว ปัดซ้าย-ขวาได้ */
    .sby-hot-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 8px !important;
        padding: 4px 4px 12px 4px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
    }

    .sby-hot-row::-webkit-scrollbar {
        display: none !important;
    }

    /* การ์ดในเกมส์มาแรงแต่ละใบ (ขนาดเรียวพอดีโชว์เรียงกันเหมือนต้นแบบ) */
    .sby-hot-card {
        flex: 0 0 84px !important;
        width: 84px !important;
        min-width: 84px !important;
        max-width: 84px !important;
        height: 118px !important;
        background: #b8a048 !important;
        border: 1.5px solid #d4be65 !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        padding: 6px 4px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    /* ใบแรก (PG Slot) พื้นหลังสีฟ้าเหมือนรูปต้นแบบ */
    .sby-hot-card:first-child {
        background: #76a0d4 !important;
        border-color: #8bb2e2 !important;
    }

    .sby-hot-card img {
        width: 66px !important;
        height: 66px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
        margin: 0 auto 6px auto !important;
    }

    .sby-hot-card span,
    .sby-hot-card div,
    .sby-hot-card p {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        text-align: center !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }


/* สำหรับหน้าจอมือถือ iPhone 15-18 / Samsung S / Oppo (เกมด้านล่างเรียง 2 คอลัมน์ ยกเว้นแถวเกมส์มาแรง) */
@media screen and (max-width: 768px) {
    .slots-grid:not(.sby-hot-row),
    .games-grid:not(.sby-hot-row),
    .baccarat-grid:not(.sby-hot-row),
    .casino-grid:not(.sby-hot-row) {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}
/* ดึงแถบตัวอักษรวิ่งและเนื้อหาให้ชิดแถบ Header สีฟ้า ไม่ให้มีช่องว่างสีเหลืองคั่น */
@media screen and (max-width: 1024px) {
    body,
    .sby-unlock-layout,
    main,
    .main-content,
    .content-area {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .sby-marquee-bar {
        margin-top: 0 !important;
        border-radius: 0 !important;
    }
}

/* บังคับให้กล่องเกม RTP 6 เกม เรียงเป็นคู่ๆ แถวละ 2 เกม ลงมา 3 แถว */
@media screen and (max-width: 1024px) {
    .sby-rtp-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 8px 4px !important;
        box-sizing: border-box !important;
    }

    .sby-rtp-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        flex: none !important;
        height: 112px !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        margin: 0 !important;
    }
}
/* ================= จัดหมวดสล็อต & คาสิโน: รูปใหญ่ 1 รูปข้างบน + รูปเล็กเรียงคู่ชิดพอดี ไม่ทับกัน ================= */
@media screen and (max-width: 1024px) {
    /* ปลดล็อกความสูงแถวเดิมของหน้าคอม เพื่อไม่ให้รูปเล็กกระโดดขึ้นไปทับรูปใหญ่ */
    .sby-slot-9grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: none !important; /* แก้รูปเล็กทับรูปใหญ่ */
        grid-auto-rows: auto !important;     /* แก้ช่องว่างห่างกันเกินไป */
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 4px 0 !important;
        box-sizing: border-box !important;
    }

    .sby-slot-split-box {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .sby-slot-8grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: none !important;
        grid-auto-rows: auto !important;
        height: auto !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* รูปแรก (PGSoft และ Pretty Gaming): กางเต็มความกว้างอยู่ข้างบนสุด */
    .sby-slot-big-top {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 210px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 !important;
    }

    .sby-slot-big-top img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        display: block !important;
    }

    /* รูปเล็กทั้ง 8 รูป: เลื่อนลงมาอยู่ใต้รูปใหญ่ และเรียงชิดติดกันทุกแถวเท่ากัน */
    .sby-slot-pair-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 105px !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 !important;
    }

    .sby-slot-pair-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .sby-slot-big-top *,
    .sby-slot-pair-card * {
        white-space: nowrap !important;
    }
}
/* ================= จัดหมวด "สินค้าของเรา" และ Footer ด้านล่างสุดให้เหมือนต้นแบบ 100% ================= */
@media screen and (max-width: 1024px) {
    /* 1. ตาราง "สินค้าของเรา": เรียงแถวละ 5 กล่อง และแถวสุดท้ายอยู่กึ่งกลางเหมือนต้นแบบ */
    .sby-partner-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 8px 4px 16px 4px !important;
        box-sizing: border-box !important;
    }

    .sby-partner-item {
        width: calc((100% - 32px) / 5) !important; /* แถวละ 5 กล่องพอดี */
        height: 58px !important;
        min-width: 0 !important;
        aspect-ratio: 1 / 1 !important;
        background-color: rgba(255, 255, 255, 0.14) !important;
        border-radius: 10px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 4px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .sby-p-logo {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        line-height: 1.05 !important;
        width: 100% !important;
    }

    .sby-p-top {
        font-size: 13px !important;
        font-weight: 900 !important;
        letter-spacing: -0.3px !important;
    }

    .sby-p-bot {
        font-size: 9px !important;
        font-weight: 800 !important;
        margin-top: 2px !important;
    }

    /* 2. ปลดล็อกกล่อง ความปลอดภัย / การเล่นเกมฯ / ช่องทางการชำระเงิน ให้เรียงซ้อนลงมาเต็มความกว้าง */
    .sby-footer-col-reset {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .sby-footer-card {
        width: 100% !important;
        max-width: 100% !important;
        background-color: rgba(255, 255, 255, 0.22) !important;
        border-radius: 12px !important;
        padding: 14px 16px !important;
        margin: 0 0 10px 0 !important;
        box-sizing: border-box !important;
    }

    /* ตกแต่งโลโก้ทั้ง 4 ตัวในกล่อง "ช่องทางการชำระเงิน" */
    .sby-pay-title {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #000000 !important;
        margin-bottom: 10px !important;
    }

    .sby-pay-logos {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 10px 16px !important;
    }

    .sby-pay-badge {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        font-size: 13px !important;
        color: #ffffff !important;
    }

    .pay-icon-green {
        background: #00a86b !important;
        color: #ffffff !important;
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        font-weight: 900 !important;
    }

   

    .pay-thpay {
        color: #1e3799 !important;
        font-size: 20px !important;
        font-weight: 900 !important;
    }

    .pay-true {
        color: #ee2524 !important;
        font-size: 22px !important;
        font-weight: 900 !important;
    }

    .pay-money {
        color: #f58220 !important;
        font-size: 22px !important;
        font-weight: 600 !important;
    }

    /* 3. เพิ่มระยะด้านล่างสุดของ Footer ไม่ให้ปุ่มวงกลมหน้ากากจิ้งจอกบังคำว่า สงวนลิขสิทธิ์ และปุ่ม สล็อต/คาสิโน */
    footer, .footer, .main-footer {
        padding-bottom: 95px !important;
    }
}