@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;700;800&display=swap");

:root {
  --bg: #070a14;
  --bg2: #0b1020;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --subtle: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.10);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --radius2: 26px;
  --brand: #7c5cff;
  --brand2: #16e2ff;
  --accentPink: #ff4fd8;
  --accentGreen: #39d353;
  --good: #2ef2a5;
  --warn: #ffb84d;
  --max: 1100px;
  --font: "Google Sans", "Noto Sans Thai", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(900px 500px at 18% 12%, rgba(124, 92, 255, 0.25), transparent 55%),
    radial-gradient(900px 500px at 76% 12%, rgba(22, 226, 255, 0.20), transparent 55%),
    radial-gradient(800px 500px at 50% 80%, rgba(46, 242, 165, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  line-height: 1.45;
}

/* หน้า Home โทนขาว (ค่อยทยอยปรับส่วนอื่น) */
body.theme-clean {
  background: #fff;
  color: rgba(10, 16, 32, 0.92);
}
.legacy-dark {
  background: radial-gradient(900px 500px at 18% 12%, rgba(124, 92, 255, 0.20), transparent 55%),
    radial-gradient(900px 500px at 76% 12%, rgba(22, 226, 255, 0.16), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus {
  left: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 14, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Header โทนขาว คลีน/เรียบหรู (ใช้เฉพาะหน้าที่ใส่ class นี้) */
.header--light {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}
.header--light .brand__mark {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
}
.header--light .brand__logo {
  filter: none;
}
.header--light .brand__text {
  color: rgba(10, 16, 32, 0.92);
}

.header--light .brand__img {
  height: 44px;
}
.header--light .nav__link {
  color: rgba(10, 16, 32, 0.72);
  font-size: 18px;
  font-weight: 700;
}
.header--light .nav__link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(10, 16, 32, 0.92);
}
.header--light .icon-button {
  border: 1px solid rgba(0, 0, 0, 0.10);
  color: rgba(10, 16, 32, 0.92);
}
.header--light .icon-button:hover {
  background: rgba(0, 0, 0, 0.05);
}
.header--light .icon-button__bars {
  background:
    linear-gradient(rgba(10, 16, 32, 0.92), rgba(10, 16, 32, 0.92)) 0 0 / 100% 2px no-repeat,
    linear-gradient(rgba(10, 16, 32, 0.92), rgba(10, 16, 32, 0.92)) 0 50% / 100% 2px no-repeat,
    linear-gradient(rgba(10, 16, 32, 0.92), rgba(10, 16, 32, 0.92)) 0 100% / 100% 2px no-repeat;
}
.header--light .nav__signup {
  background: #ff9a1a;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 40px rgba(255, 154, 26, 0.25);
}
.header--light .lineButton {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: rgba(10, 16, 32, 0.85);
}
.header--light .lineButton__icon {
  background: rgba(0, 0, 0, 0.10);
  color: rgba(10, 16, 32, 0.92);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__img {
  display: block;
  height: 28px;
  width: auto;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.brand__logo {
  display: block;
  filter: drop-shadow(0 10px 22px rgba(247, 181, 0, 0.16));
}

.brand__text {
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.button--pill {
  border-radius: 999px;
  padding: 12px 18px;
}

.lineButton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(57, 211, 83, 0.14);
  border: 1px solid rgba(57, 211, 83, 0.38);
  color: rgba(225, 255, 232, 0.95);
  font-weight: 700;
  font-size: 12px;
}
.lineButton:hover {
  background: rgba(57, 211, 83, 0.18);
}
.lineButton__icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(57, 211, 83, 0.95);
  color: #fff;
}
.lineButton__text {
  letter-spacing: 0.06em;
}

.nav__signup {
  background: linear-gradient(135deg, rgba(255, 79, 216, 1), rgba(124, 92, 255, 0.95));
  color: #071021;
  box-shadow: 0 18px 45px rgba(255, 79, 216, 0.14);
}

.nav__link {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
}
.nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.nav__link--ghost {
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text);
}

.nav__cta {
  margin-left: 2px;
}

.icon-button {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
}
.icon-button:hover {
  background: rgba(255, 255, 255, 0.06);
}
.icon-button__bars {
  display: inline-block;
  width: 18px;
  height: 12px;
  background:
    linear-gradient(var(--text), var(--text)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 50% / 100% 2px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 100% / 100% 2px no-repeat;
  opacity: 0.9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}
.button:active {
  transform: translateY(1px);
}
.button--primary {
  background: linear-gradient(135deg, rgba(124, 92, 255, 1), rgba(22, 226, 255, 0.95));
  color: #071021;
  box-shadow: 0 18px 45px rgba(124, 92, 255, 0.22);
}
.button--primary:hover {
  filter: brightness(1.03);
}
.button--secondary {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--text);
}
.button--secondary:hover {
  background: rgba(255, 255, 255, 0.10);
}
.button--small {
  padding: 10px 12px;
  border-radius: 14px;
}
.button--full {
  width: 100%;
}

.topHero {
  position: relative;
  min-height: 420px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: clip;
}
.topHero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 18% 12%, rgba(255, 79, 216, 0.16), transparent 58%),
    radial-gradient(900px 520px at 72% 18%, rgba(124, 92, 255, 0.20), transparent 60%),
    radial-gradient(900px 520px at 82% 72%, rgba(22, 226, 255, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(7, 10, 20, 0.2), rgba(7, 10, 20, 0.85));
}
.topHero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
  min-height: 420px;
  padding: 40px 0;
}

.topHero__copy {
  max-width: 64ch;
}
.topHero__kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.topHero__title {
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.topHero__sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.7;
}
.topHero__actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.topHero__trust {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.topHero__promo {
  justify-self: end;
}

.promoCard {
  width: min(440px, 100%);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  position: relative;
}
.promoCard__img {
  width: 100%;
  height: auto;
  display: block;
}
.promoCard__shine {
  position: absolute;
  inset: -2px;
  background: radial-gradient(400px 260px at 30% 20%, rgba(255, 79, 216, 0.18), transparent 60%),
    radial-gradient(420px 300px at 70% 75%, rgba(22, 226, 255, 0.14), transparent 60%);
  pointer-events: none;
}

/* --- Layout ใต้ header แบบคลีน (ตาม reference) --- */
.heroBanner {
  margin: 0;
  padding: 0;
  width: 100%;
  background: #fff;
  border-bottom: none;
}
.heroBanner__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  line-height: 0;
}
.heroBanner__img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}
.heroSlider {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 285;
  overflow: hidden;
}
.heroSlider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 650ms ease;
}
.heroSlider__img.is-active {
  opacity: 1;
}
.cleanSurface {
  background: #fff;
  color: rgba(10, 16, 32, 0.92);
}
.cleanSurface a {
  color: rgba(10, 16, 32, 0.92);
}
.cleanSurface .container {
  padding-top: 26px;
  padding-bottom: 26px;
}
.cleanSurface--introWide .cleanProse {
  max-width: none;
  margin: 0;
}
.cleanProse {
  max-width: 86ch;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(10, 16, 32, 0.84);
}
.cleanProse p {
  margin: 0 0 14px;
}
.cleanProse h1,
.cleanProse h2 {
  color: rgba(10, 16, 32, 0.92);
}
.cleanProse h1 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.02em;
}
.cleanProse .cleanActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.cleanProse .cleanActions .button--secondary {
  background: rgba(10, 16, 32, 0.05);
  border-color: rgba(10, 16, 32, 0.10);
  color: rgba(10, 16, 32, 0.90);
}

/* Promotion page: ลดความลายตา (คง layout เดิม) */
.promoList {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.promoLink {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.promoLink:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}
.promoLink img {
  width: 100%;
  height: auto;
  display: block;
}
.cleanProse .promoHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.cleanProse .promoHeader h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4.2vw, 56px);
  letter-spacing: -0.03em;
  font-weight: 900;
}
.cleanProse .promoHeader p {
  margin: 0;
  max-width: 70ch;
  color: rgba(10, 16, 32, 0.70);
}
@media (max-width: 720px) {
  .cleanProse .promoHeader {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Promo hub page: dark background, stacked banner cards */
body.promoHub {
  background: #fff;
  color: rgba(10, 16, 32, 0.92);
  min-height: 100%;
}
body.promoHub .skip-link {
  background: #fff;
  color: #0b0e11;
}
.promoHub__main {
  padding: 28px 0 56px;
  background: #fff;
}
.promoHub__wrap {
  max-width: 1040px;
}
.promoHub__top {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin-bottom: 14px;
}
.promoHub__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(10, 16, 32, 0.95);
}
.promoHub__allBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #fff;
  color: rgba(10, 16, 32, 0.92);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.promoHub__allBtn:hover {
  border-color: rgba(124, 92, 255, 0.45);
  background: #fff;
  color: rgba(10, 16, 32, 0.95);
}
.promoHub__stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.promoHubCard {
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
  align-items: center;
  gap: 18px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.16s ease;
  color: inherit;
  text-decoration: none;
}
.promoHubCard:hover {
  transform: translateY(-1px);
}
.promoHubCard:focus-visible {
  outline: 2px solid rgba(22, 226, 255, 0.85);
  outline-offset: 3px;
}
.promoHubCard__media {
  border-radius: 8px;
  overflow: hidden;
  background: #0925a0;
  aspect-ratio: 1024 / 328;
}
.promoHubCard img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  vertical-align: top;
}
.promoHubCard__content h2 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 1.85vw, 1.95rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: rgba(10, 16, 32, 0.96);
  max-width: 22ch;
}
.promoHubCard__content p {
  margin: 0;
  font-size: clamp(0.96rem, 1.08vw, 1.06rem);
  line-height: 1.6;
  color: rgba(10, 16, 32, 0.78);
  max-width: 56ch;
}
@media (max-width: 900px) {
  .promoHubCard {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .promoHubCard__content h2 {
    font-size: clamp(1.15rem, 4.4vw, 1.4rem);
    max-width: none;
  }
}

.showcase__head--spread {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
}
.showcase--light .showcase__allPromo {
  display: inline-flex;
  align-items: center;
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid rgba(10, 16, 32, 0.18);
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  color: rgba(10, 16, 32, 0.88);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.showcase--light .showcase__allPromo:hover {
  border-color: rgba(124, 92, 255, 0.45);
  background: #fff;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.12);
}

.promoCard__rebrand {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(5, 7, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.intro {
  padding: 40px 0 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.intro__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.intro__title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.ornament {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 14px;
  color: rgba(255, 255, 255, 0.55);
}
.ornament__line {
  width: 70px;
  height: 1px;
  background: rgba(255, 255, 255, 0.20);
}
.ornament__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(22, 226, 255, 0.90);
}
.ornament__dot--muted {
  background: rgba(124, 92, 255, 0.90);
}
.intro__text {
  margin: 0 auto;
  max-width: 88ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.7;
}
.intro__text + .intro__text {
  margin-top: 10px;
}
.intro__actions {
  margin-top: 16px;
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.video {
  padding: 32px 0 40px;
}
.video__frame {
  width: 100%;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.video__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 35% 25%, rgba(124, 92, 255, 0.12), transparent 60%),
    radial-gradient(600px 300px at 75% 65%, rgba(22, 226, 255, 0.10), transparent 60%);
  pointer-events: none;
}
.video__play {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  z-index: 1;
}
.video__play::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  width: 0;
  height: 0;
  border-left: 18px solid rgba(255, 255, 255, 0.86);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.video__hint {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  z-index: 1;
}
.video__note {
  margin: 12px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.showcase {
  padding: 32px 0 30px;
  background: radial-gradient(900px 420px at 50% 0%, rgba(22, 226, 255, 0.10), transparent 60%),
    radial-gradient(900px 420px at 12% 40%, rgba(255, 79, 216, 0.10), transparent 60%),
    rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Promotions โทนขาว (ตาม reference) */
.showcase--light {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.showcase--light .showcase__titleAccent,
.showcase--light .showcase__titleSub,
.showcase--light .showcase__title {
  color: rgba(10, 16, 32, 0.92);
}
.showcase--light .carousel__slide {
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}
.showcase--light .carousel--compact .carousel__track {
  padding-left: 44px;
  padding-right: 44px;
}

.showcase__head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-bottom: 10px;
}

.showcase__title {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.showcase__titleAccent {
  color: rgba(22, 226, 255, 0.95);
  font-weight: 900;
}
.showcase__titleSub {
  font-size: 16px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 800;
}

.carousel {
  position: relative;
  margin-top: 10px;
}

/* carousel แบบการ์ดเล็ก (ตาม reference) */
.carousel--compact .carousel__track {
  grid-auto-columns: clamp(240px, 30vw, 360px);
  gap: 16px;
  padding: 10px 44px;
  scroll-snap-type: x mandatory;
}
.carousel--compact .carousel__slide {
  scroll-snap-align: start;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}
.carousel--compact .carousel__slide img {
  width: 100%;
  aspect-ratio: 16 / 5;
  height: auto;
  object-fit: cover;
  display: block;
}
.carousel--compact .carousel__btn {
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.10);
  color: rgba(10, 16, 32, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.carousel--compact .carousel__btn:hover {
  filter: brightness(0.98);
}
.carousel--compact .carousel__btn--left {
  left: 10px;
}
.carousel--compact .carousel__btn--right {
  right: 10px;
}

/* โปรโมชั่นหน้าแรก: layout แบบแถบเตี้ย 3 ใบ */
.showcase--promoStrip {
  padding-top: 20px;
  padding-bottom: 18px;
}
.showcase--promoStrip .showcase__head--spread {
  padding-bottom: 8px;
}
.showcase--promoStrip .showcase__title {
  font-size: 20px;
}
.showcase--promoStrip .carousel {
  margin-top: 4px;
}
.showcase--promoStrip .carousel--compact .carousel__track {
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 18px;
  padding: 6px 40px 8px;
}
.showcase--promoStrip .carousel--compact .carousel__slide {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #07218a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.showcase--promoStrip .carousel--compact .carousel__slide img {
  aspect-ratio: 1024 / 328;
  object-fit: cover;
  object-position: center;
  background: #07218a;
  width: 100%;
  height: 100%;
  display: block;
}
.showcase--promoStrip .carousel__btn {
  width: 30px;
  height: 30px;
}
.showcase--promoStrip .carousel__btn--left {
  left: 6px;
}
.showcase--promoStrip .carousel__btn--right {
  right: 6px;
}
@media (max-width: 980px) {
  .showcase--promoStrip .carousel--compact .carousel__track {
    grid-auto-columns: min(84%, 420px);
    padding-left: 36px;
    padding-right: 36px;
  }
}

/* แถบเกมสล็อตถัดจากโปรโมชั่น */
.slotStrip {
  background: #fff;
  padding: 10px 0 26px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.slotStrip__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.slotStrip__title {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  color: rgba(10, 16, 32, 0.95);
}
.slotStrip__carousel {
  position: relative;
}
.slotStrip__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 168px;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 40px 8px;
  scroll-snap-type: x mandatory;
}
.slotStrip__track::-webkit-scrollbar {
  display: none;
}
.slotCard {
  display: block;
  scroll-snap-align: start;
}
.slotCard img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  display: block;
}
.slotCard__name {
  margin-top: 8px;
  display: block;
  font-size: 15px;
  line-height: 1.25;
  color: rgba(10, 16, 32, 0.86);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.slotStrip__btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: rgba(10, 16, 32, 0.92);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  z-index: 2;
}
.slotStrip__btn--left {
  left: 6px;
}
.slotStrip__btn--right {
  right: 6px;
}
@media (max-width: 980px) {
  .slotStrip__track {
    grid-auto-columns: min(62%, 220px);
    padding-left: 36px;
    padding-right: 36px;
  }
}
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(78%, 920px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 6px;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.carousel__slide {
  scroll-snap-align: center;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.40);
  display: block;
}
.carousel__slide img {
  width: 100%;
  height: auto;
  display: block;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 7, 14, 0.65);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.carousel__btn:hover {
  background: rgba(5, 7, 14, 0.78);
}
.carousel__btn--left {
  left: -8px;
}
.carousel__btn--right {
  right: -8px;
}

.showcase__block {
  margin-top: 22px;
}
.showcase__kicker {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.showcase__kickerAccent {
  color: rgba(22, 226, 255, 0.92);
  font-weight: 900;
}
.showcase__kickerSub {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

.chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.06));
  color: rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  padding: 12px 12px;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
.chip.is-active {
  border-color: rgba(22, 226, 255, 0.35);
  background: linear-gradient(135deg, rgba(22, 226, 255, 0.18), rgba(124, 92, 255, 0.10));
}
.chip:hover {
  background: rgba(255, 255, 255, 0.10);
}

.gameRow {
  position: relative;
}
.gameRow__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 220px;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 4px;
  scroll-snap-type: x mandatory;
}
.gameRow__track::-webkit-scrollbar {
  display: none;
}
.gameTile {
  display: block;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.gameTile img {
  width: 100%;
  height: auto;
  display: block;
}
.gameRow__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 7, 14, 0.60);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.gameRow__btn:hover {
  background: rgba(5, 7, 14, 0.78);
}
.gameRow__btn--left {
  left: -6px;
}
.gameRow__btn--right {
  right: -6px;
}

.recommend {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% 20%, rgba(0, 180, 255, 0.09), transparent 55%),
    radial-gradient(700px 420px at 88% 70%, rgba(0, 100, 220, 0.08), transparent 55%),
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(0, 40, 120, 0.35), transparent 50%),
    linear-gradient(180deg, #010614 0%, #000b29 42%, #02081a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* recommend โทนขาว */
.recommend--light {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.recommend--light::before {
  opacity: 0;
}
.recommend--light .recommend__glow {
  background: radial-gradient(ellipse at center, rgba(255, 154, 26, 0.20), transparent 68%);
}
.recommend--light .recommend__title {
  color: rgba(10, 16, 32, 0.92);
}
.recommend--light .recommend__copy {
  color: rgba(10, 16, 32, 0.72);
}
.recommend::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 38px,
    rgba(0, 180, 255, 0.03) 38px,
    rgba(0, 180, 255, 0.03) 39px
  );
  pointer-events: none;
  opacity: 0.45;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.recommend__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.recommend__visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.recommend__glow {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(90%, 420px);
  height: min(55%, 280px);
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 200, 255, 0.22), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}
.recommend__figure {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: min(100%, 560px);
}
.recommend__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}
.recommend__text {
  padding: 8px 0;
}
.recommend__title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.2;
}
.recommend__copy {
  margin-top: 18px;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.65;
}
.recommend__copy p {
  margin: 0;
}
.recommend__copy p + p {
  margin-top: 14px;
}

.sitePitch {
  padding: 64px 0 72px;
  background: linear-gradient(180deg, #0a0614 0%, #120a22 45%, #0c0718 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* sitePitch โทนขาว */
.sitePitch--light {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.sitePitch--light .sitePitch__title {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: rgba(10, 16, 32, 0.92);
  text-shadow: none;
  text-align: center;
}
.sitePitch--light .sitePitch__lead {
  color: rgba(10, 16, 32, 0.72);
}
.sitePitch--light .sitePitch__lead strong {
  color: rgba(10, 16, 32, 0.92);
}
.sitePitch--light .sitePitch__list li {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  color: rgba(10, 16, 32, 0.78);
}
.sitePitch--light .sitePitch__list strong {
  color: rgba(10, 16, 32, 0.92);
}
.sitePitch--light .sitePitch__close {
  color: rgba(10, 16, 32, 0.72);
}
.sitePitch--light .sitePitch__close strong {
  color: rgba(10, 16, 32, 0.92);
}
.sitePitch--light .sitePitch__panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
}
.sitePitch--light .sitePitch__panelTitle {
  color: rgba(10, 16, 32, 0.92);
}
.sitePitch__inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: left;
}
.sitePitch__title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.35;
  background: linear-gradient(180deg, #fde68a 0%, #eab308 45%, #ca8a04 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(234, 179, 8, 0.15);
}
.sitePitch__lead {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}
.sitePitch__lead strong {
  color: #fff;
  font-weight: 800;
}
.sitePitch__list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  display: grid;
  gap: 14px;
}
.sitePitch__list li {
  position: relative;
  padding: 16px 18px 16px 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}
.sitePitch__list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fde047, #ca8a04);
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.45);
}
.sitePitch__list strong {
  color: #fef9c3;
  font-weight: 800;
}
.sitePitch__close {
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
}
.sitePitch__close strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
}

.sitePitch__intro {
  max-width: 860px;
  margin: 0 auto;
}
.sitePitch__highlights {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.sitePitch__highlightCard {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #fff;
  padding: 16px 16px 14px;
}
.sitePitch__highlightCard h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  color: rgba(10, 16, 32, 0.92);
}
.sitePitch__highlightCard p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(10, 16, 32, 0.72);
}
.sitePitch__split {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.sitePitch__panel {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}
.sitePitch__panelTitle {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.94);
}
.sitePitch__split .sitePitch__list {
  margin-top: 0;
}
.sitePitch__split .sitePitch__close {
  margin-top: 12px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .sitePitch__highlights {
    grid-template-columns: 1fr;
  }
  .sitePitch__split {
    grid-template-columns: 1fr;
  }
}

.articles {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #0d0d0d 0%, #121212 38%, #101010 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.articles__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}
.articles__title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}
.articles__headMid {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.articles__divider {
  width: 3px;
  align-self: stretch;
  min-height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fde047, #d97706);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}
.articles__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.articles__more {
  font-size: 24px;
  font-weight: 900;
  color: #eab308;
  line-height: 1;
  padding: 6px 4px;
  letter-spacing: 0.02em;
  transition: color 0.15s ease, transform 0.15s ease;
}
.articles__more:hover {
  color: #fde047;
  transform: translateX(2px);
}

.articles__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, 0.88fr);
  gap: 20px;
  align-items: stretch;
}

.articles__dateIcon {
  flex-shrink: 0;
  color: #ca8a04;
  opacity: 0.95;
}

.articlesFeature {
  min-width: 0;
}
.articlesFeature__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.articlesFeature__card:hover {
  border-color: rgba(251, 191, 36, 0.22);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(251, 191, 36, 0.08);
}
.articlesFeature__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050505;
}
.articlesFeature__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}
.articlesFeature__card:hover .articlesFeature__img {
  transform: scale(1.04);
}
.articlesFeature__provider {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}
.articlesFeature__badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.articlesFeature__badge--live .articlesFeature__dot {
  background: #a78bfa;
}
.articlesFeature__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fbbf24;
  flex-shrink: 0;
}
.articlesFeature__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.articlesFeature__headline {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.articlesFeature__headline a {
  color: #fff;
}
.articlesFeature__headline a:hover {
  color: #fde047;
}
.articlesFeature__date {
  margin: 12px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #eab308;
}

.articlesList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  height: 100%;
}
.articlesList__item {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  min-height: 0;
  padding: 16px 16px;
  border-radius: 6px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.articlesList__item:hover {
  background: #222;
  border-color: rgba(251, 191, 36, 0.18);
}
.articlesList__title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.articlesList__date {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #ca8a04;
}

.strip {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}
.strip__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.strip__item {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}
.strip__item--muted {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.65);
}
.strip__divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 4px;
}

.section {
  padding: 56px 0;
}
.section--alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ศูนย์ช่วยเหลือ โทนเดียวกับแถบบทความ */
.section--articlesBg {
  background: linear-gradient(180deg, #0d0d0d 0%, #121212 38%, #101010 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section__head {
  max-width: 720px;
}
.section__title {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}
.section__subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.cards--tight {
  margin-top: 18px;
}

.card {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.30);
}
.card__title {
  margin: 12px 0 6px;
  font-size: 15px;
}
.card__text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.card__link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 600;
  font-size: 13px;
  color: rgba(22, 226, 255, 0.95);
}
.card__link:hover {
  text-decoration: underline;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.promo {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  position: relative;
  overflow: hidden;
}
.promo--highlight {
  border-color: rgba(22, 226, 255, 0.30);
  background: linear-gradient(180deg, rgba(22, 226, 255, 0.12), rgba(255, 255, 255, 0.04));
}
.promo__title {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}
.promo__value {
  margin: 10px 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.promo__text {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}

.checklist {
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.checklist li {
  position: relative;
  padding-left: 22px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: rgba(46, 242, 165, 0.20);
  border: 1px solid rgba(46, 242, 165, 0.35);
}

.split__panel {
  padding: 16px;
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.tier {
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 10px;
}
.tier:first-child {
  margin-top: 0;
}
.tier--active {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(22, 226, 255, 0.10));
  border-color: rgba(124, 92, 255, 0.25);
}
.tier__name {
  font-weight: 800;
}
.tier__meta {
  color: rgba(255, 255, 255, 0.70);
  font-size: 12px;
}

.cta {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}
.cta__title {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}
.cta__text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form {
  padding: 18px;
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.field__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}
.field__input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(7, 10, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text);
  outline: none;
}
.field__input:focus {
  border-color: rgba(22, 226, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(22, 226, 255, 0.10);
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}
.checkbox input {
  margin-top: 3px;
}

.form__fineprint {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}
.form__fineprint a {
  color: rgba(22, 226, 255, 0.95);
}
.form__fineprint a:hover {
  text-decoration: underline;
}

.faq {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.faq__item {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
}
.faq__summary {
  list-style: none;
  padding: 16px 54px 16px 18px;
  cursor: pointer;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.90);
  position: relative;
}
.faq__summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  font-weight: 900;
}
.faq__item[open] .faq__summary::after {
  content: "−";
}
.faq__summary::-webkit-details-marker {
  display: none;
}
.faq__body {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.responsible__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.responsible__card {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.responsible__title {
  margin: 0 0 6px;
  font-size: 14px;
}
.responsible__text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  padding: 34px 0 44px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: start;
}
.brand--footer .brand__mark {
  width: 32px;
  height: 32px;
}
.footer__text {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  max-width: 60ch;
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.footer__title {
  font-weight: 700;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 10px;
}
.footer__link {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
}
.footer__link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.86);
}
.footer__fine {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.footer__pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}
.footer__pill--muted {
  color: rgba(255, 255, 255, 0.65);
}

.siteFooter {
  position: relative;
  padding: 0;
  overflow: hidden;
  border-top: none;
  background:
    radial-gradient(ellipse 140% 80% at 50% 100%, rgba(45, 212, 191, 0.07), transparent 52%),
    radial-gradient(ellipse 90% 60% at 15% 0%, rgba(139, 92, 246, 0.09), transparent 55%),
    radial-gradient(ellipse 80% 50% at 85% 15%, rgba(251, 191, 36, 0.05), transparent 50%),
    linear-gradient(180deg, #05060a 0%, #070a12 42%, #040508 100%);
}

/* Footer โทนขาว */
.siteFooter--light {
  background: #fff;
}
.siteFooter--light::before,
.siteFooter--light::after {
  display: none;
}
.siteFooter--light .siteFooter__grid {
  padding: 44px 0 28px;
}
.siteFooter--light .siteFooter__logoWrap {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}
.siteFooter--light .siteFooter__name {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: rgba(10, 16, 32, 0.92);
  text-shadow: none;
}
.siteFooter--light .siteFooter__desc {
  color: rgba(10, 16, 32, 0.62);
}
.siteFooter--light .siteFooter__contactTitle {
  color: rgba(10, 16, 32, 0.70);
}
.siteFooter--light .socialBtn {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: rgba(10, 16, 32, 0.85);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}
.siteFooter--light .socialBtn:hover {
  border-color: rgba(0, 0, 0, 0.14);
  color: rgba(10, 16, 32, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.siteFooter--light .siteFooter__colTitle {
  color: rgba(10, 16, 32, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}
.siteFooter--light .siteFooter__link {
  color: rgba(10, 16, 32, 0.62);
}
.siteFooter--light .siteFooter__link:hover {
  color: rgba(10, 16, 32, 0.92);
  background: rgba(0, 0, 0, 0.04);
  border-left-color: rgba(255, 154, 26, 0.85);
}
.siteFooter--light .siteFooter__metaLine {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.12), transparent);
}
.siteFooter--light .siteFooter__copyright {
  color: rgba(10, 16, 32, 0.48);
}
.siteFooter::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.15) 12%,
    rgba(253, 224, 71, 0.55) 48%,
    rgba(212, 175, 55, 0.2) 88%,
    transparent
  );
  pointer-events: none;
}
.siteFooter::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 52px,
    rgba(255, 255, 255, 0.015) 52px,
    rgba(255, 255, 255, 0.015) 53px
  );
  pointer-events: none;
  opacity: 0.5;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.08));
}

.siteFooter__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  padding: 56px 0 40px;
}

.siteFooter__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.siteFooter__brandLink {
  display: inline-flex;
  align-items: center;
}
.siteFooter__brandImg {
  height: 44px;
  width: auto;
  display: block;
}
.siteFooter__logoWrap {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(253, 224, 71, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 12px 36px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(251, 191, 36, 0.12);
}
.siteFooter__name {
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 18px;
  background: linear-gradient(180deg, #fffef5 0%, #e8d5a3 45%, #c9a227 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(251, 191, 36, 0.12);
}
.siteFooter__desc {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.75;
  max-width: 58ch;
}

.siteFooter__contactTitle {
  margin-top: 22px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(253, 224, 71, 0.85);
}
.siteFooter__social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.socialBtn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.socialBtn:hover {
  transform: translateY(-2px);
  color: #fffef0;
  border-color: rgba(253, 224, 71, 0.45);
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(251, 191, 36, 0.18);
}

.siteFooter__cols {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  padding-top: 4px;
}
.siteFooter__colTitle {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 250, 235, 0.95);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(253, 224, 71, 0.22);
}
.siteFooter__link {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  padding: 9px 12px;
  margin: 0 -12px;
  border-radius: 10px;
  border-left: 2px solid transparent;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, padding-left 0.18s ease;
}
.siteFooter__link:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.04);
  border-left-color: rgba(253, 224, 71, 0.65);
  padding-left: 14px;
}

.siteFooter__meta {
  position: relative;
  z-index: 1;
  padding: 0 0 28px;
}
.siteFooter__metaInner {
  text-align: center;
}
.siteFooter__metaLine {
  display: block;
  height: 1px;
  margin: 0 auto 16px;
  max-width: min(520px, 100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}
.siteFooter__copyright {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.38);
}

.siteFooter__bottom {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.siteFooter__pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}
.siteFooter__pill--muted {
  color: rgba(255, 255, 255, 0.65);
}

.toTop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(165deg, rgba(18, 20, 32, 0.92), rgba(8, 9, 14, 0.96));
  border: 1px solid rgba(253, 224, 71, 0.28);
  color: rgba(253, 224, 71, 0.95);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 0 28px rgba(251, 191, 36, 0.12);
  backdrop-filter: blur(12px);
  z-index: 60;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.toTop:hover {
  transform: translateY(-3px);
  color: #fffef5;
  border-color: rgba(253, 224, 71, 0.5);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.6),
    0 0 32px rgba(251, 191, 36, 0.2);
}
.toTop svg {
  display: block;
}

@media (max-width: 1100px) {
  .articles__grid {
    grid-template-columns: 1fr 1fr;
  }
  .articlesList {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .articlesList__item {
    flex: 1 1 calc(33.333% - 8px);
    min-width: min(100%, 200px);
  }
}

@media (max-width: 900px) {
  .topHero__inner {
    grid-template-columns: 1fr;
  }
  .topHero__promo {
    justify-self: stretch;
  }
  .promoCard {
    width: 100%;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .recommend__inner {
    grid-template-columns: 1fr;
  }
  .promo-grid {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .cta {
    grid-template-columns: 1fr;
  }
  .responsible__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .articles__grid {
    grid-template-columns: 1fr;
  }
  .articlesList {
    grid-column: auto;
    flex-direction: column;
  }
  .articlesList__item {
    flex: none;
    min-width: 0;
  }
  .siteFooter__grid {
    grid-template-columns: 1fr;
  }
  .siteFooter__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .icon-button {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: rgba(7, 10, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transform-origin: top;
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav__cta {
    width: 100%;
  }
  .nav__right {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
  }
  .nav__right > * {
    width: 100%;
    justify-content: center;
  }

  /* เมนูมือถือของ header โทนขาว: ใช้แผงสว่าง + ตัวอักษรเข้ม (เดิมพื้นหลังมืดทำให้ลิงก์หายไป) */
  .header--light .nav {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  }
  .header__inner {
    position: relative;
  }
  .nav.is-open {
    z-index: 100;
  }

  /* ไอคอนแฮมเบอร์เกอร์ → กากบาท เมื่อเมนูเปิด */
  .header__menuButton[aria-expanded="true"] .icon-button__bars {
    background: none !important;
    position: relative;
    width: 18px;
    height: 14px;
  }
  .header--light .header__menuButton[aria-expanded="true"] .icon-button__bars {
    background: none !important;
  }
  .header__menuButton[aria-expanded="true"] .icon-button__bars::before,
  .header__menuButton[aria-expanded="true"] .icon-button__bars::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  .header__menuButton[aria-expanded="true"] .icon-button__bars::before {
    transform: translateY(-50%) rotate(45deg);
  }
  .header__menuButton[aria-expanded="true"] .icon-button__bars::after {
    transform: translateY(-50%) rotate(-45deg);
  }

  .carousel__btn,
  .gameRow__btn {
    display: none;
  }

  .chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .articles__head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .articles__more {
    justify-self: start;
  }
  .siteFooter__cols {
    grid-template-columns: 1fr;
  }
}

/* --- เชื่อมหน้า static กับ Next.js --- */
.site-app-bar {
  display: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 20, 0.75);
  backdrop-filter: blur(10px);
}

/* แสดงเฉพาะตอน dev/preview (ควบคุมด้วย class ที่ <html>) */
html.show-devbar .site-app-bar {
  display: none;
}
.site-app-bar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.site-app-bar__label {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 79, 216, 0.95);
  margin-right: 4px;
}
.site-app-bar a {
  color: rgba(22, 226, 255, 0.95);
  text-decoration: none;
  font-weight: 600;
}
.site-app-bar a:hover {
  text-decoration: underline;
}
.site-app-bar__sep {
  opacity: 0.35;
  user-select: none;
}

.static-subpage {
  padding: 48px 0 80px;
}
.static-subpage__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}
.static-subpage__inner h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}
.static-subpage__inner p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
  max-width: 62ch;
}
.static-subpage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* --- หน้า Article (รายการบทความ) โทนขาว --- */
.articleIndex {
  background: #fff;
  color: rgba(10, 16, 32, 0.92);
}
.articleIndex__head {
  padding: 28px 0 18px;
}
.articleIndex__title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 900;
}
.articleIndex__subtitle {
  margin: 10px 0 0;
  color: rgba(10, 16, 32, 0.62);
  line-height: 1.7;
  max-width: 72ch;
  font-size: 14px;
}
.articleGrid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px 0 34px;
}
.articleCardLite {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.articleCardLite__media {
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.03);
  overflow: hidden;
}
.articleCardLite__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.articleCardLite__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.articleCardLite__title {
  margin: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: rgba(10, 16, 32, 0.92);
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.articleCardLite__meta {
  font-size: 14px;
  color: rgba(10, 16, 32, 0.55);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.articleCardLite__cta {
  margin-top: 2px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 154, 26, 0.95);
}
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 18px 0 40px;
}
.pager__btn {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(10, 16, 32, 0.84);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-width: 42px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.pager__btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}
.pager__btn.is-active {
  border-color: rgba(255, 154, 26, 0.55);
  background: rgba(255, 154, 26, 0.12);
  color: rgba(10, 16, 32, 0.92);
}
.pager:empty {
  display: none;
}

@media (max-width: 1024px) {
  .articleGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 720px) {
  .articleGrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.articleToolbar {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.articleSearch {
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.92);
  padding: 10px 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}
.articleSearch input {
  width: 100%;
  border: 0;
  outline: none;
  font: inherit;
  background: transparent;
  color: rgba(10, 16, 32, 0.88);
}
.articleSearch__hint {
  color: rgba(10, 16, 32, 0.45);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  user-select: none;
  white-space: nowrap;
}
.articlePills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.pillBtn {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(10, 16, 32, 0.76);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.pillBtn.is-active {
  border-color: rgba(255, 154, 26, 0.55);
  background: rgba(255, 154, 26, 0.12);
  color: rgba(10, 16, 32, 0.92);
}
.articleCount {
  font-size: 12px;
  color: rgba(10, 16, 32, 0.55);
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* --- หน้า Article Detail (static) --- */
.articleDetail {
  padding: 22px 0 56px;
  background: #fff;
  color: rgba(10, 16, 32, 0.92);
}
.articleDetail__hero {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  aspect-ratio: 1561 / 800;
}
.articleDetail__hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.articleDetail__hero::after {
  content: none;
}
.articleDetail__title {
  margin: 18px 0 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: rgba(10, 16, 32, 0.96);
}
@keyframes articleDetailShimmer {
  0% {
    opacity: 0.55;
  }
  100% {
    opacity: 1;
  }
}
.articleDetail__title--pending {
  color: transparent;
}
.articleDetail__skeletonTitle {
  display: block;
  height: clamp(34px, 4vw, 48px);
  max-width: min(72vw, 440px);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.08);
  animation: articleDetailShimmer 0.9s ease-in-out infinite alternate;
}
.articleDetail__skeletonLines {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 0 4px;
}
.articleDetail__skLine {
  height: 13px;
  width: 100%;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.07);
  animation: articleDetailShimmer 0.9s ease-in-out infinite alternate;
}
.articleDetail__skLine:nth-child(2) {
  width: 96%;
}
.articleDetail__skLine:nth-child(3) {
  width: 88%;
}
.articleDetail__skLine--short {
  width: 52%;
}
.articleDetail__deck {
  margin: 12px 0 0;
  color: rgba(10, 16, 32, 0.74);
  line-height: 1.75;
  max-width: 78ch;
}
.articleDetail__meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: rgba(10, 16, 32, 0.60);
  font-size: 13px;
}
.articleDetail__content {
  margin-top: 18px;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #fff;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
  padding: 18px 18px;
}
.articleDetail__content p {
  margin: 0;
  color: rgba(10, 16, 32, 0.84);
  line-height: 1.9;
  font-size: 14px;
}
.articleDetail__content h2 {
  margin: 18px 0 8px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: rgba(10, 16, 32, 0.94);
}
.articleDetail__content h3 {
  margin: 14px 0 8px;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.35;
  color: rgba(10, 16, 32, 0.92);
}
.articleDetail__content ul,
.articleDetail__content ol {
  margin: 6px 0 0;
  padding-left: 20px;
}
.articleDetail__content li {
  margin: 0 0 8px;
  color: rgba(10, 16, 32, 0.84);
  line-height: 1.75;
  font-size: 14px;
}
.articleDetail__content p + p {
  margin-top: 12px;
}
.articleDetail__backRow {
  margin: 0 0 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.articleDetail__backLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(22, 226, 255, 0.95);
  font-weight: 700;
}

/* --- หน้า Register (static) --- */
.registerPage {
  padding: 22px 0 56px;
  color: rgba(10, 16, 32, 0.92);
}
.registerHero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #101a38;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.14);
  min-height: 280px;
}
.registerHero img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  object-fit: cover;
}
.registerHero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(92deg, rgba(7, 10, 20, 0.78) 0%, rgba(7, 10, 20, 0.52) 45%, rgba(7, 10, 20, 0.12) 100%);
  display: flex;
  align-items: center;
}
.registerHero__content {
  width: min(680px, 100%);
  padding: clamp(22px, 4vw, 40px);
  color: rgba(255, 255, 255, 0.96);
}
.registerHero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.10);
  font-size: 12px;
  font-weight: 700;
}
.registerHero__title {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.registerHero__desc {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.registerGrid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 16px;
}
.registerCard,
.registerInfo {
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}
.registerCard {
  padding: 20px;
}
.registerCard__title {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.registerCard__lead {
  margin: 10px 0 0;
  color: rgba(10, 16, 32, 0.66);
  line-height: 1.75;
}
.registerForm {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}
.registerForm__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.registerField {
  display: grid;
  gap: 7px;
}
.registerField__label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(10, 16, 32, 0.84);
}
.registerField__input,
.registerField__select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.98);
  color: rgba(10, 16, 32, 0.94);
  min-height: 48px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.registerField__input::placeholder {
  color: rgba(10, 16, 32, 0.38);
}
.registerField__input:focus,
.registerField__select:focus {
  border-color: rgba(255, 154, 26, 0.58);
  box-shadow: 0 0 0 4px rgba(255, 154, 26, 0.16);
}
.registerForm__consent {
  margin-top: 2px;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(10, 16, 32, 0.72);
}
.registerForm__consent input {
  margin-top: 3px;
}
.registerForm__actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.registerForm__submit {
  background: #ff9a1a;
  color: #fff;
  box-shadow: 0 16px 38px rgba(255, 154, 26, 0.32);
}
.registerForm__submit:hover {
  background: #ffa62e;
  filter: none;
}
.registerForm__hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(10, 16, 32, 0.58);
}
.registerInfo {
  padding: 20px;
}
.registerInfo__title {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 28px);
  letter-spacing: -0.02em;
}
.registerInfo__list {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: rgba(10, 16, 32, 0.78);
  line-height: 1.7;
}
.registerStats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.registerStat {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 255, 0.92));
  padding: 12px 10px;
}
.registerStat__value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: rgba(10, 16, 32, 0.92);
  line-height: 1;
}
.registerStat__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(10, 16, 32, 0.6);
}
.registerWhy {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}
.registerWhy__head {
  padding: 0;
  border: 0;
  background: transparent;
}
.registerWhy__title {
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(10, 16, 32, 0.95);
}
.registerWhy__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.registerWhyCard {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
  padding: 14px 10px 12px;
  text-align: center;
}
.registerWhyCard__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(255, 154, 26, 0.16);
}
.registerWhyCard__title {
  margin: 0;
  font-size: clamp(15px, 1.4vw, 23px);
  color: rgba(10, 16, 32, 0.94);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.registerWhyCard__text {
  margin: 6px 0 0;
  line-height: 1.55;
  color: rgba(10, 16, 32, 0.66);
  font-size: 12px;
}
.registerWhy__cta {
  border-radius: 20px;
  border: 1px solid rgba(255, 154, 26, 0.28);
  background: linear-gradient(140deg, rgba(255, 154, 26, 0.14), rgba(255, 255, 255, 0.96) 52%);
  box-shadow: 0 16px 38px rgba(255, 154, 26, 0.15);
  padding: 18px;
}
.registerWhy__ctaTitle {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(10, 16, 32, 0.95);
}
.registerWhy__ctaText {
  margin: 8px 0 14px;
  color: rgba(10, 16, 32, 0.78);
  line-height: 1.8;
  max-width: 78ch;
}
.registerReviews {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.registerReviews__head {
  border-radius: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}
.registerReviews__title {
  margin: 0;
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: rgba(10, 16, 32, 0.95);
}
.registerReviews__intro {
  margin: 8px 0 0;
  color: rgba(10, 16, 32, 0.72);
  line-height: 1.7;
  font-size: 14px;
}
.registerReviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.registerReviewCard {
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.95));
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  padding: 16px;
}
.registerReviewCard__rating {
  color: #ff9a1a;
  letter-spacing: 0.12em;
  font-size: 14px;
  font-weight: 800;
}
.registerReviewCard__text {
  margin: 10px 0 0;
  color: rgba(10, 16, 32, 0.82);
  line-height: 1.75;
  font-size: 14px;
}
.registerReviewCard__author {
  margin-top: 12px;
  color: rgba(10, 16, 32, 0.58);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .registerGrid {
    grid-template-columns: minmax(0, 760px);
  }
  .registerWhy__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .registerReviews__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .registerHero,
  .registerHero img {
    min-height: 220px;
  }
  .registerWhy__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .registerWhy__cta {
    padding: 16px;
  }
}
