/* ==========================================================================
   G2GNEKO — Authentic Color Palette + kwanjai168s.com Reference Layout
   Palette derived from live G2GNEKO brand & official graffiti logo:
   - Deep Charcoal / Obsidian Black: #08090d, #11141d, #1b202b
   - Signature Gold-Amber to Fiery Orange-Red: #ffe600 -> #ffa900 -> #ff7e31 -> #e62c03
   - Electric Sky Cyan-Blue & Royal Navy: #00e5ff, #00b4ff, #235b95, #051937
   - Hot Magenta-Pink Accent: #ff1772
   - Emerald Mint Accent: #37cb63, #10b981
   ========================================================================== */

:root {
  --bg-pure-dark: #07080c;
  --bg-charcoal: #12151f;
  --bg-overlay: rgba(8, 10, 16, 0.78);
  --bg-footer: rgba(6, 8, 14, 0.92);
  --gold-bright: #ffe600;
  --gold-amber: #ffa900;
  --orange-fiery: #ff6a00;
  --red-deep: #e62c03;
  --cyan-neon: #00e5ff;
  --blue-sky: #00b4ff;
  --blue-navy: #235b95;
  --blue-dark: #0c1f36;
  --pink-hot: #ff1772;
  --green-line: #37cb63;
  --green-emerald: #10b981;
  --text-white: #ffffff;
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
  --container-width: 1140px;
  --widget-gap: 22px;
  --card-radius: 10px;
  --glow-gold: 0px 0px 12px 0px rgba(255, 169, 0, 0.75);
  --glow-cyan: 0px 0px 10px 0px rgba(0, 229, 255, 0.75);
  --heading-shadow: 0px 0px 10px rgba(255, 169, 0, 0.9), 0px 0px 20px rgba(230, 44, 3, 0.55);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  font-family: 'Kanit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-white);
  background-color: var(--bg-pure-dark);
}

body {
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-white);
  background-color: var(--bg-pure-dark);
  /* Fixed full-viewport atmospheric luxury backdrop matching G2GNEKO color splashes */
  background-image:
    radial-gradient(circle at 12% 18%, rgba(0, 180, 255, 0.16) 0%, transparent 38%),
    radial-gradient(circle at 88% 15%, rgba(255, 23, 114, 0.14) 0%, transparent 36%),
    radial-gradient(circle at 50% 48%, rgba(255, 169, 0, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 18% 82%, rgba(55, 203, 99, 0.11) 0%, transparent 38%),
    radial-gradient(circle at 85% 80%, rgba(230, 44, 3, 0.15) 0%, transparent 40%),
    linear-gradient(180deg, #07080c 0%, #101420 50%, #07080c 100%);
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  overflow-x: hidden;
  padding-bottom: 0;
}

a {
  color: var(--cyan-neon);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--gold-bright);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   HEADER TEMPLATE (Top 4-Col Navbar + Full-Width Hero Banner Section)
   ========================================================================== */
.site-header-wrapper {
  width: 100%;
  padding-top: 70px;
}

/* 1. Top Navbar Section (Sticky/Fixed at Top on BOTH Desktop & Mobile) */
.top-navbar-section {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(360deg, rgba(8, 10, 16, 0.96) 27%, rgba(35, 40, 52, 0.95) 100%);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(255, 169, 0, 0.55);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
  padding: 10px 16px;
}

.navbar-inner-4col {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nav-col-logo {
  flex: 0 0 19%;
  max-width: 19%;
  display: flex;
  align-items: center;
}

.nav-col-logo a {
  display: inline-block;
}

.nav-col-logo img {
  width: 175px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(255, 169, 0, 0.45));
  transition: transform 0.25s ease;
}

.nav-col-logo img:hover {
  transform: scale(1.04);
}

.nav-col-menu {
  flex: 0 0 59%;
  max-width: 59%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 4px 13px;
}

.main-nav-list li a {
  color: var(--text-white);
  font-size: 16.5px;
  font-weight: 600;
  padding: 6px 3px;
  position: relative;
  letter-spacing: 0.1px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-nav-list li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-bright), var(--orange-fiery), var(--cyan-neon));
  border-radius: 2px;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-nav-list li a:hover,
.main-nav-list li a.active {
  color: var(--gold-bright);
  text-shadow: 0 0 8px rgba(255, 169, 0, 0.7);
}

.main-nav-list li a:hover::after,
.main-nav-list li a.active::after {
  opacity: 1;
  transform: translateY(0);
}

.nav-col-login,
.nav-col-register {
  flex: 0 0 10%;
  max-width: 10%;
  display: flex;
  justify-content: center;
}

.btn-header-pill {
  width: 100%;
  min-width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  font-family: 'Kanit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header-login {
  background: linear-gradient(180deg, #00b4ff 0%, #1d4ed8 55%, #0c2461 100%);
  border: 2px solid #7dd3fc;
  box-shadow: 0 0 12px rgba(0, 180, 255, 0.65), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.btn-header-login:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.95);
}

.btn-header-register {
  background: linear-gradient(180deg, #ffe600 0%, #ff7e31 52%, #e62c03 100%);
  border: 2px solid #fef08a;
  box-shadow: 0 0 14px rgba(255, 126, 49, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.75);
  color: #1a0500;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-header-register:hover {
  transform: translateY(-2px);
  color: #1a0500;
  box-shadow: 0 0 20px rgba(255, 230, 0, 0.95);
}

.mobile-menu-toggle {
  display: none;
  background: linear-gradient(180deg, #ffa900, #e62c03);
  border: 1px solid #ffe600;
  color: #ffffff;
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
}

/* 2. Hero Banner Section (Full-Width Single-Column below Navbar) */
.hero-banner-section {
  width: 100%;
  background-color: #000000;
  padding: 10px;
}

.hero-banner-container {
  max-width: 1425px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 169, 0, 0.6);
  box-shadow: 0 0 18px rgba(255, 169, 0, 0.5), 0 0 32px rgba(0, 180, 255, 0.25);
  background-color: #05060a;
}

.hero-banner-container img.hero-bg-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1376 / 768;
  object-fit: cover;
  object-position: right center;
  display: block;
}

/* HTML/CSS 3D Gold-Orange Glowing Overlay on the Left Negative Space (Rule 3) */
.hero-overlay-left {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 60%;
  padding: 32px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(90deg, rgba(4, 5, 10, 0.94) 0%, rgba(4, 5, 10, 0.72) 65%, transparent 100%);
  z-index: 2;
}

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: linear-gradient(90deg, rgba(255, 23, 114, 0.9), rgba(255, 126, 49, 0.9));
  border: 1px solid #ffe600;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255, 23, 114, 0.65);
  letter-spacing: 0.5px;
}

.hero-3d-brand {
  font-size: clamp(32px, 4.5vw, 62px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fffde7 0%, #ffe600 32%, #ffa900 62%, #ff3d00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 #051937) drop-shadow(0 6px 0 #0052a3) drop-shadow(0 0 18px rgba(255, 169, 0, 0.9));
}

.hero-3d-tagline {
  font-size: clamp(20px, 2.3vw, 32px);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 0 #e62c03, 0 0 14px rgba(255, 169, 0, 0.95);
  line-height: 1.25;
}

/* 3 Promo Pills inside Hero Banner (like kwanjai168s.com Cashback / Referral / Check-in pills) */
.hero-promo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.hero-pill-item {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(35, 91, 149, 0.85));
  border: 1.5px solid var(--gold-amber);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(255, 169, 0, 0.4);
}

.hero-pill-item .pill-label {
  font-size: 12px;
  color: var(--cyan-neon);
  font-weight: 600;
}

.hero-pill-item .pill-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-bright);
  text-shadow: 0 0 8px rgba(255, 169, 0, 0.8);
}

/* RTP Mini Badges Strip inside Hero */
.hero-rtp-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.rtp-mini-card {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid #37cb63;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #ecfdf5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rtp-mini-card strong {
  color: #ffe600;
}

/* Bank & Wallet Support Strip at bottom of Hero Overlay */
.hero-bank-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  color: #cbd5e1;
}

.bank-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2px 9px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  color: #ffffff;
}

.bank-tag.wallet {
  background: linear-gradient(90deg, #ff6a00, #e62c03);
  border-color: #ffe600;
}

/* ==========================================================================
   MAIN CONTENT WRAPPER (Matches kwanjai168s.com section[data-id="561a5fa2"])
   ========================================================================== */
.main-backdrop-section {
  width: 100%;
  background-color: var(--bg-overlay);
  padding: 28px 14px 48px;
}

.main-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--widget-gap);
}

/* Visible Breadcrumb Navigation Bar for Subpages & Articles */
.breadcrumb-bar {
  background: rgba(14, 18, 29, 0.82);
  border: 1px solid rgba(255, 169, 0, 0.35);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb-bar a {
  color: var(--cyan-neon);
  font-weight: 500;
}

.breadcrumb-bar a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.breadcrumb-bar .bc-sep {
  color: var(--gold-amber);
}

.breadcrumb-bar .bc-current {
  color: var(--gold-bright);
  font-weight: 600;
}

/* Typography & Glowing Headings (Matches kwanjai168s.com centered glowing H1/H2/H3) */
.glow-h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-white);
  text-align: center;
  text-shadow: var(--heading-shadow);
  line-height: 1.4;
  margin: 6px 0;
  padding: 0 8px;
}

.glow-h2 {
  font-size: 25px;
  font-weight: 700;
  color: var(--text-white);
  text-align: center;
  text-shadow: 0px 0px 10px rgba(0, 229, 255, 0.85), 0px 0px 18px rgba(255, 169, 0, 0.55);
  line-height: 1.42;
  margin: 8px 0 4px;
}

.glow-h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-bright);
  text-shadow: 0px 0px 8px rgba(255, 169, 0, 0.7);
  line-height: 1.45;
  margin: 6px 0;
}

.seo-prose {
  font-size: 16.5px;
  color: var(--text-light);
  line-height: 1.82;
  text-align: left;
  background: rgba(15, 20, 32, 0.55);
  padding: 18px 22px;
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 169, 0, 0.22);
}

.seo-prose a {
  color: var(--cyan-neon);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-prose a:hover {
  color: var(--gold-bright);
}

/* ==========================================================================
   STUDIO VISUAL CARDS WITH 3D GOLD-ORANGE HTML OVERLAY ON LEFT (Rule 3)
   ========================================================================== */
.studio-visual-card {
  position: relative;
  width: 100%;
  border-radius: var(--card-radius);
  overflow: hidden;
  background-color: #07090f;
  border: 1.5px solid rgba(255, 169, 0, 0.7);
  box-shadow: var(--glow-gold);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.studio-visual-card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 0px 18px 2px rgba(0, 229, 255, 0.85), 0px 0px 24px 0px rgba(255, 169, 0, 0.8);
}

.studio-visual-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1376 / 768;
  object-fit: cover;
  object-position: right center;
  display: block;
}

/* Left Negative Space HTML 3D Gold-Orange Text Overlay */
.card-overlay-3d {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 58%;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(5, 7, 14, 0.93) 0%, rgba(5, 7, 14, 0.68) 70%, transparent 100%);
  pointer-events: none;
}

.card-overlay-3d .badge-kicker {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(90deg, #ff1772, #ff7e31);
  border: 1px solid #ffe600;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.card-overlay-3d .title-3d-gold {
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(180deg, #ffffff 0%, #ffe600 35%, #ffa900 68%, #ff3d00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #051937) drop-shadow(0 4px 8px rgba(255, 126, 49, 0.85));
}

.card-overlay-3d .sub-3d-text {
  font-size: clamp(12.5px, 1.3vw, 16px);
  font-weight: 700;
  color: #e2e8f0;
  text-shadow: 0 1px 4px #000000;
}

.card-overlay-3d .chip-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: rgba(0, 229, 255, 0.16);
  border: 1px solid var(--cyan-neon);
  color: var(--gold-bright);
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 6px;
  margin-top: 2px;
}

/* ==========================================================================
   TABLE OF CONTENTS ACCORDION (Matches Elementor widget-table-of-contents)
   ========================================================================== */
.toc-accordion-box {
  background: rgba(14, 18, 29, 0.9);
  border: 1.5px solid var(--gold-amber);
  border-radius: var(--card-radius);
  box-shadow: var(--glow-gold);
  overflow: hidden;
}

.toc-header-bar {
  width: 100%;
  background: linear-gradient(90deg, rgba(35, 91, 149, 0.45), rgba(255, 169, 0, 0.25));
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border: none;
  color: var(--text-white);
  font-family: 'Kanit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}

.toc-header-bar:hover {
  color: var(--gold-bright);
}

.toc-toggle-icon {
  font-size: 16px;
  color: var(--cyan-neon);
  transition: transform 0.25s ease;
}

.toc-accordion-box.open .toc-toggle-icon {
  transform: rotate(180deg);
}

.toc-body-content {
  display: none;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255, 169, 0, 0.3);
}

.toc-accordion-box.open .toc-body-content {
  display: block;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  list-style: decimal;
  padding-left: 20px;
}

.toc-list li a {
  color: var(--text-light);
  font-size: 15px;
  font-weight: 500;
}

.toc-list li a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

/* ==========================================================================
   GRID SECTIONS (2-Col 50/50 & 3-Col 33/33/33 matching kwanjai168s.com)
   ========================================================================== */
.grid-2col-50 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.grid-3col-33 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.col-card-box {
  background: rgba(14, 18, 28, 0.72);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--card-radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

/* Technical Spec Badges Row for Game Review Cards & Bonus Info Cards */
.spec-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-badge {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(55, 203, 99, 0.65);
  color: #ecfdf5;
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
}

.spec-badge.gold {
  background: rgba(255, 169, 0, 0.15);
  border-color: var(--gold-amber);
  color: var(--gold-bright);
}

.spec-badge.cyan {
  background: rgba(0, 229, 255, 0.14);
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
}

/* Compact 3-col overlay adjustments */
.grid-3col-33 .card-overlay-3d {
  width: 64%;
  padding: 12px 14px;
  gap: 4px;
}

.grid-3col-33 .card-overlay-3d .title-3d-gold {
  font-size: 18px;
}

.grid-3col-33 .card-overlay-3d .sub-3d-text {
  font-size: 12px;
}

/* Feature Bullet Lists (<ul> matching kwanjai168s.com checklist blocks) */
.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 4px;
}

.feature-checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  color: var(--text-light);
  line-height: 1.65;
}

.feature-checklist li::before {
  content: '✦';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--gold-bright);
  font-size: 16px;
  text-shadow: 0 0 8px var(--orange-fiery);
}

.feature-checklist li strong {
  color: var(--gold-bright);
}

/* ==========================================================================
   E-E-A-T EXPERT VERIFICATION & LAST UPDATED BOX (Rule 4)
   ========================================================================== */
.eeat-verification-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(35, 91, 149, 0.22) 100%);
  border: 1.5px solid var(--green-emerald);
  border-left: 5px solid var(--gold-amber);
  border-radius: var(--card-radius);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eeat-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 14px;
  color: #a7f3d0;
  font-weight: 600;
}

/* ==========================================================================
   COMPARISON DATA TABLE (Matches kwanjai168s.com centered translucent table)
   ========================================================================== */
.table-responsive-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--card-radius);
  border: 1.5px solid var(--cyan-neon);
  box-shadow: var(--glow-cyan);
  background: rgba(10, 14, 24, 0.78);
}

.g2g-comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  min-width: 720px;
}

.g2g-comparison-table th,
.g2g-comparison-table td {
  padding: 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  font-size: 15px;
}

.g2g-comparison-table thead th {
  background: linear-gradient(180deg, rgba(255, 169, 0, 0.32) 0%, rgba(230, 44, 3, 0.28) 100%);
  color: var(--gold-bright);
  font-size: 16px;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(255, 169, 0, 0.65);
}

.g2g-comparison-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.g2g-comparison-table tbody tr:hover {
  background: rgba(0, 229, 255, 0.1);
}

.g2g-comparison-table td strong {
  color: var(--cyan-neon);
}

/* ==========================================================================
   BLOG ARTICLES GRID (Matches Elementor posts.cards 3-Col White/Card surface)
   ========================================================================== */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 35px;
}

.blog-card-item {
  background: #ffffff;
  color: #111827;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 229, 255, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 16px rgba(255, 169, 0, 0.85);
}

.blog-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0d14;
}

.blog-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transition: transform 0.35s ease;
}

.blog-card-item:hover .blog-thumb-wrap img {
  transform: scale(1.05);
}

.blog-category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #000000, #1e293b);
  color: var(--gold-bright);
  border: 1px solid var(--gold-amber);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  z-index: 4;
}

/* Magazine-Style 3D Cover Overlay on Left Negative Space of Each Article Thumbnail */
.blog-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 62%;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(90deg, rgba(5, 7, 14, 0.94) 0%, rgba(5, 7, 14, 0.74) 68%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.blog-cover-kicker {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(90deg, #ff1772, #ff6a00);
  border: 1px solid #ffe600;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.blog-cover-headline {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.18;
  background: linear-gradient(180deg, #ffffff 0%, #ffe600 38%, #ffa900 72%, #ff3d00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #051937) drop-shadow(0 3px 6px rgba(255, 126, 49, 0.8));
}

.blog-cover-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #e2e8f0;
}

.blog-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}

.blog-meta-pill {
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid rgba(0, 229, 255, 0.45);
  color: #bae6fd;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.blog-meta-pill.gold {
  background: rgba(255, 169, 0, 0.14);
  border-color: rgba(255, 169, 0, 0.6);
  color: var(--gold-bright);
}

.btn-blog-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 169, 0, 0.22) 0%, rgba(230, 44, 3, 0.28) 100%);
  border: 1px solid var(--gold-amber);
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: all 0.22s ease;
}

.btn-blog-cta:hover {
  background: linear-gradient(90deg, #ffe600 0%, #ff7e31 55%, #e62c03 100%);
  color: #1a0500;
  box-shadow: 0 0 14px rgba(255, 169, 0, 0.85);
}

/* Interactive Category Filter Tabs on Article Hub Page */
.article-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 6px;
}

.filter-tab-btn {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--text-light);
  font-family: 'Kanit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab-btn:hover,
.filter-tab-btn.active {
  background: linear-gradient(90deg, #ffe600 0%, #ff7e31 60%, #e62c03 100%);
  border-color: #ffffff;
  color: #1a0500;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(255, 169, 0, 0.8);
}

.blog-card-body {
  padding: 20px 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  background: #141824;
  color: #f8fafc;
}

.blog-card-body h3.blog-card-title {
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cyan-neon);
  margin: 0;
}

.blog-card-body h3.blog-card-title a {
  color: var(--cyan-neon);
}

.blog-card-body h3.blog-card-title a:hover {
  color: var(--gold-bright);
}

.blog-card-excerpt {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.65;
}

.blog-read-more {
  margin-top: auto;
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.blog-card-footer {
  padding: 11px 22px;
  background: #0d1018;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   FAQ ACCORDION SECTION (Matches Elementor toggle.default)
   ========================================================================== */
.faq-toggle-container {
  background: rgba(12, 16, 26, 0.78);
  border: 1.5px solid rgba(255, 169, 0, 0.45);
  border-radius: var(--card-radius);
  padding: 8px 20px;
  box-shadow: var(--glow-gold);
}

.faq-toggle-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-toggle-item:last-child {
  border-bottom: none;
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  color: var(--text-white);
  font-family: 'Kanit', sans-serif;
}

.faq-question-btn h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-white);
  margin: 0;
  transition: color 0.2s ease;
}

.faq-question-btn:hover h3,
.faq-toggle-item.active .faq-question-btn h3 {
  color: var(--gold-bright);
}

.faq-caret {
  color: var(--cyan-neon);
  font-size: 16px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-toggle-item.active .faq-caret {
  transform: rotate(180deg);
  color: var(--gold-bright);
}

.faq-answer-panel {
  display: none;
  padding: 0 8px 18px;
  font-size: 15.5px;
  color: #dbeafe;
  line-height: 1.75;
}

.faq-toggle-item.active .faq-answer-panel {
  display: block;
}

/* ==========================================================================
   FOOTER & STICKY MOBILE DOCK (Matches kwanjai168s.com 50/50 Footer + 5-Col Dock)
   ========================================================================== */
.site-footer-section {
  width: 100%;
  background: linear-gradient(180deg, rgba(6, 8, 14, 0.94) 45%, rgba(35, 42, 56, 0.96) 100%);
  border-top: 2px solid var(--gold-amber);
  padding: 40px 16px 36px;
}

.footer-inner-2col {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.footer-col-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-left img.footer-logo {
  width: 34%;
  min-width: 165px;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 2px 10px rgba(255, 169, 0, 0.5));
}

.footer-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
}

.footer-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 4px;
}

.footer-quick-links a {
  font-size: 14px;
  color: var(--cyan-neon);
  font-weight: 500;
}

.footer-quick-links a:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}

.footer-col-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.btn-footer-full {
  width: 100%;
  display: block;
  text-align: center;
  padding: 15px 24px;
  border-radius: var(--card-radius);
  font-family: 'Kanit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-footer-register {
  background: linear-gradient(180deg, #ffa900 0%, #ff5722 50%, #000000 100%);
  border: 1.5px solid #ffe600;
  box-shadow: 0 0 14px rgba(255, 169, 0, 0.65);
}

.btn-footer-register:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 0 22px rgba(255, 230, 0, 0.95);
}

.btn-footer-login {
  background: linear-gradient(180deg, #235b95 0%, #12283f 100%);
  border: 1.5px solid #4e9fd6;
  box-shadow: 0 0 12px rgba(0, 180, 255, 0.4);
}

.btn-footer-login:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.85);
}

.btn-footer-line {
  width: 100%;
  padding: 15px 24px;
  border-radius: var(--card-radius);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(180deg, #06c755 0%, #059669 58%, #047857 100%);
  border: 1.5px solid #86efac;
  box-shadow: 0 0 14px rgba(6, 199, 85, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-footer-line .line-svg-icon {
  width: 22px;
  height: 22px;
}

.btn-footer-line:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 0 22px rgba(6, 199, 85, 0.95);
}

.line-svg-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Floating Official LINE Logo Button (Bottom-Right) */
.floating-line-btn {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 998;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #06c755 0%, #00b900 100%);
  border: 2px solid #bbf7d0;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.7), 0 0 14px rgba(55, 203, 99, 0.85);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: linePulse 2.4s infinite ease-in-out;
}

.floating-line-btn svg {
  width: 38px;
  height: 38px;
  display: block;
}

.floating-line-btn:hover {
  transform: translateY(-3px) scale(1.06);
  color: #ffffff;
  box-shadow: 0 8px 26px rgba(6, 199, 85, 0.98);
}

@keyframes linePulse {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.65), 0 0 12px rgba(55, 203, 99, 0.7);
  }
  50% {
    box-shadow: 0 6px 26px rgba(6, 199, 85, 0.95), 0 0 22px rgba(134, 239, 172, 0.95);
  }
}

.footer-privacy-box {
  max-width: var(--container-width);
  margin: 24px auto 0;
  padding: 16px 20px;
  background: rgba(12, 16, 26, 0.72);
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-left: 4px solid var(--gold-amber);
  border-radius: var(--card-radius);
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.7;
}

.footer-privacy-box strong {
  color: var(--gold-bright);
}

.footer-privacy-box a {
  color: var(--cyan-neon);
  font-weight: 600;
  text-decoration: underline;
}

.footer-copyright {
  max-width: var(--container-width);
  margin: 18px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Sticky Bottom Mobile/Tablet Navigation Bar (5-Column Dock <= 1024px) */
.sticky-mobile-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--gold-amber);
  padding: 8px 8px 10px;
  z-index: 999;
}

.mobile-dock-grid {
  display: grid;
  grid-template-columns: 17.5% 17.5% 30% 17.5% 17.5%;
  align-items: end;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.dock-tile {
  margin: 0 3px;
  background: linear-gradient(180deg, #00b4ff 0%, #050811 100%);
  border: 1px solid var(--cyan-neon);
  border-radius: 10px;
  box-shadow: 0px 0px 10px 0px rgba(0, 229, 255, 0.65);
  padding: 7px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.dock-tile .dock-icon {
  font-size: 18px;
  line-height: 1;
}

.dock-tile.dock-center-raised {
  margin-top: -33px;
  border-radius: 73px;
  padding: 12px 6px;
  background: linear-gradient(180deg, #ffe600 0%, #ff6a00 55%, #000000 100%);
  border: 2px solid #ffffff;
  box-shadow: 0px 0px 14px 0px rgba(255, 169, 0, 0.95);
  font-size: 13.5px;
  font-weight: 800;
}

.dock-tile.dock-line {
  background: linear-gradient(180deg, #37cb63 0%, #05140a 100%);
  border-color: #67d88f;
  box-shadow: 0px 0px 10px 0px rgba(55, 203, 99, 0.65);
}

.dock-tile:hover,
.dock-tile:focus {
  color: #f8ac00;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES & MOBILE NAVIGATION SYSTEM
   ========================================================================== */
.mobile-menu-cta-bar {
  display: none;
}

@media (max-width: 1180px) {
  .main-nav-list {
    gap: 4px 9px;
  }
  .main-nav-list li a {
    font-size: 15px;
  }
  .btn-header-pill {
    min-width: 104px;
    padding: 8px 11px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  body {
    padding-bottom: 0;
  }

  /* Keep Top Navbar Fixed & Sleek on Mobile/Tablet */
  .site-header-wrapper {
    padding-top: 62px;
  }

  .top-navbar-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 9px 14px;
    background: rgba(8, 10, 16, 0.97);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  }

  .navbar-inner-4col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .nav-col-logo {
    flex: 0 0 auto;
    max-width: none;
    order: 1;
  }

  .nav-col-logo img {
    width: 142px;
  }

  /* Keep Login & Register visible in the top bar on Tablet & Mobile */
  .nav-col-login {
    flex: 0 0 auto;
    max-width: none;
    margin-left: auto;
    order: 2;
  }

  .nav-col-register {
    flex: 0 0 auto;
    max-width: none;
    order: 3;
  }

  .nav-col-login .btn-header-pill,
  .nav-col-register .btn-header-pill {
    min-width: auto;
    padding: 7px 13px;
    font-size: 13.5px;
    border-width: 1.5px;
  }

  /* Sleek Hamburger Toggle Button on the Far Right */
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    order: 4;
    background: linear-gradient(180deg, #235b95 0%, #0d1f33 100%);
    border: 1.5px solid var(--cyan-neon);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.45);
    color: #ffffff;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.22s ease;
  }

  .mobile-menu-toggle.is-active {
    background: linear-gradient(180deg, #ff1772 0%, #990033 100%);
    border-color: #ffe600;
    box-shadow: 0 0 12px rgba(255, 23, 114, 0.8);
  }

  /* Responsive Slide-Down Drawer Panel */
  .nav-col-menu {
    display: none;
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    order: 5;
    margin-top: 8px;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(14, 19, 31, 0.98) 0%, rgba(7, 9, 15, 0.99) 100%);
    border: 1.5px solid var(--gold-amber);
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.85), 0 0 16px rgba(255, 169, 0, 0.35);
    animation: mobileMenuFadeIn 0.22s ease-out;
  }

  .nav-col-menu.open {
    display: flex;
  }

  @keyframes mobileMenuFadeIn {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* 2-Column Touch-Friendly Grid inside Mobile Menu Drawer */
  .main-nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    gap: 9px;
  }

  .main-nav-list li {
    width: 100%;
  }

  /* Make the first item (หน้าแรก) span full width or stand out */
  .main-nav-list li:first-child {
    grid-column: 1 / -1;
  }

  .main-nav-list li a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .main-nav-list li a::after {
    content: '›';
    position: static;
    width: auto;
    height: auto;
    background: none;
    opacity: 0.75;
    transform: none;
    font-size: 18px;
    font-weight: 800;
    color: var(--cyan-neon);
  }

  .main-nav-list li a:hover,
  .main-nav-list li a.active {
    background: linear-gradient(90deg, rgba(255, 169, 0, 0.22) 0%, rgba(230, 44, 3, 0.22) 100%);
    border-color: var(--gold-bright);
    color: var(--gold-bright);
    box-shadow: 0 0 10px rgba(255, 169, 0, 0.35);
  }

  .main-nav-list li a:hover::after,
  .main-nav-list li a.active::after {
    color: var(--gold-bright);
    opacity: 1;
  }

  /* Full-Width Login & Register Buttons inside the Mobile Menu Drawer */
  .mobile-menu-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .mobile-menu-cta-bar .btn-header-pill {
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 10px;
  }

  .mobile-menu-cta-bar .btn-header-line {
    grid-column: 1 / -1;
    background: linear-gradient(180deg, #37cb63 0%, #1ea546 58%, #0c8932 100%);
    border: 1.5px solid #86efac;
    box-shadow: 0 0 12px rgba(55, 203, 99, 0.65);
    color: #ffffff;
  }

  .floating-line-btn {
    bottom: 20px;
    right: 16px;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    padding: 0;
  }

  .floating-line-btn svg {
    width: 32px;
    height: 32px;
  }

  .sticky-mobile-dock {
    display: none !important;
  }

  .grid-3col-33 {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .site-header-wrapper {
    padding-top: 56px;
  }

  .top-navbar-section {
    padding: 8px 10px;
  }

  .navbar-inner-4col {
    gap: 6px;
  }

  .nav-col-logo img {
    width: 116px;
  }

  /* Compact top CTA pills on phone screens so Logo + Login + Register + Menu all fit cleanly */
  .nav-col-login .btn-header-pill,
  .nav-col-register .btn-header-pill {
    padding: 6px 10px;
    font-size: 12.5px;
  }

  .mobile-menu-toggle {
    padding: 6px 11px;
    font-size: 13px;
  }

  .hero-overlay-left {
    position: relative;
    width: 100%;
    padding: 18px 16px;
    background: linear-gradient(180deg, rgba(6, 8, 14, 0.95), rgba(14, 18, 28, 0.98));
  }

  .card-overlay-3d {
    width: 66%;
    padding: 12px 14px;
  }

  .grid-2col-50,
  .grid-3col-33,
  .blog-cards-grid,
  .footer-inner-2col,
  .toc-list {
    grid-template-columns: 1fr;
  }

  .glow-h1 {
    font-size: 22px;
  }

  .glow-h2 {
    font-size: 20px;
  }

  .glow-h3 {
    font-size: 17.5px;
  }
}

@media (max-width: 390px) {
  /* On extra-small screens (<= 390px), hide top Login pill (keep Register + Menu toggle) since both are inside the drawer and bottom dock */
  .nav-col-login {
    display: none;
  }
}
