/* ═══════════════════════════════════════════
   GENERATEPRESS OVERRIDES — PUN168 Dark Theme
═══════════════════════════════════════════ */

/* ── Base body ── */
body {
  background: #0a0a0d !important;
  color: #ffffff !important;
  font-family: 'Noto Sans Thai', sans-serif !important;
}

/* ══════════════════════════════════════════
   HERO GAP FIX
   Original design used position:fixed nav
   that overlapped content — so hero had
   140px top padding to clear it.
   GP sticky header PUSHES content down,
   so we reduce that padding to ~60px.
══════════════════════════════════════════ */
.hero-inner {
  padding-top: 60px !important;
  padding-bottom: 80px !important;
  min-height: calc(100vh - 60px) !important;
}
@media (max-width: 768px) {
  .hero-inner {
    padding-top: 40px !important;
    padding-bottom: 60px !important;
    min-height: calc(100svh - 60px) !important;
  }
}

/* ══════════════════════════════════════════
   HEADER — based on ACTUAL GP HTML output:
   .site-header > .inside-header.grid-container
     > .site-branding-container
       > .site-logo > img.header-image.is-logo-image
       > .site-branding > p.main-title
     > nav.main-navigation
       > .inside-navigation > .main-nav > ul
══════════════════════════════════════════ */

/* ── Outer header ── */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  background: rgba(10,10,13,0.96) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4) !important;
  padding: 0 !important;
}

/* ── Inner header row — .inside-header is the flex container ── */
.site-header .inside-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 6px 32px !important;
  min-height: 60px !important;
  max-width: 100% !important;
  width: 100% !important;
  background: transparent !important;
  /* Override GP's .grid-container max-width */
  max-width: 100% !important;
}

/* ── Branding container: fixed width = same as CTA width → true center nav ── */
.site-branding-container {
  width: 220px !important;
  flex-shrink: 0 !important;
}

/* ── Logo image — actual class is .header-image.is-logo-image ── */
img.header-image.is-logo-image,
.site-logo img {
  max-height: 54px !important;
  height: 54px !important;
  width: auto !important;
  max-width: 180px !important;
  display: block !important;
}

/* ── Hide "PUN168" text — actual element is p.main-title ── */
p.main-title,
.site-branding p.main-title,
.site-branding-container .site-branding,
p.main-title a {
  display: none !important;
}

/* ── Navigation: full flex chain so justify-content:center works ── */
nav.main-navigation#site-navigation {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
}
.main-navigation .inside-navigation {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.main-navigation .main-nav {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

/* ── Nav ul: centered — excludes CTA group from centering calc ── */
.main-navigation .main-nav ul,
#primary-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 2px !important;
  background: transparent !important;
}

/* ── Regular nav links ── */
.main-navigation .main-nav ul li > a {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.72) !important;
  padding: 7px 14px !important;
  border-radius: 100px !important;
  font-family: 'Noto Sans Thai', sans-serif !important;
  transition: color 0.2s ease, background 0.2s ease !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.main-navigation .main-nav ul li > a:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,0.07) !important;
}
.main-navigation .current-menu-item > a {
  color: #6ae570 !important;
  background: rgba(106,229,112,0.08) !important;
}

/* ══════════════════════════════════════════
   HEADER CTA
   PHP outputs this div after </header> (GP hook limitation).
   pun168.js moves it into .inside-header before first paint.
   Hidden until inside the header — prevents flash.
══════════════════════════════════════════ */
.pun168-header-cta {
  display: none !important;   /* hidden when outside header (pre-JS) */
}
.inside-header .pun168-header-cta {
  display: flex !important;   /* shown once JS places it here */
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  width: 220px !important;    /* same as .site-branding-container → nav is truly centered */
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

/* ── Login button: gold gradient pill ── */
.pun168-header-cta a.nav-btn-login {
  display: inline-flex !important;
  align-items: center !important;
  background: linear-gradient(160deg,#ffe57a 0%,#ffb300 50%,#ff8f00 100%) !important;
  border: none !important;
  color: #1a0800 !important;
  padding: 8px 18px !important;
  border-radius: 100px !important;
  font-family: 'Noto Sans Thai', sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: all 0.22s ease !important;
  box-shadow: 0 3px 0 #bf6000, 0 5px 16px rgba(255,179,0,0.40) !important;
}
.pun168-header-cta a.nav-btn-login:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 3px 0 #bf6000, 0 8px 24px rgba(255,179,0,0.60) !important;
  color: #1a0800 !important;
}

/* ── Register button: green pill ── */
.pun168-header-cta a.nav-btn-register {
  display: inline-flex !important;
  align-items: center !important;
  background: linear-gradient(160deg,#8ff594 0%,#4cd452 45%,#28a830 100%) !important;
  color: #021502 !important;
  border: none !important;
  padding: 8px 18px !important;
  border-radius: 100px !important;
  font-family: 'Noto Sans Thai', sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  box-shadow: 0 3px 0 #156b18, 0 5px 16px rgba(62,196,68,0.30) !important;
  transition: all 0.22s ease !important;
}
.pun168-header-cta a.nav-btn-register:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 3px 0 #156b18, 0 8px 24px rgba(62,196,68,0.45) !important;
  color: #021502 !important;
}

/* ── Mobile hamburger ── */
.menu-toggle, button.menu-toggle {
  color: #ffffff !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 8px !important;
  padding: 7px 11px !important;
  transition: all 0.2s ease !important;
}
.menu-toggle:hover {
  border-color: #6ae570 !important;
  color: #6ae570 !important;
  background: rgba(106,229,112,0.08) !important;
}

/* ── Mobile: stack vertically ── */
@media (max-width: 768px) {
  .site-header .inside-header { padding: 8px 16px !important; }
  /* CTA hidden on mobile — use sticky footer CTA instead */
  .pun168-header-cta { display: none !important; }
  .main-navigation .inside-navigation { background: rgba(10,10,13,0.99) !important; }
  .main-navigation .main-nav ul, #primary-menu {
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
  }
  .main-navigation .main-nav ul li a {
    padding: 11px 20px !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  }
}

/* ══════════════════════════════════════════
   CONTENT AREA — Remove all gaps
   NOTE: Only target content wrappers,
   NOT .inside-navigation (breaks nav layout)
══════════════════════════════════════════ */

.site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.entry-header,
.page .entry-header {
  display: none !important;
}
.hentry,
.page-content,
.entry-content,
article.page,
article.post {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important; /* prevent GP's white article background bleeding through */
}
.singular .content-area,
.content-area {
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* Only target page content grid-container, NOT nav ones */
.inside-article,
.site-content .grid-container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Hide GP's built-in footer — we use .pun168-footer instead ── */
.site-footer { display: none !important; }
.inside-site-info { color: rgba(255,255,255,0.36) !important; }

/* ── Hide breadcrumbs & sidebar ── */
.breadcrumb-trail,
.widget-area { display: none !important; }

/* GP Nav links */
.main-navigation a,
.main-navigation .menu-item a {
  color: rgba(255,255,255,0.75) !important;
  font-family: 'Noto Sans Thai', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  transition: color 0.2s ease !important;
}
.main-navigation a:hover,
.main-navigation .menu-item a:hover {
  color: #6ae570 !important;
}
.main-navigation .current-menu-item > a {
  color: #6ae570 !important;
}

/* GP Site title / logo */
.site-title a,
.site-title {
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 800 !important;
  font-size: 22px !important;
  letter-spacing: -0.5px !important;
}
.site-title a span {
  color: #6ae570 !important;
}

/* GP Content area */
.site-content,
.content-area,
.entry-content,
.page-content {
  background: transparent !important;
  color: rgba(255,255,255,0.75) !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* GP Footer */
.site-footer {
  background: #07070a !important;
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  color: rgba(255,255,255,0.36) !important;
  font-size: 12px !important;
  padding: 24px 40px !important;
}
.site-footer a { color: rgba(255,255,255,0.50) !important; }
.site-footer a:hover { color: #6ae570 !important; }

/* GP container — full width for casino sections */
.container,
.grid-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Remove GP sidebar */
.widget-area { display: none !important; }

/* GP mobile menu toggle */
.menu-toggle {
  color: #ffffff !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
}
.menu-toggle:hover {
  border-color: #6ae570 !important;
  color: #6ae570 !important;
}

/* GP mobile nav */
@media (max-width: 768px) {
  .main-navigation .main-nav ul {
    background: rgba(10,10,13,0.98) !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
  }
}

/* Body padding for fixed GP header */
body {
  padding-top: 0 !important;
}

/* Hide GP breadcrumbs */
.breadcrumb-trail { display: none !important; }

/* ═══════════════════════════════════════════
   FULL PUN168 CASINO CSS
═══════════════════════════════════════════ */

    /* ══════════════════════════════════════════════════
       ROOT & TOKENS
    ══════════════════════════════════════════════════ */
    :root {
      --green:       #6ae570;
      --green-dk:    #3ec444;
      --green-deep:  #1a8c20;
      --green-glow:  rgba(106,229,112,0.18);
      --purple:      #8B44E8;
      --purple-lt:   #b070f8;
      --purple-dk:   #5a18c0;
      --gold:        #F5C518;
      --gold-lt:     #ffe169;
      --gold-dk:     #c49a08;

      --bg:          #0a0a0d;
      --bg-raised:   #111115;
      --bg-card:     #16161b;

      --t-head:      #ffffff;
      --t-body:      rgba(255,255,255,0.68);
      --t-muted:     rgba(255,255,255,0.36);
      --t-dim:       rgba(255,255,255,0.20);

      --border:      rgba(255,255,255,0.08);
      --border-md:   rgba(255,255,255,0.13);

      --font-th:  'Noto Sans Thai', sans-serif;
      --font-en:  'Inter', sans-serif;
      --ease:     cubic-bezier(0.25, 0.1, 0.25, 1);
      --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-th);
      background: var(--bg);
      color: var(--t-head);
      overflow-x: hidden;
    }
    img { max-width: 100%; display: block; }
    a   { text-decoration: none; color: inherit; }

    /* ══════════════════════════════════════════════════
       LAYOUT UTILITIES
    ══════════════════════════════════════════════════ */
    .wrap    { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
    .wrap-sm { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
    @media (max-width: 768px) { .wrap, .wrap-sm { padding: 0 20px; } }

    /* ══════════════════════════════════════════════════
       TYPOGRAPHY — tightened scale
    ══════════════════════════════════════════════════ */
    .ch-label {
      display: inline-flex; align-items: center; gap: 10px;
      font-size: 10px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
      color: var(--green); font-family: var(--font-en);
    }
    .ch-label::before {
      content: ''; display: block;
      width: 28px; height: 1.5px; background: currentColor; flex-shrink: 0;
    }
    .ch-label.purple { color: var(--purple-lt); }
    .ch-label.gold   { color: var(--gold); }
    .ch-label.muted  { color: var(--t-muted); }

    /* ↓ Reduced from clamp(42,6vw,80px) */
    .ch-title {
      font-size: clamp(30px, 3.8vw, 54px);
      font-weight: 800; line-height: 1.08;
      letter-spacing: -0.04em;
      color: var(--t-head);
    }
    .ch-title .hi-green  { color: var(--green); }
    .ch-title .hi-purple { color: var(--purple-lt); }
    .ch-title .hi-gold   { color: var(--gold); }
    .ch-title .hi-dim    { color: var(--t-muted); }

    /* ↓ Reduced from clamp(28,3.5vw,48px) */
    .ch-title-md {
      font-size: clamp(22px, 2.8vw, 38px);
      font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
      color: var(--t-head);
    }

    .ch-sub {
      font-size: 15px; line-height: 1.85;
      color: var(--t-body); max-width: 480px;
    }
    .ch-sub-sm {
      font-size: 13px; line-height: 1.75;
      color: var(--t-muted); max-width: 420px;
    }

    /* ══════════════════════════════════════════════════
       BUTTONS — More fun, game-like with depth & effects
    ══════════════════════════════════════════════════ */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 8px;
      font-family: var(--font-th); font-size: 13px; font-weight: 700;
      padding: 13px 28px; border-radius: 100px; border: none; cursor: pointer;
      transition: all 0.22s var(--ease);
      position: relative; overflow: hidden;
      text-decoration: none;
    }

    /* ── Purple primary: gradient + shimmer + 3D shadow ── */
    .btn-green {
      background: linear-gradient(160deg, #c084fc 0%, #8B44E8 45%, #6d28d9 100%);
      color: #fff;
      box-shadow:
        0 4px 0 #4c1d95,
        0 6px 20px rgba(139,68,232,0.38),
        inset 0 1px 0 rgba(255,255,255,0.22);
      letter-spacing: 0.2px;
    }
    /* Shimmer sweep */
    .btn-green::before {
      content: '';
      position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
      transform: skewX(-20deg);
      transition: left 0.65s ease;
    }
    .btn-green:hover {
      background: linear-gradient(160deg, #d09ffd 0%, #9b59f5 45%, #7c3aed 100%);
      box-shadow:
        0 4px 0 #4c1d95,
        0 10px 28px rgba(139,68,232,0.52),
        inset 0 1px 0 rgba(255,255,255,0.28);
      transform: translateY(-2px);
    }
    .btn-green:hover::before { left: 150%; }
    .btn-green:active {
      transform: translateY(2px);
      box-shadow: 0 1px 0 #4c1d95, 0 4px 12px rgba(139,68,232,0.28), inset 0 1px 0 rgba(255,255,255,0.15);
    }

    /* ── Ghost: animated border glow ── */
    .btn-ghost {
      background: rgba(255,255,255,0.04);
      border: 1.5px solid var(--border-md);
      color: var(--t-body);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    }
    .btn-ghost:hover {
      border-color: rgba(255,255,255,0.30);
      color: var(--t-head);
      background: rgba(255,255,255,0.07);
      box-shadow: 0 0 20px rgba(255,255,255,0.06), inset 0 1px 0 rgba(255,255,255,0.08);
      transform: translateY(-2px);
    }

    /* ── Outline purple: glow border ── */
    .btn-outline-green {
      background: rgba(139,68,232,0.06);
      border: 1.5px solid rgba(139,68,232,0.38);
      color: var(--purple);
      box-shadow: 0 0 0 0 rgba(139,68,232,0);
    }
    .btn-outline-green:hover {
      background: rgba(139,68,232,0.13);
      border-color: var(--purple-lt);
      box-shadow: 0 0 18px rgba(139,68,232,0.28), inset 0 0 12px rgba(139,68,232,0.07);
      transform: translateY(-2px);
    }

    .btn-icon { font-size: 15px; line-height: 1; }
    .btn-lg { padding: 16px 40px; font-size: 14px; }

    /* ── Purple accent button (was gold) ── */
    .btn-gold {
      background: linear-gradient(160deg, #c084fc 0%, #8B44E8 50%, #6d28d9 100%);
      color: #fff;
      box-shadow:
        0 4px 0 #4c1d95,
        0 6px 20px rgba(139,68,232,0.38),
        inset 0 1px 0 rgba(255,255,255,0.22);
      font-weight: 800;
    }
    .btn-gold:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 0 #4c1d95, 0 10px 28px rgba(139,68,232,0.52), inset 0 1px 0 rgba(255,255,255,0.28);
    }
    .btn-gold:active { transform: translateY(2px); box-shadow: 0 1px 0 #4c1d95, 0 4px 10px rgba(139,68,232,0.22); }

    /* ══════════════════════════════════════════════════
       NAV
    ══════════════════════════════════════════════════ */
    .site-nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      padding: 20px 40px;
      display: flex; align-items: center; justify-content: space-between;
      transition: all 0.4s var(--ease);
    }
    .site-nav.scrolled {
      background: rgba(10,10,13,0.90);
      backdrop-filter: blur(20px);
      padding: 14px 40px;
      border-bottom: 1px solid var(--border);
      box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    }
    @media (max-width: 768px) { .site-nav { padding: 16px 20px; } .site-nav.scrolled { padding: 12px 20px; } }
    .nav-logo {
      font-size: 20px; font-weight: 800; letter-spacing: -0.03em;
      font-family: var(--font-en); position: relative; z-index: 1;
    }
    .nav-logo .hi { color: var(--green); }
    .nav-logo small {
      font-size: 9px; color: var(--t-muted); font-weight: 400;
      letter-spacing: 2px; display: block; margin-top: -2px; font-family: var(--font-en);
    }
    .nav-links {
      display: flex; align-items: center; gap: 4px;
      position: absolute; left: 50%; transform: translateX(-50%);
    }
    @media (max-width: 900px) { .nav-links { display: none; } }
    .nav-links a {
      font-size: 13px; font-weight: 500; color: var(--t-body);
      padding: 6px 14px; border-radius: 100px;
      transition: color 0.2s, background 0.2s;
    }
    .nav-links a:hover { color: var(--t-head); background: rgba(255,255,255,0.06); }
    .nav-cta { display: flex; align-items: center; gap: 10px; }
    .nav-cta .btn { padding: 9px 20px; font-size: 12px; border-radius: 100px; }

    /* ══════════════════════════════════════════════════
       HERO — Full-viewport cinematic background
       Character image fills right side of background
    ══════════════════════════════════════════════════ */
    .hero {
      min-height: 100vh;
      position: relative; overflow: hidden;
      display: flex; align-items: center;
    }

    /*
      HERO BACKGROUND
      ───────────────
      In WordPress, the ACF hero_image field sets this element's
      background-image via inline style:
        style="background-image: url('your-photo.jpg')"

      The photo should be wide (1920×1080+) with the character/model
      positioned on the RIGHT side of the frame.
      background-size: cover + background-position: right center
      will keep the character visible on the right while the left
      side is darkened by .hero-overlay for text readability.

      The gradients below are the fallback when no image is set.
    */
    .hero-bg {
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 65% 80% at 82% 55%, rgba(139,68,232,0.50) 0%, transparent 55%),
        radial-gradient(ellipse 45% 60% at 96% 85%, rgba(106,229,112,0.22) 0%, transparent 50%),
        radial-gradient(ellipse 35% 35% at 72% 8%,  rgba(245,197,24,0.12) 0%, transparent 48%),
        linear-gradient(155deg, #07070b 0%, #100a1e 55%, #080f08 100%);
      background-size: cover;
      background-position: right center;
    }

    /* Gradient overlay: dark-left (text readable), opens up on right (character shows) */
    .hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(
        to right,
        rgba(7,7,11,0.97) 0%,
        rgba(7,7,11,0.90) 30%,
        rgba(7,7,11,0.65) 52%,
        rgba(7,7,11,0.20) 72%,
        rgba(7,7,11,0.04) 100%
      );
    }

    /* Grain texture for cinematic feel */
    .hero-grain {
      position: absolute; inset: 0; pointer-events: none; z-index: 1;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 200px 200px; opacity: 0.03;
    }

    /* Ground glow beneath character (right side of bg image) */
    .hero-ground-glow {
      position: absolute; bottom: -40px; right: 5%; width: 42%; height: 200px;
      background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(139,68,232,0.25) 0%, transparent 65%);
      filter: blur(30px); z-index: 1; pointer-events: none;
    }

    /* Text content */
    .hero-inner {
      position: relative; z-index: 2;
      width: 100%; max-width: 1280px; margin: 0 auto;
      padding: 140px 40px 80px;
      min-height: 100vh;
      display: flex; align-items: center;
    }
    @media (max-width: 768px) { .hero-inner { padding: 120px 20px 60px; min-height: 100svh; } }
    .hero-text { max-width: 700px; display: flex; flex-direction: column; gap: 0; }

    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
      color: var(--t-muted); margin-bottom: 22px; font-family: var(--font-en);
    }
    .hero-eyebrow .dot {
      width: 6px; height: 6px; border-radius: 50%; background: var(--green);
      animation: pulse 2.2s ease-in-out infinite;
    }
    @keyframes pulse {
      0%,100% { box-shadow: 0 0 0 0 rgba(106,229,112,0.5); }
      50%      { box-shadow: 0 0 0 8px rgba(106,229,112,0); }
    }

    /* Hero H1 — systematic scale: mobile → tablet → desktop */
    .hero-h1 {
      font-size: clamp(38px, 5.5vw, 72px);
      font-weight: 800; line-height: 1.05; letter-spacing: -0.04em;
      margin-bottom: 24px;
    }
    /* iPad portrait (768–900px): bump up from clamp minimum */
    @media (min-width: 768px) and (max-width: 900px) {
      .hero-h1 { font-size: clamp(46px, 6vw, 56px); }
      .ch-title { font-size: clamp(36px, 5vw, 46px); }
      .ch-title-md { font-size: clamp(28px, 3.8vw, 36px); }
    }
    /* iPad landscape / small desktop (901–1100px) */
    @media (min-width: 901px) and (max-width: 1100px) {
      .hero-h1 { font-size: clamp(50px, 5.8vw, 64px); }
      .ch-title { font-size: clamp(38px, 4.5vw, 50px); }
      .ch-title-md { font-size: clamp(30px, 3.5vw, 40px); }
    }
    /* Line 1 — big, bold, brand statement */
    .hero-h1 .line-green  {
      display: block; color: var(--green);
      text-shadow: 0 0 36px rgba(106,229,112,0.32);
    }
    /* Line 2 — smaller, thinner: SEO keyword line */
    .hero-h1 .line-white  {
      display: block; color: var(--t-head);
      font-size: 0.64em; font-weight: 500;
      letter-spacing: -0.02em; line-height: 1.15;
    }
    /* Line 3 — slightly smaller still, thinner: USP line */
    .hero-h1 .line-gold   {
      display: block; color: var(--gold);
      font-size: 0.58em; font-weight: 500;
      letter-spacing: -0.01em; line-height: 1.2;
      text-shadow: 0 0 28px rgba(245,197,24,0.22);
    }
    .hero-h1 .line-muted  { display: block; color: var(--t-muted); font-weight: 300; font-size: 0.62em; letter-spacing: -0.01em; }

    .hero-body {
      font-size: 15px; line-height: 1.85; color: var(--t-body);
      margin-bottom: 32px; max-width: 600px;
    }
    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

    .hero-stats {
      display: flex; gap: 0;
      border-top: 1px solid var(--border);
      padding-top: 24px;
    }
    .hstat { flex: 1; padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--border); }
    .hstat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
    .hstat-num { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--t-head); font-family: var(--font-en); }
    .hstat-lbl { font-size: 11px; color: var(--t-muted); margin-top: 5px; }

    /* Floating bonus badge — sits over the character on the right */
    .hero-badge {
      position: absolute;
      bottom: 56px;
      right: 10%;
      background: rgba(10,10,13,0.82);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(245,197,24,0.30);
      border-radius: 18px; padding: 16px 22px;
      display: flex; align-items: center; gap: 14px;
      z-index: 3;
      box-shadow:
        0 8px 32px rgba(0,0,0,0.5),
        0 0 0 1px rgba(245,197,24,0.10),
        inset 0 1px 0 rgba(255,255,255,0.06);
      animation: badgefloat 4s ease-in-out infinite;
    }
    @keyframes badgefloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
    @media (max-width: 900px) {
      .hero-badge { right: 16px; bottom: 100px; }
    }
    .hbadge-icon { font-size: 24px; line-height: 1; }
    .hbadge-title { font-size: 13px; font-weight: 800; color: var(--gold); }
    .hbadge-sub { font-size: 11px; color: var(--t-muted); margin-top: 2px; }

    /* ══════════════════════════════════════════════════
       MARQUEE TICKER
    ══════════════════════════════════════════════════ */
    .marquee-strip {
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 16px 0; overflow: hidden;
      background: #0d0d11; /* solid dark — never bleeds white from GP wrappers */
    }
    .marquee-track {
      display: flex; gap: 48px; width: max-content;
      animation: marquee 28s linear infinite;
    }
    @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
    .marquee-item {
      display: flex; align-items: center; gap: 14px;
      font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
      color: var(--t-muted); white-space: nowrap; font-family: var(--font-en);
    }
    .marquee-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
    .marquee-item .dot-purple { background: var(--purple-lt); }
    .marquee-item .dot-gold   { background: var(--gold); }

    /* ══════════════════════════════════════════════════
       SECTION BASE
    ══════════════════════════════════════════════════ */
    .section { padding: 120px 0; }
    .section-lg { padding: 140px 0; }
    @media (max-width: 768px) { .section, .section-lg { padding: 72px 0; } }

    /* ══════════════════════════════════════════════════
       CASINO SECTION  — cinematic featured + game-type cards
    ══════════════════════════════════════════════════ */
    .casino-section {
      background:
        radial-gradient(ellipse 55% 70% at 100% 50%, rgba(62,196,68,0.11) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 0%   0%, rgba(106,229,112,0.05) 0%, transparent 50%),
        var(--bg);
      border-top: 1px solid var(--border);
    }
    .gamesec-head {
      display: flex; align-items: flex-end; justify-content: space-between;
      gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
    }
    .gamesec-head .ch-label { margin-bottom: 12px; }
    .gamesec-head .ch-title { margin: 0 0 8px; }
    .gamesec-head .ch-sub   { margin: 0; max-width: 520px; }
    /* ── Casino game grid — 3 columns, simple image cards ── */
    .casino-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    @media (max-width: 700px) { .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

    .casino-card {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      aspect-ratio: 4/3;
      background: #0b1a0c;
      cursor: pointer;
      border: 1px solid rgba(106,229,112,0.12);
      transition: transform 0.28s ease, border-color 0.28s, box-shadow 0.28s;
    }
    .casino-card:hover {
      transform: translateY(-4px);
      border-color: rgba(106,229,112,0.38);
      box-shadow: 0 20px 48px rgba(0,0,0,0.55), 0 0 24px rgba(106,229,112,0.1);
    }
    .casino-card img {
      width: 100%; height: 100%;
      object-fit: cover; display: block;
    }
    .casino-card-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.05) 55%);
      display: flex; flex-direction: column; justify-content: flex-end;
      padding: 14px 16px;
    }
    .casino-card-name {
      font-size: 15px; font-weight: 800;
      color: #fff; font-family: var(--font-th); line-height: 1.2;
    }
    .casino-card-sub {
      font-size: 10px; color: rgba(255,255,255,0.48);
      font-family: var(--font-en); margin-top: 2px; letter-spacing: 0.04em;
    }
    .casino-providers { display: flex; align-items: center; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
    .casino-providers-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--t-muted); font-family: var(--font-en); padding-right: 6px; }
    .cprov-chip { font-size: 11px; font-weight: 700; font-family: var(--font-en); border-radius: 6px; padding: 4px 12px; letter-spacing: 0.04em; transition: opacity 0.2s, transform 0.2s; border: none; color: #fff; }
    .cprov-chip:hover { opacity: 0.85; transform: translateY(-1px); }
    /* ── Branded chip colors ── */
    .cprov-chip:nth-child(2)  { background: linear-gradient(135deg, #b8860b, #7a5c00); }  /* SA Gaming — gold */
    .cprov-chip:nth-child(3)  { background: linear-gradient(135deg, #c62828, #7f0000); }  /* Sexy Baccarat — red */
    .cprov-chip:nth-child(4)  { background: linear-gradient(135deg, #1565c0, #0d47a1); }  /* Evolution — blue */
    .cprov-chip:nth-child(5)  { background: linear-gradient(135deg, #283593, #1a237e); }  /* WM Casino — navy */
    .cprov-chip:nth-child(6)  { background: linear-gradient(135deg, #6a1b9a, #4a148c); }  /* DG Casino — purple */
    .cprov-chip:nth-child(7)  { background: linear-gradient(135deg, #00695c, #004d40); }  /* AG Casino — teal */
    .cprov-more { font-size: 11px; color: var(--t-muted); font-family: var(--font-en); }
    .cprov-more { font-size: 11px; color: var(--t-muted); font-family: var(--font-en); }

    /* ══════════════════════════════════════════════════
       SLOTS SECTION  — Full-width featured card slider
       Cards bleed to the right edge of the screen.
       Left edge aligns with .wrap page content.
    ══════════════════════════════════════════════════ */
    .slots-section {
      background:
        radial-gradient(ellipse 70% 65% at 5%  45%, rgba(139,68,232,0.22) 0%, transparent 58%),
        radial-gradient(ellipse 50% 50% at 95% 85%, rgba(62,196,68,0.07) 0%, transparent 52%),
        #0d0d11;
      border-top: 1px solid var(--border);
      overflow: hidden;      /* clips slides going past right edge */
      padding-bottom: 80px;
    }

    /* ── Full-width slider strip ──────────────────────────
       Direct child of section (NOT inside .wrap), so it can
       extend to the right screen edge.
       Left padding mirrors the .wrap content edge.              */
    .slots-fw-strip {
      margin-top: 44px;
      /* Align left edge with .wrap: (viewport - 1280) / 2 + 40px */
      padding-left: max(20px, calc((100vw - 1280px) / 2 + 40px));
    }
    @media (max-width: 768px) {
      .slots-fw-strip { padding-left: 20px; }
    }

    /* Sliding track — flex row */
    .slots-fw-track {
      display: flex;
      gap: 20px;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ── Individual slide ─────────────────────────────────
       Sized so 1 full card is visible + exactly ~30% of the next.
       Formula: card = (available_width - gap) / 1.3
       available = 100vw - left_padding
       Verified: 30% peek at 375px / 768px / 1280px / 1440px      */
    .slots-slide {
      flex-shrink: 0;
      /* portrait cards: show ~3.8 on desktop, ~2.2 on mobile */
      width: calc((100vw - max(20px, calc((100vw - 1280px) / 2 + 40px)) - 16px) / 3.8);
      min-width: 160px;
      max-width: 300px;
      position: relative;
      cursor: pointer;
    }
    @media (max-width: 768px) {
      .slots-slide { width: calc((100vw - 20px - 16px) / 2.2); max-width: 220px; }
    }
    @media (max-width: 480px) {
      .slots-slide { width: calc((100vw - 20px - 16px) / 1.6); max-width: 240px; }
    }

    /* ── Card shell ─────────────────────────────────────── */
    .slots-card {
      border-radius: 24px;
      overflow: hidden;
      aspect-ratio: 2/3;
      position: relative;
      background: #111118;
      border: 1px solid rgba(139,68,232,0.18);
      box-shadow: 0 20px 60px rgba(0,0,0,0.55);
      transition: transform 0.35s ease, box-shadow 0.35s, border-color 0.35s;
    }
    .slots-slide:hover .slots-card {
      transform: translateY(-4px);
      border-color: rgba(139,68,232,0.4);
      box-shadow: 0 32px 80px rgba(0,0,0,0.65), 0 0 32px rgba(139,68,232,0.18);
    }
    /* Background scene image
       WordPress: ACF Image "slide_bg_image"
       Upload portrait screenshot from provider: ~430×932 px (9:19 phone-screen ratio)
       PG Soft official images work perfectly at this format.            */
    .slots-card-bg {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover; object-position: center;
    }

    /* Gradient: darkens bottom half for text readability — CSS only */
    .slots-card-overlay {
      position: absolute; inset: 0;
      background:
        linear-gradient(to top,
          rgba(4,4,12,0.97) 0%,
          rgba(4,4,12,0.80) 22%,
          rgba(4,4,12,0.30) 45%,
          rgba(4,4,12,0.0)  65%);
      z-index: 1;
    }

    /* HOT / TOP / NEW badge — top-left
       WordPress: ACF Select "slide_badge" → HOT / TOP / NEW / (none) */
    .slots-badge {
      position: absolute; top: 16px; left: 16px; z-index: 3;
      font-size: 9px; font-weight: 800; letter-spacing: 2px;
      text-transform: uppercase; font-family: var(--font-en);
      padding: 4px 10px; border-radius: 6px;
    }
    /* ── HOT: pulsing fire glow ── */
    .slots-badge.hot {
      background: rgba(255,80,80,0.22);
      color: #ff8080;
      border: 1px solid rgba(255,80,80,0.3);
      animation: badge-hot-pulse 1.6s ease-in-out infinite;
      text-shadow: 0 0 8px rgba(255,100,50,0.8);
    }
    @keyframes badge-hot-pulse {
      0%,100% { box-shadow: 0 0 0 0 rgba(255,80,80,0); background: rgba(255,80,80,0.22); }
      50%      { box-shadow: 0 0 10px 3px rgba(255,80,80,0.45); background: rgba(255,80,80,0.36); }
    }

    /* ── TOP: shimmering gold glow ── */
    .slots-badge.top {
      background: rgba(245,197,24,0.18);
      color: #f5c518;
      border: 1px solid rgba(245,197,24,0.28);
      animation: badge-top-shimmer 2.2s ease-in-out infinite;
      text-shadow: 0 0 8px rgba(245,197,24,0.7);
    }
    @keyframes badge-top-shimmer {
      0%,100% { box-shadow: 0 0 0 0 rgba(245,197,24,0); }
      50%      { box-shadow: 0 0 10px 3px rgba(245,197,24,0.40); background: rgba(245,197,24,0.30); }
    }

    /* ── NEW: sparkling green bounce ── */
    .slots-badge.new {
      background: rgba(62,196,68,0.16);
      color: #6ae570;
      border: 1px solid rgba(106,229,112,0.28);
      animation: badge-new-bounce 1.8s ease-in-out infinite;
      text-shadow: 0 0 8px rgba(106,229,112,0.75);
    }
    @keyframes badge-new-bounce {
      0%,100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(106,229,112,0); }
      40%      { transform: scale(1.12); box-shadow: 0 0 10px 3px rgba(106,229,112,0.40); }
      60%      { transform: scale(0.96); }
    }

    /* Provider pill — top-right
       WordPress: ACF Text "slide_provider" e.g. "PG Soft"  */
    .slots-provider {
      position: absolute; top: 14px; right: 14px; z-index: 3;
      background: #ffffff;
      border-radius: 100px; padding: 5px 12px;
      font-size: 9px; font-weight: 900; letter-spacing: 0.12em;
      color: #0d0d11; font-family: var(--font-en);
      text-transform: uppercase;
      box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }

    /* ── Content block — bottom of portrait card ──────────
       Full width — no mascot to clear.
       WordPress fields:
         slide_provider → .slots-lbl
         slide_title    → .slots-title
         slide_desc     → .slots-desc  (2 lines max)
         slide_url      → .slots-cta href                   */
    .slots-content {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      z-index: 4;
      padding: 0 14px 18px 14px;
      text-align: left;
    }
    .slots-lbl {
      font-size: 9px; font-weight: 700; letter-spacing: 2px;
      text-transform: uppercase; color: var(--purple-lt);
      font-family: var(--font-en); margin-bottom: 4px;
    }
    .slots-title {
      font-size: clamp(0.88rem, 1.8vw, 1.05rem);
      font-weight: 800; color: #fff;
      font-family: var(--font-en); line-height: 1.2; margin-bottom: 6px;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .slots-desc {
      font-size: 0.72rem;
      color: rgba(255,255,255,0.65); font-family: var(--font-th);
      line-height: 1.4; margin-bottom: 10px;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .slots-cta {
      display: block; text-align: center;
      background: var(--purple-lt); color: #fff;
      font-size: 0.78rem; font-weight: 800;
      padding: 8px 10px; border-radius: 8px;
      font-family: var(--font-th);
      box-shadow: 0 3px 0 #5a20b0, 0 5px 14px rgba(139,68,232,0.4);
      transition: filter 0.2s, transform 0.15s, box-shadow 0.15s;
    }
    .slots-cta:hover { filter: brightness(1.12); }
    .slots-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 #5a20b0; }

    /* ══════════════════════════════════════════════════════
       PROVIDER BRAND COLORS
       Add class to .slots-slide: provider-pg / provider-pragmatic
                                  provider-joker / provider-netent
       CTA button + label tint changes per brand.
       Default (no class) = purple.
    ══════════════════════════════════════════════════════ */

    /* All providers — Purple CTA (unified per user request) */
    .provider-pragmatic .slots-cta,
    .provider-joker .slots-cta,
    .provider-netent .slots-cta {
      background: linear-gradient(160deg, #c084fc 0%, #8B44E8 55%, #6d28d9 100%);
      box-shadow: 0 3px 0 #4c1d95, 0 5px 14px rgba(139,68,232,0.45);
    }
    .provider-pragmatic .slots-cta:active,
    .provider-joker .slots-cta:active,
    .provider-netent .slots-cta:active { box-shadow: 0 1px 0 #4c1d95; }
    /* Keep provider label tints for brand identity */
    .provider-pragmatic .slots-lbl { color: #ff6080; }
    .provider-joker .slots-lbl { color: #70b0ff; }
    .provider-netent .slots-lbl { color: #4dd9c0; }

    /* ── Navigation row ── */
    .slots-nav-row {
      display: flex; align-items: center; gap: 12px;
      margin-top: 24px;
      padding-left: max(20px, calc((100vw - 1280px) / 2 + 40px));
    }
    @media (max-width: 768px) { .slots-nav-row { padding-left: 20px; } }

    .slots-arr {
      width: 44px; height: 44px; border-radius: 50%;
      border: 1px solid rgba(176,112,248,0.3);
      background: rgba(139,68,232,0.12);
      color: var(--purple-lt); font-size: 16px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s, border-color 0.2s, transform 0.15s;
      flex-shrink: 0;
    }
    .slots-arr:hover { background: rgba(139,68,232,0.28); border-color: rgba(176,112,248,0.6); transform: scale(1.08); }
    .slots-arr:disabled { opacity: 0.3; cursor: default; transform: none; }

    .slots-dots { display: flex; gap: 6px; align-items: center; }
    .sdot {
      width: 7px; height: 7px; border-radius: 50%;
      background: rgba(176,112,248,0.25); cursor: pointer;
      transition: all 0.25s; border: none; padding: 0;
    }
    .sdot.active { background: var(--purple-lt); width: 22px; border-radius: 4px; }

        /* ══════════════════════════════════════════════════
       ABOUT / STATS — Framer AI animated gradient blobs
       ABOUT / STATS — Framer AI animated gradient blobs
    ══════════════════════════════════════════════════ */
    .about-section {
      position: relative;
      background: #0b2e0e;
      padding: 120px 0;
      overflow: hidden;
      border-top: 1px solid rgba(106,229,112,0.18);
      border-bottom: 1px solid rgba(106,229,112,0.18);
    }
    @media (max-width: 768px) { .about-section { padding: 80px 0; } }

    /* Animated blobs */
    .about-blobs { position: absolute; inset: -60px; pointer-events: none; z-index: 0; }
    .blob { position: absolute; border-radius: 50%; filter: blur(55px); }
    .blob-1 {
      width: 640px; height: 520px; opacity: 0.55;
      background: radial-gradient(circle, rgba(140,255,140,0.90) 0%, rgba(80,220,80,0.30) 55%, transparent 100%);
      top: -100px; left: -120px;
      animation: blobA 5s ease-in-out infinite alternate;
    }
    .blob-2 {
      width: 680px; height: 580px; opacity: 0.68;
      background: radial-gradient(circle, rgba(139,68,232,0.82) 0%, rgba(100,40,200,0.28) 55%, transparent 100%);
      top: 30%; right: -160px;
      animation: blobB 7s ease-in-out infinite alternate;
    }
    .blob-3 {
      width: 480px; height: 400px; opacity: 0.58;
      background: radial-gradient(circle, rgba(245,197,24,0.72) 0%, rgba(245,197,24,0.20) 55%, transparent 100%);
      bottom: -60px; left: 38%;
      animation: blobC 4s ease-in-out infinite alternate;
    }
    .blob-4 {
      width: 380px; height: 340px; opacity: 0.50;
      background: radial-gradient(circle, rgba(176,112,248,0.70) 0%, transparent 70%);
      top: 15%; left: 40%;
      animation: blobD 19s ease-in-out infinite alternate;
    }
    @keyframes blobA { 0%{transform:translate(0,0) scale(1)}   100%{transform:translate(160px,120px) scale(1.22)} }
    @keyframes blobB { 0%{transform:translate(0,0) scale(1)}   100%{transform:translate(-150px,100px) scale(1.18)} }
    @keyframes blobC { 0%{transform:translate(0,0) scale(1)}   100%{transform:translate(-100px,-90px) scale(1.25)} }
    @keyframes blobD { 0%{transform:translate(0,0) scale(1); opacity:0.50} 100%{transform:translate(100px,-110px) scale(0.80); opacity:0.72} }

    /* Light vignette overlay — keep blobs visible but text readable */
    .about-overlay {
      position: absolute; inset: 0; z-index: 1; pointer-events: none;
      background: radial-gradient(ellipse 100% 100% at 50% 50%, rgba(7,26,9,0.05) 0%, rgba(7,26,9,0.30) 100%);
    }
    /* Grain on top */
    .about-noise {
      position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.045;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      background-size: 180px 180px;
    }
    /* Content above blobs */
    .about-section .wrap { position: relative; z-index: 3; }

    /* Text: white on dark blob bg */
    .about-section .ch-label   { color: var(--green); }
    .about-section .ch-label::before { background: var(--green); }
    .about-section .ch-title   { color: var(--t-head); }

    /* ── New layout: content left | image right | stats strip below ── */
    .about-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 72px;
      align-items: center;
      margin-bottom: 72px;
    }
    @media (max-width: 900px) {
      .about-layout { grid-template-columns: 1fr; gap: 48px; margin-bottom: 48px; }
      .about-img-wrap { order: -1; max-height: 340px; } /* image goes on top on mobile */
    }

    /* Image column */
    .about-img-wrap {
      position: relative;
      border-radius: 24px;
      overflow: hidden;
      aspect-ratio: 4/5;
      box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(106,229,112,0.12);
    }
    .about-img-wrap img {
      width: 100%; height: 100%; object-fit: cover; display: block;
    }
    /* Placeholder shown when no real image is set */
    .about-img-placeholder {
      width: 100%; height: 100%;
      background:
        radial-gradient(ellipse 70% 60% at 50% 30%, rgba(106,229,112,0.18) 0%, transparent 60%),
        linear-gradient(160deg, #0d2a10 0%, #071209 100%);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 16px; color: rgba(106,229,112,0.5);
    }
    .about-img-placeholder svg { opacity: 0.4; }
    .about-img-placeholder span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
    /* Fade bottom of image into section bg */
    .about-img-wrap::after {
      content: '';
      position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
      background: linear-gradient(to top, #0b2e0e 0%, transparent 100%);
      pointer-events: none;
    }

    /* Stats strip — full-width horizontal row below the two columns */
    .about-stats-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 0 0 1px rgba(106,229,112,0.14), 0 20px 60px rgba(0,0,0,0.45);
    }
    @media (max-width: 680px) { .about-stats-strip { grid-template-columns: repeat(2, 1fr); } }
    .astat {
      background: rgba(0,0,0,0.32);
      backdrop-filter: blur(24px);
      padding: 36px 28px;
      text-align: center;
      border-right: 1px solid rgba(106,229,112,0.10);
      transition: background 0.22s;
    }
    .astat:last-child { border-right: none; }
    .astat:hover { background: rgba(0,0,0,0.48); }
    .astat-num {
      font-size: 44px; font-weight: 800; line-height: 1;
      letter-spacing: -0.04em; font-family: var(--font-en);
    }
    .astat-num.green  { color: var(--green);     text-shadow: 0 0 24px rgba(106,229,112,0.40); }
    .astat-num.purple { color: var(--purple-lt); text-shadow: 0 0 24px rgba(176,112,248,0.40); }
    .astat-num.gold   { color: var(--gold);      text-shadow: 0 0 24px rgba(245,197,24,0.40); }
    .astat-lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.5px; color: var(--t-muted); margin-top: 10px; text-transform: uppercase; font-family: var(--font-en); }
    .astat-sub { font-size: 12px; color: var(--t-muted); margin-top: 4px; }

    .about-text-body { font-size: 16px; line-height: 1.85; color: var(--t-body); margin-bottom: 28px; }
    .about-feats { display: flex; flex-direction: column; gap: 16px; }
    .about-feat-item { display: flex; align-items: center; gap: 16px; font-size: 15px; color: var(--t-body); font-weight: 500; line-height: 1.4; }
    .feat-icon {
      flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      margin-top: 0;
    }
    .feat-icon svg { display: block; }
    .feat-icon-gold   { background: rgba(245,197,24,0.14);  box-shadow: inset 0 0 0 1px rgba(245,197,24,0.22); }
    .feat-icon-green  { background: rgba(106,229,112,0.12); box-shadow: inset 0 0 0 1px rgba(106,229,112,0.22); }
    .feat-icon-purple { background: rgba(139,68,232,0.14);  box-shadow: inset 0 0 0 1px rgba(139,68,232,0.22); }
    .feat-icon-blue   { background: rgba(80,160,255,0.13);  box-shadow: inset 0 0 0 1px rgba(80,160,255,0.22); }
    .feat-icon-teal   { background: rgba(64,220,190,0.13);  box-shadow: inset 0 0 0 1px rgba(64,220,190,0.22); }
    /* legacy, keep for any remnant uses */
    .feat-check {
      flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
      background: rgba(106,229,112,0.15); border: 1.5px solid rgba(106,229,112,0.40);
      display: flex; align-items: center; justify-content: center;
      font-size: 10px; color: var(--green); margin-top: 1px;
    }
    /* Stats: glass cards floating over blobs */
    .stats-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 24px 72px rgba(0,0,0,0.55); }
    .stat-cell { background: rgba(0,0,0,0.30); backdrop-filter: blur(28px); padding: 40px 32px; border: 1px solid rgba(106,229,112,0.15); transition: background 0.25s; }
    .stat-cell:hover { background: rgba(0,0,0,0.42); }
    .stat-cell-num { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--t-head); font-family: var(--font-en); }
    .stat-cell-num.green  { color: var(--green);     text-shadow: 0 0 28px rgba(106,229,112,0.45); }
    .stat-cell-num.purple { color: var(--purple-lt); text-shadow: 0 0 28px rgba(176,112,248,0.45); }
    .stat-cell-lbl { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; color: var(--t-muted); margin-top: 10px; }

    /* ══════════════════════════════════════════════════

    /* ══════════════════════════════════════════════════
       SPORTS
    ══════════════════════════════════════════════════ */
    .sports-section {
      background:
        radial-gradient(ellipse 70% 60% at 50% 0%,   rgba(106,229,112,0.14) 0%, transparent 56%),
        radial-gradient(ellipse 45% 55% at 100% 100%, rgba(139,68,232,0.09) 0%, transparent 50%),
        #0a0a0d;
      border-top: 1px solid var(--border);
    }
    .sports-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 64px; }
    @media (max-width: 900px) { .sports-intro { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; } }
    .sport-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
    @media (max-width: 1100px) { .sport-grid { grid-template-columns: repeat(3, 1fr); } }
    @media (max-width: 480px)  { .sport-grid { grid-template-columns: repeat(2, 1fr); } }
    .sport-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4; cursor: pointer; background: var(--bg-card); border: 1px solid var(--border); transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; }
    .sport-card:hover { transform: translateY(-5px) scale(1.02); border-color: rgba(106,229,112,0.35); box-shadow: 0 20px 48px rgba(0,0,0,0.5); }
    .sport-card img { width: 100%; height: 100%; object-fit: cover; }
    .sport-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.1) 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; }
    .sport-name { font-size: 13px; font-weight: 700; color: #fff; }
    .sport-live { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #ff7070; margin-bottom: 4px; display: flex; align-items: center; gap: 4px; font-family: var(--font-en); }
    .sport-live::before { content: '●'; font-size: 7px; animation: blink 1.2s infinite; }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

    /* ══════════════════════════════════════════════════
       PROMOS
    ══════════════════════════════════════════════════ */
    .promos-section {
      background:
        radial-gradient(ellipse 80% 75% at 15% 55%, rgba(139,68,232,0.26) 0%, transparent 60%),
        radial-gradient(ellipse 55% 65% at 95% 10%, rgba(175,90,255,0.10)  0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 60% 100%,rgba(245,197,24,0.06)  0%, transparent 50%),
        #0c0b18;
      border-top: 1px solid rgba(139,68,232,0.12);
    }
    .promos-section .ch-label { color: var(--purple-lt); }
    .promos-section .ch-label::before { background: var(--purple-lt); }
    .promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    @media (max-width: 900px) { .promo-grid { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 560px) { .promo-grid { grid-template-columns: 1fr; } }
    .promo-card { border-radius: 20px; overflow: hidden; background: rgba(255,255,255,0.035); border: 1px solid rgba(255,255,255,0.08); transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s; }
    .promo-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(139,68,232,0.25); border-color: rgba(139,68,232,0.25); }
    .promo-img { width: 100%; aspect-ratio: 2/1; background: #0d0d14; }
    .promo-img img { width: 100%; height: 100%; object-fit: cover; }
    .promo-body { padding: 22px; }
    .promo-tag { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 10px; border-radius: 4px; margin-bottom: 12px; background: rgba(245,197,24,0.15); color: var(--gold); font-family: var(--font-en); }
    .promo-title  { font-size: 16px; font-weight: 700; color: var(--t-head); margin-bottom: 6px; }
    .promo-amount { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--gold); margin-bottom: 8px; font-family: var(--font-en); }
    .promo-desc   { font-size: 13px; color: var(--t-muted); line-height: 1.7; margin-bottom: 18px; }
    .promo-btn {
      display: block; text-align: center; padding: 12px;
      background: linear-gradient(160deg, rgba(139,68,232,0.20) 0%, rgba(139,68,232,0.08) 100%);
      border: 1.5px solid rgba(139,68,232,0.28);
      border-radius: 100px; font-size: 13px; font-weight: 700; color: var(--purple-lt);
      transition: all 0.22s;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    }
    .promo-btn:hover { background: linear-gradient(160deg, rgba(139,68,232,0.32) 0%, rgba(139,68,232,0.18) 100%); border-color: var(--purple-lt); box-shadow: 0 0 16px rgba(139,68,232,0.22); transform: translateY(-1px); }

    /* ══════════════════════════════════════════════════
       FAQ
    ══════════════════════════════════════════════════ */
    .faq-section {
      background:
        radial-gradient(ellipse 55% 60% at 96% 8%,  rgba(245,197,24,0.07)  0%, transparent 55%),
        radial-gradient(ellipse 45% 50% at 4%  92%, rgba(139,68,232,0.09)  0%, transparent 52%),
        #0d0d11;
      padding: 120px 0;
      border-top: 1px solid var(--border);
    }
    @media (max-width: 768px) { .faq-section { padding: 80px 0; } }
    .faq-section .ch-label::before { background: var(--green); }
    .faq-section .ch-label  { color: var(--green); }
    .faq-section .ch-title  { color: var(--t-head); }
    .faq-section .ch-sub    { color: var(--t-body); }
    .faq-layout { display: grid; grid-template-columns: 360px 1fr; gap: 100px; align-items: start; }
    .faq-intro { position: sticky; top: 100px; }
    /* On tablet/mobile: single column → remove sticky so title never overlaps Q&A */
    @media (max-width: 1100px) {
      .faq-layout { grid-template-columns: 1fr; gap: 40px; }
      .faq-intro  { position: static; top: auto; }
    }
    .faq-intro .ch-label { margin-bottom: 20px; }
    .faq-intro .ch-title { margin-bottom: 18px; }
    .faq-list { display: flex; flex-direction: column; }
    .faq-item { border-top: 1px solid var(--border); }
    .faq-item:last-child { border-bottom: 1px solid var(--border); }
    .faq-btn { width: 100%; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; text-align: left; font-family: var(--font-th); }
    .faq-q { font-size: 15px; font-weight: 600; color: var(--t-head); line-height: 1.5; }
    .faq-ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1.5px solid var(--border-md); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--t-body); transition: transform 0.32s var(--ease), background 0.22s, color 0.22s; }
    .faq-item.open .faq-ico { transform: rotate(45deg); background: rgba(106,229,112,0.15); border-color: rgba(106,229,112,0.40); color: var(--green); }
    .faq-item.open .faq-q { color: var(--green); }
    .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.38s ease, padding 0.38s ease; font-size: 14px; line-height: 1.85; color: var(--t-body); }
    .faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

    /* ══════════════════════════════════════════════════
       PAYMENT PARTNERS
    ══════════════════════════════════════════════════ */
    /* ══════════════════════════════════════════════════
       PAYMENT & PARTNERS SECTION — two rows
       Row 1: bank / payment logos  (ช่องทางการเงิน)
       Row 2: game provider logos   (พาร์ทเนอร์เกมส์)
       Logos sit on white pills so colour logos show on dark bg.
    ══════════════════════════════════════════════════ */
    .partners-section {
      background: #09090c;
      border-top:    1px solid rgba(255,255,255,0.07);
      border-bottom: 1px solid rgba(255,255,255,0.07);
      padding: 56px 0;
    }
    /* Row label — "ช่องทางการเงิน" / "พาร์ทเนอร์เกมส์" */
    .prow-label {
      font-size: 10px; font-weight: 700; letter-spacing: 3px;
      text-transform: uppercase; color: rgba(255,255,255,0.3);
      text-align: center; margin-bottom: 20px;
      font-family: var(--font-en);
    }
    /* Flex row of logo pills */
    .prow-logos {
      display: flex; justify-content: center;
      align-items: center; flex-wrap: wrap; gap: 12px;
    }
    /* Divider between the two rows */
    .prow-divider {
      width: 40px; height: 1px;
      background: rgba(255,255,255,0.1);
      margin: 36px auto;
    }
    /* Logo pill — transparent bg, logos float directly on dark surface */
    .logo-pill {
      background: transparent;
      border-radius: 0;
      padding: 0 6px;
      display: flex; align-items: center; justify-content: center;
      transition: transform 0.2s, opacity 0.2s;
      opacity: 0.85;
    }
    .logo-pill:hover {
      transform: translateY(-2px);
      opacity: 1;
    }
    .logo-pill img {
      height: 80px; width: auto;
      max-width: 80px;
      object-fit: contain; display: block;
    }
    /* Provider pills — fixed box so all logos share the same visual footprint
       regardless of whether the logo is wide+short or tall+narrow.
       object-fit:contain scales each logo to fill the box proportionally.      */
    .logo-pill.provider {
      width: 160px;
      height: 72px;
      padding: 10px 16px;
      opacity: 0.85;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.2s, transform 0.2s, border-color 0.2s, background 0.2s;
    }
    .logo-pill.provider:hover {
      opacity: 1;
      transform: translateY(-3px);
      background: rgba(255,255,255,0.09);
      border-color: rgba(255,255,255,0.20);
      box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    }
    .logo-pill.provider img {
      width: 100%;
      height: 100%;
      max-width: 100%;    /* override base .logo-pill img max-width: 80px */
      max-height: 100%;
      object-fit: contain;   /* scales logo to fit box without cropping */
      display: block;
    }

    /* ══════════════════════════════════════════════════
       FOOTER CTA BAND — clean editorial, single dominant CTA
    ══════════════════════════════════════════════════ */
    .footer-cta-band {
      position: relative; overflow: hidden;
      background: #07070c;
      padding: 96px 0 88px;
      border-top: 1px solid var(--border);
      text-align: center;
    }
    /* Subtle green bloom from below */
    .footer-cta-band::before {
      content: '';
      position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%);
      width: 700px; height: 300px;
      background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(106,229,112,0.18) 0%, transparent 70%);
      pointer-events: none;
    }
    .footer-cta-band .wrap { position: relative; z-index: 1; }

    /* Small eyebrow pill */
    .fcta-eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(106,229,112,0.10); border: 1px solid rgba(106,229,112,0.22);
      border-radius: 100px; padding: 6px 16px; margin-bottom: 28px;
      font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
      color: var(--green); font-family: var(--font-en);
    }
    .fcta-eyebrow-dot {
      width: 6px; height: 6px; border-radius: 50%; background: var(--green);
      animation: pulse 2s ease-in-out infinite;
    }

    /* Big headline */
    .fcta-title {
      font-size: clamp(32px, 4.5vw, 58px); font-weight: 800;
      letter-spacing: -0.04em; line-height: 1.05;
      margin-bottom: 16px; color: var(--t-head);
    }
    .fcta-title .gold { color: var(--gold); }
    .fcta-title .green { color: var(--green); }

    /* Benefit pills row */
    .fcta-perks {
      display: flex; align-items: center; justify-content: center;
      gap: 8px; flex-wrap: wrap; margin-bottom: 44px;
    }
    .fcta-perk {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 13px; color: var(--t-muted);
    }
    .fcta-perk-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
    .fcta-perk:first-child .fcta-perk-dot { display: none; }

    /* Primary CTA button — larger */
    .fcta-main-btn {
      display: inline-flex; align-items: center; gap: 12px;
      font-family: var(--font-th); font-size: 16px; font-weight: 800;
      padding: 20px 52px; border-radius: 100px; border: none; cursor: pointer;
      background: linear-gradient(160deg, #c084fc 0%, #8B44E8 45%, #6d28d9 100%);
      color: #fff;
      box-shadow:
        0 5px 0 #4c1d95,
        0 10px 36px rgba(139,68,232,0.45),
        inset 0 1px 0 rgba(255,255,255,0.22);
      position: relative; overflow: hidden;
      transition: all 0.22s var(--ease);
      text-decoration: none; letter-spacing: 0.2px;
    }
    .fcta-main-btn::before {
      content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
      transform: skewX(-20deg); transition: left 0.65s ease;
    }
    .fcta-main-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 0 #4c1d95, 0 16px 44px rgba(139,68,232,0.58), inset 0 1px 0 rgba(255,255,255,0.28);
    }
    .fcta-main-btn:hover::before { left: 150%; }
    .fcta-main-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #4c1d95, 0 6px 16px rgba(139,68,232,0.30); }
    .fcta-arrow {
      display: inline-flex; align-items: center; justify-content: center;
      width: 28px; height: 28px; border-radius: 50%;
      background: rgba(255,255,255,0.15); font-size: 14px;
    }

    /* Secondary text links below the button */
    .fcta-secondary {
      margin-top: 24px;
      display: flex; align-items: center; justify-content: center; gap: 10px;
      font-size: 13px; color: var(--t-muted);
    }
    .fcta-secondary a {
      color: var(--t-muted); text-decoration: none;
      border-bottom: 1px solid rgba(255,255,255,0.12);
      padding-bottom: 1px;
      transition: color 0.2s, border-color 0.2s;
    }
    .fcta-secondary a:hover { color: var(--t-head); border-color: rgba(255,255,255,0.35); }
    .fcta-secondary-sep { color: var(--t-dim); }

    /* ══════════════════════════════════════════════════
       FOOTER
    ══════════════════════════════════════════════════ */
    .site-footer {
      background:
        radial-gradient(ellipse 60% 50% at 50% 110%, rgba(62,196,68,0.08) 0%, transparent 52%),
        #080809;
      padding: 64px 0 36px;
      border-top: 1px solid var(--border);
    }
    .footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; margin-bottom: 56px; }
    .footer-brand { max-width: 280px; }
    .footer-logo { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; font-family: var(--font-en); margin-bottom: 14px; }
    .footer-logo .hi { color: var(--green); }
    .footer-tagline { font-size: 13px; color: var(--t-muted); line-height: 1.75; margin-bottom: 22px; }
    .footer-socials { display: flex; gap: 8px; }
    .social-btn { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--t-muted); transition: all 0.2s; font-family: var(--font-en); }
    .social-btn:hover { background: var(--green-glow); border-color: rgba(106,229,112,0.3); color: var(--green); }
    .footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
    .footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--t-head); margin-bottom: 18px; font-family: var(--font-en); }
    .footer-links { display: flex; flex-direction: column; gap: 12px; }
    .footer-links a { font-size: 13px; color: var(--t-muted); transition: color 0.2s; }
    .footer-links a:hover { color: var(--green); }
    .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border); }
    .footer-copy { font-size: 12px; color: var(--t-muted); }
    .footer-legal { display: flex; align-items: center; gap: 14px; }
    .age-badge { background: rgba(255,80,80,0.1); border: 1px solid rgba(255,80,80,0.2); color: #ff8080; font-size: 11px; font-weight: 800; padding: 4px 11px; border-radius: 100px; font-family: var(--font-en); }
    .footer-legal p { font-size: 11px; color: var(--t-muted); }

    /* ══════════════════════════════════════════════════
       MOBILE CTA BAR — Clean, text-only, bilingual
    ══════════════════════════════════════════════════ */
    .m-cta {
      position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
      display: none;
      flex-direction: column;
      background: rgba(8,8,10,0.97);
      border-top: 1px solid rgba(255,255,255,0.09);
      backdrop-filter: blur(24px);
      padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
      gap: 8px;
      box-shadow: 0 -12px 40px rgba(0,0,0,0.6);
    }
    @media (max-width: 768px) { .m-cta { display: flex; } }

    /* Small trust tagline at top */
    .m-cta-trust {
      text-align: center;
      font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
      color: var(--t-muted); text-transform: uppercase;
      font-family: var(--font-en);
      display: flex; align-items: center; justify-content: center; gap: 8px;
    }
    .m-cta-trust::before,
    .m-cta-trust::after {
      content: ''; flex: 1; height: 1px; background: var(--border);
    }

    /* Button row */
    .m-btn-row { display: flex; gap: 10px; }

    /* Base button — no icons, bilingual stack */
    .m-btn {
      flex: 1; border: none; cursor: pointer; border-radius: 14px;
      font-family: var(--font-th);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 2px; padding: 13px 10px;
      transition: transform 0.1s ease, box-shadow 0.1s ease;
      position: relative; overflow: hidden; text-decoration: none;
    }
    .m-btn-main { font-size: 15px; font-weight: 800; line-height: 1.2; letter-spacing: 0.2px; }
    .m-btn-sub  { font-size: 10px; font-weight: 500; opacity: 0.72; font-family: var(--font-en); letter-spacing: 0.5px; }

    /* PLAY — Purple 3D */
    .m-btn-play {
      background: linear-gradient(165deg, #c084fc 0%, #8B44E8 50%, #6d28d9 100%);
      color: #fff;
      box-shadow: 0 5px 0 #4c1d95, 0 8px 20px rgba(139,68,232,0.40), inset 0 1px 0 rgba(255,255,255,0.22);
    }
    .m-btn-play::before {
      content: '';
      position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.20), transparent);
      transform: skewX(-20deg);
      animation: shimmer-play 3.5s ease-in-out infinite;
    }
    @keyframes shimmer-play { 0%,65%{left:-80%} 100%{left:160%} }
    .m-btn-play:active { transform: translateY(4px); box-shadow: 0 1px 0 #4c1d95, 0 3px 8px rgba(139,68,232,0.22); }

    /* REGISTER — Purple 3D (darker shade to differentiate) */
    .m-btn-reg {
      background: linear-gradient(165deg, #a855f7 0%, #7c3aed 50%, #5b21b6 100%);
      color: #fff;
      box-shadow: 0 5px 0 #3b0764, 0 8px 20px rgba(124,58,237,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
    }
    .m-btn-reg:active { transform: translateY(4px); box-shadow: 0 1px 0 #3b0764, 0 3px 8px rgba(124,58,237,0.20); }

    /* ══════════════════════════════════════════════════
       SCROLL ANIMATIONS
    ══════════════════════════════════════════════════ */
    [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
    [data-reveal="left"]  { transform: translateX(-32px); }
    [data-reveal="right"] { transform: translateX(32px); }
    [data-reveal="scale"] { transform: scale(0.94) translateY(18px); }
    [data-reveal].in { opacity: 1; transform: none; }
    [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
    [data-stagger].in > * { opacity: 1; transform: none; }
    [data-stagger].in > *:nth-child(1)  { transition-delay: 0.00s; }
    [data-stagger].in > *:nth-child(2)  { transition-delay: 0.06s; }
    [data-stagger].in > *:nth-child(3)  { transition-delay: 0.12s; }
    [data-stagger].in > *:nth-child(4)  { transition-delay: 0.18s; }
    [data-stagger].in > *:nth-child(5)  { transition-delay: 0.24s; }
    [data-stagger].in > *:nth-child(6)  { transition-delay: 0.30s; }
    [data-stagger].in > *:nth-child(7)  { transition-delay: 0.36s; }
    [data-stagger].in > *:nth-child(8)  { transition-delay: 0.42s; }
    [data-stagger].in > *:nth-child(9)  { transition-delay: 0.48s; }
    [data-stagger].in > *:nth-child(10) { transition-delay: 0.54s; }
    [data-stagger].in > *:nth-child(11) { transition-delay: 0.60s; }
    [data-stagger].in > *:nth-child(12) { transition-delay: 0.66s; }
  
/* ═══════════════════════════════════════════
   MOBILE STICKY CTA BAR
═══════════════════════════════════════════ */
.pun168-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .pun168-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 64px;
    background: rgba(10,10,13,0.97);
    border-top: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0 12px;
    gap: 10px;
    align-items: center;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
  }

  .pun168-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 44px;
    border-radius: 10px;
    font-family: 'Noto Sans Thai', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
  }

  .pun168-cta-register {
    background: linear-gradient(160deg, #8ff594 0%, #4cd452 45%, #28a830 100%);
    color: #021502;
    box-shadow: 0 3px 0 #156b18, 0 4px 14px rgba(62,196,68,0.35);
    flex: 1.4;
  }
  .pun168-cta-register:hover,
  .pun168-cta-register:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 0 #156b18, 0 6px 20px rgba(62,196,68,0.45);
    color: #021502;
  }

  .pun168-cta-login {
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.85);
  }
  .pun168-cta-login:hover,
  .pun168-cta-login:active {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.30);
    color: #ffffff;
  }

  .pun168-cta-icon {
    font-size: 14px;
    line-height: 1;
  }

  .pun168-cta-text {
    font-size: 13px;
    font-weight: 700;
  }

  .pun168-cta-badge {
    font-size: 9px;
    font-weight: 700;
    background: rgba(0,0,0,0.25);
    color: rgba(2,21,2,0.80);
    padding: 2px 6px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }

  /* Push page content above mobile CTA */
  body {
    padding-bottom: 72px !important;
  }
}


/* ══════════════════════════════════════════
   CUSTOM FOOTER — .pun168-footer
   GP's .site-footer is hidden; this replaces it.
══════════════════════════════════════════ */

.pun168-footer {
  background: #07070a;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-family: 'Noto Sans Thai', sans-serif;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}
.pun168-footer-inner {
  max-width: 100%;
  padding: 52px 32px 32px; /* match header 32px side padding */
}

/* ── Top row ── */
.pun168-footer-top {
  display: flex;
  justify-content: space-between; /* brand left, nav right */
  align-items: flex-start;
  margin-bottom: 40px;
}
.pun168-footer-brand {
  flex: 1; /* fills middle — nav sits naturally on the right */
  min-width: 0;
}
.pun168-footer-logo img {
  height: 54px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.pun168-footer-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #6ae570;
  display: block;
  margin-bottom: 14px;
}
.pun168-footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  margin: 0;
}

/* ── Nav columns ── */
.pun168-footer-nav {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
}
.pun168-footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}
.pun168-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pun168-footer-col ul li a {
  color: rgba(255,255,255,0.50);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.18s ease;
}
.pun168-footer-col ul li a:hover {
  color: #6ae570;
}

/* ── Divider ── */
.pun168-footer-divider {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}

/* ── Bottom row ── */
.pun168-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.pun168-footer-legal {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  line-height: 1.7;
  margin: 0;
  max-width: 600px;
}
.pun168-footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  margin: 0;
  white-space: nowrap;
}

/* ── Mobile footer ── */
@media (max-width: 768px) {
  .pun168-footer-inner { padding: 40px 20px 100px; /* 100px clears mobile CTA */ }
  .pun168-footer-top { flex-direction: column; gap: 32px; }
  .pun168-footer-brand { width: 100%; }
  .pun168-footer-nav { flex-wrap: wrap; gap: 32px; }
  .pun168-footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
