/* ============================================================
   PGFish — Global Shared Styles
   Usage (PHP): <link rel="stylesheet" href="style.css">
   ============================================================ */
   h1 {
    font-size: 3rem; }
  
  h2 {
    font-size: 2.5rem; }
  
  h3 {
    font-size: 2rem; }
  
  h4 {
    font-size: 1.5rem; }
  
  h5 {
    font-size: 1.3rem; }
  
  h6 {
    font-size: 1rem; }
  
  .clearfloat:after {
    display: table;
    content: '';
    clear: both; }
  
  ul {
    margin: 0; }
  
  p {
    margin: 0; }
  
  figure {
    margin: 0; }
  
  .thumb img {
    width: 100%;
    height: auto; }
  
  a {
    text-decoration: none !important; 
  }
  .container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  @media only screen and (min-width: 767px) {
    .container {
      max-width: 1250px;
      width: 1250px; } }
  
  @media only screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
      max-width: 691px;
      width: 691px; } }
  
  @media only screen and (min-width: 1367px) {
    .container {
      max-width: 1344px;
      width: 1344px; } 
    }
/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: 'Kanit', sans-serif;
  background: linear-gradient(90deg, #520001 0%, #ff0000 40%, #ff0000 60%, #520001 100%);
  background-attachment: fixed;
}

/* ── BUBBLE ANIMATIONS ── */
@keyframes bubble-float-a {
  0%   { transform: translateY(0px) rotate(0deg) scale(1); }
  33%  { transform: translateY(-18px) rotate(4deg) scale(1.03); }
  66%  { transform: translateY(-8px) rotate(-3deg) scale(0.97); }
  100% { transform: translateY(0px) rotate(0deg) scale(1); }
}
@keyframes bubble-float-b {
  0%   { transform: translateY(0px) rotate(0deg) scale(1); }
  40%  { transform: translateY(-22px) rotate(-5deg) scale(1.04); }
  70%  { transform: translateY(-6px) rotate(3deg) scale(0.96); }
  100% { transform: translateY(0px) rotate(0deg) scale(1); }
}
@keyframes bubble-float-c {
  0%   { transform: translateY(0px) rotate(0deg) scale(1); }
  50%  { transform: translateY(-14px) rotate(6deg) scale(1.05); }
  100% { transform: translateY(0px) rotate(0deg) scale(1); }
}
@keyframes bubble-soap-drift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  12%  { transform: translate(14px, -14px) rotate(3deg) scale(1.04); }
  25%  { transform: translate(6px, -30px) rotate(-2deg) scale(1.06); }
  38%  { transform: translate(-14px, -44px) rotate(-4deg) scale(1.03); }
  50%  { transform: translate(-20px, -36px) rotate(2deg) scale(1.01); }
  62%  { transform: translate(-8px, -50px) rotate(5deg) scale(1.05); }
  75%  { transform: translate(18px, -34px) rotate(-3deg) scale(1.02); }
  88%  { transform: translate(12px, -16px) rotate(1deg) scale(0.98); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}
@keyframes bubble-breathe {
  0%, 100% { transform: scale(1); }
  35%       { transform: scale(1.035); }
  70%       { transform: scale(0.975); }
}
@keyframes bubble-img-shine {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 8px rgba(150, 200, 255, 0.2)) hue-rotate(0deg);
  }
  33% {
    filter: brightness(1.08) drop-shadow(0 0 12px rgba(180, 160, 255, 0.32)) hue-rotate(6deg);
  }
  66% {
    filter: brightness(1.04) drop-shadow(0 0 10px rgba(140, 220, 255, 0.28)) hue-rotate(-4deg);
  }
}
@keyframes bubble-soap-shimmer {
  0%   { opacity: 0.25; transform: translate(-5px, 3px) scale(0.94); }
  25%  { opacity: 0.8; transform: translate(10px, -8px) scale(1.06); }
  50%  { opacity: 0.45; transform: translate(5px, -14px) scale(1.02); }
  75%  { opacity: 0.9; transform: translate(-8px, -10px) scale(1.08); }
  100% { opacity: 0.25; transform: translate(-5px, 3px) scale(0.94); }
}
@keyframes bubble-soap-drift-sm {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  12%  { transform: translate(7px, -8px) rotate(2deg) scale(1.03); }
  25%  { transform: translate(3px, -16px) rotate(-1.5deg) scale(1.05); }
  38%  { transform: translate(-7px, -22px) rotate(-3deg) scale(1.03); }
  50%  { transform: translate(-10px, -18px) rotate(1.5deg) scale(1.01); }
  62%  { transform: translate(-4px, -26px) rotate(3deg) scale(1.04); }
  75%  { transform: translate(9px, -18px) rotate(-2deg) scale(1.02); }
  88%  { transform: translate(6px, -8px) rotate(0.5deg) scale(0.98); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

/* ── BUBBLE WRAP (shared) ── */
.bubble-wrap {
  position: absolute;
  pointer-events: none;
  animation: bubble-soap-drift 7s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
.bubble-wrap--sm {
  animation-name: bubble-soap-drift-sm;
  animation-duration: 6s;
}
.bubble-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 36% 30%,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(220, 200, 255, 0.1) 22%,
    transparent 38%
  );
  mix-blend-mode: screen;
  animation: bubble-soap-shimmer 3.2s ease-in-out infinite;
  animation-delay: -1.2s;
  z-index: 1;
  pointer-events: none;
}
.bubble-wrap > img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation:
    bubble-img-shine 3.5s ease-in-out infinite,
    bubble-breathe 4.8s ease-in-out infinite;
  animation-delay: 0s, -0.6s;
}

/* ── BREAKPOINT VISIBILITY ── */
@media (min-width: 921px) { .layout-mobile-only { display: none !important; } }
@media (max-width: 920px) { .layout-desktop-only { display: none !important; } }

/* ── DESKTOP SCALER SHELL ── */
.page-scaler  { width: 100%; overflow: hidden; margin-top: 80px; }
.page-wrapper { width: 1680px; transform-origin: top left; }
/* .page-wrapper > section { margin-bottom: 9%; } */
.page-wrapper > section:last-of-type { margin-bottom: 0; }

/* ── DESKTOP HEADER ── */
.header {
  width: 100%; height: 80px;
  background: linear-gradient(to bottom, #910202 0%, #2a0202 100%);
  display: flex; align-items: center;
  padding: 0 clamp(16px, 3vw, 48px);
  gap: clamp(12px, 2vw, 32px);
  box-sizing: border-box;
  position: fixed; top: 0; left: 0; z-index: 1000;
}
.header-logo { height: 76px; width: auto; object-fit: contain; flex-shrink: 0; display: block; }
.nav-links {
  display: flex; flex: 1; justify-content: center;
  gap: clamp(12px, 2.5vw, 54px);
}
.nav-links a {
  display: flex; align-items: center; position: relative;
  color: #ffffff; font-size: 20px; font-weight: 500;
  font-family: 'Kanit', sans-serif;
  text-decoration: none; cursor: pointer;
  padding: 8px 0; white-space: nowrap; transition: color 0.2s;
}
.nav-links a:hover  { color: #ffcc00; }
.nav-links a.active { color: #ffcc00; }
.nav-links a::after {
  content: ''; position: absolute; bottom: 3px; left: 0;
  width: 0; height: 2px; background: #ffcc00;
  transition: width 0.25s ease; border-radius: 1px;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: clamp(8px, 1vw, 18px); flex-shrink: 0; }
.nav-btn-register,
.nav-btn-login {
  height: clamp(36px, 4vw, 56px); width: auto;
  object-fit: contain; cursor: pointer;
  border-radius: 32px; display: block;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.nav-btn-register:hover,
.nav-btn-login:hover {
  transform: scale(1.06);
  filter: brightness(1.12) drop-shadow(0 0 10px rgba(255,120,0,0.65));
}
.nav-btn-register:active,
.nav-btn-login:active { transform: scale(0.95); filter: brightness(0.92); }
.nav-btn-menu {
  height: clamp(36px, 4vw, 56px); width: clamp(36px, 4vw, 56px);
  cursor: pointer; border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: none; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 6px; border: none; padding: 0; flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.nav-btn-menu span { display: block; width: 60%; height: 2px; background: #ffffff; border-radius: 2px; }
.nav-btn-menu:hover  { transform: scale(1.1) rotate(10deg); filter: brightness(1.2); }
.nav-btn-menu:active { transform: scale(0.95) rotate(0deg); }

/* ── DESKTOP FOOTER ── */
.section-footer { position: relative; width: 1680px; height: 400px; flex-shrink: 0; }
.section-footer::before {
  content: ''; position: absolute;
  left: var(--bg-offset, 0px); top: 0;
  width: var(--bg-vw, 1680px); height: 100%;
  background: linear-gradient(to bottom, #d00000 0%, #280804 100%);
}
.section-footer .sf-logo  { position: absolute; left: 24px;   top: 48px;  width: 298px; height: 84px;  object-fit: contain; }
.section-footer .sf-heading-1,
.section-footer .sf-heading-2 {
  position: absolute; top: 48px;
  font-family: 'Kanit', sans-serif; font-size: 28px; font-weight: 500;
  background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  white-space: nowrap; line-height: 1.5;
}
.section-footer .sf-heading-1 { left: 454px; }
.section-footer .sf-heading-2 { left: 672px; }
.section-footer .sf-links-1,
.section-footer .sf-links-2 { position: absolute; top: 48px; display: flex; flex-direction: column; }
.section-footer .sf-links-1 { left: 454px; top: 96px; }
.section-footer .sf-links-2 { left: 640px; top: 96px; }
.section-footer .sf-links-1 a,
.section-footer .sf-links-2 a {
  font-family: 'Kanit', sans-serif; font-size: 24px; font-weight: 300;
  color: #ffffff; text-decoration: none; line-height: 62px; white-space: nowrap;
}
.section-footer .sf-links-1 a:hover,
.section-footer .sf-links-2 a:hover { color: #ffe264; }
.section-footer .sf-img1 { position: absolute; left: 1352px; top: 48px;  width: 304px; height: 78px;  object-fit: contain; }
.section-footer .sf-img2 { position: absolute; left: 1352px; top: 142px; width: 179px; height: 79px;  object-fit: contain; }
.section-footer .sf-img3 { position: absolute; left: 1582px; top: 142px; width: 74px;  height: 79px;  object-fit: contain; }
.section-footer .sf-img4 { position: absolute; left: 1352px; top: 237px; width: 304px; height: 100px; object-fit: contain; }

/* ── MOBILE OVERLAY ── */
.m-overlay {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1500; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.m-overlay.open { opacity: 1; pointer-events: auto; }

/* ── MOBILE SIDEBAR ── */
.m-sidebar {
  position: fixed; top: 0; right: 0;
  width: 65vw; max-width: 260px;
  height: 100vh; height: 100dvh;
  background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
  z-index: 1600; transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column;
  overflow: hidden; overflow-y: auto;
}
.m-sidebar.open { transform: translateX(0); }
.m-sidebar::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px; z-index: 1;
  background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
}
.m-sidebar::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; z-index: 1;
  background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
}
.m-sidebar .m-sb-bottom-imgs .m-sb-img4 , .m-sidebar .m-sb-bottom-imgs .m-sb-img5 {
  margin-bottom: 10px;
  width: 80% !important;
}

/* ── SIDEBAR HEADER ── */
.m-sb-header { position: relative; height: 22.5vw; max-height: 90px; flex-shrink: 0; padding-top: 2px; }
.m-sb-logo {
  position: absolute; left: 4vw; top: 6vw;
  width: 35vw; max-width: 140px;
  height: 12.5vw; max-height: 50px;
  object-fit: contain;
}
.m-sb-close {
  position: absolute; right: 4vw; top: 7.75vw;
  width: 9vw; height: 9vw;
  max-width: 36px; max-height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 2.5vw; border: none; cursor: pointer;
}
.m-sb-close::before,
.m-sb-close::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 3.5vw; height: 0.5vw;
  max-width: 14px; max-height: 2px;
  background: rgba(255,255,255,0.8); border-radius: 0.25vw;
}
.m-sb-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.m-sb-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }

/* ── SIDEBAR NAV ── */
.m-sb-divider { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw; }
.m-sb-nav-item {
  height: 11.75vw; max-height: 47px; flex-shrink: 0;
  margin: 0 3vw; border-radius: 2.5vw;
  display: flex; align-items: center; padding: 0 4vw;
  font-family: 'Kanit', sans-serif;
  font-size: 3.75vw; font-weight: 400;
  color: rgba(255,255,255,0.75);
  cursor: pointer; text-decoration: none;
}
.m-sb-nav-item:first-of-type { margin-top: 2vw; }
.m-sb-nav-item.active { font-weight: 600; color: #ffffff; background: rgba(255,255,255,0.08); }
.m-sb-spacer   { flex: 1 1 0; min-height: 0; }
.m-sb-divider2 { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw 8px; }
.m-sb-img4,
.m-sb-img5 {
  display: block; flex-shrink: 0;
  width: 55%; height: auto;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: contain; cursor: pointer;
}
.m-sb-bottom-imgs {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; flex-shrink: 0;
  padding-bottom: 16px;
}
.m-sb-img5 { margin-top: 12px; }

/* ── MOBILE BOTTOM NAV ── */
@media (min-width: 921px) { .m-bottom-nav { display: none !important; } }
@media (max-width: 920px) {
  .m-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    height: 85px; z-index: 2000;
    background: linear-gradient(180deg, #1a0000 0%, #0d0000 100%);
    display: flex; align-items: flex-start;
    justify-content: space-around; padding-top: 9px;
  }
  .m-bn-btn {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    text-decoration: none; flex: 1; padding: 4px 0; cursor: pointer;
  }
  .m-bn-icon-wrap {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.45);
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  }
  .m-bn-icon-wrap svg { width: 20px; height: 20px; }
  .m-bn-label {
    font-family: 'Kanit', sans-serif;
    font-size: 10px; font-weight: 400;
    color: rgba(255,255,255,0.45); white-space: nowrap;
    transition: color 0.2s;
  }
  .m-bn-btn.active .m-bn-icon-wrap {
    background: linear-gradient(180deg, #ff4444 0%, #910202 100%);
    box-shadow: 0 0 12px rgba(255,68,68,0.5);
    color: #ffffff;
  }
  .m-bn-btn.active .m-bn-label { color: #ffe264; font-weight: 600; }
}

/* ── MOBILE TOPBAR (fixed, outside scaler) ── */
.m-topbar-fixed {
  position: fixed; top: 0; left: 0;
  width: 400px; height: 58px;
  transform-origin: top left;
  z-index: 1000;
}

/* ── NAV BUTTON INTERACTIONS ── */
.nav-btn-register,
.nav-btn-login {
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.nav-btn-register:hover,
.nav-btn-login:hover {
  transform: scale(1.06);
  filter: brightness(1.12) drop-shadow(0 0 10px rgba(255,120,0,0.65));
}
.nav-btn-register:active,
.nav-btn-login:active { transform: scale(0.95); filter: brightness(0.92); }

/* ── KEYFRAMES ── */
@keyframes hero-pulse {
  0%, 100% { filter: brightness(1.15) drop-shadow(0 0 14px rgba(255,180,0,0.55)); }
  50%       { filter: brightness(1.40) drop-shadow(0 0 36px rgba(255,180,0,0.95)); }
}

@keyframes hero-login-orbit-shadow {
  0% {
    filter: drop-shadow(0px -4px 0px #ffd54f);
  }
  8.33% {
    filter: drop-shadow(2px -3px 0px #ffd54f);
  }
  16.67% {
    filter: drop-shadow(4px -2px 0px #ffd54f);
  }
  25% {
    filter: drop-shadow(4px 0px 0px #ffd54f);
  }
  33.33% {
    filter: drop-shadow(4px 2px 0px #ffd54f);
  }
  41.67% {
    filter: drop-shadow(2px 4px 0px #ffd54f);
  }
  50% {
    filter: drop-shadow(0px 4px 0px #ffd54f);
  }
  58.33% {
    filter: drop-shadow(-2px 4px 0px #ffd54f);
  }
  66.67% {
    filter: drop-shadow(-4px 2px 0px #ffd54f);
  }
  75% {
    filter: drop-shadow(-4px 0px 0px #ffd54f);
  }
  83.33% {
    filter: drop-shadow(-4px -2px 0px #ffd54f);
  }
  91.67% {
    filter: drop-shadow(-2px -4px 0px #ffd54f);
  }
  100% {
    filter: drop-shadow(0px -4px 0px #ffd54f);
  }
}

@keyframes hero-login-orbit-shadow-sm {
  0% {
    filter: drop-shadow(0px -2px 0px #ffd54f);
  }
  8.33% {
    filter: drop-shadow(1px -2px 0px #ffd54f);
  }
  16.67% {
    filter: drop-shadow(2px -1px 0px #ffd54f);
  }
  25% {
    filter: drop-shadow(2px 0px 0px #ffd54f);
  }
  33.33% {
    filter: drop-shadow(2px 1px 0px #ffd54f);
  }
  41.67% {
    filter: drop-shadow(1px 2px 0px #ffd54f);
  }
  50% {
    filter: drop-shadow(0px 2px 0px #ffd54f);
  }
  58.33% {
    filter: drop-shadow(-1px 2px 0px #ffd54f);
  }
  66.67% {
    filter: drop-shadow(-2px 1px 0px #ffd54f);
  }
  75% {
    filter: drop-shadow(-2px 0px 0px #ffd54f);
  }
  83.33% {
    filter: drop-shadow(-2px -1px 0px #ffd54f);
  }
  91.67% {
    filter: drop-shadow(-1px -2px 0px #ffd54f);
  }
  100% {
    filter: drop-shadow(0px -2px 0px #ffd54f);
  }
}


/* ============================================================
   PAGE: INDEX
   ============================================================ */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { overflow-x: hidden; }
    body {
      font-family: 'Kanit', sans-serif;
      background: linear-gradient(90deg, #520001 0%, #ff0000 40%, #ff0000 60%, #520001 100%);
      background-attachment: fixed;
    }

    /* ── BREAKPOINT VISIBILITY ── */
    @media (min-width: 921px) { #layout-mobile { display: none !important; } }
    @media (max-width: 920px) { #layout-desktop { display: none !important; } }

    /* ════════════════════════════════════════
       DESKTOP STYLES
       ════════════════════════════════════════ */

    .page-scaler { width: 100%; overflow: hidden; margin-top: 80px; }
    .page-wrapper { width: 1680px; transform-origin: top left; }
/*     .page-wrapper > section { margin-bottom: 9%; } */
    .page-wrapper > section:last-of-type { margin-bottom: 0; }

    /* ─── HEADER ─── */
    .header {
      width: 100%; height: 80px;
      background: linear-gradient(to bottom, #910202 0%, #2a0202 100%);
      display: flex; align-items: center;
      padding: 0 clamp(16px, 3vw, 48px);
      gap: clamp(12px, 2vw, 32px);
      box-sizing: border-box;
      position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    }
    .header-logo {
      height: 76px; width: auto; object-fit: contain;
      flex-shrink: 0; display: block;
    }
    .nav-links {
      display: flex; flex: 1; justify-content: center;
      gap: clamp(12px, 2.5vw, 54px);
    }
    .nav-links a {
      display: flex; align-items: center; position: relative;
      color: #ffffff; font-size: 20px;
      font-weight: 500; font-family: 'Kanit', sans-serif;
      text-decoration: none; cursor: pointer;
      padding: 8px 0; white-space: nowrap; transition: color 0.2s;
    }
    .nav-links a:hover { color: #ffcc00; }
    .nav-links a.active { color: #ffcc00; }
    .nav-links a { position: relative; }
    .nav-links a::after {
      content: ''; position: absolute; bottom: 3px; left: 0;
      width: 0; height: 2px; background: #ffcc00;
      transition: width 0.25s ease; border-radius: 1px;
    }
    .nav-links a:hover::after,
    .nav-links a.active::after { width: 100%; }
    .nav-actions {
      display: flex; align-items: center;
      gap: clamp(8px, 1vw, 18px); flex-shrink: 0;
    }
    .nav-btn-register, .nav-btn-login {
      height: clamp(36px, 4vw, 56px); width: auto;
      object-fit: contain; cursor: pointer;
      border-radius: 32px; display: block;
      transition: transform 0.15s ease, filter 0.15s ease;
    }
    .nav-btn-register:hover, .nav-btn-login:hover {
      transform: scale(1.06);
      filter: brightness(1.12) drop-shadow(0 0 10px rgba(255,120,0,0.65));
    }
    .nav-btn-register:active, .nav-btn-login:active {
      transform: scale(0.95); filter: brightness(0.92);
    }
    .nav-btn-menu {
      height: clamp(36px, 4vw, 56px); width: clamp(36px, 4vw, 56px);
      cursor: pointer; border-radius: 8px;
      background: rgba(255,255,255,0.1);
      display: none; flex-direction: column;
      justify-content: center; align-items: center;
      gap: 6px; border: none; padding: 0; flex-shrink: 0;
      transition: transform 0.2s ease, filter 0.2s ease;
    }
    .nav-btn-menu span { display: block; width: 60%; height: 2px; background: #ffffff; border-radius: 2px; }
    .nav-btn-menu:hover { transform: scale(1.1) rotate(10deg); filter: brightness(1.2); }
    .nav-btn-menu:active { transform: scale(0.95) rotate(0deg); }

    /* ─── HERO (S1) ─── */
    .section-hero { position: relative; width: 1680px; height: 963px; margin-bottom: 8% !important; }
    .section-hero .hero-bg { position: absolute; left: var(--bg-offset, 0px); top: 0; width: var(--bg-vw, 100%); height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%); mask-image: linear-gradient(to bottom, black 60%, transparent 100%); }
    .section-hero .hero-char-left { position: absolute; left: -65px; top: 8px; width: 610px; height: 749px; object-fit: contain; }
    .section-hero .hero-char-right { position: absolute; left: 1171px; top: 29px; width: 642px; height: 754px; object-fit: contain; }
    .section-hero .hero-center { position: absolute; left: 417px; top: 88px; width: 852px; height: 575px; object-fit: contain; }
    .section-hero .hero-btn-register {
      position: absolute; left: 308px; top: 660px; width: 588px; height: 228px;
      object-fit: contain; cursor: pointer; border-radius: 32px;
      animation: hero-pulse 2.4s ease-in-out infinite;
      transition: transform 0.15s ease;
    }
    .section-hero .hero-btn-login-wrap {
      position: absolute; left: 766px; top: 663px;
      width: 588px; height: 227px;
      cursor: pointer;
      transition: transform 0.15s ease;
    }
    .section-hero .hero-btn-login {
      display: block;
      width: 100%; height: 100%;
      object-fit: contain;
      animation: hero-login-orbit-shadow 2s linear infinite;
      transition: filter 0.15s ease;
    }
    .section-hero .hero-btn-register:hover {
      animation: none;
      filter: brightness(1.18) drop-shadow(0 0 32px rgba(255,165,0,0.95));
      transform: scale(1.04);
    }
    .section-hero .hero-btn-login-wrap:hover {
      transform: scale(1.04);
    }
    .section-hero .hero-btn-login-wrap:hover .hero-btn-login {
      animation: none;
      filter: brightness(1.18) drop-shadow(0 0 2px rgba(255, 220, 120, 0.9));
    }
    .section-hero .hero-btn-register:active {
      animation: none; transform: scale(0.97); filter: brightness(0.93);
    }
    .section-hero .hero-btn-login-wrap:active {
      transform: scale(0.97);
    }
    .section-hero .hero-btn-login-wrap:active .hero-btn-login {
      animation: none;
      filter: brightness(0.93);
    }
    @keyframes hero-pulse {
      0%, 100% { filter: brightness(1.15) drop-shadow(0 0 14px rgba(255,180,0,0.55)); }
      50%       { filter: brightness(1.40) drop-shadow(0 0 36px rgba(255,180,0,0.95)); }
    }

    /* ─── PROMO (S2) ─── */
    .section-promo { position: relative; width: 1680px; height: 1064px; margin-top: -5.88% !important; margin-bottom: 3.12% !important; }
    .section-promo .s2-bg { position: absolute; left: var(--bg-offset, 0px); top: 0; width: var(--bg-vw, 100%); height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%); }
    .section-promo .bubble-wrap {
      right: -5px; top: 45px;
      width: 344px; height: 341px;
    }
/*     .section-promo .s2-title { position: absolute; left: 0; top: 0; right:3rem; margin:auto; width: 793px; height: 181px; object-fit: contain; } */
.section-promo .s2-title{position:relative; display:flex; justify-content:center; margin:auto; padding-top:3rem;}
    .section-promo .s2-char-left { position: absolute; left: -12%; top: 164px; width: 691px; height: 1052px; object-fit: contain; }
    .section-promo .promo-slot {
      position: absolute; object-fit: contain; cursor: pointer;
      transition: left 0.55s cubic-bezier(0.4,0,0.2,1),
                  top 0.55s cubic-bezier(0.4,0,0.2,1),
                  width 0.55s cubic-bezier(0.4,0,0.2,1),
                  height 0.55s cubic-bezier(0.4,0,0.2,1),
                  opacity 0.3s ease;
    }
    .section-promo .promo-slot[data-slot="left"]   { left:358px; top:398px; width:414px; height:414px; opacity:0.8; }
    .section-promo .promo-slot[data-slot="center"] { left:565px; top:330px; width:552px; height:551px; opacity:1; }
    .section-promo .promo-slot[data-slot="right"]  { left:906px; top:398px; width:416px; height:415px; opacity:0.8; }
    .section-promo .promo-slot[data-slot="center"]:hover { filter: brightness(1.1) drop-shadow(0 0 24px rgba(255,165,0,0.6)); }

    /* ─── GAMES (S4) ─── */
    .section-games { position: relative; width: 1680px; height: 1064px; margin-top: -5%; }
    .section-games .s4-bg { position: absolute; left: var(--bg-offset, 0px); top: 0; width: var(--bg-vw, 100%); height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%); }
.section-games .s4-title{position:relative; display:flex; justify-content:center; margin:auto; padding-top:5rem;}
/*     .section-games .s4-title {
    position: absolute;
    left: 0;
	right:0;
	margin:auto;
    top: 3rem;
    width: 744px;
    height: 177px;
    object-fit: contain;
} */
    .section-games .game-cats { position: relative; left: var(--bg-offset, 0px); top: 0; width: var(--bg-vw, 100%); height: 261px; overflow: hidden; cursor: grab;     margin: 2rem auto 3rem;}
    .section-games .game-cats.dragging { cursor: grabbing; }
    .section-games .game-cats-track {
      display: flex; align-items: center; gap: 12px;
      padding: 0;
      will-change: transform;
      user-select: none; -webkit-user-select: none;
    }
    .section-games .game-cats img {
      width: 237px; height: 237px; object-fit: cover; border-radius: 12px;
      flex-shrink: 0; pointer-events: none; transition: filter 0.2s;
    }
    .section-games .game-cats img:hover { filter: brightness(1.1) drop-shadow(0 0 12px rgba(255,160,0,0.5)); }
/*     .section-games .hot-row-overlay { position: absolute; left: var(--bg-offset, 0px); top: 757px; width: var(--bg-vw, 100%); height: 137px;  z-index: 1; } */
    .section-games .hot-row {
      position: relative; left: var(--bg-offset, 0px); top: 0; width: var(--bg-vw, 100%); height: 137px;
      overflow: hidden;
      z-index: 2; cursor: grab;
		background: rgba(0,0,0,0.5);
    }
    .section-games .hot-row.dragging { cursor: grabbing; }
    .section-games .hot-track {
      display: flex; align-items: center; gap: 24px;
      padding: 0 24px;
      will-change: transform;
      user-select: none; -webkit-user-select: none;
    }
    .section-games .hot-track img { height: 110px; width: auto; flex-shrink: 0; border-radius: 10px; pointer-events: none; }
    .section-games .hot-track img:hover { filter: brightness(1.1) drop-shadow(0 0 10px rgba(255,160,0,0.5)); }
    /* ─── SERVICE (S3) ─── */
    .section-service { position: relative; width: 1680px; height: 665px; margin-top: -10%; }
    .section-service .s3-base   { position: absolute; left: 110px; top: 1px;  width: 1453px; height: 564px; background: #3f0000; border: 2px solid #ed291a; border-radius: 64px; filter: blur(4px); z-index: 1; }
    .section-service .s3-bg     { position: absolute; left: 109px; top: 0;    width: 1456px; height: 564px; object-fit: cover; border-radius: 64px; z-index: 2; }
    .section-service .s3-border { position: absolute; left: 113px; top: 1px;  width: 1452px; height: 564px; border: 4px solid #fc9c9c; border-radius: 64px; z-index: 3; }
    .section-service .s3-group  { position: absolute; left: 684px; top: 61px; width: 820px;  height: 430px; object-fit: contain; z-index: 4; }
    .section-service .s3-img1   { position: absolute; left: 69px;  top: 35px; width: 618px;  height: 559px; object-fit: contain; z-index: 5; }
    .section-service .s3-img2   { position: absolute; left: 1415px; top: 425px; width: 240px; height: 240px; object-fit: contain; z-index: 5; }

    /* ─── WINNERS (S5) ─── */
    .section-winners { position: relative; width: 1680px; height: 1104px;  }
    .section-winners .bubble-wrap {
      left: -57px; top: 14px;
      width: 288px; height: 286px;
      animation-delay: -2s;
    }
    .section-winners .bubble-wrap::before { animation-delay: -2.8s; }
    .section-winners .winner-title {
      position: absolute; left: 447px; top: 0; width: 819px;
      text-align: center; font-family: 'Kanit', sans-serif; font-size: 96px; font-weight: 700;
      background: linear-gradient(180deg, #ffffe6 0%, #e1b55d 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      line-height: 1.3;
    }
    .section-winners .winner-games { position: absolute; left: 26px; right: 26px; top: 137px; display: flex; gap: 12px; }
    .section-winners .winner-games img {
      flex: 1 1 0; min-width: 0; height: 189px; object-fit: cover;
      border-radius: 12px; cursor: pointer; transition: transform 0.2s;
    }
    .section-winners .winner-games img:hover { transform: scale(1.03); filter: brightness(1.08) drop-shadow(0 0 10px rgba(255,180,0,0.45)); }
    .section-winners .light-top { position: absolute; left: var(--bg-offset, 0px); top: 272px; width: var(--bg-vw, 100%); height: 125px; object-fit: cover; }
    .section-winners .s5-bg { position: absolute; left: var(--bg-offset, 0px); top: 366px; width: var(--bg-vw, 100%); height: 711px; object-fit: cover; }
    .section-winners .s5-img1 { position: absolute; left: 962px; top: 338px; width: 837px; height: 598px; object-fit: contain; }
    .section-winners .s5-img2 { position: absolute; left: 635px; top: 434px; width: 586px; height: 587px; object-fit: contain; }
    .section-winners .s5-games-grid { position: absolute; left: 26px; top: 431px; width: 610px; height: 610px; }
    .section-winners .s5-games-grid img { position: absolute; width: 305px; height: 305px; object-fit: cover; border-radius: 8px; }
    .section-winners .s5-games-grid img.g3 { left: 0; top: 0; }
    .section-winners .s5-games-grid img.g4 { left: 305px; top: 3px; }
    .section-winners .s5-games-grid img.g5 { left: 0; top: 284px; }
    .section-winners .s5-games-grid img.g6 { left: 305px; top: 281px; }
    .section-winners .light-bot { position: absolute; left: var(--bg-offset, 0px); top: 978px; width: var(--bg-vw, 100%); height: 126px; object-fit: cover; }

    /* ─── PLATFORM (S6) ─── */
    .section-platform { position: relative; width: 1680px; height: 624px; overflow: hidden; }
    .section-platform .s6-dark-box { position: absolute; left: 66px; top: 38px; width: 1548px; height: 521px; background: #300005; border-radius: 70px; }
    .section-platform .s6-platform { position: absolute; left: 27px; top: 0; width: 1626px; height: 598px; object-fit: cover; }
    .section-platform .s6-img2 { position: absolute; left: 66px; top: 55px; width: 784px; height: 524px; object-fit: contain; }
    .section-platform .s6-img3 { position: absolute; left: 1329px; top: 299px; width: 344px; height: 325px; object-fit: contain; }
    .section-platform .s6-title { position: absolute; left: 873px; top: 75px; width: 745px; font-family: 'Kanit', sans-serif; font-size: 40px; font-weight: 700; color: #ffffff; text-align: center; line-height: 1; }
    .section-platform .s6-subtitle { position: absolute; left: 873px; top: 163px; width: 745px; font-family: 'Kanit', sans-serif; font-size: 32px; font-weight: 500; color: #ffbc00; text-align: center; line-height: 1; }
    .section-platform .s6-dot { position: absolute; left: 891px; top: 276px; width: 26px; height: 27px; border-radius: 50%; background: #ffc200; }
    .section-platform .s6-body { position: absolute; left: 934px; top: 255px; width: 704px; font-family: 'Kanit', sans-serif; font-size: 24px; font-weight: 400; color: #ffffff; line-height: 1.8; }

    /* ─── ABOUT (S7) ─── */
    .section-about { position: relative; width: 1680px; height: 1480px; overflow: hidden;  }
    .section-about .s7-title { position: absolute; left: 333px; top: 0; width: 1016px; height: 287px; object-fit: contain; z-index: 10; }
    .section-about .s7-bg { position: absolute; left: 99px; top: 117px; width: 1494px; height: 618px; object-fit: fill; }
    .section-about .s7-char-left { position: absolute; left: -39px; top: 264px; width: 371px; height: 493px; object-fit: contain; }
    .section-about .s7-char-left2 { position: absolute; left: 316px; top: 206px; width: 323px; height: 454px; object-fit: contain; }
    .section-about .s7-char-center { position: absolute; left: 644px; top: 198px; width: 342px; height: 481px; object-fit: contain; }
    .section-about .s7-char-right2 { position: absolute; left: 990px; top: 206px; width: 323px; height: 454px; object-fit: contain; }
    .section-about .s7-char-right { position: absolute; left: 1365px; top: 295px; width: 308px; height: 422px; object-fit: contain; }
    .section-about .s7-text2 { position: absolute; left: 266px; top: 428px; width: 1214px; height: 408px; object-fit: contain; }
    .section-about .bubble-wrap {
      left: 41px; top: 756px;
      width: 225px; height: 223px;
      animation-delay: -3.5s;
    }
    .section-about .bubble-wrap::before { animation-delay: -4s; }
    .section-about .s7-game-display { position: absolute; left: 91px; top: 911px; width: 1474px; height: auto; padding: 40px 48px 51px; background: #3f0000; border-radius: 64px; z-index: 1; }
    .section-about .pg-title {
      position: relative; width: 100%;
      text-align: center; font-family: 'Kanit', sans-serif; font-size: 48px; font-weight: 500;
      background: linear-gradient(180deg, #ffe264 0%, #ff7710 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      margin-bottom: 32px;
    }
    .section-about .about-text {
      position: relative; width: 100%;
      font-family: 'Kanit', sans-serif; font-size: 24px; font-weight: 400;
      color: #ffffff; line-height: 1.8;
    }
    .section-about .about-text p { margin: 0 0 14px 0; }

.section-about .s7-mini-game {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .section-about.is-mini-game-hidden {
      height: auto;
      min-height: 0;
      padding: 48px 91px 64px;
      box-sizing: border-box;
    }

    .section-about.is-mini-game-hidden .s7-game-display {
      position: relative;
      left: auto;
      top: auto;
      width: 100%;
      margin: 0 auto;
    }
    /* ─── FOOTER ─── */
    .section-footer {
      position: relative; width: 1680px; height: 400px;
      flex-shrink: 0;
    }
    .section-footer::before {
      content: '';
      position: absolute;
      left: var(--bg-offset, 0px); top: 0;
      width: var(--bg-vw, 1680px); height: 100%;
      background: linear-gradient(to bottom, #d00000 0%, #280804 100%);
    }
    .section-footer .sf-logo {
      position: absolute; left: 24px; top: 48px; width: 298px; height: 84px; object-fit: contain;
    }
    .section-footer .sf-heading-1,
    .section-footer .sf-heading-2 {
      position: absolute; top: 48px;
      font-family: 'Kanit', sans-serif; font-size: 28px; font-weight: 500;
      background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      white-space: nowrap; line-height: 1.5;
    }
    .section-footer .sf-heading-1 { left: 454px; }
    .section-footer .sf-heading-2 { left: 672px; }
    .section-footer .sf-links-1,
    .section-footer .sf-links-2 {
      position: absolute; top: 48px; display: flex; flex-direction: column;
    }
    .section-footer .sf-links-1 { left: 454px; top: 96px; }
    .section-footer .sf-links-2 { left: 640px; top: 96px; }
    .section-footer .sf-links-1 a,
    .section-footer .sf-links-2 a {
      font-family: 'Kanit', sans-serif; font-size: 24px; font-weight: 300;
      color: #ffffff; text-decoration: none; line-height: 62px; white-space: nowrap;
    }
    .section-footer .sf-links-1 a:hover,
    .section-footer .sf-links-2 a:hover { color: #ffe264; }
    .section-footer .sf-img1 { position: absolute; left: 1352px; top: 48px;  width: 304px; height: 78px;  object-fit: contain; }
    .section-footer .sf-img2 { position: absolute; left: 1352px; top: 142px; width: 179px; height: 79px;  object-fit: contain; }
    .section-footer .sf-img3 { position: absolute; left: 1582px; top: 142px; width: 74px;  height: 79px;  object-fit: contain; }
    .section-footer .sf-img4 { position: absolute; left: 1352px; top: 237px; width: 304px; height: 100px; object-fit: contain; }

    /* ════════════════════════════════════════
       MOBILE STYLES  (all scoped under #layout-mobile)
       ════════════════════════════════════════ */

    #layout-mobile { overflow: hidden; }
    #layout-mobile .mobile-scaler { width: 400px; transform-origin: top left; }
    #layout-mobile .mobile-wrapper {
      position: relative; width: 400px;
      background: linear-gradient(90deg, #520001 0%, #ff0000 40%, #ff0000 60%, #520001 100%);
      background-attachment: fixed; overflow: hidden;
    }

    /* S1 HERO */
    #layout-mobile .m-topbar {
      position: fixed; top: 0; left: 0; width: 400px; height: 58px;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      transform-origin: top left; z-index: 1000;
    }
    #layout-mobile .m-topbar .m-btn-menu {
      position: absolute; left: 5px; top: 10px;
      width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5;
    }
    #layout-mobile .m-topbar .m-logo {
      position: absolute; left: 125px; top: 9px;
      width: 150px; height: 41px; object-fit: contain; display: block;
    }
    #layout-mobile .m-topbar .m-btn-login-sm {
      position: absolute; left: 355px; top: 10px;
      width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5;
    }
    #layout-mobile .s1-hero-bg { position: absolute; left: 0; top: 30px; width: 400px; height: 229px; object-fit: cover; z-index: 1; }
    #layout-mobile .s1-char-left { position: absolute; left: -10px; top: 55px; width: 120px; height: 147px; object-fit: contain; z-index: 5; }
    #layout-mobile .s1-char-right { position: absolute; left: 290px; top: 57px; width: 130px; height: 153px; object-fit: contain; z-index: 5; }
    #layout-mobile .s1-center { position: absolute; left: 90px; top: 60px; width: 220px; height: 148px; object-fit: contain; z-index: 6; }
    #layout-mobile .s1-cta-group {
      position: absolute; left: 0; top: 0; width: 400px; z-index: 7;
    }
    #layout-mobile .s1-cta-group.is-stuck {
      position: fixed; left: 0; top: 58px; width: 400px;
      transform-origin: top left; z-index: 999;
    }
    #layout-mobile .s1-btn-register {
      position: absolute; left: -5px; top: 186px; width: 230px; height: 89px;
      object-fit: contain; cursor: pointer; border-radius: 13px;
      animation: hero-pulse 2.4s ease-in-out infinite;
      transition: transform 0.15s ease;
    }
    #layout-mobile .s1-cta-group.is-stuck .s1-btn-register {
      top: 0;
    }
    #layout-mobile .s1-btn-login-wrap {
      position: absolute; left: 174px; top: 187px;
      width: 230px; height: 89px;
      cursor: pointer;
      transition: transform 0.15s ease;
    }
    #layout-mobile .s1-cta-group.is-stuck .s1-btn-login-wrap {
      top: 1px;
    }
    #layout-mobile .s1-btn-login {
      display: block;
      width: 100%; height: 100%;
      object-fit: contain;
      animation: hero-login-orbit-shadow-sm 2s linear infinite;
      transition: filter 0.15s ease;
    }
    #layout-mobile .s1-btn-register:hover {
      animation: none;
      filter: brightness(1.45) drop-shadow(0 0 24px rgba(255,180,0,1));
      transform: scale(1.04);
    }
    #layout-mobile .s1-btn-login-wrap:hover {
      transform: scale(1.04);
    }
    #layout-mobile .s1-btn-login-wrap:hover .s1-btn-login {
      animation: none;
      filter: brightness(1.18) drop-shadow(0 0 2px rgba(255, 220, 120, 0.9));
    }
    #layout-mobile .s1-btn-register:active {
      animation: none; transform: scale(0.97); filter: brightness(0.93);
    }
    #layout-mobile .s1-btn-login-wrap:active {
      transform: scale(0.97);
    }
    #layout-mobile .s1-btn-login-wrap:active .s1-btn-login {
      animation: none;
      filter: brightness(0.93);
    }

    /* S2 PROMO */
    #layout-mobile .s2-bg { position: absolute; left: 0; top: 287px; width: 400px; height: 250px; object-fit: cover; z-index: 2; }
    #layout-mobile .bubble-wrap--s2 {
      left: 232px; top: 273px;
      width: 158px; height: 156px;
      z-index: 0;
      animation-delay: -0.8s;
    }
    #layout-mobile .s2-title { position: absolute; left: 55px; top: 269px; width: 300px; height: 66px; object-fit: contain; z-index: 9; }
    #layout-mobile .s2-char-left { position: absolute; left: -51px; top: 292px; width: 187px; height: 284px; object-fit: contain; z-index: 6; }
    #layout-mobile .s2-char-right { position: absolute; left: 265px; top: 292px; width: 187px; height: 284px; object-fit: contain; z-index: 6; }
    #layout-mobile .promo-slot-m {
      position: absolute; object-fit: contain; cursor: pointer; z-index: 10;
      transition: left 0.55s cubic-bezier(0.4,0,0.2,1),
                  top 0.55s cubic-bezier(0.4,0,0.2,1),
                  width 0.55s cubic-bezier(0.4,0,0.2,1),
                  height 0.55s cubic-bezier(0.4,0,0.2,1),
                  opacity 0.3s ease;
    }
    #layout-mobile .promo-slot-m[data-slot="left"]   { left:31px;  top:358px; width:140px; height:141px; opacity:0.8; }
    #layout-mobile .promo-slot-m[data-slot="center"] { left:101px; top:335px; width:187px; height:187px; opacity:1; }
    #layout-mobile .promo-slot-m[data-slot="right"]  { left:217px; top:358px; width:141px; height:141px; opacity:0.8; }
    #mPromoSwipe {
      position: absolute; left: 0; top: 310px;
      width: 400px; height: 230px; z-index: 20;
      cursor: grab;
    }
    #mPromoSwipe:active { cursor: grabbing; }

    /* S4 GAMES */
    #layout-mobile .s4-bg { position: absolute; left: -25px; top: 514px; width: 458px; height: 256px; object-fit: cover; z-index: 2; }
    #layout-mobile .s4-title { position: absolute; left: 75px; top: 557px; width: 250px; height: 59px; object-fit: contain; z-index: 5; }
    /* S4 HOT ROW (mobile) */
    #layout-mobile .m-hot-row-bg {
      position: absolute; left: 0; top: 697px; width: 400px; height: 28px;
      background: linear-gradient(180deg, rgba(56,21,20,0.9) 0%, rgba(38,7,3,0.9) 100%);
      z-index: 4;
    }
    #layout-mobile .m-hot-row {
      position: absolute; left: 0; top: 697px; width: 400px; height: 28px;
      overflow: hidden; z-index: 5; cursor: grab;
    }
    #layout-mobile .m-hot-row.dragging { cursor: grabbing; }
    #layout-mobile .m-hot-track {
      display: flex; align-items: center; gap: 10px;
      padding: 0 8px; height: 100%;
      will-change: transform; user-select: none; -webkit-user-select: none;
    }
    #layout-mobile .m-hot-track img { height: 20px; width: auto; flex-shrink: 0; border-radius: 4px; pointer-events: none; }

    #layout-mobile .m-game-cats { position: absolute; left: 0; top: 616px; width: 400px; height: 80px; overflow: hidden; cursor: grab; z-index: 5; }
    #layout-mobile .m-game-cats.dragging { cursor: grabbing; }
    #layout-mobile .m-game-cats-track { display: flex; align-items: center; gap: 5px; will-change: transform; user-select: none; -webkit-user-select: none; }
    #layout-mobile .m-game-cats-track img { width: 68px; height: 68px; object-fit: contain; flex-shrink: 0; pointer-events: none; }

    /* S3 SERVICE */
    #layout-mobile .bubble-wrap--s3 {
      left: 7px; top: 761px;
      width: 94px; height: 93px;
      z-index: 2;
      animation-delay: -1.5s;
    }
    #layout-mobile .s3-light-top { position: absolute; left: 52px; top: 731px; width: 304px; height: 25px; object-fit: contain; z-index: 6; }
    #layout-mobile .s3-bg { position: absolute; left: 23px; top: 757px; width: 353px; height: 137px; object-fit: cover; z-index: 3; }
    #layout-mobile .s3-title {
      position: absolute; left: 160px; top: 771px; width: 212px;
      font-family: 'Kanit', sans-serif; font-size: 20px; font-weight: 500;
      background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      text-align: center; line-height: 1.5; z-index: 6;
    }
    #layout-mobile .s3-subtitle { position: absolute; left: 160px; top: 794px; width: 212px; font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 500; color: #ffffff; text-align: center; z-index: 6; }
    #layout-mobile .s3-img1 { position: absolute; left: -7px; top: 752px; width: 174px; height: 157px; object-fit: contain; z-index: 7; }
    #layout-mobile .s3-dark-box { position: absolute; left: 153px; top: 766px; width: 219px; height: 118px; background: rgba(63,0,0,0.75); border-radius: 10px; z-index: 4; }
    #layout-mobile .s3-icon1 { position: absolute; left: 210px; top: 814px; width: 49px; height: 49px; object-fit: contain; z-index: 7; }
    #layout-mobile .s3-icon2 { position: absolute; left: 157px; top: 814px; width: 49px; height: 49px; object-fit: contain; z-index: 7; }
    #layout-mobile .s3-icon3 { position: absolute; left: 265px; top: 814px; width: 49px; height: 49px; object-fit: contain; z-index: 7; }
    #layout-mobile .s3-icon4 { position: absolute; left: 320px; top: 813px; width: 49px; height: 49px; object-fit: contain; z-index: 7; }
    #layout-mobile .s3-label1 { position: absolute; left: 154px; top: 863px; width: 56px; font-family: 'Kanit', sans-serif; font-size: 6px; font-weight: 600; color: #ffdaa9; text-align: center; z-index: 7; }
    #layout-mobile .s3-label2 { position: absolute; left: 204px; top: 863px; width: 56px; font-family: 'Kanit', sans-serif; font-size: 6px; font-weight: 600; color: #ffdaa9; text-align: center; z-index: 7; }
    #layout-mobile .s3-label3 { position: absolute; left: 260px; top: 863px; width: 56px; font-family: 'Kanit', sans-serif; font-size: 6px; font-weight: 600; color: #ffdaa9; text-align: center; z-index: 7; }
    #layout-mobile .s3-label4 { position: absolute; left: 317px; top: 863px; width: 56px; font-family: 'Kanit', sans-serif; font-size: 6px; font-weight: 600; color: #ffdaa9; text-align: center; z-index: 7; }
    #layout-mobile .s3-sub1 { position: absolute; left: 154px; top: 871px; width: 56px; font-family: 'Kanit', sans-serif; font-size: 4px; font-weight: 500; color: #ffffff; text-align: center; z-index: 7; }
    #layout-mobile .s3-sub2 { position: absolute; left: 203px; top: 871px; width: 56px; font-family: 'Kanit', sans-serif; font-size: 4px; font-weight: 500; color: #ffffff; text-align: center; z-index: 7; }
    #layout-mobile .s3-sub3 { position: absolute; left: 260px; top: 871px; width: 56px; font-family: 'Kanit', sans-serif; font-size: 4px; font-weight: 500; color: #ffffff; text-align: center; z-index: 7; }
    #layout-mobile .s3-sub4 { position: absolute; left: 317px; top: 871px; width: 56px; font-family: 'Kanit', sans-serif; font-size: 4px; font-weight: 500; color: #ffffff; text-align: center; z-index: 7; }
    #layout-mobile .s3-img2 { position: absolute; left: 334px; top: 862px; width: 77px; height: 77px; object-fit: contain; z-index: 8; }
    #layout-mobile .s3-light-bot { position: absolute; left: 52px; top: 884px; width: 304px; height: 25px; object-fit: contain; z-index: 6; }

    /* S5 WINNERS */
    #layout-mobile .bubble-wrap--s5 {
      left: 266px; top: 926px;
      width: 128px; height: 127px;
      z-index: 1;
      animation-delay: -2.2s;
    }
    #layout-mobile .s5-title {
      position: absolute; left: 94px; top: 904px; width: 212px;
      font-family: 'Kanit', sans-serif; font-size: 30px; font-weight: 700;
      background: linear-gradient(180deg, #ffffe6 0%, #e1b55d 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      text-align: center; line-height: 1.5; z-index: 9;
    }
    #layout-mobile .s5-winner1 { position: absolute; left: 10px; top: 947px; width: 78px; height: 44px; object-fit: contain; z-index: 5; }
    #layout-mobile .s5-winner2 { position: absolute; left: 85px; top: 947px; width: 78px; height: 44px; object-fit: contain; z-index: 5; }
    #layout-mobile .s5-winner3 { position: absolute; left: 160px; top: 947px; width: 78px; height: 44px; object-fit: contain; z-index: 5; }
    #layout-mobile .s5-winner4 { position: absolute; left: 236px; top: 947px; width: 78px; height: 44px; object-fit: contain; z-index: 5; }
    #layout-mobile .s5-winner5 { position: absolute; left: 311px; top: 946px; width: 78px; height: 44px; object-fit: contain; z-index: 5; }
    #layout-mobile .s5-light-top { position: absolute; left: 25px; top: 985px; width: 350px; height: 26px; object-fit: contain; z-index: 6; }
    #layout-mobile .s5-bg { position: absolute; left: 0; top: 1007px; width: 400px; height: 169px; object-fit: cover; z-index: 2; }
    #layout-mobile .s5-img1 { position: absolute; left: 199px; top: 998px; width: 270px; height: 193px; object-fit: contain; z-index: 5; }
    #layout-mobile .s5-img2 { position: absolute; left: 156px; top: 1020px; width: 144px; height: 144px; object-fit: contain; z-index: 6; }
    #layout-mobile .s5-game3 { position: absolute; left: 6px; top: 1019px; width: 75px; height: 75px; object-fit: contain; z-index: 5; }
    #layout-mobile .s5-game4 { position: absolute; left: 81px; top: 1020px; width: 75px; height: 75px; object-fit: contain; z-index: 5; }
    #layout-mobile .s5-game5 { position: absolute; left: 6px; top: 1089px; width: 75px; height: 75px; object-fit: contain; z-index: 5; }
    #layout-mobile .s5-game6 { position: absolute; left: 81px; top: 1089px; width: 75px; height: 75px; object-fit: contain; z-index: 5; }
    #layout-mobile .s5-light-bot { position: absolute; left: 25px; top: 1159px; width: 350px; height: 26px; object-fit: contain; z-index: 6; }

    /* S6 PLATFORM */
    #layout-mobile .s6-platform { position: absolute; left: 9px; top: 1190px; width: 380px; height: 140px; object-fit: contain; z-index: 3; }
    #layout-mobile .s6-dark-box { position: absolute; left: 17px; top: 1199px; width: 362px; height: 122px; background: #300005; border-radius: 16px; z-index: 4; }
    #layout-mobile .s6-img2 { position: absolute; left: 0; top: 1205px; width: 184px; height: 110px; object-fit: contain; z-index: 6; }
    #layout-mobile .s6-img3 { position: absolute; left: 291px; top: 1253px; width: 115px; height: 109px; object-fit: contain; z-index: 6; }
    #layout-mobile .s6-title { position: absolute; left: 161px; top: 1212px; width: 212px; font-family: 'Kanit', sans-serif; font-size: 15px; font-weight: 700; color: #ffffff; text-align: center; z-index: 7; }
    #layout-mobile .s6-subtitle { position: absolute; left: 161px; top: 1230px; width: 212px; font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 500; color: #ffbc00; text-align: center; z-index: 7; }
    #layout-mobile .s6-body { position: absolute; left: 200px; top: 1256px; width: 212px; font-family: 'Kanit', sans-serif; font-size: 8px; font-weight: 400; color: #ffffff; line-height: 1.8; z-index: 7; }
    #layout-mobile .s6-dot { position: absolute; left: 190px; top: 1259px; width: 6px; height: 6px; border-radius: 50%; background: #ffc200; z-index: 7; }

    /* S7 ABOUT */
    #layout-mobile .s7-bg { position: absolute; left: 16px; top: 1351px; width: 370px; height: 153px; object-fit: fill; z-index: 3; }
    #layout-mobile .s7-title { position: absolute; left: 74px; top: 1322px; width: 250px; height: 71px; object-fit: contain; z-index: 9; }
    #layout-mobile .s7-img-left { position: absolute; left: -18px; top: 1387px; width: 92px; height: 122px; object-fit: contain; z-index: 7; }
    #layout-mobile .s7-img-right { position: absolute; left: 330px; top: 1395px; width: 76px; height: 105px; object-fit: contain; z-index: 7; }
    #layout-mobile .s7-game1 { position: absolute; left: 151px; top: 1371px; width: 85px; height: 119px; object-fit: contain; z-index: 6; }
    #layout-mobile .s7-game2 { position: absolute; left: 70px; top: 1373px; width: 80px; height: 112px; object-fit: contain; z-index: 6; }
    #layout-mobile .s7-game3 { position: absolute; left: 237px; top: 1373px; width: 80px; height: 112px; object-fit: contain; z-index: 6; }
    #layout-mobile .s7-text { position: absolute; left: 51px; top: 1428px; width: 300px; height: 101px; object-fit: contain; z-index: 8; }
    #layout-mobile .bubble-wrap--s7 {
      left: 16px; top: 1457px;
      width: 128px; height: 127px;
      z-index: 1;
      animation-delay: -3s;
    }
    #layout-mobile .s7-about-group {
      position: absolute; left: 23px; top: 1527px; width: 353px;
      background: #3f0000; border-radius: 14px;
      border: 2px solid #ed291a;
      box-shadow: 0 0 12px rgba(237,41,26,0.45);
      padding: 12px 16px 16px; z-index: 7;
    }
    #layout-mobile .s7-about-title {
      display: block; width: 100%;
      font-family: 'Kanit', sans-serif; font-size: 30px; font-weight: 500;
      background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      text-align: center; line-height: 1.5;
    }
    #layout-mobile .s7-about-body {
      display: block; width: 100%;
      font-family: 'Kanit', sans-serif; font-size: 8px; font-weight: 400;
      color: #ffffff; line-height: 1.8; text-align: center;
    }
 #layout-mobile .s7-mini-game {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    #layout-mobile.is-mini-game-hidden .s7-about-group {
      top: 1340px;
    }

    #layout-mobile.is-mini-game-hidden .m-footer {
      top: 1600px;
    }

    /* MOBILE FOOTER */
    #layout-mobile .m-footer {
      position: absolute; left: 0; top: 1787px; width: 400px; height: 495px;
      background: linear-gradient(to bottom, #d00000 25%, #280804 75%);
    }
    #contact-mobile .m-footer,
    #news-mobile .m-footer,
    #go-mobile .m-footer,
    #promo-mobile .m-footer,
    #nd-mobile .m-footer,
    #pd-mobile .m-footer {
      position: relative; width: 400px; height: 495px;
      background: linear-gradient(to bottom, #d00000 25%, #280804 75%);
    }
    #nd-mobile .m-footer,
    #pd-mobile .m-footer {
      margin-top: 24px;
      padding-bottom: 85px;
    }
    .m-footer .go-m-f-logo {
      position: absolute; left: 118px; top: -16px; width: 163px; height: 138px; object-fit: contain; z-index: 3;
    }
    .m-footer .go-m-f-menu-heading {
      position: absolute; left: 175px; top: 98px;
      font-family: 'Kanit', sans-serif; font-size: 15px; font-weight: 500;
      background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .m-footer .go-m-f-links {
      position: absolute; left: 71px; top: 129px; display: flex; gap: 20px;
    }
    .m-footer .go-m-f-links a {
      font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 400;
      color: rgba(255,255,255,0.8); text-decoration: none; white-space: nowrap;
    }
    .m-footer .go-m-f-divider {
      position: absolute; left: 23px; top: 169px; width: 353px; height: 1px; background: rgba(255,255,255,0.15);
    }
    .m-footer .go-m-f-img1 { position: absolute; left: 138px; top: 190px; width: 125px; height: 32px; object-fit: contain; }
    .m-footer .go-m-f-imgs-row { position: absolute; left: 103px; top: 234px; display: flex; gap: 16px; align-items: center; }
    .m-footer .go-m-f-img2 { width: 100px; height: 44px; object-fit: contain; }
    .m-footer .go-m-f-img3 { width: 78px; height: 44px; object-fit: contain; }
    .m-footer .go-m-f-img4 { position: absolute; left: 121px; top: 290px; width: 158px; height: 52px; object-fit: contain; }
    .m-footer .go-m-f-copyright {
      position: absolute; left: 104px; top: 362px;
      font-family: 'Kanit', sans-serif; font-size: 11px; font-weight: 400;
      color: rgba(255,255,255,0.4); white-space: nowrap;
    }

    /* ── MOBILE SIDEBAR ── */
    #layout-mobile .m-overlay {
      position: fixed; top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(0,0,0,0.5);
      z-index: 1500;
      opacity: 0; pointer-events: none;
      transition: opacity 0.3s ease;
    }
    #layout-mobile .m-overlay.open { opacity: 1; pointer-events: auto; }

    #layout-mobile .m-sidebar {
      position: fixed; top: 0; right: 0;
      width: 65vw; max-width: 260px;
      height: 100vh; height: 100dvh;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      z-index: 1600;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      display: flex; flex-direction: column;
      overflow: hidden;
    }
    #layout-mobile .m-sidebar.open { transform: translateX(0); }
    #layout-mobile .m-sidebar::before {
      content: ''; position: absolute; top: 0; left: 0;
      width: 100%; height: 2px; z-index: 1;
      background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
    }
    #layout-mobile .m-sidebar::after {
      content: ''; position: absolute; bottom: 0; left: 0;
      width: 100%; height: 2px; z-index: 1;
      background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
    }
    #layout-mobile .m-sb-header {
      position: relative; height: 22.5vw; flex-shrink: 0; padding-top: 2px;
    }
    #layout-mobile .m-sb-logo {
      position: absolute; left: 4vw; top: 6vw;
      width: 35vw; height: 12.5vw; object-fit: contain;
    }
    #layout-mobile .m-sb-close {
      position: absolute; right: 4vw; top: 7.75vw;
      width: 9vw; height: 9vw;
      background: rgba(255,255,255,0.08);
      border-radius: 2.5vw; border: none; cursor: pointer;
    }
    #layout-mobile .m-sb-close::before,
    #layout-mobile .m-sb-close::after {
      content: ''; position: absolute;
      left: 50%; top: 50%;
      width: 3.5vw; height: 0.5vw;
      background: rgba(255,255,255,0.8);
      border-radius: 0.25vw;
    }
    #layout-mobile .m-sb-close::before { transform: translate(-50%,-50%) rotate(45deg); }
    #layout-mobile .m-sb-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
    #layout-mobile .m-sb-divider {
      height: 1px; flex-shrink: 0;
      background: rgba(255,255,255,0.15);
      margin: 0 4vw;
    }
    #layout-mobile .m-sb-nav-item {
      height: 11.75vw; flex-shrink: 0;
      margin: 0 3vw;
      border-radius: 2.5vw;
      display: flex; align-items: center;
      padding: 0 4vw;
      font-family: 'Kanit', sans-serif;
      font-size: 3.75vw; font-weight: 400;
      color: rgba(255,255,255,0.75);
      cursor: pointer; text-decoration: none;
    }
    #layout-mobile .m-sb-nav-item:first-of-type { margin-top: 2vw; }
    #layout-mobile .m-sb-nav-item.active {
      font-weight: 600; color: #ffffff;
      background: rgba(255,255,255,0.08);
    }
    #layout-mobile .m-sb-spacer { flex: 1 1 0; min-height: 0; }
    #layout-mobile .m-sb-divider2 {
      height: 1px; flex-shrink: 0;
      background: rgba(255,255,255,0.15);
      margin: 0 4vw 8px;
    }
    #layout-mobile .m-sb-img4,
    #layout-mobile .m-sb-img5 {
      display: block; flex-shrink: 0;
      width: 55%; height: auto;
      margin: 0 auto;
      border-radius: 6px;
      object-fit: contain; cursor: pointer;
      padding-bottom: 8px;
    }

  /* ── MOBILE BOTTOM NAV ── */
  @media (min-width: 921px) { .m-bottom-nav { display: none !important; } }
  @media (max-width: 920px) {
    .m-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 85px; z-index: 2000; background: linear-gradient(180deg, #1a0000 0%, #0d0000 100%); display: flex; align-items: flex-start; justify-content: space-around; padding-top: 9px; }
    .m-bn-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; flex: 1; padding: 4px 0; cursor: pointer; }
    .m-bn-icon-wrap { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); transition: background 0.2s, box-shadow 0.2s, color 0.2s; }
    .m-bn-icon-wrap svg { width: 20px; height: 20px; }
    .m-bn-label { font-family: 'Kanit', sans-serif; font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.45); white-space: nowrap; transition: color 0.2s; }
    .m-bn-btn.active .m-bn-icon-wrap { background: linear-gradient(180deg, #ff4444 0%, #910202 100%); box-shadow: 0 0 12px rgba(255,68,68,0.5); color: #ffffff; }
    .m-bn-btn.active .m-bn-label { color: #ffe264; font-weight: 600; }
  }


/* ============================================================
   PAGE: CONTACT
   ============================================================ */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { overflow-x: hidden; }
    body { font-family: 'Kanit', sans-serif; background: linear-gradient(90deg, #520001 0%, #ff0000 40%, #ff0000 60%, #520001 100%); background-attachment: fixed; }

    /* ── DESKTOP HEADER ── */
    .header {
      width: 100%; height: 80px;
      background: linear-gradient(to bottom, #910202 0%, #2a0202 100%);
      display: flex; align-items: center;
      padding: 0 clamp(16px, 3vw, 48px);
      gap: clamp(12px, 2vw, 32px);
      box-sizing: border-box;
      position: fixed; top: 0; left: 0; z-index: 1000;
    }
    .header-logo { height: 76px; width: auto; object-fit: contain; flex-shrink: 0; display: block; }
    .nav-links { display: flex; flex: 1; justify-content: center; gap: clamp(12px, 2.5vw, 54px); }
    .nav-links a {
      display: flex; align-items: center; position: relative;
      color: #ffffff; font-size: 20px;
      font-weight: 500; font-family: 'Kanit', sans-serif;
      text-decoration: none; cursor: pointer;
      padding: 8px 0; white-space: nowrap; transition: color 0.2s;
    }
    .nav-links a:hover { color: #ffcc00; }
    .nav-links a::after {
      content: ''; position: absolute; bottom: 3px; left: 0;
      width: 0; height: 2px; background: #ffcc00;
      transition: width 0.25s ease; border-radius: 1px;
    }
    .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
    .nav-links a.active { color: #ffcc00; }
    .nav-actions { display: flex; align-items: center; gap: clamp(8px, 1vw, 18px); flex-shrink: 0; }
    .nav-btn-register, .nav-btn-login {
      height: clamp(36px, 4vw, 56px); width: auto;
      object-fit: contain; cursor: pointer; border-radius: 32px; display: block;
      transition: transform 0.15s ease, filter 0.15s ease;
    }
    .nav-btn-register:hover, .nav-btn-login:hover {
      transform: scale(1.06); filter: brightness(1.12) drop-shadow(0 0 10px rgba(255,120,0,0.65));
    }
    .nav-btn-register:active, .nav-btn-login:active { transform: scale(0.95); filter: brightness(0.92); }
    .nav-btn-menu {
      height: clamp(36px, 4vw, 56px); width: clamp(36px, 4vw, 56px);
      cursor: pointer; border-radius: 8px; background: rgba(255,255,255,0.1);
      display: none; flex-direction: column; justify-content: center; align-items: center;
      gap: 6px; border: none; padding: 0; flex-shrink: 0;
      transition: transform 0.2s ease, filter 0.2s ease;
    }
    .nav-btn-menu span { display: block; width: 60%; height: 2px; background: #ffffff; border-radius: 2px; }
    .nav-btn-menu:hover { transform: scale(1.1) rotate(10deg); filter: brightness(1.2); }

    /* ── CONTACT DESKTOP (Figma 1680px) ── */
    #contactDesktopContent {
      position: relative;
      width: 100%;
    }

    #contactDesktopContent .contact-bg-layer {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100vw;
      height: 1064px;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    #contactDesktopContent .contact-bg-img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    }

    #contactScaler {
      position: relative;
      z-index: 1;
      width: 1680px;
      transform-origin: top left;
    }

    .contact-wrapper {
      position: relative;
      width: 1680px;
      padding: 64px 168px 48px;
      box-sizing: border-box;
    }

    .contact-page-title {
      margin: 0;
      font-size: 40px;
      font-weight: 700;
      line-height: 1.6;
      text-align: center;
      font-family: 'Kanit', sans-serif;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      padding: 4px 0;
    }

    .contact-page-subtitle {
      margin: 16px 0 0;
      font-size: 24px;
      font-weight: 300;
      color: #ffffff;
      text-align: center;
      line-height: 1.5;
    }

    .contact-rows {
      display: flex;
      flex-direction: column;
      gap: 26px;
      margin-top: 48px;
    }

    .contact-row {
      width: 100%;
      min-height: 149px;
      background: #2a0301;
      border: 1px solid #e1b55d;
      border-radius: 20px;
      display: flex;
      align-items: center;
      gap: 24px;
      padding: 32px 40px;
      box-sizing: border-box;
    }

    .contact-row-icon {
      width: 90px;
      height: 90px;
      flex-shrink: 0;
      border-radius: 50%;
      background: linear-gradient(to bottom, #ed2919 0%, #700000 100%);
      border: 1px solid #e1b55d;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .contact-row-text {
      display: flex;
      flex-direction: column;
      gap: 6px;
      min-width: 0;
    }

    .contact-row-label {
      font-size: 24px;
      font-weight: 500;
      color: #ffffe5;
      line-height: 1.5;
    }

    .contact-row-detail {
      font-size: 20px;
      font-weight: 300;
      color: #f2e6d9;
      line-height: 1.5;
    }

    .contact-service {
      display: flex;
      align-items: center;
      gap: 48px;
      margin-top: 48px;
    }

    .contact-service-img {
      width: 477px;
      height: auto;
      object-fit: cover;
      border-radius: 12px;
      flex-shrink: 0;
    }

    .contact-service-text {
      flex: 1;
      min-width: 0;
    }

    .contact-service-heading {
      font-size: 40px;
      font-weight: 700;
      line-height: 1.5;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .contact-service-subtitle {
      margin-top: 12px;
      font-size: 26px;
      font-weight: 300;
      color: #ffffff;
      line-height: 1.5;
    }

    #contactDesktopContent .section-footer-outer {
      position: relative;
      z-index: 1;
      width: 100%;
      display: flex;
      justify-content: center;
      overflow: hidden;
      background: linear-gradient(to bottom, #d00000 0%, #280804 100%);
    }

    #contactDesktopContent .section-footer-outer .section-footer {
      position: relative;
      width: 1680px;
      height: 400px;
      flex-shrink: 0;
      transform-origin: top center;
    }

    #contactDesktopContent .section-footer-outer .section-footer::before {
      display: none;
    }

    @media (min-width: 1680px) {
      #contactDesktopContent .section-footer-outer { height: 400px; }
    }

    @media (min-width: 921px) and (max-width: 1679px) {
      #contactDesktopContent .section-footer-outer {
        height: calc(400px * (100vw / 1680));
      }

      #contactDesktopContent .section-footer-outer .section-footer {
        transform: scale(calc(100vw / 1680));
      }
    }

    /* ════════════════════════════════════════
       FOOTER (legacy block for other contact refs)
       ════════════════════════════════════════ */
    .section-footer { position: relative; width: 1680px; height: 400px; flex-shrink: 0; z-index: 2; }
    .section-footer::before { content: ''; position: absolute; left: var(--bg-offset, 0px); top: 0; width: var(--bg-vw, 1680px); height: 100%; background: linear-gradient(to bottom, #d00000 0%, #280804 100%); }
    .section-footer .sf-logo { position: absolute; left: 24px; top: 48px; width: 298px; height: 84px; object-fit: contain; }
    .section-footer .sf-heading-1, .section-footer .sf-heading-2 { position: absolute; top: 48px; font-family: 'Kanit', sans-serif; font-size: 28px; font-weight: 500; background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; white-space: nowrap; line-height: 1.5; }
    .section-footer .sf-heading-1 { left: 454px; }
    .section-footer .sf-heading-2 { left: 672px; }
    .section-footer .sf-links-1, .section-footer .sf-links-2 { position: absolute; top: 48px; display: flex; flex-direction: column; }
    .section-footer .sf-links-1 { left: 454px; top: 96px; }
    .section-footer .sf-links-2 { left: 640px; top: 96px; }
    .section-footer .sf-links-1 a, .section-footer .sf-links-2 a { font-family: 'Kanit', sans-serif; font-size: 24px; font-weight: 300; color: #ffffff; text-decoration: none; line-height: 62px; white-space: nowrap; }
    .section-footer .sf-links-1 a:hover, .section-footer .sf-links-2 a:hover { color: #ffe264; }
    .section-footer .sf-img1 { position: absolute; left: 1352px; top: 48px;  width: 304px; height: 78px;  object-fit: contain; }
    .section-footer .sf-img2 { position: absolute; left: 1352px; top: 142px; width: 179px; height: 79px;  object-fit: contain; }
    .section-footer .sf-img3 { position: absolute; left: 1582px; top: 142px; width: 74px;  height: 79px;  object-fit: contain; }
    .section-footer .sf-img4 { position: absolute; left: 1352px; top: 237px; width: 304px; height: 100px; object-fit: contain; }

    /* ════════════════════════════════════════
       MOBILE SIDEBAR
       ════════════════════════════════════════ */
    .m-overlay {
      position: fixed; top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(0,0,0,0.5);
      z-index: 1500; opacity: 0; pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .m-overlay.open { opacity: 1; pointer-events: auto; }
    .m-sidebar {
      position: fixed; top: 0; right: 0;
      width: 65vw; height: 100vh; height: 100dvh;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      z-index: 1600; transform: translateX(100%);
      transition: transform 0.3s ease;
      display: flex; flex-direction: column; overflow: hidden;
    }
    .m-sidebar.open { transform: translateX(0); }
    .m-sidebar::before {
      content: ''; position: absolute; top: 0; left: 0;
      width: 100%; height: 2px; z-index: 1;
      background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
    }
    .m-sidebar::after {
      content: ''; position: absolute; bottom: 0; left: 0;
      width: 100%; height: 2px; z-index: 1;
      background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
    }
    .m-sb-header { position: relative; height: 22.5vw; flex-shrink: 0; padding-top: 2px; }
    .m-sb-logo { position: absolute; left: 4vw; top: 6vw; width: 35vw; height: 12.5vw; object-fit: contain; }
    .m-sb-close {
      position: absolute; right: 4vw; top: 7.75vw;
      width: 9vw; height: 9vw;
      background: rgba(255,255,255,0.08); border-radius: 2.5vw; border: none; cursor: pointer;
    }
    .m-sb-close::before, .m-sb-close::after {
      content: ''; position: absolute; left: 50%; top: 50%;
      width: 3.5vw; height: 0.5vw;
      background: rgba(255,255,255,0.8); border-radius: 0.25vw;
    }
    .m-sb-close::before { transform: translate(-50%,-50%) rotate(45deg); }
    .m-sb-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
    .m-sb-divider { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw; }
    .m-sb-nav-item {
      height: 11.75vw; flex-shrink: 0; margin: 0 3vw; border-radius: 2.5vw;
      display: flex; align-items: center; padding: 0 4vw;
      font-family: 'Kanit', sans-serif; font-size: 3.75vw; font-weight: 400;
      color: rgba(255,255,255,0.75); cursor: pointer; text-decoration: none;
    }
    .m-sb-nav-item:first-of-type { margin-top: 2vw; }
    .m-sb-nav-item.active { font-weight: 600; color: #ffffff; background: rgba(255,255,255,0.08); }
    .m-sb-spacer { flex: 1 1 0; min-height: 0; }
    .m-sb-divider2 { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw 8px; }
    .m-sb-img4, .m-sb-img5 {
      display: block; flex-shrink: 0;
      width: 55%; height: auto;
      margin: 0 auto;
      border-radius: 6px;
      object-fit: contain; cursor: pointer;
    }

    /* ── BREAKPOINTS ── */
    @media (min-width: 921px) { #contact-mobile { display: none !important; } }
    @media (max-width: 920px) {
      .header                 { display: none !important; }
      #contactDesktopContent  { display: none !important; }
      footer.footer           { display: none !important; }
    }

    /* ════════════════════════════════════════
       MOBILE LAYOUT
       ════════════════════════════════════════ */
    #contact-mobile { overflow: hidden; }
    #contact-mobile .cm-scaler { width: 400px; transform-origin: top left; }
    #contact-mobile .cm-wrapper {
      position: relative; width: 400px;
      background: linear-gradient(90deg, #520001 0%, #ff0000 40%, #ff0000 60%, #520001 100%);
    }

    /* TOPBAR */
    #contact-mobile .cm-topbar {
      position: fixed; top: 0; left: 0; width: 400px; height: 58px;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      transform-origin: top left; z-index: 1000;
    }
    #contact-mobile .cm-wrapper { padding-top: 58px; }
    #contact-mobile .cm-btn-menu {
      position: absolute; left: 5px; top: 10px;
      width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5;
    }
    #contact-mobile .cm-logo {
      position: absolute; left: 125px; top: 9px;
      width: 150px; height: 41px; object-fit: contain; display: block;
    }
    #contact-mobile .cm-btn-login-sm {
      position: absolute; left: 355px; top: 10px;
      width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5;
    }

    /* HERO */
    #contact-mobile .cm-hero {
      position: relative; width: 400px; height: 125px; overflow: hidden;
    }
    #contact-mobile .cm-hero-bg {
      position: absolute; left: 0; top: 0; width: 430px; height: 125px; object-fit: cover;
    }
    #contact-mobile .cm-hero-title {
      position: absolute; left: 0; top: 32px; width: 400px;
      font-size: 30px; font-weight: 700; line-height: 1.1; text-align: center;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    #contact-mobile .cm-hero-subtitle {
      position: absolute; left: 0; top: 80px; width: 400px;
      font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.85); text-align: center;
    }

    /* CHANNEL CARDS CONTAINER */
    #contact-mobile .cm-container {
      padding: 0 16px 24px;
      display: flex; flex-direction: column; gap: 12px;
    }
    #contact-mobile .cm-card {
      width: 100%;
      min-height: 103px;
      background: #2a0301; border: 1px solid #e1b55d; border-radius: 16px;
      display: flex; flex-direction: row; align-items: center;
      padding: 20px; gap: 16px; flex-shrink: 0; box-sizing: border-box;
    }
    #contact-mobile .cm-card-icon {
      width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%;
      background: linear-gradient(to bottom, #ed2919 0%, #700000 100%);
      border: 1px solid #e1b55d;
      display: flex; align-items: center; justify-content: center;
      font-size: 14px; font-weight: 700; color: #ffffe5;
    }
    #contact-mobile .cm-card-text {
      display: flex; flex-direction: column; gap: 2px;
      flex: 1; min-width: 0;
    }
    #contact-mobile .cm-card-label {
      font-size: 17px; font-weight: 500; color: #ffffe5; line-height: 1.4;
    }
    #contact-mobile .cm-card-detail {
      font-size: 13px; font-weight: 400; color: #f2e5d9; line-height: 1.4;
    }

    /* CUSTOMER SERVICE SECTION */
    #contact-mobile .cm-service-outer {
      padding: 0 16px 24px; box-sizing: border-box;
    }
    #contact-mobile .cm-service {
      width: 100%;
      height: 301px;
      border-radius: 16px; overflow: hidden; position: relative;
    }
    #contact-mobile .cm-service-bg {
      position: absolute; left: 0; top: 0; width: 100%; height: 100%;
      object-fit: cover; z-index: 0;
    }
    #contact-mobile .cm-service-overlay {
      position: absolute; left: 0; top: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.25); z-index: 1;
    }
    #contact-mobile .cm-service-content {
      position: absolute; left: 0; top: 0; width: 100%; height: 100%;
      z-index: 2; display: flex; flex-direction: column; align-items: center;
      padding: 24px 20px; gap: 16px; box-sizing: border-box;
    }
    #contact-mobile .cm-service-mascot-wrap {
      width: 180px; height: 180px; position: relative; overflow: hidden; flex-shrink: 0;
    }
    #contact-mobile .cm-service-mascot {
      position: absolute; left: -29px; top: -12px;
      width: 238px; height: 204px;
    }
    #contact-mobile .cm-service-text {
      display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
    }
    #contact-mobile .cm-service-heading {
      font-size: 22px; font-weight: 700; line-height: 1.3;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    #contact-mobile .cm-service-subtitle {
      font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.85); line-height: 1.4;
    }

    /* FOOTER */
    #contact-mobile .cm-footer {
      position: relative; width: 400px; height: 495px;
      background: linear-gradient(to bottom, #d00000 25%, #280804 75%);
    }
    #contact-mobile .cm-f-logo {
      position: absolute; left: 118px; top: -16px;
      width: 163px; height: 138px; object-fit: contain; z-index: 3;
    }
    #contact-mobile .cm-f-menu-heading {
      position: absolute; left: 175px; top: 98px;
      font-family: 'Kanit', sans-serif; font-size: 15px; font-weight: 500;
      background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    #contact-mobile .cm-f-links {
      position: absolute; left: 71px; top: 129px; display: flex; gap: 20px;
    }
    #contact-mobile .cm-f-links a {
      font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 400;
      color: rgba(255,255,255,0.8); text-decoration: none; white-space: nowrap;
    }
    #contact-mobile .cm-f-divider {
      position: absolute; left: 23px; top: 169px;
      width: 353px; height: 1px; background: rgba(255,255,255,0.15);
    }
    #contact-mobile .cm-f-img1 { position: absolute; left: 138px; top: 190px; width: 125px; height: 32px; object-fit: contain; }
    #contact-mobile .cm-f-imgs-row { position: absolute; left: 103px; top: 234px; display: flex; gap: 16px; align-items: center; }
    #contact-mobile .cm-f-img2 { width: 100px; height: 44px; object-fit: contain; }
    #contact-mobile .cm-f-img3 { width: 78px; height: 44px; object-fit: contain; }
    #contact-mobile .cm-f-img4 { position: absolute; left: 121px; top: 290px; width: 158px; height: 52px; object-fit: contain; }
    #contact-mobile .cm-f-copyright {
      position: absolute; left: 104px; top: 362px;
      font-family: 'Kanit', sans-serif; font-size: 11px; font-weight: 400;
      color: rgba(255,255,255,0.4); white-space: nowrap;
    }

  /* ── MOBILE BOTTOM NAV ── */
  @media (min-width: 769px) { .m-bottom-nav { display: none !important; } }
  @media (max-width: 768px) {
    .m-bottom-nav {
      position: fixed; bottom: 0; left: 0; right: 0;
      height: 85px; z-index: 2000;
      background: linear-gradient(180deg, #1a0000 0%, #0d0000 100%);
      display: flex; align-items: flex-start; justify-content: space-around;
      padding-top: 9px;
    }
    .m-bn-btn {
      display: flex; flex-direction: column; align-items: center; gap: 4px;
      text-decoration: none; flex: 1; padding: 4px 0; cursor: pointer;
    }
    .m-bn-icon-wrap {
      width: 40px; height: 40px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.45);
      transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    }
    .m-bn-icon-wrap svg { width: 20px; height: 20px; }
    .m-bn-label {
      font-family: 'Kanit', sans-serif; font-size: 10px; font-weight: 400;
      color: rgba(255,255,255,0.45); white-space: nowrap;
      transition: color 0.2s;
    }
    .m-bn-btn.active .m-bn-icon-wrap {
      background: linear-gradient(180deg, #ff4444 0%, #910202 100%);
      box-shadow: 0 0 12px rgba(255,68,68,0.5);
      color: #ffffff;
    }
    .m-bn-btn.active .m-bn-label { color: #ffe264; font-weight: 600; }
  }


/* ============================================================
   PAGE: GAMEONLINE
   ============================================================ */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { overflow-x: hidden; }
    body {
      font-family: 'Kanit', sans-serif;
      background: linear-gradient(90deg, #520001 0%, #ff0000 40%, #ff0000 60%, #520001 100%);
      background-attachment: fixed;
    }

    /* ── GAMEONLINE DESKTOP ── */
    #goDesktopContent {
      position: relative;
      width: 100%;
      margin-top: 80px;
    }

    #goDesktopContent .go-bg-layer {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100vw;
      height: 1064px;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    #goDesktopContent .go-bg-img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    }

    #goDesktopContent .go-hero,
    #goDesktopContent .go-cat-section,
    #goDesktopContent .go-content,
    #goDesktopContent .section-footer-outer {
      position: relative;
      z-index: 1;
    }

    .go-hero {
      padding: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 32px);
      text-align: center;
    }

    .go-title {
      margin: 0;
      font-size: clamp(28px, 3.2vw, 40px);
      font-weight: 700;
      line-height: 1.6;
      text-align: center;
      font-family: 'Kanit', sans-serif;
      background: linear-gradient(to bottom, #e1b55d 0%, #ffffe5 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      padding: 4px 0;
    }

    .go-subtitle {
      margin: clamp(12px, 1.5vw, 16px) 0 0;
      font-size: clamp(16px, 2vw, 24px);
      font-weight: 300;
      color: #ffffff;
      text-align: center;
    }

    .go-search-wrap {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      margin: clamp(24px, 3vw, 40px) auto 0;
      max-width: 980px;
      height: 70px;
    }

    .go-search-input {
      flex: 1;
      min-width: 0;
      max-width: 800px;
      height: 70px;
      background: #2a0301;
      border: 1.5px solid #e1b55d;
      border-radius: 35px;
      padding: 0 35px;
      font-family: 'Kanit', sans-serif;
      font-size: clamp(18px, 2vw, 26px);
      font-weight: 300;
      color: #d9b399;
      outline: none;
    }
    .go-search-input::placeholder { color: #d9b399; }
    .go-search-btn {
      width: 160px;
      height: 70px;
      flex-shrink: 0;
      background: linear-gradient(to top, #ed281a 0%, #700000 100%);
      border: 1.5px solid #e1b55d;
      border-radius: 35px;
      cursor: pointer;
      font-family: 'Kanit', sans-serif;
      font-size: clamp(18px, 2vw, 26px);
      font-weight: 500;
      color: #ffffe5;
    }

    .go-cat-section {
      padding: clamp(16px, 2vw, 24px) 0;
    }

    .go-cat-row {
      width: 100%;
      height: 100px;
      overflow: hidden;
      cursor: grab;
    }
    .go-cat-row:active { cursor: grabbing; }
    .go-cat-track {
      display: flex;
      align-items: center;
      gap: 24px;
      padding: 0 12px;
      height: 100%;
      will-change: transform;
      user-select: none;
    }
    .go-cat-track img { height: 90px; width: auto; flex-shrink: 0; object-fit: contain; pointer-events: none; }

    .go-content {
      padding: clamp(24px, 3vw, 32px) 0 clamp(48px, 5vw, 64px);
    }

    .go-games-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: center;
    }

    .go-game-card {
      flex: 0 0 calc((100% - 5 * 16px) / 6);
      width: calc((100% - 5 * 16px) / 6);
      max-width: 200px;
      display: flex;
      flex-direction: column;
      cursor: pointer;
      overflow: hidden;
    }
    .go-game-card img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; display: block; transition: filter 0.2s; }
    .go-game-card:hover img { filter: brightness(1.15); }
    .go-card-info {
      width: 88%;
      margin: 0 auto;
      min-height: 72px;
      padding: 8px 4px;
      background: #3f0000;
      border-radius: 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .go-card-name { display: block; font-size: 16px; font-weight: 400; color: #ffffff; text-align: center; line-height: 1.3; }
    .go-card-provider {
      display: block;
      font-size: 18px;
      font-weight: 500;
      text-align: center;
      background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    @media (max-width: 1200px) {
      .go-game-card {
        flex: 0 0 calc((100% - 3 * 16px) / 4);
        width: calc((100% - 3 * 16px) / 4);
      }
    }

    @media (max-width: 900px) {
      .go-game-card {
        flex: 0 0 calc((100% - 2 * 16px) / 3);
        width: calc((100% - 2 * 16px) / 3);
      }
    }

    #goNoResults {
      display: none;
      width: 100%;
      padding: 48px 0;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,0.6);
      font-family: 'Kanit', sans-serif;
      font-size: 22px;
    }

    .go-pagination {
      display: flex;
      gap: 20px;
      justify-content: center;
      margin-top: clamp(32px, 4vw, 48px);
    }
    .go-page-btn {
      width: 64px;
      height: 64px;
      border-radius: 14px;
      background: #2a0301;
      border: 1.5px solid #e1b55d;
      font-family: 'Kanit', sans-serif;
      font-size: 26px;
      font-weight: 500;
      color: #ffffe5;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .go-page-btn.active { background: linear-gradient(to top, #ed281a 0%, #700000 100%); }

    #goDesktopContent .section-footer-outer {
      width: 100%;
      display: flex;
      justify-content: center;
      overflow: hidden;
      background: linear-gradient(to bottom, #d00000 0%, #280804 100%);
    }

    #goDesktopContent .section-footer-outer .section-footer {
      position: relative;
      width: 1680px;
      height: 400px;
      flex-shrink: 0;
      transform-origin: top center;
    }

    #goDesktopContent .section-footer-outer .section-footer::before {
      display: none;
    }

    @media (min-width: 1680px) {
      #goDesktopContent .section-footer-outer { height: 400px; }
    }

    @media (min-width: 921px) and (max-width: 1679px) {
      #goDesktopContent .section-footer-outer {
        height: calc(400px * (100vw / 1680));
      }

      #goDesktopContent .section-footer-outer .section-footer {
        transform: scale(calc(100vw / 1680));
      }
    }

    #goDesktopContent .section-footer-outer .section-footer .sf-logo { position: absolute; left: 24px; top: 48px; width: 298px; height: 84px; object-fit: contain; }
    #goDesktopContent .section-footer-outer .section-footer .sf-heading-1,
    #goDesktopContent .section-footer-outer .section-footer .sf-heading-2 { position: absolute; top: 48px; font-family: 'Kanit', sans-serif; font-size: 28px; font-weight: 500; background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; white-space: nowrap; line-height: 1.5; }
    #goDesktopContent .section-footer-outer .section-footer .sf-heading-1 { left: 454px; }
    #goDesktopContent .section-footer-outer .section-footer .sf-heading-2 { left: 672px; }
    #goDesktopContent .section-footer-outer .section-footer .sf-links-1,
    #goDesktopContent .section-footer-outer .section-footer .sf-links-2 { position: absolute; top: 48px; display: flex; flex-direction: column; }
    #goDesktopContent .section-footer-outer .section-footer .sf-links-1 { left: 454px; top: 96px; }
    #goDesktopContent .section-footer-outer .section-footer .sf-links-2 { left: 640px; top: 96px; }
    #goDesktopContent .section-footer-outer .section-footer .sf-links-1 a,
    #goDesktopContent .section-footer-outer .section-footer .sf-links-2 a { font-family: 'Kanit', sans-serif; font-size: 24px; font-weight: 300; color: #ffffff; text-decoration: none; line-height: 62px; white-space: nowrap; }
    #goDesktopContent .section-footer-outer .section-footer .sf-links-1 a:hover,
    #goDesktopContent .section-footer-outer .section-footer .sf-links-2 a:hover { color: #ffe264; }
    #goDesktopContent .section-footer-outer .section-footer .sf-img1 { position: absolute; left: 1352px; top: 48px; width: 304px; height: 78px; object-fit: contain; }
    #goDesktopContent .section-footer-outer .section-footer .sf-img2 { position: absolute; left: 1352px; top: 142px; width: 179px; height: 79px; object-fit: contain; }
    #goDesktopContent .section-footer-outer .section-footer .sf-img3 { position: absolute; left: 1582px; top: 142px; width: 74px; height: 79px; object-fit: contain; }
    #goDesktopContent .section-footer-outer .section-footer .sf-img4 { position: absolute; left: 1352px; top: 237px; width: 304px; height: 100px; object-fit: contain; }

    /* ── HEADER (identical to index.html) ── */
    .header {
      width: 100%; height: 80px;
      background: linear-gradient(to bottom, #910202 0%, #2a0202 100%);
      display: flex; align-items: center;
      padding: 0 clamp(16px, 3vw, 48px);
      gap: clamp(12px, 2vw, 32px);
      box-sizing: border-box;
      position: fixed; top: 0; left: 0; z-index: 1000;
    }
    .header-logo { height: 76px; width: auto; object-fit: contain; flex-shrink: 0; display: block; }
    .nav-links { display: flex; flex: 1; justify-content: center; gap: clamp(12px, 2.5vw, 54px); }
    .nav-links a {
      display: flex; align-items: center; position: relative;
      color: #ffffff; font-size: 20px;
      font-weight: 500; font-family: 'Kanit', sans-serif;
      text-decoration: none; cursor: pointer;
      padding: 8px 0; white-space: nowrap; transition: color 0.2s;
    }
    .nav-links a:hover { color: #ffcc00; }
    .nav-links a::after {
      content: ''; position: absolute; bottom: 3px; left: 0;
      width: 0; height: 2px; background: #ffcc00;
      transition: width 0.25s ease; border-radius: 1px;
    }
    .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
    .nav-links a.active { color: #ffcc00; }
    .nav-actions { display: flex; align-items: center; gap: clamp(8px, 1vw, 18px); flex-shrink: 0; }
    .nav-btn-register, .nav-btn-login {
      height: clamp(36px, 4vw, 56px); width: auto;
      object-fit: contain; cursor: pointer; border-radius: 32px; display: block;
      transition: transform 0.15s ease, filter 0.15s ease;
    }
    .nav-btn-register:hover, .nav-btn-login:hover {
      transform: scale(1.06); filter: brightness(1.12) drop-shadow(0 0 10px rgba(255,120,0,0.65));
    }
    .nav-btn-register:active, .nav-btn-login:active { transform: scale(0.95); filter: brightness(0.92); }
    .nav-btn-menu {
      height: clamp(36px, 4vw, 56px); width: clamp(36px, 4vw, 56px);
      cursor: pointer; border-radius: 8px; background: rgba(255,255,255,0.1);
      display: none; flex-direction: column; justify-content: center; align-items: center;
      gap: 6px; border: none; padding: 0; flex-shrink: 0;
      transition: transform 0.2s ease, filter 0.2s ease;
    }
    .nav-btn-menu span { display: block; width: 60%; height: 2px; background: #ffffff; border-radius: 2px; }
    .nav-btn-menu:hover { transform: scale(1.1) rotate(10deg); filter: brightness(1.2); }
    .nav-btn-menu:active { transform: scale(0.95) rotate(0deg); }

    /* ════════════════════════════════════════
       MOBILE SIDEBAR  (identical to index.html)
       ════════════════════════════════════════ */
    .m-overlay {
      position: fixed; top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(0,0,0,0.5);
      z-index: 1500;
      opacity: 0; pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .m-overlay.open { opacity: 1; pointer-events: auto; }

    .m-sidebar {
      position: fixed; top: 0; right: 0;
      width: 65vw;
      height: 100vh; height: 100dvh;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      z-index: 1600;
      transform: translateX(100%);
      transition: transform 0.3s ease;
      display: flex; flex-direction: column;
      overflow: hidden;
    }
    .m-sidebar.open { transform: translateX(0); }
    .m-sidebar::before {
      content: ''; position: absolute; top: 0; left: 0;
      width: 100%; height: 2px; z-index: 1;
      background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
    }
    .m-sidebar::after {
      content: ''; position: absolute; bottom: 0; left: 0;
      width: 100%; height: 2px; z-index: 1;
      background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
    }
    .m-sb-header { position: relative; height: 22.5vw; flex-shrink: 0; padding-top: 2px; }
    .m-sb-logo { position: absolute; left: 4vw; top: 6vw; width: 35vw; height: 12.5vw; object-fit: contain; }
    .m-sb-close {
      position: absolute; right: 4vw; top: 7.75vw;
      width: 9vw; height: 9vw;
      background: rgba(255,255,255,0.08);
      border-radius: 2.5vw; border: none; cursor: pointer;
    }
    .m-sb-close::before, .m-sb-close::after {
      content: ''; position: absolute; left: 50%; top: 50%;
      width: 3.5vw; height: 0.5vw;
      background: rgba(255,255,255,0.8); border-radius: 0.25vw;
    }
    .m-sb-close::before { transform: translate(-50%,-50%) rotate(45deg); }
    .m-sb-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
    .m-sb-divider { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw; }
    .m-sb-nav-item {
      height: 11.75vw; flex-shrink: 0; margin: 0 3vw; border-radius: 2.5vw;
      display: flex; align-items: center; padding: 0 4vw;
      font-family: 'Kanit', sans-serif; font-size: 3.75vw; font-weight: 400;
      color: rgba(255,255,255,0.75); cursor: pointer; text-decoration: none;
    }
    .m-sb-nav-item:first-of-type { margin-top: 2vw; }
    .m-sb-nav-item.active { font-weight: 600; color: #ffffff; background: rgba(255,255,255,0.08); }
    .m-sb-spacer { flex: 1 1 0; min-height: 0; }
    .m-sb-divider2 { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw 8px; }
    .m-sb-img4, .m-sb-img5 {
      display: block; flex-shrink: 0;
      width: 55%; height: auto;
      margin: 0 auto;
      border-radius: 6px;
      object-fit: contain; cursor: pointer;
    }

    /* mobile nav bar — kept for legacy but hidden; replaced by #go-mobile */
    .go-mobile-nav { display: none !important; }

    /* ── BREAKPOINTS ── */
    @media (min-width: 921px) { #go-mobile { display: none !important; } }
    @media (max-width: 920px) {
      .header            { display: none !important; }
      #goDesktopContent  { display: none !important; }
      footer.footer      { display: none !important; }
    }

    /* ══ MOBILE GAMEONLINE LAYOUT ══ */
    #go-mobile { overflow: hidden; }
    #go-mobile .go-m-scaler { width: 400px; transform-origin: top left; }
    #go-mobile .go-m-wrapper {
      position: relative; width: 400px; overflow: hidden;
      background: linear-gradient(90deg, #520001 0%, #ff0000 40%, #ff0000 60%, #520001 100%);
    }

    /* TOPBAR */
    #go-mobile .go-m-topbar {
      position: fixed; top: 0; left: 0; width: 400px; height: 58px;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      transform-origin: top left; z-index: 1000;
    }
    #go-mobile .go-m-wrapper { padding-top: 58px; }
    #go-mobile .go-m-btn-menu {
      position: absolute; left: 5px; top: 10px;
      width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5;
    }
    #go-mobile .go-m-logo {
      position: absolute; left: 125px; top: 9px;
      width: 150px; height: 41px; object-fit: contain; display: block;
    }
    #go-mobile .go-m-btn-login-sm {
      position: absolute; left: 355px; top: 10px;
      width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5;
    }

    /* HERO */
    #go-mobile .go-m-hero {
      position: relative; width: 400px; height: 189px; overflow: hidden;
    }
    #go-mobile .go-m-hero-bg {
      position: absolute; left: 0; top: 0; width: 400px; height: 189px; object-fit: cover;
    }
    #go-mobile .go-m-hero-title {
      position: absolute; left: 0; top: 32px; width: 400px;
      font-size: 32px; font-weight: 700; line-height: 1.2; text-align: center; z-index: 2;
      background: linear-gradient(to bottom, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    #go-mobile .go-m-hero-sub {
      position: absolute; left: 36px; top: 83px; width: 321px;
      font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.85); text-align: center; z-index: 2;
    }
    #go-mobile .go-m-search-row {
      position: absolute; left: 16px; top: 116px;
      width: 361px; height: 50px;
      display: flex; align-items: center; gap: 8px; z-index: 2;
    }
    #go-mobile .go-m-search-input-wrap {
      position: relative; width: 276px; height: 46px; flex-shrink: 0;
    }
    #go-mobile .go-m-search-icon {
      position: absolute; left: 17px; top: 50%; transform: translateY(-50%);
      width: 16px; height: 16px; pointer-events: none;
    }
    #go-mobile .go-m-search-input {
      width: 100%; height: 100%;
      background: #2a0301; border: 1.5px solid #e1b55d;
      border-radius: 23px; padding: 0 16px 0 41px;
      font-family: 'Kanit', sans-serif; font-size: 14px; font-weight: 300;
      color: #d9b399; outline: none; box-sizing: border-box;
    }
    #go-mobile .go-m-search-input::placeholder { color: #d9b399; opacity: 1; }
    #go-mobile .go-m-search-btn {
      width: 77px; height: 46px; flex-shrink: 0;
      background: linear-gradient(0deg, #700000 0%, #ed281a 100%);
      border: 1.5px solid #e1b55d; border-radius: 23px;
      font-family: 'Kanit', sans-serif; font-size: 15px; font-weight: 500;
      color: #ffffe5; cursor: pointer;
    }

    /* PROVIDER STRIP */
    #go-mobile .go-m-provider {
      width: 400px; height: 68px;
      overflow: hidden; cursor: grab;
    }
    #go-mobile .go-m-provider:active { cursor: grabbing; }
    #go-mobile .go-m-prov-track {
      display: flex; align-items: center; gap: 8px; padding: 0 8px;
      height: 100%; will-change: transform; user-select: none;
    }
    #go-mobile .go-m-prov-track img {
      height: 52px; width: 52px;
      flex-shrink: 0; object-fit: contain; display: block; pointer-events: none;
    }

    /* GAMES GRID */
    #go-mobile .go-m-grid {
      padding: 0 12px 15px 12px;
      display: grid; grid-template-columns: repeat(3, 118px); gap: 8px;
    }
    #go-mobile .go-m-card {
      display: flex; flex-direction: column; cursor: pointer;
    }
    #go-mobile .go-m-card img {
      width: 118px; height: 118px; border-radius: 14px;
      object-fit: cover; display: block;
      transition: filter 0.2s;
    }
    #go-mobile .go-m-card:hover img { filter: brightness(1.12); }
    #go-mobile .go-m-card-info {
      width: 101px; margin: 0 auto; height: 46px;
      background: #3f0000; border-radius: 10px;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
    }
    #go-mobile .go-m-card-name {
      display: block; font-size: 12px; font-weight: 400; color: #ffffff; text-align: center; line-height: 1.3;
    }
    #go-mobile .go-m-card-pg {
      display: block; font-size: 10px; font-weight: 500; text-align: center;
      background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }

    /* PAGINATION */
    #go-mobile .go-m-pagination {
      height: 48px; display: flex; justify-content: center; align-items: center; gap: 8px;
    }
    #go-mobile .go-m-page-btn {
      width: 30px; height: 30px; border-radius: 10px;
      border: 1px solid #e1b55d; background: #2a0301;
      font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 500;
      color: #ffffe5; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
    }
    #go-mobile .go-m-page-btn.active {
      background: linear-gradient(0deg, #700000 0%, #ed281a 100%);
    }

    /* FOOTER */
    #go-mobile .go-m-footer {
      position: relative; width: 400px; height: 495px;
      background: linear-gradient(to bottom, #d00000 25%, #280804 75%);
    }
    #go-mobile .go-m-f-logo {
      position: absolute; left: 118px; top: -16px;
      width: 163px; height: 138px; object-fit: contain; z-index: 3;
    }
    #go-mobile .go-m-f-menu-heading {
      position: absolute; left: 175px; top: 98px;
      font-family: 'Kanit', sans-serif; font-size: 15px; font-weight: 500;
      background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    #go-mobile .go-m-f-links {
      position: absolute; left: 71px; top: 129px; display: flex; gap: 20px;
    }
    #go-mobile .go-m-f-links a {
      font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 400;
      color: rgba(255,255,255,0.8); text-decoration: none; white-space: nowrap;
    }
    #go-mobile .go-m-f-divider {
      position: absolute; left: 23px; top: 169px;
      width: 353px; height: 1px; background: rgba(255,255,255,0.15);
    }
    #go-mobile .go-m-f-img1 {
      position: absolute; left: 138px; top: 190px;
      width: 125px; height: 32px; object-fit: contain;
    }
    #go-mobile .go-m-f-imgs-row {
      position: absolute; left: 103px; top: 234px;
      display: flex; gap: 16px; align-items: center;
    }
    #go-mobile .go-m-f-img2 { width: 100px; height: 44px; object-fit: contain; }
    #go-mobile .go-m-f-img3 { width: 78px; height: 44px; object-fit: contain; }
    #go-mobile .go-m-f-img4 {
      position: absolute; left: 121px; top: 290px;
      width: 158px; height: 52px; object-fit: contain;
    }
    #go-mobile .go-m-f-copyright {
      position: absolute; left: 104px; top: 362px;
      font-family: 'Kanit', sans-serif; font-size: 11px; font-weight: 400;
      color: rgba(255,255,255,0.4); white-space: nowrap;
    }

  /* ── MOBILE BOTTOM NAV ── */
  @media (min-width: 921px) { .m-bottom-nav { display: none !important; } }
  @media (max-width: 920px) {
    .m-bottom-nav {
      position: fixed; bottom: 0; left: 0; right: 0;
      height: 85px; z-index: 2000;
      background: linear-gradient(180deg, #1a0000 0%, #0d0000 100%);
      display: flex; align-items: flex-start; justify-content: space-around;
      padding-top: 9px;
    }
    .m-bn-btn {
      display: flex; flex-direction: column; align-items: center; gap: 4px;
      text-decoration: none; flex: 1; padding: 4px 0; cursor: pointer;
    }
    .m-bn-icon-wrap {
      width: 40px; height: 40px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.45);
      transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    }
    .m-bn-icon-wrap svg { width: 20px; height: 20px; }
    .m-bn-label {
      font-family: 'Kanit', sans-serif; font-size: 10px; font-weight: 400;
      color: rgba(255,255,255,0.45); white-space: nowrap;
      transition: color 0.2s;
    }
    .m-bn-btn.active .m-bn-icon-wrap {
      background: linear-gradient(180deg, #ff4444 0%, #910202 100%);
      box-shadow: 0 0 12px rgba(255,68,68,0.5);
      color: #ffffff;
    }
    .m-bn-btn.active .m-bn-label { color: #ffe264; font-weight: 600; }
  }


/* ============================================================
   PAGE: NEWS
   ============================================================ */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { overflow-x: hidden; }
    body { font-family: 'Kanit', sans-serif; background: linear-gradient(90deg, #520001 0%, #ff0000 40%, #ff0000 60%, #520001 100%); background-attachment: fixed; }

    /* ── DESKTOP HEADER ── */
    .header {
      width: 100%; height: 80px;
      background: linear-gradient(to bottom, #910202 0%, #2a0202 100%);
      display: flex; align-items: center;
      padding: 0 clamp(16px, 3vw, 48px);
      gap: clamp(12px, 2vw, 32px);
      box-sizing: border-box;
      position: fixed; top: 0; left: 0; z-index: 1000;
    }
    .header-logo { height: 76px; width: auto; object-fit: contain; flex-shrink: 0; display: block; }
    .nav-links { display: flex; flex: 1; justify-content: center; gap: clamp(12px, 2.5vw, 54px); }
    .nav-links a {
      display: flex; align-items: center; position: relative;
      color: #ffffff; font-size: 20px;
      font-weight: 500; font-family: 'Kanit', sans-serif;
      text-decoration: none; cursor: pointer;
      padding: 8px 0; white-space: nowrap; transition: color 0.2s;
    }
    .nav-links a:hover { color: #ffcc00; }
    .nav-links a::after {
      content: ''; position: absolute; bottom: 3px; left: 0;
      width: 0; height: 2px; background: #ffcc00;
      transition: width 0.25s ease; border-radius: 1px;
    }
    .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
    .nav-links a.active { color: #ffcc00; }
    .nav-actions { display: flex; align-items: center; gap: clamp(8px, 1vw, 18px); flex-shrink: 0; }
    .nav-btn-register, .nav-btn-login {
      height: clamp(36px, 4vw, 56px); width: auto;
      object-fit: contain; cursor: pointer; border-radius: 32px; display: block;
      transition: transform 0.15s ease, filter 0.15s ease;
    }
    .nav-btn-register:hover, .nav-btn-login:hover {
      transform: scale(1.06); filter: brightness(1.12) drop-shadow(0 0 10px rgba(255,120,0,0.65));
    }
    .nav-btn-register:active, .nav-btn-login:active { transform: scale(0.95); filter: brightness(0.92); }
    .nav-btn-menu {
      height: clamp(36px, 4vw, 56px); width: clamp(36px, 4vw, 56px);
      cursor: pointer; border-radius: 8px; background: rgba(255,255,255,0.1);
      display: none; flex-direction: column; justify-content: center; align-items: center;
      gap: 6px; border: none; padding: 0; flex-shrink: 0;
      transition: transform 0.2s ease, filter 0.2s ease;
    }
    .nav-btn-menu span { display: block; width: 60%; height: 2px; background: #ffffff; border-radius: 2px; }
    .nav-btn-menu:hover { transform: scale(1.1) rotate(10deg); filter: brightness(1.2); }

    /* ── NEWS DESKTOP ── */
    #newsDesktopContent {
      position: relative;
      width: 100%;
      margin-top: 80px;
    }

    #newsDesktopContent .news-bg-layer {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100vw;
      height: 1064px;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    #newsDesktopContent .news-bg-img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    }

    #newsDesktopContent .news-hero,
    #newsDesktopContent .news-content,
    #newsDesktopContent .section-footer-outer {
      position: relative;
      z-index: 1;
    }

    .news-hero {
      padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px);
      text-align: center;
    }

    .news-page-title {
      margin: 0;
      font-size: clamp(28px, 3.2vw, 40px);
      font-weight: 700;
      line-height: 1.6;
      text-align: center;
      font-family: 'Kanit', sans-serif;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      padding: 4px 0;
    }

    .news-page-subtitle {
      margin: clamp(12px, 1.5vw, 16px) 0 0;
      font-size: clamp(16px, 2vw, 24px);
      font-weight: 300;
      color: #ffffff;
      text-align: center;
    }

    .news-content { padding: clamp(24px, 3vw, 32px) 0 clamp(48px, 5vw, 64px); }

    .news-cards-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: clamp(16px, 2vw, 24px);
      justify-items: center;
    }

    @media (min-width: 769px) and (max-width: 1024px) {
      #newsDesktopContent .news-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .news-card {
      width: 100%;
      max-width: 528px;
      justify-self: center;
      height: auto;
      background: #2a0301;
      border: 1px solid #e1b55d;
      border-radius: 18px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      padding: clamp(16px, 2vw, 24px);
      gap: clamp(16px, 2vw, 24px);
    }

    .news-card img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 10px;
    }

    .news-card-body { width: 100%; }

    .news-card-tag {
      display: inline-flex;
      align-items: center;
      padding: 8px 14px;
      border-radius: 19px;
      background: linear-gradient(to bottom, #ffffe5 15%, #e1b55d 85%);
      font-size: 14px;
      font-weight: 700;
      color: #590d05;
      line-height: 1;
    }

    .news-card-meta { margin-top: 16px; }
    .news-card-date { display: block; font-size: 12px; font-weight: 300; color: #eddece; line-height: 1.4; }
    .news-card-title { display: block; font-size: 18px; font-weight: 700; color: #ffffff; line-height: 1.3; margin-top: 2px; }
    .news-card-desc {
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      font-size: 14px;
      font-weight: 300;
      color: #e0ccbd;
      line-height: 1.4;
      margin: 6px 0 0;
    }
    .news-card-read { display: block; font-size: 16px; font-weight: 500; color: #e1b55d; text-decoration: none; margin-top: 6px; }

    .pagenavi-cat {
      display: flex;
      justify-content: center;
      margin-top: clamp(32px, 4vw, 48px);
    }

    .pagenavi-cat .wp-pagenavi,
    .pagenavi-cat .page-numbers {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px;
    }

    .pagenavi-cat .wp-pagenavi a,
    .pagenavi-cat .wp-pagenavi span,
    .pagenavi-cat .page-numbers a,
    .pagenavi-cat .page-numbers span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
          min-width: 40px;
    height: 40px;
      padding: 0 12px;
      border-radius: 14px;
      border: 1px solid #e1b55d;
      background: #2a0301;
      font-family: 'Kanit', sans-serif;
      font-size: 14px;
      font-weight: 500;
      color: #ffffe5;
      text-decoration: none;
      line-height: 1;
    }

    .pagenavi-cat .wp-pagenavi span.current,
    .pagenavi-cat .page-numbers .current {
      background: linear-gradient(to bottom, #ed2919 0%, #700000 100%);
    }

    .pagenavi-cat .wp-pagenavi a:hover,
    .pagenavi-cat .page-numbers a:hover {
      filter: brightness(1.15);
    }

    .pagenavi-cat .wp-pagenavi span.pages,
    .pagenavi-cat .page-numbers .dots {
      border: none;
      background: transparent;
      min-width: auto;
      height: auto;
      padding: 0;
      color: rgba(255, 255, 255, 0.7);
    }

    #news-mobile .pagenavi-cat--mobile {
      padding: 0 16px 24px;
      margin-top: 0;
    }

    #news-mobile .pagenavi-cat--mobile .wp-pagenavi a,
    #news-mobile .pagenavi-cat--mobile .wp-pagenavi span,
    #news-mobile .pagenavi-cat--mobile .page-numbers a,
    #news-mobile .pagenavi-cat--mobile .page-numbers span {
      min-width: 30px;
      height: 30px;
      padding: 0 8px;
      border-radius: 10px;
      font-size: 13px;
    }

    #newsDesktopContent .section-footer-outer {
      width: 100%;
      display: flex;
      justify-content: center;
      overflow: hidden;
      background: linear-gradient(to bottom, #d00000 0%, #280804 100%);
    }

    #newsDesktopContent .section-footer-outer .section-footer {
      position: relative;
      width: 1680px;
      height: 400px;
      flex-shrink: 0;
      transform-origin: top center;
    }

    #newsDesktopContent .section-footer-outer .section-footer::before {
      display: none;
    }

    @media (min-width: 1680px) {
      #newsDesktopContent .section-footer-outer { height: 400px; }
    }

    @media (min-width: 769px) and (max-width: 1679px) {
      #newsDesktopContent .section-footer-outer {
        height: calc(400px * (100vw / 1680));
      }

      #newsDesktopContent .section-footer-outer .section-footer {
        transform: scale(calc(100vw / 1680));
      }
    }

    /* ════════════════════════════════════════
       FOOTER
       ════════════════════════════════════════ */
    .section-footer { position: relative; width: 1680px; height: 400px; flex-shrink: 0; }
    .section-footer::before { content: ''; position: absolute; left: var(--bg-offset, 0px); top: 0; width: var(--bg-vw, 1680px); height: 100%; background: linear-gradient(to bottom, #d00000 0%, #280804 100%); }
    .section-footer .sf-logo { position: absolute; left: 24px; top: 48px; width: 298px; height: 84px; object-fit: contain; }
    .section-footer .sf-heading-1, .section-footer .sf-heading-2 { position: absolute; top: 48px; font-family: 'Kanit', sans-serif; font-size: 28px; font-weight: 500; background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; white-space: nowrap; line-height: 1.5; }
    .section-footer .sf-heading-1 { left: 454px; }
    .section-footer .sf-heading-2 { left: 672px; }
    .section-footer .sf-links-1, .section-footer .sf-links-2 { position: absolute; top: 48px; display: flex; flex-direction: column; }
    .section-footer .sf-links-1 { left: 454px; top: 96px; }
    .section-footer .sf-links-2 { left: 640px; top: 96px; }
    .section-footer .sf-links-1 a, .section-footer .sf-links-2 a { font-family: 'Kanit', sans-serif; font-size: 24px; font-weight: 300; color: #ffffff; text-decoration: none; line-height: 62px; white-space: nowrap; }
    .section-footer .sf-links-1 a:hover, .section-footer .sf-links-2 a:hover { color: #ffe264; }
    .section-footer .sf-img1 { position: absolute; left: 1352px; top: 48px;  width: 304px; height: 78px;  object-fit: contain; }
    .section-footer .sf-img2 { position: absolute; left: 1352px; top: 142px; width: 179px; height: 79px;  object-fit: contain; }
    .section-footer .sf-img3 { position: absolute; left: 1582px; top: 142px; width: 74px;  height: 79px;  object-fit: contain; }
    .section-footer .sf-img4 { position: absolute; left: 1352px; top: 237px; width: 304px; height: 100px; object-fit: contain; }

    /* ════════════════════════════════════════
       MOBILE SIDEBAR
       ════════════════════════════════════════ */
    .m-overlay {
      position: fixed; top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(0,0,0,0.5);
      z-index: 1500; opacity: 0; pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .m-overlay.open { opacity: 1; pointer-events: auto; }
    .m-sidebar {
      position: fixed; top: 0; right: 0;
      width: 65vw; height: 100vh; height: 100dvh;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      z-index: 1600; transform: translateX(100%);
      transition: transform 0.3s ease;
      display: flex; flex-direction: column; overflow: hidden;
    }
    .m-sidebar.open { transform: translateX(0); }
    .m-sidebar::before {
      content: ''; position: absolute; top: 0; left: 0;
      width: 100%; height: 2px; z-index: 1;
      background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
    }
    .m-sidebar::after {
      content: ''; position: absolute; bottom: 0; left: 0;
      width: 100%; height: 2px; z-index: 1;
      background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
    }
    .m-sb-header { position: relative; height: 22.5vw; flex-shrink: 0; padding-top: 2px; }
    .m-sb-logo { position: absolute; left: 4vw; top: 6vw; width: 35vw; height: 12.5vw; object-fit: contain; }
    .m-sb-close {
      position: absolute; right: 4vw; top: 7.75vw;
      width: 9vw; height: 9vw;
      background: rgba(255,255,255,0.08); border-radius: 2.5vw; border: none; cursor: pointer;
    }
    .m-sb-close::before, .m-sb-close::after {
      content: ''; position: absolute; left: 50%; top: 50%;
      width: 3.5vw; height: 0.5vw;
      background: rgba(255,255,255,0.8); border-radius: 0.25vw;
    }
    .m-sb-close::before { transform: translate(-50%,-50%) rotate(45deg); }
    .m-sb-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
    .m-sb-divider { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw; }
    .m-sb-nav-item {
      height: 11.75vw; flex-shrink: 0; margin: 0 3vw; border-radius: 2.5vw;
      display: flex; align-items: center; padding: 0 4vw;
      font-family: 'Kanit', sans-serif; font-size: 3.75vw; font-weight: 400;
      color: rgba(255,255,255,0.75); cursor: pointer; text-decoration: none;
    }
    .m-sb-nav-item:first-of-type { margin-top: 2vw; }
    .m-sb-nav-item.active { font-weight: 600; color: #ffffff; background: rgba(255,255,255,0.08); }
    .m-sb-spacer { flex: 1 1 0; min-height: 0; }
    .m-sb-divider2 { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw 8px; }
    .m-sb-img4, .m-sb-img5 {
      display: block; flex-shrink: 0;
      width: 55%; height: auto;
      margin: 0 auto;
      border-radius: 6px;
      object-fit: contain; cursor: pointer;
    }

    /* ── BREAKPOINTS ── */
    @media (min-width: 921px) { #news-mobile { display: none !important; } }
    @media (max-width: 920px) {
      .header              { display: none !important; }
      #newsDesktopContent  { display: none !important; }
      footer.footer        { display: none !important; }
    }

    /* ════════════════════════════════════════
       MOBILE LAYOUT
       ════════════════════════════════════════ */
    #news-mobile { overflow: hidden; }
    #news-mobile .nm-scaler { width: 400px; transform-origin: top left; }
    #news-mobile .nm-wrapper {
      position: relative; width: 400px;
      background: linear-gradient(180deg, #520001 0%, #800000 40%, #520001 100%);
    }

    /* TOPBAR */
    #news-mobile .nm-topbar {
      position: fixed; top: 0; left: 0; width: 400px; height: 58px;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      transform-origin: top left; z-index: 1000;
    }
    #news-mobile .nm-wrapper { padding-top: 58px; }
    #news-mobile .nm-btn-menu {
      position: absolute; left: 5px; top: 10px;
      width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5;
    }
    #news-mobile .nm-logo {
      position: absolute; left: 125px; top: 9px;
      width: 150px; height: 41px; object-fit: contain; display: block;
    }
    #news-mobile .nm-btn-login-sm {
      position: absolute; left: 355px; top: 10px;
      width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5;
    }

    /* HERO */
    #news-mobile .nm-hero {
      position: relative; width: 400px; height: 124px; overflow: hidden;
    }
    #news-mobile .nm-hero-bg {
      position: absolute; left: 0; top: 0; width: 400px; height: 124px; object-fit: cover;
    }
    #news-mobile .nm-hero-title {
      position: absolute; left: 0; top: 32px; width: 400px;
      font-size: 30px; font-weight: 700; line-height: 1.1; text-align: center;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    #news-mobile .nm-hero-subtitle {
      position: absolute; left: 0; top: 80px; width: 400px;
      font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.8); text-align: center;
    }

    /* CARDS CONTAINER */
    #news-mobile .nm-cards-container {
      padding: 0 16px 24px;
      display: flex; flex-direction: column; gap: 16px;
    }

    /* MOBILE CARD */
    #news-mobile .nm-card {
      width: 368px; height: auto;
      background: #2a0301; border: 1.5px solid #e1b55d; border-radius: 16px;
      overflow: hidden; flex-shrink: 0; display: flex; flex-direction: column;
    }
    #news-mobile .nm-card-img {
      width: 100%; height: auto; flex-shrink: 0;
      object-fit: cover;
    }
    #news-mobile .nm-card-body {
      width: 100%; padding: 16px;
    }
    #news-mobile .nm-card-tag {
      display: inline-flex; align-items: center; padding: 3px 12px; height: 24px;
      border-radius: 100px;
      background: linear-gradient(to bottom, #ffffe5 15%, #e1b55d 85%);
      font-size: 12px; font-weight: 700; color: #590d05; line-height: 1;
    }
    #news-mobile .nm-card-date {
      display: block; font-size: 14px; font-weight: 400; color: #eddece;
      margin-top: 12px;
    }
    #news-mobile .nm-card-title {
      display: block; font-size: 18px; font-weight: 700; color: #ffffff;
      margin-top: 12px; line-height: 1.3;
    }
    #news-mobile .nm-card-desc {
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      font-size: 14px;
      font-weight: 400;
      color: #e0ccbd;
      margin-top: 12px;
      line-height: 1.4;
    }
    #news-mobile .nm-card-read {
      display: block; font-size: 14px; font-weight: 500; color: #e1b55d;
      text-decoration: none; margin-top: 12px;
    }

    /* PAGINATION */
    #news-mobile .nm-pagination {
      display: flex; justify-content: center; gap: 8px;
      padding-bottom: 24px;
    }
    #news-mobile .nm-page-btn {
      width: 30px; height: 30px; border-radius: 10px;
      border: 1px solid #e1b55d; background: #2a0301;
      font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 500;
      color: #ffffe5; cursor: pointer;
    }
    #news-mobile .nm-page-btn.active {
      background: linear-gradient(to bottom, #ed2919 0%, #700000 100%);
    }

    /* FOOTER */
    #news-mobile .nm-footer {
      position: relative; width: 400px; height: 495px;
      background: linear-gradient(to bottom, #d00000 25%, #280804 75%);
    }
    #news-mobile .nm-f-logo {
      position: absolute; left: 118px; top: -16px;
      width: 163px; height: 138px; object-fit: contain; z-index: 3;
    }
    #news-mobile .nm-f-menu-heading {
      position: absolute; left: 175px; top: 98px;
      font-family: 'Kanit', sans-serif; font-size: 15px; font-weight: 500;
      background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    #news-mobile .nm-f-links {
      position: absolute; left: 71px; top: 129px; display: flex; gap: 20px;
    }
    #news-mobile .nm-f-links a {
      font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 400;
      color: rgba(255,255,255,0.8); text-decoration: none; white-space: nowrap;
    }
    #news-mobile .nm-f-divider {
      position: absolute; left: 23px; top: 169px;
      width: 353px; height: 1px; background: rgba(255,255,255,0.15);
    }
    #news-mobile .nm-f-img1 { position: absolute; left: 138px; top: 190px; width: 125px; height: 32px; object-fit: contain; }
    #news-mobile .nm-f-imgs-row { position: absolute; left: 103px; top: 234px; display: flex; gap: 16px; align-items: center; }
    #news-mobile .nm-f-img2 { width: 100px; height: 44px; object-fit: contain; }
    #news-mobile .nm-f-img3 { width: 78px; height: 44px; object-fit: contain; }
    #news-mobile .nm-f-img4 { position: absolute; left: 121px; top: 290px; width: 158px; height: 52px; object-fit: contain; }
    #news-mobile .nm-f-copyright {
      position: absolute; left: 104px; top: 362px;
      font-family: 'Kanit', sans-serif; font-size: 11px; font-weight: 400;
      color: rgba(255,255,255,0.4); white-space: nowrap;
    }

  /* ── MOBILE BOTTOM NAV ── */
  @media (min-width: 921px) { .m-bottom-nav { display: none !important; } }
  @media (max-width: 920px) {
    .m-bottom-nav {
      position: fixed; bottom: 0; left: 0; right: 0;
      height: 85px; z-index: 2000;
      background: linear-gradient(180deg, #1a0000 0%, #0d0000 100%);
      display: flex; align-items: flex-start; justify-content: space-around;
      padding-top: 9px;
    }
    .m-bn-btn {
      display: flex; flex-direction: column; align-items: center; gap: 4px;
      text-decoration: none; flex: 1; padding: 4px 0; cursor: pointer;
    }
    .m-bn-icon-wrap {
      width: 40px; height: 40px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.45);
      transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    }
    .m-bn-icon-wrap svg { width: 20px; height: 20px; }
    .m-bn-label {
      font-family: 'Kanit', sans-serif; font-size: 10px; font-weight: 400;
      color: rgba(255,255,255,0.45); white-space: nowrap;
      transition: color 0.2s;
    }
    .m-bn-btn.active .m-bn-icon-wrap {
      background: linear-gradient(180deg, #ff4444 0%, #910202 100%);
      box-shadow: 0 0 12px rgba(255,68,68,0.5);
      color: #ffffff;
    }
    .m-bn-btn.active .m-bn-label { color: #ffe264; font-weight: 600; }
  }


/* ============================================================
   PAGE: NEWS-DETAIL
   ============================================================ */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { overflow-x: hidden; }
    body { font-family: 'Kanit', sans-serif; background: linear-gradient(90deg, #520001 0%, #ff0000 40%, #ff0000 60%, #520001 100%); background-attachment: fixed; }

    /* ── DESKTOP HEADER ── */
    .header {
      width: 100%; height: 80px;
      background: linear-gradient(to bottom, #910202 0%, #2a0202 100%);
      display: flex; align-items: center;
      padding: 0 clamp(16px, 3vw, 48px);
      gap: clamp(12px, 2vw, 32px);
      box-sizing: border-box;
      position: fixed; top: 0; left: 0; z-index: 1000;
    }
    .header-logo { height: 76px; width: auto; object-fit: contain; flex-shrink: 0; display: block; }
    .nav-links { display: flex; flex: 1; justify-content: center; gap: clamp(12px, 2.5vw, 54px); }
    .nav-links a {
      display: flex; align-items: center; position: relative;
      color: #ffffff; font-size: 20px; font-weight: 500; font-family: 'Kanit', sans-serif;
      text-decoration: none; cursor: pointer; padding: 8px 0; white-space: nowrap; transition: color 0.2s;
    }
    .nav-links a:hover { color: #ffcc00; }
    .nav-links a::after { content: ''; position: absolute; bottom: 3px; left: 0; width: 0; height: 2px; background: #ffcc00; transition: width 0.25s ease; border-radius: 1px; }
    .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
    .nav-links a.active { color: #ffcc00; }
    .nav-actions { display: flex; align-items: center; gap: clamp(8px, 1vw, 18px); flex-shrink: 0; }
    .nav-btn-register, .nav-btn-login {
      height: clamp(36px, 4vw, 56px); width: auto; object-fit: contain; cursor: pointer;
      border-radius: 32px; display: block; transition: transform 0.15s ease, filter 0.15s ease;
    }
    .nav-btn-register:hover, .nav-btn-login:hover { transform: scale(1.06); filter: brightness(1.12) drop-shadow(0 0 10px rgba(255,120,0,0.65)); }
    .nav-btn-register:active, .nav-btn-login:active { transform: scale(0.95); filter: brightness(0.92); }
    .nav-btn-menu {
      height: clamp(36px, 4vw, 56px); width: clamp(36px, 4vw, 56px); cursor: pointer;
      border-radius: 8px; background: rgba(255,255,255,0.1);
      display: none; flex-direction: column; justify-content: center; align-items: center;
      gap: 6px; border: none; padding: 0; flex-shrink: 0;
      transition: transform 0.2s ease, filter 0.2s ease;
    }
    .nav-btn-menu span { display: block; width: 60%; height: 2px; background: #ffffff; border-radius: 2px; }
    .nav-btn-menu:hover { transform: scale(1.1) rotate(10deg); filter: brightness(1.2); }

    /* ── DESKTOP SCALER ── */
    #ndDesktopContent { width: 100%; overflow: hidden; margin-top: 80px; }
    #ndScaler { width: 1680px; transform-origin: top left; }
    .pd-wrapper { position: relative; width: 1680px; }

    /* BG */
    .pd-bg {
      position: absolute; left: var(--bg-offset, -5px); top: 0;
      width: var(--bg-vw, 1703px); height: 1064px; object-fit: cover; z-index: 1;
      -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    }

    /* CONTENT AREA */
    .pd-content {
      position: relative; z-index: 5;
      width: 1200px; margin: 0 auto;
      padding: 102px 24px 48px;
    }

    /* BACK BUTTON */
    .pd-back {
      display: inline-flex; align-items: center; gap: 8px;
      cursor: pointer; margin-bottom: 32px; text-decoration: none;
    }
    .pd-back-arrow { font-size: 28px; font-weight: 500; color: #e1b55d; line-height: 1.5; }
    .pd-back-text { font-size: 22px; font-weight: 500; color: #e1b55d; line-height: 1.5; }
    .pd-back:hover .pd-back-arrow,
    .pd-back:hover .pd-back-text { color: #ffffe5; }

    /* MAIN ARTICLE CARD */
    .pd-card {
      background: #2a0301; border: 2px solid #e1b55d; border-radius: 18px;
      overflow: hidden; margin-bottom: 48px;
    }
    .pd-card-img-wrap { padding: 24px; }
    .pd-card-img-wrap img { width: 100%; height: 500px; object-fit: cover; border-radius: 10px; display: block; }
    .pd-card-body { padding: 40px 48px 40px; }

    .pd-meta-row { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
    .pd-tag {
      display: inline-flex; align-items: center; padding: 4px 22px; height: 38px;
      border-radius: 19px;
      background: linear-gradient(180deg, #ffffe5 15%, #e1b55d 85%);
      font-size: 20px; font-weight: 700; color: #590d05; line-height: 1;
    }
    .pd-date { font-size: 22px; font-weight: 300; color: #eddece; }

    .pd-h1 { font-family: 'Kanit', sans-serif; font-size: 48px; font-weight: 700; color: #ffffff; line-height: 60px; margin-bottom: 20px; }
    .pd-subtitle { font-size: 26px; font-weight: 300; color: #e0ccbd; line-height: 1.6; margin-bottom: 32px; }
    .pd-body p { font-size: 22px; font-weight: 300; color: #e0ccbd; line-height: 1.8; margin-bottom: 16px; }
    .pd-body p:last-child { margin-bottom: 0; }

    /* RELATED ARTICLES */
    .pd-related-heading {
      font-size: 32px; font-weight: 700; margin-bottom: 24px;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .pd-related-grid { display: flex; gap: 24px; padding-bottom: 48px; }
    .pd-related-card {
      flex: 1; background: #2a0301; border: 1px solid #e1b55d; border-radius: 18px;
      overflow: hidden; cursor: pointer; transition: transform 0.2s, filter 0.2s;
    }
    .pd-related-card:hover { transform: scale(1.02); filter: brightness(1.06); }
    .pd-related-card > img { width: 100%; height: 200px; object-fit: cover; display: block; }
    .pd-related-card-body { padding: 20px 24px 24px; }
    .pd-related-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
    .pd-related-tag {
      display: inline-flex; align-items: center; padding: 3px 14px; height: 30px; border-radius: 15px;
      background: linear-gradient(180deg, #ffffe5 15%, #e1b55d 85%);
      font-size: 16px; font-weight: 700; color: #590d05;
    }
    .pd-related-date { font-size: 16px; font-weight: 300; color: #eddece; }
    .pd-related-title { font-size: 22px; font-weight: 700; color: #ffffff; line-height: 1.3; margin-bottom: 10px; }
    .pd-related-read { font-size: 18px; font-weight: 500; color: #e1b55d; text-decoration: none; }
    .pd-related-read:hover { color: #ffffe5; }

    /* ── FOOTER ── */
    .section-footer { position: relative; width: 1680px; height: 400px; flex-shrink: 0; }
    .section-footer::before { content: ''; position: absolute; left: var(--bg-offset, 0px); top: 0; width: var(--bg-vw, 1680px); height: 100%; background: linear-gradient(to bottom, #d00000 0%, #280804 100%); }
    .section-footer .sf-logo { position: absolute; left: 24px; top: 48px; width: 298px; height: 84px; object-fit: contain; }
    .section-footer .sf-heading-1, .section-footer .sf-heading-2 { position: absolute; top: 48px; font-family: 'Kanit', sans-serif; font-size: 28px; font-weight: 500; background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; white-space: nowrap; line-height: 1.5; }
    .section-footer .sf-heading-1 { left: 454px; }
    .section-footer .sf-heading-2 { left: 672px; }
    .section-footer .sf-links-1, .section-footer .sf-links-2 { position: absolute; top: 48px; display: flex; flex-direction: column; }
    .section-footer .sf-links-1 { left: 454px; top: 96px; }
    .section-footer .sf-links-2 { left: 640px; top: 96px; }
    .section-footer .sf-links-1 a, .section-footer .sf-links-2 a { font-family: 'Kanit', sans-serif; font-size: 24px; font-weight: 300; color: #ffffff; text-decoration: none; line-height: 62px; white-space: nowrap; }
    .section-footer .sf-links-1 a:hover, .section-footer .sf-links-2 a:hover { color: #ffe264; }
    .section-footer .sf-img1 { position: absolute; left: 1352px; top: 48px;  width: 304px; height: 78px;  object-fit: contain; }
    .section-footer .sf-img2 { position: absolute; left: 1352px; top: 142px; width: 179px; height: 79px;  object-fit: contain; }
    .section-footer .sf-img3 { position: absolute; left: 1582px; top: 142px; width: 74px;  height: 79px;  object-fit: contain; }
    .section-footer .sf-img4 { position: absolute; left: 1352px; top: 237px; width: 304px; height: 100px; object-fit: contain; }

    /* ── MOBILE SIDEBAR ── */
    .m-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 1500; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
    .m-overlay.open { opacity: 1; pointer-events: auto; }
    .m-sidebar { position: fixed; top: 0; right: 0; width: 65vw; height: 100vh; height: 100dvh; background: linear-gradient(180deg, #910202 0%, #2a0202 100%); z-index: 1600; transform: translateX(100%); transition: transform 0.3s ease; display: flex; flex-direction: column; overflow: hidden; }
    .m-sidebar.open { transform: translateX(0); }
    .m-sidebar::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; z-index: 1; background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%); }
    .m-sidebar::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; z-index: 1; background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%); }
    .m-sb-header { position: relative; height: 22.5vw; flex-shrink: 0; padding-top: 2px; }
    .m-sb-logo { position: absolute; left: 4vw; top: 6vw; width: 35vw; height: 12.5vw; object-fit: contain; }
    .m-sb-close { position: absolute; right: 4vw; top: 7.75vw; width: 9vw; height: 9vw; background: rgba(255,255,255,0.08); border-radius: 2.5vw; border: none; cursor: pointer; }
    .m-sb-close::before, .m-sb-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 3.5vw; height: 0.5vw; background: rgba(255,255,255,0.8); border-radius: 0.25vw; }
    .m-sb-close::before { transform: translate(-50%,-50%) rotate(45deg); }
    .m-sb-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
    .m-sb-divider { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw; }
    .m-sb-nav-item { height: 11.75vw; flex-shrink: 0; margin: 0 3vw; border-radius: 2.5vw; display: flex; align-items: center; padding: 0 4vw; font-family: 'Kanit', sans-serif; font-size: 3.75vw; font-weight: 400; color: rgba(255,255,255,0.75); cursor: pointer; text-decoration: none; }
    .m-sb-nav-item:first-of-type { margin-top: 2vw; }
    .m-sb-nav-item.active { font-weight: 600; color: #ffffff; background: rgba(255,255,255,0.08); }
    .m-sb-spacer { flex: 1 1 0; min-height: 0; }
    .m-sb-divider2 { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw 8px; }
    .m-sb-img4, .m-sb-img5 { display: block; flex-shrink: 0; width: 55%; height: auto; margin: 0 auto; border-radius: 6px; object-fit: contain; cursor: pointer; }

    /* ── BREAKPOINTS ── */
    @media (min-width: 921px) { #nd-mobile { display: none !important; } }
    @media (max-width: 920px) {
      .header              { display: none !important; }
      #ndDesktopContent    { display: none !important; }
    }

    /* ════════════════════════════════════════
       MOBILE LAYOUT
       ════════════════════════════════════════ */
    #nd-mobile { overflow: hidden; }
    #nd-mobile .pdm-scaler { width: 400px; transform-origin: top left; }
    #nd-mobile .pdm-wrapper {
      position: relative; width: 400px;
      background: linear-gradient(180deg, #520001 0%, #800000 40%, #520001 100%);
      padding-top: 58px;
    }

    /* MOBILE TOPBAR */
    #nd-mobile .pdm-topbar {
      position: fixed; top: 0; left: 0; width: 400px; height: 58px;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      transform-origin: top left; z-index: 1000;
    }
    #nd-mobile .pdm-btn-menu { position: absolute; left: 5px; top: 10px; width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5; }
    #nd-mobile .pdm-logo { position: absolute; left: 125px; top: 9px; width: 150px; height: 41px; object-fit: contain; display: block; }
    #nd-mobile .pdm-btn-login-sm { position: absolute; left: 355px; top: 10px; width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5; }

    /* MOBILE HERO */
    #nd-mobile .pdm-hero {
      position: absolute; top: 0; left: 0; width: 400px; height: 125px; overflow: hidden; z-index: 0;
    }
    #nd-mobile .pdm-hero-bg { position: absolute; left: 0; top: 0; width: 400px; height: 125px; object-fit: cover; }
    #nd-mobile .pdm-back, #nd-mobile .pdm-card, #nd-mobile .pdm-related { position: relative; z-index: 1; }

/* MOBILE BACK BUTTON */
    #nd-mobile .pdm-back {
      display: inline-flex; align-items: center; gap: 6px;
      margin: 16px 16px 0; text-decoration: none;
    }
    #nd-mobile .pdm-back-arrow { font-size: 24px; font-weight: 500; color: #e1b55d; line-height: 1.3; }
    #nd-mobile .pdm-back-text { font-size: 16px; font-weight: 500; color: #e1b55d; line-height: 1.5; }

    /* MOBILE ARTICLE CARD */
    #nd-mobile .pdm-card {
      margin: 16px 16px 0;
      background: #2a0301; border: 1px solid #e1b55d; border-radius: 16px; overflow: hidden;
    }
    #nd-mobile .pdm-card-img { width: 100%; height: 192px; object-fit: cover; display: block; }
    #nd-mobile .pdm-card-body { padding: 16px; }
    #nd-mobile .pdm-meta-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
    #nd-mobile .pdm-tag {
      display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 14px;
      background: linear-gradient(180deg, #ffffe5 15%, #e1b55d 85%);
      font-size: 14px; font-weight: 700; color: #590d05;
    }
    #nd-mobile .pdm-date { font-size: 12px; font-weight: 300; color: #eddece; }
    #nd-mobile .pdm-h1 { font-size: 18px; font-weight: 700; color: #ffffff; line-height: 1.4; margin-bottom: 8px; }
    #nd-mobile .pdm-subtitle { font-size: 16px; font-weight: 300; color: #e0ccbd; line-height: 1.6; margin-bottom: 16px; }
    #nd-mobile .pdm-body p { font-size: 14px; font-weight: 300; color: #e0ccbd; line-height: 1.8; margin-bottom: 10px; }
    #nd-mobile .pdm-body p:last-child { margin-bottom: 0; }
#nd-mobile .pdm-body :is(h1, h2, h3){
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 8px;
}
#nd-mobile .pdm-body img{
	display:none !important;
}
    #nd-mobile .pdm-cta-wrap { display: flex; justify-content: center; margin-top: 24px; }
    #nd-mobile .pdm-cta-btn {
      display: inline-flex; align-items: center; justify-content: center;
      width: 162px; height: 56px; border-radius: 35px;
      background: linear-gradient(180deg, #ed291a 0%, #700000 100%);
      font-family: 'Kanit', sans-serif; font-size: 20px; font-weight: 500; color: #ffffe5;
      text-decoration: none; cursor: pointer;
    }

    /* MOBILE RELATED */
    #nd-mobile .pdm-related { margin: 24px 16px 0; }
    #nd-mobile .pdm-related-heading {
      font-size: 24px; font-weight: 700; margin-bottom: 16px;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    #nd-mobile .pdm-related-card {
      background: #2a0301; border: 1px solid #e1b55d; border-radius: 14px;
      overflow: hidden; margin-bottom: 14px;
    }
    #nd-mobile .pdm-related-card:last-child { margin-bottom: 0; }
    #nd-mobile .pdm-related-card > img { width: 100%; height: 160px; object-fit: cover; display: block; }
    #nd-mobile .pdm-related-card-body { padding: 12px 14px 14px; }
    #nd-mobile .pdm-related-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
    #nd-mobile .pdm-related-tag {
      display: inline-flex; align-items: center; padding: 2px 12px; height: 28px; border-radius: 14px;
      background: linear-gradient(180deg, #ffffe5 15%, #e1b55d 85%);
      font-size: 14px; font-weight: 700; color: #590d05;
    }
    #nd-mobile .pdm-related-date { font-size: 14px; font-weight: 300; color: #eddece; }
    #nd-mobile .pdm-related-title { font-size: 18px; font-weight: 700; color: #ffffff; line-height: 1.3; margin-bottom: 6px; }
    #nd-mobile .pdm-related-read { font-size: 16px; font-weight: 500; color: #e1b55d; text-decoration: none; }

    /* MOBILE FOOTER */
    #nd-mobile .pdm-footer {
      position: relative; width: 400px; height: 495px; margin-top: 24px;
      background: linear-gradient(to bottom, #d00000 25%, #280804 75%);
      padding-bottom: 85px;
    }
    #nd-mobile .pdm-f-logo { position: absolute; left: 118px; top: -16px; width: 163px; height: 138px; object-fit: contain; z-index: 3; }
    #nd-mobile .pdm-f-menu-heading { position: absolute; left: 175px; top: 98px; font-family: 'Kanit', sans-serif; font-size: 15px; font-weight: 500; background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    #nd-mobile .pdm-f-links { position: absolute; left: 71px; top: 129px; display: flex; gap: 20px; }
    #nd-mobile .pdm-f-links a { font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.8); text-decoration: none; white-space: nowrap; }
    #nd-mobile .pdm-f-divider { position: absolute; left: 23px; top: 169px; width: 353px; height: 1px; background: rgba(255,255,255,0.15); }
    #nd-mobile .pdm-f-img1 { position: absolute; left: 138px; top: 190px; width: 125px; height: 32px; object-fit: contain; }
    #nd-mobile .pdm-f-imgs-row { position: absolute; left: 103px; top: 234px; display: flex; gap: 16px; align-items: center; }
    #nd-mobile .pdm-f-img2 { width: 100px; height: 44px; object-fit: contain; }
    #nd-mobile .pdm-f-img3 { width: 78px; height: 44px; object-fit: contain; }
    #nd-mobile .pdm-f-img4 { position: absolute; left: 121px; top: 290px; width: 158px; height: 52px; object-fit: contain; }
    #nd-mobile .pdm-f-copyright { position: absolute; left: 104px; top: 362px; font-family: 'Kanit', sans-serif; font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.4); white-space: nowrap; }

    /* ── MOBILE BOTTOM NAV ── */
    @media (min-width: 921px) { .m-bottom-nav { display: none !important; } }
    @media (max-width: 920px) {
      .m-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 85px; z-index: 2000; background: linear-gradient(180deg, #1a0000 0%, #0d0000 100%); display: flex; align-items: flex-start; justify-content: space-around; padding-top: 9px; }
      .m-bn-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; flex: 1; padding: 4px 0; cursor: pointer; }
      .m-bn-icon-wrap { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); transition: background 0.2s, box-shadow 0.2s, color 0.2s; }
      .m-bn-icon-wrap svg { width: 20px; height: 20px; }
      .m-bn-label { font-family: 'Kanit', sans-serif; font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.45); white-space: nowrap; transition: color 0.2s; }
      .m-bn-btn.active .m-bn-icon-wrap { background: linear-gradient(180deg, #ff4444 0%, #910202 100%); box-shadow: 0 0 12px rgba(255,68,68,0.5); color: #ffffff; }
      .m-bn-btn.active .m-bn-label { color: #ffe264; font-weight: 600; }
    }


/* ============================================================
   PAGE: PROMOTION
   ============================================================ */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { overflow-x: hidden; }
    body { font-family: 'Kanit', sans-serif; background: linear-gradient(90deg, #520001 0%, #ff0000 40%, #ff0000 60%, #520001 100%); background-attachment: fixed; }

    /* ── DESKTOP HEADER ── */
    .header {
      width: 100%; height: 80px;
      background: linear-gradient(to bottom, #910202 0%, #2a0202 100%);
      display: flex; align-items: center;
      padding: 0 clamp(16px, 3vw, 48px);
      gap: clamp(12px, 2vw, 32px);
      box-sizing: border-box;
      position: fixed; top: 0; left: 0; z-index: 1000;
    }
    .header-logo { height: 76px; width: auto; object-fit: contain; flex-shrink: 0; display: block; }
    .nav-links { display: flex; flex: 1; justify-content: center; gap: clamp(12px, 2.5vw, 54px); }
    .nav-links a {
      display: flex; align-items: center; position: relative;
      color: #ffffff; font-size: 20px;
      font-weight: 500; font-family: 'Kanit', sans-serif;
      text-decoration: none; cursor: pointer;
      padding: 8px 0; white-space: nowrap; transition: color 0.2s;
    }
    .nav-links a:hover { color: #ffcc00; }
    .nav-links a::after {
      content: ''; position: absolute; bottom: 3px; left: 0;
      width: 0; height: 2px; background: #ffcc00;
      transition: width 0.25s ease; border-radius: 1px;
    }
    .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
    .nav-links a.active { color: #ffcc00; }
    .nav-actions { display: flex; align-items: center; gap: clamp(8px, 1vw, 18px); flex-shrink: 0; }
    .nav-btn-register, .nav-btn-login {
      height: clamp(36px, 4vw, 56px); width: auto;
      object-fit: contain; cursor: pointer; border-radius: 32px; display: block;
      transition: transform 0.15s ease, filter 0.15s ease;
    }
    .nav-btn-register:hover, .nav-btn-login:hover {
      transform: scale(1.06); filter: brightness(1.12) drop-shadow(0 0 10px rgba(255,120,0,0.65));
    }
    .nav-btn-register:active, .nav-btn-login:active { transform: scale(0.95); filter: brightness(0.92); }
    .nav-btn-menu {
      height: clamp(36px, 4vw, 56px); width: clamp(36px, 4vw, 56px);
      cursor: pointer; border-radius: 8px; background: rgba(255,255,255,0.1);
      display: none; flex-direction: column; justify-content: center; align-items: center;
      gap: 6px; border: none; padding: 0; flex-shrink: 0;
      transition: transform 0.2s ease, filter 0.2s ease;
    }
    .nav-btn-menu span { display: block; width: 60%; height: 2px; background: #ffffff; border-radius: 2px; }
    .nav-btn-menu:hover { transform: scale(1.1) rotate(10deg); filter: brightness(1.2); }

    /* ── PROMOTION DESKTOP ── */
    #promoDesktopContent {
      position: relative;
      width: 100%;
      margin-top: 80px;
    }

    #promoDesktopContent .promo-bg-layer {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100vw;
      height: 1064px;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    #promoDesktopContent .promo-bg-img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
      -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    }

    #promoDesktopContent .promo-hero,
    #promoDesktopContent .promo-content,
    #promoDesktopContent .section-footer-outer {
      position: relative;
      z-index: 1;
    }

    .promo-hero {
      padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px);
      text-align: center;
    }

    .promo-page-title {
      margin: 0;
      font-size: clamp(28px, 3.2vw, 40px);
      font-weight: 700;
      line-height: 1.6;
      text-align: center;
      font-family: 'Kanit', sans-serif;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      padding: 4px 0;
    }

    .promo-page-subtitle {
      margin: clamp(12px, 1.5vw, 16px) 0 0;
      font-size: clamp(16px, 2vw, 24px);
      font-weight: 300;
      color: #ffffff;
      text-align: center;
    }

    .promo-content { padding: clamp(24px, 3vw, 32px) 0 clamp(48px, 5vw, 64px); }

    .promo-cards-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: clamp(16px, 2vw, 24px);
      justify-items: center;
    }

    @media (min-width: 769px) and (max-width: 1024px) {
      #promoDesktopContent .promo-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .promo-card {
      width: 100%;
      max-width: 528px;
      justify-self: center;
      height: auto;
      background: #2a0301;
      border: 1px solid #e1b55d;
      border-radius: 18px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      padding: clamp(16px, 2vw, 24px);
      gap: clamp(16px, 2vw, 24px);
    }

    .promo-card img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 10px;
    }

    .promo-card-body { width: 100%; }

    .promo-card-tag {
      display: inline-flex;
      align-items: center;
      padding: 8px 14px;
      border-radius: 19px;
      background: linear-gradient(to bottom, #ffffe5 15%, #e1b55d 85%);
      font-size: 14px;
      font-weight: 700;
      color: #590d05;
      line-height: 1;
    }

    .promo-card-meta { margin-top: 16px; }
    .promo-card-date { display: block; font-size: 12px; font-weight: 300; color: #eddece; line-height: 1.4; }
    .promo-card-title { display: block; font-size: 18px; font-weight: 700; color: #ffffff; line-height: 1.3; margin-top: 2px; }
    .promo-card-desc { display: block; font-size: 14px; font-weight: 300; color: #e0ccbd; line-height: 1.4; margin-top: 6px; }
    .promo-card-read { display: block; font-size: 16px; font-weight: 500; color: #e1b55d; text-decoration: none; margin-top: 6px; }

    .promo-actions {
      display: flex;
      justify-content: center;
      margin-top: clamp(32px, 4vw, 48px);
    }

    .promo-register-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: min(260px, 100%);
      height: clamp(56px, 6vw, 70px);
      background: linear-gradient(to bottom, #ed2919 0%, #700000 100%);
      border: 1px solid #e1b55d;
      border-radius: 35px;
      font-family: 'Kanit', sans-serif;
      font-size: clamp(20px, 2vw, 26px);
      font-weight: 500;
      color: #ffffe5;
      text-decoration: none;
      box-sizing: border-box;
      cursor: pointer;
      transition: transform 0.15s ease, filter 0.15s ease;
    }

    .promo-register-btn:hover { transform: scale(1.04); filter: brightness(1.1); }

    /* ── PROMOTION FOOTER (original layout) ── */
    #promoDesktopContent .section-footer-outer {
      width: 100%;
      display: flex;
      justify-content: center;
      overflow: hidden;
      background: linear-gradient(to bottom, #d00000 0%, #280804 100%);
    }

    #promoDesktopContent .section-footer-outer .section-footer {
      position: relative;
      width: 1680px;
      height: 400px;
      flex-shrink: 0;
      transform-origin: top center;
    }

    #promoDesktopContent .section-footer-outer .section-footer::before {
      display: none;
    }

    @media (min-width: 1680px) {
      #promoDesktopContent .section-footer-outer { height: 400px; }
    }

    @media (min-width: 769px) and (max-width: 1679px) {
      #promoDesktopContent .section-footer-outer {
        height: calc(400px * (100vw / 1680));
      }

      #promoDesktopContent .section-footer-outer .section-footer {
        transform: scale(calc(100vw / 1680));
      }
    }

    /* ════════════════════════════════════════
       MOBILE SIDEBAR
       ════════════════════════════════════════ */
    .m-overlay {
      position: fixed; top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(0,0,0,0.5);
      z-index: 1500; opacity: 0; pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .m-overlay.open { opacity: 1; pointer-events: auto; }
    .m-sidebar {
      position: fixed; top: 0; right: 0;
      width: 65vw; height: 100vh; height: 100dvh;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      z-index: 1600; transform: translateX(100%);
      transition: transform 0.3s ease;
      display: flex; flex-direction: column; overflow: hidden;
    }
    .m-sidebar.open { transform: translateX(0); }
    .m-sidebar::before {
      content: ''; position: absolute; top: 0; left: 0;
      width: 100%; height: 2px; z-index: 1;
      background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
    }
    .m-sidebar::after {
      content: ''; position: absolute; bottom: 0; left: 0;
      width: 100%; height: 2px; z-index: 1;
      background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%);
    }
    .m-sb-header { position: relative; height: 22.5vw; flex-shrink: 0; padding-top: 2px; }
    .m-sb-logo { position: absolute; left: 4vw; top: 6vw; width: 35vw; height: 12.5vw; object-fit: contain; }
    .m-sb-close {
      position: absolute; right: 4vw; top: 7.75vw;
      width: 9vw; height: 9vw;
      background: rgba(255,255,255,0.08); border-radius: 2.5vw; border: none; cursor: pointer;
    }
    .m-sb-close::before, .m-sb-close::after {
      content: ''; position: absolute; left: 50%; top: 50%;
      width: 3.5vw; height: 0.5vw;
      background: rgba(255,255,255,0.8); border-radius: 0.25vw;
    }
    .m-sb-close::before { transform: translate(-50%,-50%) rotate(45deg); }
    .m-sb-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
    .m-sb-divider { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw; }
    .m-sb-nav-item {
      height: 11.75vw; flex-shrink: 0; margin: 0 3vw; border-radius: 2.5vw;
      display: flex; align-items: center; padding: 0 4vw;
      font-family: 'Kanit', sans-serif; font-size: 3.75vw; font-weight: 400;
      color: rgba(255,255,255,0.75); cursor: pointer; text-decoration: none;
    }
    .m-sb-nav-item:first-of-type { margin-top: 2vw; }
    .m-sb-nav-item.active { font-weight: 600; color: #ffffff; background: rgba(255,255,255,0.08); }
    .m-sb-spacer { flex: 1 1 0; min-height: 0; }
    .m-sb-divider2 { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw 8px; }
    .m-sb-img4, .m-sb-img5 {
      display: block; flex-shrink: 0;
      width: 55%; height: auto;
      margin: 0 auto;
      border-radius: 6px;
      object-fit: contain; cursor: pointer;
    }

    /* ── BREAKPOINTS ── */
    @media (min-width: 769px) { #promo-mobile { display: none !important; } }
    @media (max-width: 768px) {
      .header                { display: none !important; }
      #promoDesktopContent   { display: none !important; }
      footer.footer          { display: none !important; }
    }

    /* ════════════════════════════════════════
       MOBILE LAYOUT
       ════════════════════════════════════════ */
    #promo-mobile { overflow: hidden; }
    #promo-mobile .pm-scaler { width: 400px; transform-origin: top left; }
    #promo-mobile .pm-wrapper {
      position: relative; width: 400px;
      background: linear-gradient(180deg, #520001 0%, #800000 50%, #520001 100%);
    }

    /* TOPBAR */
    #promo-mobile .pm-topbar {
      position: fixed; top: 0; left: 0; width: 400px; height: 58px;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      transform-origin: top left; z-index: 1000;
    }
    #promo-mobile .pm-wrapper { padding-top: 58px; }
    #promo-mobile .pm-btn-menu {
      position: absolute; left: 5px; top: 10px;
      width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5;
    }
    #promo-mobile .pm-logo {
      position: absolute; left: 125px; top: 9px;
      width: 150px; height: 41px; object-fit: contain; display: block;
    }
    #promo-mobile .pm-btn-login-sm {
      position: absolute; left: 355px; top: 10px;
      width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5;
    }

    /* HERO */
    #promo-mobile .pm-hero {
      position: relative; width: 400px; height: 125px; overflow: hidden;
    }
    #promo-mobile .pm-hero-bg {
      position: absolute; left: 0; top: 0; width: 400px; height: 125px; object-fit: cover;
    }
#promo-mobile .pm-hero-title {
      position: absolute; left: 0; top: 32px; width: 400px;
      font-size: 30px; font-weight: 700; line-height: 1.1; text-align: center;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
      z-index: 2;
    }
    #promo-mobile .pm-hero-subtitle {
      position: absolute; left: 0; top: 80px; width: 400px;
      font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.8); text-align: center;
      z-index: 2;
    }

    /* CARDS CONTAINER */
    #promo-mobile .pm-cards-container {
      padding: 0 16px;
      display: flex; flex-direction: column; gap: 16px;
    }

    /* MOBILE PROMO CARD */
    #promo-mobile .pm-card {
      width: 368px; height: auto;
      background: #2a0301; border: 1.5px solid #e1b55d; border-radius: 16px;
      overflow: hidden; flex-shrink: 0; display: flex; flex-direction: column;
    }
#promo-mobile .pm-card img{
	width:100%;
	height:auto;
}
    #promo-mobile .pm-card-img {
      width: 100%; height: 284px; flex-shrink: 0;
      object-fit: cover;
    }
    #promo-mobile .pm-card-body {
      width: 100%; padding: 16px;
    }
    #promo-mobile .pm-card-tag {
      display: inline-flex; align-items: center; padding: 3px 12px; height: 24px;
      border-radius: 100px;
      background: linear-gradient(to bottom, #ffffe5 15%, #e1b55d 85%);
      font-size: 12px; font-weight: 700; color: #590d05; line-height: 1;
    }
    #promo-mobile .pm-card-date {
      display: block; font-size: 14px; font-weight: 400; color: #eddece;
      margin-top: 12px;
    }
    #promo-mobile .pm-card-title {
      display: block; font-size: 18px; font-weight: 700; color: #ffffff;
      margin-top: 12px; line-height: 1.3;
    }
    #promo-mobile .pm-card-desc {
      display: block; font-size: 14px; font-weight: 400; color: #e0ccbd;
      margin-top: 12px; line-height: 1.4;
    }
    #promo-mobile .pm-card-read {
      display: block; font-size: 14px; font-weight: 500; color: #e1b55d;
      text-decoration: none; margin-top: 12px;
    }

    /* REGISTER BUTTON (mobile) */
    #promo-mobile .pm-register-btn {
      display: block; width: 180px; height: 50px; margin: 12px auto 18px;
      background: linear-gradient(to bottom, #ed2919 0%, #700000 100%);
      border: 1px solid #e1b55d; border-radius: 25px;
      font-family: 'Kanit', sans-serif; font-size: 17px; font-weight: 500;
      color: #ffffe5; cursor: pointer;
    }

    /* FOOTER (mobile) */
    #promo-mobile .pm-footer {
      position: relative; width: 400px; height: 495px;
      background: linear-gradient(to bottom, #d00000 25%, #280804 75%);
    }
    #promo-mobile .pm-f-logo {
      position: absolute; left: 118px; top: -16px;
      width: 163px; height: 138px; object-fit: contain; z-index: 3;
    }
    #promo-mobile .pm-f-menu-heading {
      position: absolute; left: 175px; top: 98px;
      font-family: 'Kanit', sans-serif; font-size: 15px; font-weight: 500;
      background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    #promo-mobile .pm-f-links {
      position: absolute; left: 71px; top: 129px; display: flex; gap: 20px;
    }
    #promo-mobile .pm-f-links a {
      font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 400;
      color: rgba(255,255,255,0.8); text-decoration: none; white-space: nowrap;
    }
    #promo-mobile .pm-f-divider {
      position: absolute; left: 23px; top: 169px;
      width: 353px; height: 1px; background: rgba(255,255,255,0.15);
    }
    #promo-mobile .pm-f-img1 { position: absolute; left: 138px; top: 190px; width: 125px; height: 32px; object-fit: contain; }
    #promo-mobile .pm-f-imgs-row { position: absolute; left: 103px; top: 234px; display: flex; gap: 16px; align-items: center; }
    #promo-mobile .pm-f-img2 { width: 100px; height: 44px; object-fit: contain; }
    #promo-mobile .pm-f-img3 { width: 78px; height: 44px; object-fit: contain; }
    #promo-mobile .pm-f-img4 { position: absolute; left: 121px; top: 290px; width: 158px; height: 52px; object-fit: contain; }
    #promo-mobile .pm-f-copyright {
      position: absolute; left: 104px; top: 362px;
      font-family: 'Kanit', sans-serif; font-size: 11px; font-weight: 400;
      color: rgba(255,255,255,0.4); white-space: nowrap;
    }

  /* ── MOBILE BOTTOM NAV ── */
  @media (min-width: 769px) { .m-bottom-nav { display: none !important; } }
  @media (max-width: 768px) {
    .m-bottom-nav {
      position: fixed; bottom: 0; left: 0; right: 0;
      height: 85px; z-index: 2000;
      background: linear-gradient(180deg, #1a0000 0%, #0d0000 100%);
      display: flex; align-items: flex-start; justify-content: space-around;
      padding-top: 9px;
    }
    .m-bn-btn {
      display: flex; flex-direction: column; align-items: center; gap: 4px;
      text-decoration: none; flex: 1; padding: 4px 0; cursor: pointer;
    }
    .m-bn-icon-wrap {
      width: 40px; height: 40px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.45);
      transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    }
    .m-bn-icon-wrap svg { width: 20px; height: 20px; }
    .m-bn-label {
      font-family: 'Kanit', sans-serif; font-size: 10px; font-weight: 400;
      color: rgba(255,255,255,0.45); white-space: nowrap;
      transition: color 0.2s;
    }
    .m-bn-btn.active .m-bn-icon-wrap {
      background: linear-gradient(180deg, #ff4444 0%, #910202 100%);
      box-shadow: 0 0 12px rgba(255,68,68,0.5);
      color: #ffffff;
    }
    .m-bn-btn.active .m-bn-label { color: #ffe264; font-weight: 600; }
  }


/* ============================================================
   PAGE: PROMOTION-DETAIL
   ============================================================ */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body { overflow-x: hidden; }
    body { font-family: 'Kanit', sans-serif; background: linear-gradient(90deg, #520001 0%, #ff0000 40%, #ff0000 60%, #520001 100%); background-attachment: fixed; }

    /* ── DESKTOP HEADER ── */
    .header {
      width: 100%; height: 80px;
      background: linear-gradient(to bottom, #910202 0%, #2a0202 100%);
      display: flex; align-items: center;
      padding: 0 clamp(16px, 3vw, 48px);
      gap: clamp(12px, 2vw, 32px);
      box-sizing: border-box;
      position: fixed; top: 0; left: 0; z-index: 1000;
    }
    .header-logo { height: 76px; width: auto; object-fit: contain; flex-shrink: 0; display: block; }
    .nav-links { display: flex; flex: 1; justify-content: center; gap: clamp(12px, 2.5vw, 54px); }
    .nav-links a {
      display: flex; align-items: center; position: relative;
      color: #ffffff; font-size: 20px; font-weight: 500; font-family: 'Kanit', sans-serif;
      text-decoration: none; cursor: pointer; padding: 8px 0; white-space: nowrap; transition: color 0.2s;
    }
    .nav-links a:hover { color: #ffcc00; }
    .nav-links a::after { content: ''; position: absolute; bottom: 3px; left: 0; width: 0; height: 2px; background: #ffcc00; transition: width 0.25s ease; border-radius: 1px; }
    .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
    .nav-links a.active { color: #ffcc00; }
    .nav-actions { display: flex; align-items: center; gap: clamp(8px, 1vw, 18px); flex-shrink: 0; }
    .nav-btn-register, .nav-btn-login {
      height: clamp(36px, 4vw, 56px); width: auto; object-fit: contain; cursor: pointer;
      border-radius: 32px; display: block; transition: transform 0.15s ease, filter 0.15s ease;
    }
    .nav-btn-register:hover, .nav-btn-login:hover { transform: scale(1.06); filter: brightness(1.12) drop-shadow(0 0 10px rgba(255,120,0,0.65)); }
    .nav-btn-register:active, .nav-btn-login:active { transform: scale(0.95); filter: brightness(0.92); }
    .nav-btn-menu {
      height: clamp(36px, 4vw, 56px); width: clamp(36px, 4vw, 56px); cursor: pointer;
      border-radius: 8px; background: rgba(255,255,255,0.1);
      display: none; flex-direction: column; justify-content: center; align-items: center;
      gap: 6px; border: none; padding: 0; flex-shrink: 0;
      transition: transform 0.2s ease, filter 0.2s ease;
    }
    .nav-btn-menu span { display: block; width: 60%; height: 2px; background: #ffffff; border-radius: 2px; }
    .nav-btn-menu:hover { transform: scale(1.1) rotate(10deg); filter: brightness(1.2); }

    /* ── DESKTOP SCALER ── */
    #pdDesktopContent { width: 100%; overflow: hidden; margin-top: 80px; }
    #pdScaler { width: 1680px; transform-origin: top left; }
    .pd-wrapper { position: relative; width: 1680px; }

    /* BG */
    .pd-bg {
      position: absolute; left: var(--bg-offset, -5px); top: 0;
      width: var(--bg-vw, 1703px); height: 1064px; object-fit: cover; z-index: 1;
      -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
      mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    }

    /* CONTENT AREA */
    .pd-content {
      position: relative; z-index: 5;
      width: 1200px; margin: 0 auto;
      padding: 102px 24px 48px;
    }

    /* BACK BUTTON */
    .pd-back {
      display: inline-flex; align-items: center; gap: 8px;
      cursor: pointer; margin-bottom: 32px; text-decoration: none;
    }
    .pd-back-arrow { font-size: 28px; font-weight: 500; color: #e1b55d; line-height: 1.5; }
    .pd-back-text { font-size: 22px; font-weight: 500; color: #e1b55d; line-height: 1.5; }
    .pd-back:hover .pd-back-arrow,
    .pd-back:hover .pd-back-text { color: #ffffe5; }

    /* MAIN ARTICLE CARD */
    .pd-card {
      background: #2a0301; border: 1px solid #e1b55d; border-radius: 18px;
      overflow: hidden; margin-bottom: 48px;
    }
    .pd-card-img-wrap { padding: 24px; }
    .pd-card-img-wrap img { width: 100%; height: auto; object-fit: cover; border-radius: 10px; display: block; }
    .pd-card-body { padding: 40px 48px 40px; }

    .pd-meta-row { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
    .pd-tag {
      display: inline-flex; align-items: center; padding: 8px 14px;
      border-radius: 19px;
      background: linear-gradient(180deg, #ffffe5 15%, #e1b55d 85%);
      font-size: 14px; font-weight: 700; color: #590d05; line-height: 1;
    }
    .pd-date { font-size: 12px; font-weight: 300; color: #eddece; }

    .pd-h1 { font-family: 'Kanit', sans-serif; font-size: 24px; font-weight: 700; color: #ffffff; line-height: 60px; margin-bottom: 20px; }
    .pd-subtitle { font-size: 26px; font-weight: 300; color: #e0ccbd; line-height: 1.6; margin-bottom: 32px; }
    .pd-body p { font-size: 16px; font-weight: 300; color: #e0ccbd; line-height: 1.8; margin-bottom: 16px; }
    .pd-body p:last-child { margin-bottom: 0; }
.pd-body :is(h1, h2, h3) {
  font-size: 24px;
	color:#fff;
}
.pd-body img{
	display:none !important;
}
    /* RELATED ARTICLES */
    .pd-related-heading {
      font-size: 32px; font-weight: 700; margin-bottom: 24px;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .pd-related-grid { display: flex; gap: 24px; padding-bottom: 48px; }
    .pd-related-card {
      flex: 1; background: #2a0301; border: 1px solid #e1b55d; border-radius: 18px;
      overflow: hidden; cursor: pointer; transition: transform 0.2s, filter 0.2s;
    }
    .pd-related-card:hover { transform: scale(1.02); filter: brightness(1.06); }
    .pd-related-card > img { width: 100%; height: 200px; object-fit: cover; display: block; }
    .pd-related-card-body { padding: 20px 24px 24px; }
    .pd-related-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
    .pd-related-tag {
      display: inline-flex; align-items: center; padding: 3px 14px; height: 30px; border-radius: 15px;
      background: linear-gradient(180deg, #ffffe5 15%, #e1b55d 85%);
      font-size: 16px; font-weight: 700; color: #590d05;
    }
    .pd-related-date { font-size: 16px; font-weight: 300; color: #eddece; }
    .pd-related-title { font-size: 22px; font-weight: 700; color: #ffffff; line-height: 1.3; margin-bottom: 10px; }
    .pd-related-read { font-size: 18px; font-weight: 500; color: #e1b55d; text-decoration: none; }
    .pd-related-read:hover { color: #ffffe5; }

    /* ── FOOTER ── */
    .section-footer { position: relative; width: 1680px; height: 400px; flex-shrink: 0; }
    .section-footer::before { content: ''; position: absolute; left: var(--bg-offset, 0px); top: 0; width: var(--bg-vw, 1680px); height: 100%; background: linear-gradient(to bottom, #d00000 0%, #280804 100%); }
    .section-footer .sf-logo { position: absolute; left: 24px; top: 48px; width: 298px; height: 84px; object-fit: contain; }
    .section-footer .sf-heading-1, .section-footer .sf-heading-2 { position: absolute; top: 48px; font-family: 'Kanit', sans-serif; font-size: 28px; font-weight: 500; background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; white-space: nowrap; line-height: 1.5; }
    .section-footer .sf-heading-1 { left: 454px; }
    .section-footer .sf-heading-2 { left: 672px; }
    .section-footer .sf-links-1, .section-footer .sf-links-2 { position: absolute; top: 48px; display: flex; flex-direction: column; }
    .section-footer .sf-links-1 { left: 454px; top: 96px; }
    .section-footer .sf-links-2 { left: 640px; top: 96px; }
    .section-footer .sf-links-1 a, .section-footer .sf-links-2 a { font-family: 'Kanit', sans-serif; font-size: 24px; font-weight: 300; color: #ffffff; text-decoration: none; line-height: 62px; white-space: nowrap; }
    .section-footer .sf-links-1 a:hover, .section-footer .sf-links-2 a:hover { color: #ffe264; }
    .section-footer .sf-img1 { position: absolute; left: 1352px; top: 48px;  width: 304px; height: 78px;  object-fit: contain; }
    .section-footer .sf-img2 { position: absolute; left: 1352px; top: 142px; width: 179px; height: 79px;  object-fit: contain; }
    .section-footer .sf-img3 { position: absolute; left: 1582px; top: 142px; width: 74px;  height: 79px;  object-fit: contain; }
    .section-footer .sf-img4 { position: absolute; left: 1352px; top: 237px; width: 304px; height: 100px; object-fit: contain; }

    /* ── MOBILE SIDEBAR ── */
    .m-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); z-index: 1500; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
    .m-overlay.open { opacity: 1; pointer-events: auto; }
    .m-sidebar { position: fixed; top: 0; right: 0; width: 65vw; height: 100vh; height: 100dvh; background: linear-gradient(180deg, #910202 0%, #2a0202 100%); z-index: 1600; transform: translateX(100%); transition: transform 0.3s ease; display: flex; flex-direction: column; overflow: hidden; }
    .m-sidebar.open { transform: translateX(0); }
    .m-sidebar::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; z-index: 1; background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%); }
    .m-sidebar::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; z-index: 1; background: linear-gradient(90deg, #000000 0%, #ff4444 50%, #000000 100%); }
    .m-sb-header { position: relative; height: 22.5vw; flex-shrink: 0; padding-top: 2px; }
    .m-sb-logo { position: absolute; left: 4vw; top: 6vw; width: 35vw; height: 12.5vw; object-fit: contain; }
    .m-sb-close { position: absolute; right: 4vw; top: 7.75vw; width: 9vw; height: 9vw; background: rgba(255,255,255,0.08); border-radius: 2.5vw; border: none; cursor: pointer; }
    .m-sb-close::before, .m-sb-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 3.5vw; height: 0.5vw; background: rgba(255,255,255,0.8); border-radius: 0.25vw; }
    .m-sb-close::before { transform: translate(-50%,-50%) rotate(45deg); }
    .m-sb-close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
    .m-sb-divider { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw; }
    .m-sb-nav-item { height: 11.75vw; flex-shrink: 0; margin: 0 3vw; border-radius: 2.5vw; display: flex; align-items: center; padding: 0 4vw; font-family: 'Kanit', sans-serif; font-size: 3.75vw; font-weight: 400; color: rgba(255,255,255,0.75); cursor: pointer; text-decoration: none; }
    .m-sb-nav-item:first-of-type { margin-top: 2vw; }
    .m-sb-nav-item.active { font-weight: 600; color: #ffffff; background: rgba(255,255,255,0.08); }
    .m-sb-spacer { flex: 1 1 0; min-height: 0; }
    .m-sb-divider2 { height: 1px; flex-shrink: 0; background: rgba(255,255,255,0.15); margin: 0 4vw 8px; }
    .m-sb-img4, .m-sb-img5 { display: block; flex-shrink: 0; width: 55%; height: auto; margin: 0 auto; border-radius: 6px; object-fit: contain; cursor: pointer; }

    /* ── BREAKPOINTS ── */
    @media (min-width: 921px) { #pd-mobile { display: none !important; } }
    @media (max-width: 920px) {
      .header              { display: none !important; }
      #pdDesktopContent    { display: none !important; }
    }

    /* ════════════════════════════════════════
       MOBILE LAYOUT
       ════════════════════════════════════════ */
    #pd-mobile { overflow: hidden; }
    #pd-mobile .pdm-scaler { width: 400px; transform-origin: top left; }
    #pd-mobile .pdm-wrapper {
      position: relative; width: 400px;
      background: linear-gradient(180deg, #520001 0%, #800000 40%, #520001 100%);
      padding-top: 58px;
    }

    /* MOBILE TOPBAR */
    #pd-mobile .pdm-topbar {
      position: fixed; top: 0; left: 0; width: 400px; height: 58px;
      background: linear-gradient(180deg, #910202 0%, #2a0202 100%);
      transform-origin: top left; z-index: 1000;
    }
    #pd-mobile .pdm-btn-menu { position: absolute; left: 5px; top: 10px; width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5; }
    #pd-mobile .pdm-logo { position: absolute; left: 125px; top: 9px; width: 150px; height: 41px; object-fit: contain; display: block; }
    #pd-mobile .pdm-btn-login-sm { position: absolute; left: 355px; top: 10px; width: 40px; height: 38px; object-fit: contain; cursor: pointer; z-index: 5; }

    /* MOBILE HERO */
    #pd-mobile .pdm-hero {
      position: absolute; top: 0; left: 0; width: 400px; height: 125px; overflow: hidden; z-index: 0;
    }
    #pd-mobile .pdm-hero-bg { position: absolute; left: 0; top: 0; width: 400px; height: 125px; object-fit: cover; }
    #pd-mobile .pdm-back, #pd-mobile .pdm-card, #pd-mobile .pdm-related { position: relative; z-index: 1; }

/* MOBILE BACK BUTTON */
    #pd-mobile .pdm-back {
      display: inline-flex; align-items: center; gap: 6px;
      margin: 16px 16px 0; text-decoration: none;
    }
    #pd-mobile .pdm-back-arrow { font-size: 24px; font-weight: 500; color: #e1b55d; line-height: 1.3; }
    #pd-mobile .pdm-back-text { font-size: 16px; font-weight: 500; color: #e1b55d; line-height: 1.5; }

    /* MOBILE ARTICLE CARD */
    #pd-mobile .pdm-card {
      margin: 16px 16px 0;
      background: #2a0301; border: 1px solid #e1b55d; border-radius: 16px; overflow: hidden;
    }
    #pd-mobile .pdm-card-img { width: 100%; height: 192px; object-fit: cover; display: block; }
    #pd-mobile .pdm-card-body { padding: 16px; }
    #pd-mobile .pdm-meta-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
    #pd-mobile .pdm-tag {
      display: inline-flex; align-items: center; padding: 4px 12px; height: 28px; border-radius: 14px;
      background: linear-gradient(180deg, #ffffe5 15%, #e1b55d 85%);
      font-size: 16px; font-weight: 700; color: #590d05;
    }
    #pd-mobile .pdm-date { font-size: 14px; font-weight: 300; color: #eddece; }
    #pd-mobile .pdm-h1 { font-size: 24px; font-weight: 700; color: #ffffff; line-height: 1.4; margin-bottom: 8px; }
    #pd-mobile .pdm-subtitle { font-size: 16px; font-weight: 300; color: #e0ccbd; line-height: 1.6; margin-bottom: 16px; }
    #pd-mobile .pdm-body p { font-size: 14px; font-weight: 300; color: #e0ccbd; line-height: 1.8; margin-bottom: 10px; }
    #pd-mobile .pdm-body p:last-child { margin-bottom: 0; }
    #pd-mobile .pdm-cta-wrap { display: flex; justify-content: center; margin-top: 24px; }
    #pd-mobile .pdm-cta-btn {
      display: inline-flex; align-items: center; justify-content: center;
      width: 162px; height: 56px; border-radius: 35px;
      background: linear-gradient(180deg, #ed291a 0%, #700000 100%);
      font-family: 'Kanit', sans-serif; font-size: 20px; font-weight: 500; color: #ffffe5;
      text-decoration: none; cursor: pointer;
    }

    /* MOBILE RELATED */
    #pd-mobile .pdm-related { margin: 24px 16px 0; }
    #pd-mobile .pdm-related-heading {
      font-size: 24px; font-weight: 700; margin-bottom: 16px;
      background: linear-gradient(180deg, #ffffe5 20%, #e1b55d 85%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    #pd-mobile .pdm-related-card {
      background: #2a0301; border: 1px solid #e1b55d; border-radius: 14px;
      overflow: hidden; margin-bottom: 14px;
    }
    #pd-mobile .pdm-related-card:last-child { margin-bottom: 0; }
    #pd-mobile .pdm-related-card > img { width: 100%; height: 160px; object-fit: cover; display: block; }
    #pd-mobile .pdm-related-card-body { padding: 12px 14px 14px; }
    #pd-mobile .pdm-related-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
    #pd-mobile .pdm-related-tag {
      display: inline-flex; align-items: center; padding: 2px 12px; height: 28px; border-radius: 14px;
      background: linear-gradient(180deg, #ffffe5 15%, #e1b55d 85%);
      font-size: 14px; font-weight: 700; color: #590d05;
    }
    #pd-mobile .pdm-related-date { font-size: 14px; font-weight: 300; color: #eddece; }
    #pd-mobile .pdm-related-title { font-size: 18px; font-weight: 700; color: #ffffff; line-height: 1.3; margin-bottom: 6px; }
    #pd-mobile .pdm-related-read { font-size: 16px; font-weight: 500; color: #e1b55d; text-decoration: none; }

    /* MOBILE FOOTER */
    #pd-mobile .pdm-footer {
      position: relative; width: 400px; height: 495px; margin-top: 24px;
      background: linear-gradient(to bottom, #d00000 25%, #280804 75%);
      padding-bottom: 85px;
    }
    #pd-mobile .pdm-f-logo { position: absolute; left: 118px; top: -16px; width: 163px; height: 138px; object-fit: contain; z-index: 3; }
    #pd-mobile .pdm-f-menu-heading { position: absolute; left: 175px; top: 98px; font-family: 'Kanit', sans-serif; font-size: 15px; font-weight: 500; background: linear-gradient(180deg, #ffe264 0%, #ff770f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    #pd-mobile .pdm-f-links { position: absolute; left: 71px; top: 129px; display: flex; gap: 20px; }
    #pd-mobile .pdm-f-links a { font-family: 'Kanit', sans-serif; font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.8); text-decoration: none; white-space: nowrap; }
    #pd-mobile .pdm-f-divider { position: absolute; left: 23px; top: 169px; width: 353px; height: 1px; background: rgba(255,255,255,0.15); }
    #pd-mobile .pdm-f-img1 { position: absolute; left: 138px; top: 190px; width: 125px; height: 32px; object-fit: contain; }
    #pd-mobile .pdm-f-imgs-row { position: absolute; left: 103px; top: 234px; display: flex; gap: 16px; align-items: center; }
    #pd-mobile .pdm-f-img2 { width: 100px; height: 44px; object-fit: contain; }
    #pd-mobile .pdm-f-img3 { width: 78px; height: 44px; object-fit: contain; }
    #pd-mobile .pdm-f-img4 { position: absolute; left: 121px; top: 290px; width: 158px; height: 52px; object-fit: contain; }
    #pd-mobile .pdm-f-copyright { position: absolute; left: 104px; top: 362px; font-family: 'Kanit', sans-serif; font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.4); white-space: nowrap; }

    /* ── MOBILE BOTTOM NAV ── */
    @media (min-width: 921px) { .m-bottom-nav { display: none !important; } }
    @media (max-width: 920px) {
      .m-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 85px; z-index: 2000; background: linear-gradient(180deg, #1a0000 0%, #0d0000 100%); display: flex; align-items: flex-start; justify-content: space-around; padding-top: 9px; }
      .m-bn-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; flex: 1; padding: 4px 0; cursor: pointer; }
      .m-bn-icon-wrap { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); transition: background 0.2s, box-shadow 0.2s, color 0.2s; }
      .m-bn-icon-wrap svg { width: 20px; height: 20px; }
      .m-bn-label { font-family: 'Kanit', sans-serif; font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.45); white-space: nowrap; transition: color 0.2s; }
      .m-bn-btn.active .m-bn-icon-wrap { background: linear-gradient(180deg, #ff4444 0%, #910202 100%); box-shadow: 0 0 12px rgba(255,68,68,0.5); color: #ffffff; }
      .m-bn-btn.active .m-bn-label { color: #ffe264; font-weight: 600; }
    }
