/* ==========================================================================
   Product99 (HTML) — Main Stylesheet
   เขียนใหม่ทั้งหมดตามหน้าตาเว็บต้นแบบ (ไม่ได้ copy CSS จากต้นแบบ)
   Palette: ฟ้าอ่อน #aee1f7 (พื้นหลัง), ขาว (header), น้ำเงิน gradient (การ์ดลงทะเบียน),
            ดำเข้ม #0b0f14 (แผงเข้ม), เหลือง #ffd54a (ปุ่ม/ป้าย), ฟ้า cyan (progress)
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
                 "Noto Sans Thai", "Sarabun", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #10151b;
    background: linear-gradient(180deg, #bfe7fa 0%, #aee1f7 40%, #a5ddf6 100%);
    min-height: 100vh;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; }
[hidden] { display: none !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Heading slot ซ่อน (mode: hidden) — อยู่ใน DOM แต่ผู้ชมไม่เห็น */
.tsp-slot-hidden,
.tsp-hidden-slots {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    clip: rect(0 0 0 0); clip-path: inset(50%);
    overflow: hidden; white-space: nowrap;
}

/* ---------- Heading อิสระ + เนื้อหา HTML ต่อท้าย (จาก Front Builder) ---------- */
.tsp-extra-section { padding: 26px 0 6px; position: relative; z-index: 5; }
.tsp-extra-heading {
    text-align: center;
    color: #12233a;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 auto 16px;
    max-width: 900px;
    position: relative;
    padding-bottom: 12px;
}
.tsp-extra-heading::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 72px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ffd54a, #ffc93c);
}
h1.tsp-extra-heading { font-size: 30px; }
h2.tsp-extra-heading { font-size: 24px; }
h3.tsp-extra-heading { font-size: 20px; }
h4.tsp-extra-heading { font-size: 17px; }
.tsp-extra-heading.tsp-slot-hidden::after { display: none; }
.tsp-slot-html {
    max-width: 900px;
    margin: 0 auto 22px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(18, 35, 58, .1);
    border-radius: 12px;
    padding: 18px 22px;
    color: #22344c;
    font-size: 15px;
    line-height: 1.85;
    box-shadow: 0 2px 10px rgba(18, 35, 58, .06);
}
.tsp-slot-html p { margin: 0 0 12px; }
.tsp-slot-html p:last-child { margin-bottom: 0; }
.tsp-slot-html a { color: #0a6ebd; text-decoration: underline; }
.tsp-slot-html a:hover { color: #084f88; }
.tsp-slot-html ul, .tsp-slot-html ol { margin: 0 0 12px 22px; }
.tsp-slot-html ul { list-style: disc; }
.tsp-slot-html ol { list-style: decimal; }
.tsp-slot-html li { margin-bottom: 4px; }
.tsp-slot-html img { max-width: 100%; height: auto; border-radius: 8px; }
.tsp-slot-html table { width: 100%; border-collapse: collapse; margin: 0 0 12px; }
.tsp-slot-html th, .tsp-slot-html td { border: 1px solid rgba(18, 35, 58, .15); padding: 8px 10px; text-align: left; }
.tsp-slot-html th { background: rgba(255, 213, 74, .22); }
.tsp-slot-html strong { color: #12233a; }
.tsp-slot-html.tsp-slot-hidden { box-shadow: none; }

/* ---------- Rain & Lightning ---------- */
#rain-canvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 3;
}
#lightning-flash {
    position: fixed; inset: 0;
    background: #eaf6ff;
    opacity: 0;
    pointer-events: none;
    z-index: 4;
    transition: opacity .08s ease-out;
}
#lightning-flash.flash { opacity: .55; }

/* ---------- Header (GNB) ---------- */
.site-header {
    position: sticky; top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 1px 6px rgba(16, 40, 60, .12);
}
.gnb-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 64px;
}
.site-logo img { width: 150px; height: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav-list { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav-list li { position: relative; }
.main-nav-list a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #10151b;
    border-radius: 6px;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.main-nav-list a:hover,
.main-nav-list .current-menu-item > a { background: #eef6fc; color: #0a6fd0; }
.main-nav-list .sub-menu {
    position: absolute;
    top: 100%; left: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid #e8eef2;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(16, 40, 60, .14);
    padding: 6px;
    display: none;
    z-index: 60;
}
.main-nav-list li:hover > .sub-menu { display: block; }
.gnb-utils {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.gnb-auth-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-right: 6px;
    white-space: nowrap;
}
.gnb-auth-link:hover { color: #0a6fd0; }
.gnb-auth-sep { color: #ccc; }
.gnb-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border: 0;
    background: transparent;
    color: #10151b;
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s;
}
.gnb-icon-btn:hover { background: #eef6fc; }
.menu-toggle { display: none; }

/* Search overlay */
.gnb-search {
    border-top: 1px solid #e8eef2;
    background: #fff;
    padding: 14px 0;
}
.gnb-search-form { display: flex; gap: 8px; }
.gnb-search-form input[type=search] {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid #d6e6f0;
    border-radius: 24px;
    font-size: 15px;
    outline: none;
}
.gnb-search-form input[type=search]:focus { border-color: #0a6fd0; }
.gnb-search-form button {
    padding: 10px 22px;
    border: 0;
    border-radius: 24px;
    background: #10151b;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* ---------- Mobile Sidebar ---------- */
.sidebar-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s;
    z-index: 190;
}
body.sidebar-open .sidebar-overlay { opacity: 1; visibility: visible; }
body.sidebar-open { overflow: hidden; }
.mobile-sidebar {
    position: fixed;
    top: 0; right: 0;
    width: 290px; max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 200;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
    padding: 16px;
}
.mobile-sidebar.is-open { transform: translateX(0); }
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.sidebar-header img { width: 130px; }
.sidebar-close {
    border: 0;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}
.sidebar-nav a {
    display: block;
    padding: 11px 8px;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid #f0f4f7;
}
.sidebar-menu-list .sub-menu { padding-left: 16px; }
.sidebar-actions { display: flex; gap: 10px; margin-top: 18px; }
.sidebar-btn {
    flex: 1;
    text-align: center;
    padding: 11px 0;
    border-radius: 24px;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid #10151b;
    color: #10151b;
}
.sidebar-btn.btn-register { background: #10151b; color: #fff; }

/* ---------- Promo Strip ---------- */
.promo-strip {
    background: linear-gradient(90deg, #0b2545, #123c6e);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 5;
}
.promo-strip-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffd54a;
    display: inline;
    margin-right: 8px;
}
.promo-strip-text { display: inline; font-size: 13px; }
.promo-strip-text a { color: #eaf4ff; text-decoration: underline; }

/* ---------- Hero Area ---------- */
.hero-area { padding: 26px 0 10px; position: relative; z-index: 5; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}
.hero-gallery, .register-card { min-width: 0; max-width: 100%; }

/* Stats bar */
.stats-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 100%;
    min-width: 0;
}
.stats-bar::-webkit-scrollbar { display: none; }
.stats-dots { display: flex; gap: 3px; color: #0b2545; font-size: 9px; flex: none; }
.stats-track { display: flex; gap: 8px; flex-wrap: nowrap; }
.stats-pill {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0b0f14;
    color: #ffe082;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 18px;
    white-space: nowrap;
    border: 1px solid rgba(255, 213, 74, .35);
}

/* Main image + thumbs */
.hero-main-link { display: block; }
.hero-main-img {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 34px rgba(9, 40, 70, .28);
}
.hero-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
.hero-thumb img {
    width: 74px; height: 98px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(9, 40, 70, .22);
    transition: transform .15s;
}
.hero-thumb:hover img { transform: translateY(-3px); }
.hero-thumb-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px; height: 98px;
    border-radius: 8px;
    background: rgba(11, 37, 69, .82);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    padding: 4px;
}

/* ---------- Register Card ---------- */
.register-card {
    background: linear-gradient(160deg, #1976d9 0%, #2f8fe0 45%, #56b6ec 100%);
    border-radius: 16px;
    padding: 22px 22px 24px;
    color: #fff;
    box-shadow: 0 12px 36px rgba(9, 60, 110, .35);
    position: relative;
    overflow: hidden;
}
.register-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: #063457;
    background: linear-gradient(90deg, #ffe082, #ffd54a);
    border-radius: 16px;
    padding: 5px 14px;
    margin-bottom: 12px;
}
.register-title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.45;
    margin-bottom: 16px;
    text-shadow: 0 1px 4px rgba(0, 40, 80, .35);
}
.register-info-panel {
    background: rgba(6, 34, 62, .35);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
}
.register-info-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffe082;
    margin-bottom: 10px;
}
.register-spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .18);
    font-size: 13px;
}
.register-spec:last-child { border-bottom: 0; }
.spec-label { opacity: .92; }
.spec-value {
    background: #ffd54a;
    color: #063457;
    font-weight: 800;
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 14px;
    white-space: nowrap;
}
.register-offer-panel {
    background: rgba(255, 244, 200, .95);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    color: #4a3200;
}
.register-offer-title {
    font-size: 14px;
    font-weight: 800;
    color: #0a4d8c;
    background: #d9edff;
    display: inline-block;
    border-radius: 14px;
    padding: 4px 12px;
    margin-bottom: 10px;
}
.register-offer {
    position: relative;
    padding: 6px 0 6px 24px;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px dashed rgba(120, 90, 0, .25);
}
.register-offer:last-child { border-bottom: 0; }
.register-offer::before {
    content: "✓";
    position: absolute;
    left: 2px;
    color: #1a9b4b;
    font-weight: 800;
}
.register-buttons { display: flex; gap: 12px; }
.btn-outline,
.btn-solid {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    border-radius: 26px;
    font-weight: 800;
    font-size: 15px;
    transition: transform .12s, box-shadow .12s;
}
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-solid {
    background: linear-gradient(90deg, #ffe082, #ffc93c);
    color: #063457;
    box-shadow: 0 6px 16px rgba(20, 20, 0, .25);
}
.btn-outline:hover, .btn-solid:hover { transform: translateY(-2px); }

/* ---------- RTP Live ---------- */
.rtp-live { padding: 26px 0 10px; position: relative; z-index: 5; }
.rtp-panel {
    background: #0b0f14;
    border: 1px solid #1d2733;
    border-radius: 14px;
    padding: 16px 18px;
    color: #dfe9f2;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 10px 28px rgba(5, 20, 35, .35);
}
.rtp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: 13px;
}
.rtp-title { font-weight: 800; color: #ffd54a; display: inline-flex; align-items: center; gap: 7px; }
.live-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #37e05f;
    box-shadow: 0 0 8px #37e05f;
    animation: pulse 1.4s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.rtp-sub { color: #8fa4b8; font-size: 12px; }
.rtp-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.rtp-cell {
    background: #121a24;
    border: 1px solid #223142;
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.rtp-day { font-size: 11px; font-weight: 700; color: #b9c9d9; }
.rtp-date { font-size: 10px; color: #6d8194; }
.rtp-percent { font-size: 15px; font-weight: 800; color: #4cd7ff; }
.rtp-status {
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    padding: 2px 6px;
    margin: 2px auto 0;
}
.rtp-status-normal { background: #14324a; color: #6fc3ff; }
.rtp-status-hot { background: #4a1a14; color: #ff8a6f; }
.rtp-status-stable { background: #14421f; color: #63e08a; }

/* ---------- Popular Games ---------- */
.popular-games { padding: 18px 0 10px; position: relative; z-index: 5; }
.games-panel {
    background: #0b0f14;
    border: 1px solid #1d2733;
    border-radius: 14px;
    padding: 18px 20px;
    color: #dfe9f2;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 10px 28px rgba(5, 20, 35, .35);
}
.games-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.games-title { font-size: 16px; font-weight: 800; color: #ffd54a; }
.games-live-label {
    font-size: 11px;
    font-weight: 700;
    color: #37e05f;
    background: #10251a;
    border: 1px solid #1e4a30;
    border-radius: 12px;
    padding: 3px 10px;
    white-space: nowrap;
}
.game-row {
    display: grid;
    grid-template-columns: 30px minmax(90px, 150px) 1fr 44px;
    grid-template-areas:
        "icon name bar percent"
        "icon meta meta meta";
    align-items: center;
    column-gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #17222e;
}
.game-row:last-child { border-bottom: 0; }
.game-icon { grid-area: icon; font-size: 20px; }
.game-name { grid-area: name; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-bar {
    grid-area: bar;
    height: 10px;
    border-radius: 6px;
    background: #17222e;
    overflow: hidden;
}
.game-bar-fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #ffd54a, #7ee3ff);
    transition: width .6s ease;
}
.game-percent { grid-area: percent; font-size: 13px; font-weight: 800; color: #7ee3ff; text-align: right; }
.game-meta { grid-area: meta; font-size: 11px; color: #7d92a6; margin-top: 2px; }

/* ---------- SEO Area ---------- */
.seo-area { padding: 30px 0 12px; position: relative; z-index: 5; }
.seo-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #0b2545;
    margin-bottom: 20px;
    line-height: 1.5;
}
.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}
.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(9, 40, 70, .12);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.info-label { font-size: 12px; color: #5a6b7a; }
.info-value { font-size: 15px; font-weight: 800; color: #0b2545; }
.seo-content {
    background: #0b0f14;
    border-radius: 14px;
    padding: 22px 24px;
    color: #b9c9d9;
    font-size: 13.5px;
    line-height: 1.9;
    box-shadow: 0 10px 28px rgba(5, 20, 35, .3);
}
.seo-content p { margin-bottom: 14px; }
.seo-content p:last-child { margin-bottom: 0; }
.seo-content a { color: #ffd54a; text-decoration: underline; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-section { padding: 26px 0 10px; position: relative; z-index: 5; }
.faq-panel {
    background: #0b0f14;
    border-radius: 16px;
    padding: 26px 26px 20px;
    color: #dfe9f2;
    box-shadow: 0 10px 28px rgba(5, 20, 35, .3);
}
.faq-badge {
    display: inline-block;
    background: #ffd54a;
    color: #063457;
    font-size: 12px;
    font-weight: 800;
    border-radius: 14px;
    padding: 4px 14px;
    margin-bottom: 10px;
}
.faq-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.faq-subtitle {
    text-align: center;
    font-size: 13px;
    color: #8fa4b8;
    max-width: 640px;
    margin: 0 auto 20px;
}
.faq-item {
    background: #121a24;
    border: 1px solid #223142;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-item summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    font-size: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num {
    flex: none;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: #1a2a3c;
    color: #ffd54a;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-q { flex: 1; }
.faq-toggle { color: #ffd54a; font-size: 18px; font-weight: 800; transition: transform .2s; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-a {
    padding: 0 16px 16px 58px;
    font-size: 13px;
    color: #a5b8ca;
    line-height: 1.8;
}
.faq-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #241d0c;
    border: 1px solid #4a3d16;
    border-radius: 10px;
    padding: 13px 16px;
    margin-top: 16px;
    font-size: 12.5px;
    color: #d8c98a;
}
.faq-notice { color: #d8c98a; }
.faq-notice strong { color: #ffd54a; }
.faq-notice p { margin-top: 2px; }
.faq-notice-icon {
    flex: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #ffd54a;
    color: #241d0c;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* ---------- Reviews ---------- */
.reviews-section { padding: 30px 0 10px; position: relative; z-index: 5; }
.reviews-title {
    font-size: 18px;
    font-weight: 800;
    color: #0b2545;
    margin-bottom: 18px;
    line-height: 1.5;
    border-left: 5px solid #ffd54a;
    padding-left: 12px;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.review-card {
    background: #0b0f14;
    border: 1px solid #1d2733;
    border-radius: 12px;
    padding: 16px 18px;
    color: #c7d6e4;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 8px 22px rgba(5, 20, 35, .25);
}
.review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.review-name { font-size: 13px; font-weight: 800; color: #fff; }
.review-stars { color: #ffd54a; font-size: 13px; letter-spacing: 1px; }
.review-text { font-size: 12.5px; line-height: 1.8; flex: 1; }
.review-date {
    align-self: flex-start;
    background: #241d0c;
    color: #ffd54a;
    font-size: 11px;
    font-weight: 700;
    border-radius: 12px;
    padding: 3px 12px;
}

/* ---------- Feature Strip ---------- */
.feature-strip { padding: 24px 0 30px; position: relative; z-index: 5; }
.feature-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(9, 40, 70, .18);
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    font-size: 12.5px;
}
.feature-item:nth-child(1) { background: linear-gradient(135deg, #f9f871, #ffe45c); }
.feature-item:nth-child(2) { background: linear-gradient(135deg, #d3f36b, #aeee7c); }
.feature-item:nth-child(3) { background: linear-gradient(135deg, #8ee9a1, #6fe3c1); }
.feature-item:nth-child(4) { background: linear-gradient(135deg, #6fe3d6, #62d6f0); }
.feature-icon { font-size: 24px; flex: none; }
.feature-text { display: flex; flex-direction: column; line-height: 1.5; }
.feature-text strong { font-size: 13px; color: #14301c; }
.feature-text span { color: #33513f; font-size: 11.5px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    background: #f4fafe;
    border-top: 1px solid #dcedf7;
    padding: 12px 0;
    font-size: 12.5px;
    color: #5a6b7a;
    position: relative;
    z-index: 5;
}
.breadcrumb a:hover { color: #0a6fd0; text-decoration: underline; }
.crumb-sep { color: #a9bcc9; margin: 0 4px; }

/* ---------- Footer ---------- */
.site-footer {
    background: #fff;
    border-top: 1px solid #e3eef6;
    padding: 34px 0 22px;
    position: relative;
    z-index: 5;
}
.footer-nav-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #8fa4b8;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 18px;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    margin-bottom: 26px;
}
.footer-col-title {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: #0b2545;
    margin-bottom: 10px;
}
.footer-col-sub { margin-top: 16px; }
.footer-col li { margin-bottom: 7px; }
.footer-col a {
    font-size: 12.5px;
    color: #5a6b7a;
    transition: color .15s;
}
.footer-col a:hover { color: #0a6fd0; }
.footer-bottom {
    border-top: 1px solid #e8f1f8;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-social { display: flex; gap: 10px; }
.footer-social img { width: 30px; height: 30px; opacity: .8; transition: opacity .15s; }
.footer-social a:hover img { opacity: 1; }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #5a6b7a; }
.footer-bottom-links a:hover { color: #0a6fd0; }
.footer-copyright { font-size: 12px; color: #8fa4b8; }

/* ---------- Welcome Popup ---------- */
.popup-overlay {
    position: fixed; inset: 0;
    background: rgba(4, 12, 22, .78);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.popup-container {
    position: relative;
    background: linear-gradient(160deg, #101826, #0b0f14);
    border: 2px solid #ffd54a;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px 20px 18px;
    text-align: center;
    color: #dfe9f2;
    box-shadow: 0 0 44px rgba(255, 213, 74, .35);
    animation: popup-in .35s ease;
}
@keyframes popup-in { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.popup-close {
    position: sticky;
    float: right;
    top: 0;
    margin: -6px -6px 0 0;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid #ffd54a;
    background: #0b0f14;
    color: #ffd54a;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    z-index: 2;
}
.popup-banner img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 12px;
    border-radius: 10px;
}
.popup-text { font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.popup-buttons { display: flex; gap: 10px; margin-bottom: 12px; }
.popup-buttons .btn-outline { border-color: #ffd54a; color: #ffd54a; }
.popup-copyright { font-size: 10.5px; color: #6d8194; }
.gold-particle {
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ffd54a;
    opacity: .7;
    animation: float-up 3.4s infinite ease-in;
}
.gold-particle:nth-child(2) { left: 12%; bottom: 8%; animation-delay: 0s; }
.gold-particle:nth-child(3) { left: 30%; bottom: 4%; animation-delay: .9s; }
.gold-particle:nth-child(4) { left: 55%; bottom: 6%; animation-delay: 1.7s; }
.gold-particle:nth-child(5) { left: 74%; bottom: 3%; animation-delay: 2.3s; }
.gold-particle:nth-child(6) { left: 90%; bottom: 9%; animation-delay: 1.2s; }
@keyframes float-up {
    0% { transform: translateY(0); opacity: .8; }
    100% { transform: translateY(-140px); opacity: 0; }
}

/* ---------- Live Feed ---------- */
.live-feed-box {
    position: fixed;
    left: 14px; bottom: 14px;
    z-index: 300;
}
.live-feed-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(8, 14, 22, .92);
    border: 1px solid #223142;
    color: #dfe9f2;
    border-radius: 24px;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    animation: feed-in .4s ease;
}
@keyframes feed-in { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.live-feed-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #37e05f;
    box-shadow: 0 0 7px #37e05f;
    flex: none;
    animation: pulse 1.4s infinite;
}

/* ---------- Content Area (หน้าอื่น) / Single / 404 ---------- */
.seo-content-section { background: #fff; padding: 28px 0; position: relative; z-index: 5; }
.seo-content-inner { max-width: 900px; }
.breadcrumbs-title { font-size: 12.5px; color: #5a6b7a; margin-bottom: 10px; }
.breadcrumbs-title a, .breadcrumbs-link { color: #0a6fd0; text-decoration: underline; }
.seo-content-inner h1 { font-size: 20px; color: #0b2545; margin-bottom: 14px; font-weight: 800; }
.seo-article { font-size: 14px; color: #38495a; line-height: 1.8; }
.seo-article p { margin-bottom: 12px; }
.seo-article a { color: #0a6fd0; text-decoration: underline; }
.page-content, .post-content { padding: 30px 0; position: relative; z-index: 5; }
.page-content h1, .post-content h1 { font-size: 22px; color: #0b2545; margin-bottom: 15px; }
.page-content .entry-content, .post-content .entry-content { font-size: 14px; color: #38495a; line-height: 1.8; }
.error-404 { text-align: center; padding: 60px 15px; position: relative; z-index: 5; }
.error-404 h1 { font-size: 64px; color: #0a6fd0; margin-bottom: 10px; }
.error-404 p { font-size: 17px; color: #5a6b7a; margin-bottom: 20px; }
.error-404 a {
    display: inline-block;
    padding: 12px 30px;
    background: #0a6fd0;
    color: #fff;
    border-radius: 24px;
    font-weight: 700;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .gnb-auth-links { display: none; }
    .main-nav-list a { padding: 8px 8px; font-size: 13px; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-columns { grid-template-columns: repeat(3, 1fr); }
    .feature-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .menu-toggle { display: inline-flex; }
    .gnb-cart, .gnb-account { display: none; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .register-card { order: 2; }
    .rtp-grid { grid-template-columns: repeat(4, 1fr); }
    .info-cards { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: repeat(2, 1fr); }
    .seo-title { font-size: 18px; }
    .tsp-extra-section { padding: 20px 0 4px; }
    h1.tsp-extra-heading { font-size: 23px; }
    h2.tsp-extra-heading { font-size: 20px; }
    h3.tsp-extra-heading { font-size: 17px; }
    h4.tsp-extra-heading { font-size: 15px; }
    .tsp-slot-html { padding: 14px 16px; font-size: 14px; }
    .faq-panel { padding: 20px 16px 16px; }
    .faq-a { padding-left: 16px; }
    .game-row {
        grid-template-columns: 26px 1fr 40px;
        grid-template-areas:
            "icon name percent"
            "icon bar bar"
            "icon meta meta";
        row-gap: 4px;
    }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .rtp-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-bar { grid-template-columns: 1fr; }
    .register-title { font-size: 16px; }
    .hero-thumb img, .hero-thumb-more { width: 60px; height: 80px; }
}
 * VISIBLE SCHEMA BLOCKS (v1.2.0) - AMP safe (no !important)
 * ============================================================== */
.tsp-schema-blocks{background:#f6f8fb;padding:32px 0;margin-top:8px}
.tsp-schema-inner{max-width:1100px;margin:0 auto;padding:0 16px;display:grid;grid-template-columns:1fr;gap:20px}
.tsp-block{background:#fff;border:1px solid #e7ebf2;border-radius:14px;padding:22px;box-shadow:0 2px 10px rgba(20,30,60,.04)}
.tsp-block-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.tsp-block-icon{flex:0 0 auto;width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,#3b82f6,#6366f1);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700}
.tsp-block-htext{min-width:0}
.tsp-block-title{margin:0;font-size:18px;line-height:1.3;color:#0f172a;font-weight:700}
.tsp-block-sub{margin:2px 0 0;font-size:13px;color:#64748b}
.tsp-meta-list{list-style:none;margin:0;padding:0}
.tsp-meta-list li{display:flex;gap:8px;padding:8px 0;border-bottom:1px solid #f1f5f9;font-size:14px;color:#334155}
.tsp-meta-list li:last-child{border-bottom:0}
.tsp-meta-k{flex:0 0 96px;color:#94a3b8;font-weight:600}
.tsp-btn{display:inline-block;margin-top:12px;background:#3b82f6;color:#fff;text-decoration:none;padding:9px 18px;border-radius:8px;font-size:14px;font-weight:600}
.tsp-faq-acc{border:0}
.tsp-faq-item{border:1px solid #e7ebf2;border-radius:10px;margin-bottom:10px;overflow:hidden}
.tsp-faq-q{margin:0;padding:14px 16px;background:#f8fafc;font-size:15px;color:#0f172a;font-weight:600;cursor:pointer}
.tsp-faq-a{padding:6px 16px 14px;font-size:14px;color:#475569;line-height:1.6}
.tsp-faq-a p{margin:8px 0 0}
amp-accordion>section[expanded]>.tsp-faq-q{background:#eef2ff;color:#4338ca}
.tsp-howto-list{list-style:none;margin:0;padding:0}
.tsp-howto-step{display:flex;gap:14px;padding:12px 0;border-bottom:1px dashed #e7ebf2}
.tsp-howto-step:last-child{border-bottom:0}
.tsp-howto-num{flex:0 0 auto;width:30px;height:30px;border-radius:50%;background:#6366f1;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.tsp-howto-name{margin:2px 0 4px;font-size:15px;color:#0f172a;font-weight:600}
.tsp-howto-body p{margin:0;font-size:14px;color:#475569;line-height:1.6}
.tsp-review-box{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.tsp-review-score{font-size:38px;font-weight:800;color:#0f172a;line-height:1}
.tsp-review-best{font-size:16px;color:#94a3b8;font-weight:600}
.tsp-stars{position:relative;display:inline-block;font-size:26px;line-height:1;letter-spacing:2px}
.tsp-stars-bg{color:#e2e8f0}
.tsp-stars-fg{color:#f59e0b;position:absolute;top:0;left:0;overflow:hidden;white-space:nowrap}
.tsp-review-count{font-size:13px;color:#64748b}
.tsp-event-desc,.tsp-article-desc{font-size:14px;color:#475569;line-height:1.6;margin:0 0 12px}
.tsp-article-img{border-radius:10px;margin-bottom:12px;overflow:hidden}
.tsp-article-meta{margin-top:10px;font-size:13px;color:#94a3b8}
.tsp-org-card{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.tsp-org-logo{border-radius:8px}
.tsp-social{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.tsp-social-link{background:#eef2ff;color:#4338ca;text-decoration:none;font-size:13px;font-weight:600;padding:6px 12px;border-radius:20px}
.tsp-crumb-list{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;font-size:13px}
.tsp-crumb-item:not(:last-child)::after{content:"\203A";margin-left:6px;color:#cbd5e1}
.tsp-crumb-item a{color:#3b82f6;text-decoration:none}
.tsp-crumb-item a:hover{text-decoration:underline}
/* Breadcrumb standalone (เหนือ H1 ทุกหน้า) */
.tsp-breadcrumb-wrap{margin:0 0 12px}
.tsp-breadcrumb-wrap .tsp-block-crumb{padding:0;margin:0;background:none;border:none;box-shadow:none}
@media (min-width:760px){.tsp-schema-inner{grid-template-columns:1fr 1fr}.tsp-block-faq,.tsp-block-howto{grid-column:1 / -1}}
/* FAQ accordion (HTML native details/summary) */
.tsp-faq-item>summary.tsp-faq-q{list-style:none;position:relative;padding-right:40px}
.tsp-faq-item>summary.tsp-faq-q::-webkit-details-marker{display:none}
.tsp-faq-item>summary.tsp-faq-q::after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:20px;color:#6366f1;font-weight:700}
.tsp-faq-item[open]>summary.tsp-faq-q{background:#eef2ff;color:#4338ca}
.tsp-faq-item[open]>summary.tsp-faq-q::after{content:"\2212"}
