/*
 * Joker Gaming Live — Thai-first visual system v2
 * Structural layout remains in site.css; this file owns brand, typography,
 * component finish and responsive reading comfort.
 */

@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sarabun-400-thai-v2.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/sarabun-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/sarabun-500-thai.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/sarabun-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sarabun-600-thai.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sarabun-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/kanit-600-thai.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/kanit-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/kanit-700-thai.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/kanit-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #07111f;
  --ink-2: #0d1b2d;
  --paper: #f6f3ec;
  --paper-2: #ece8df;
  --white: #fffefa;
  --gold: #d7aa38;
  --gold-2: #f5d77d;
  --violet: #158da8;
  --cyan: #21d9ef;
  --coral: #db6758;
  --jade: #168c68;
  --muted: #5c6674;
  --line: rgba(7, 17, 31, .13);
  --radius: 1.15rem;
  --shadow: 0 20px 50px rgba(7, 17, 31, .11);
  --shadow-dark: 0 26px 72px rgba(0, 0, 0, .34);
  --font-body: "Sarabun", "Leelawadee UI", Tahoma, sans-serif;
  --font-display: "Kanit", "Sarabun", sans-serif;
}

html {
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

body {
  color: #172235;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), transparent 410px),
    var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.82;
  letter-spacing: .002em;
}

h1,
h2,
h3,
.button,
.site-nav,
.login-link,
.eyebrow,
.age-pill,
.age-mark,
.footer-age,
.accordion summary {
  font-family: var(--font-display);
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 5.5vw, 5rem);
  line-height: 1.18;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.05rem);
  line-height: 1.28;
}

h3 {
  font-size: clamp(1.22rem, 2vw, 1.42rem);
  line-height: 1.38;
}

p,
li,
summary,
.lead {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(33, 217, 239, .18);
}

.notice {
  color: #dfe7f0;
  background: #030913;
  border-bottom: 1px solid rgba(33, 217, 239, .24);
}

.notice .container {
  min-height: 42px;
  font-size: .86rem;
}

.notice a,
.notice .age-pill {
  color: var(--gold-2);
}

.site-header {
  background: rgba(5, 13, 25, .94);
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

.header__inner {
  min-height: 84px;
}

.brand img {
  width: 224px;
}

.site-nav {
  gap: .35rem;
}

.site-nav a,
.login-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: .45rem .75rem;
  border-radius: .65rem;
  color: #e9eef5;
  font-size: .92rem;
  font-weight: 600;
  transition: color .2s ease, background-color .2s ease;
}

.site-nav a:hover,
.login-link:hover {
  color: var(--cyan);
  background: rgba(255, 255, 255, .07);
}

.menu-toggle {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
}

.menu-toggle span:not(.sr-only) {
  background: #fff;
}

.button {
  min-height: 52px;
  padding: .72rem 1.3rem;
  border-radius: .8rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--primary {
  color: #07111f;
  background: linear-gradient(135deg, #f6d97f 0%, #d7a32e 72%);
  border-color: #f0cf6e;
  box-shadow: 0 12px 28px rgba(172, 121, 16, .25);
}

.button--primary:hover {
  background: linear-gradient(135deg, #ffe69a 0%, #e2b343 72%);
  box-shadow: 0 15px 34px rgba(172, 121, 16, .3), 0 0 28px rgba(33, 217, 239, .1);
}

.button--ghost {
  color: var(--ink);
  background: transparent;
  border-color: rgba(7, 17, 31, .35);
}

.button--ghost:hover {
  background: rgba(7, 17, 31, .06);
  border-color: var(--ink);
}

.hero .button--ghost,
.responsible-hero .button--ghost,
.page-hero .button--ghost,
.article-hero .button--ghost {
  color: #eef7fa;
  background: rgba(33, 217, 239, .04);
  border-color: rgba(33, 217, 239, .62);
}

.hero .button--ghost:hover,
.responsible-hero .button--ghost:hover,
.page-hero .button--ghost:hover,
.article-hero .button--ghost:hover {
  background: rgba(33, 217, 239, .11);
}

.button--dark {
  color: #fff;
  background: linear-gradient(135deg, #13243a, #07111f);
  border-color: rgba(33, 217, 239, .38);
  box-shadow: 0 12px 28px rgba(7, 17, 31, .18);
}

.hero {
  color: #f8fafc;
  background:
    linear-gradient(90deg, rgba(3, 9, 19, .96) 0%, rgba(6, 16, 31, .86) 52%, rgba(4, 14, 27, .68) 100%),
    url("../img/hero-joker-pattern.webp") center / cover no-repeat,
    linear-gradient(135deg, #030913, #11253c);
  border-bottom-color: rgba(33, 217, 239, .2);
}

.hero::before {
  opacity: .34;
  background-image:
    linear-gradient(rgba(33, 217, 239, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 217, 239, .075) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000, transparent 92%);
}

.hero__grid {
  min-height: 650px;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero h1,
.hero h2,
.hero h3,
.page-hero h1,
.article-hero h1,
.responsible-hero h1 {
  color: #fff;
}

.hero h1 span {
  color: #eef5f8;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 34px rgba(33, 217, 239, .2);
}

.eyebrow {
  color: #9a6a05;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.hero .eyebrow,
.section--ink .eyebrow,
.page-hero .eyebrow,
.article-hero .eyebrow,
.responsible-hero .eyebrow {
  color: var(--gold-2);
}

.hero .lead,
.page-hero .lead,
.article-hero .lead,
.responsible-hero .lead {
  color: #c5cfdb;
}

.lead {
  color: #4b586b;
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
}

.hero__proof {
  color: #c1ccd8;
}

.hero__proof svg {
  fill: var(--cyan);
}

.hero .age-mark {
  color: var(--cyan);
  border-color: var(--cyan);
}

.orbit {
  border-color: rgba(33, 217, 239, .3);
  box-shadow: 0 0 42px rgba(33, 217, 239, .08);
}

.orbit--two {
  border-color: rgba(245, 215, 125, .58);
}

.hero-card {
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-dark);
}

.hero-card--back {
  color: var(--gold-2);
  background: linear-gradient(150deg, #1b2b40, #07101e);
}

.hero-card--front {
  color: #07111f;
  background: linear-gradient(145deg, #f9df8d, #c98f1d);
}

.hero-chip {
  color: #041019;
  background: var(--cyan);
  border-color: rgba(255, 255, 255, .72);
  box-shadow: 0 0 34px rgba(33, 217, 239, .34), var(--shadow);
}

.quick-nav {
  background: #fffefa;
  border-bottom-color: var(--line);
  box-shadow: 0 16px 38px rgba(7, 17, 31, .06);
}

.quick-nav a {
  transition: color .18s ease, background-color .18s ease;
}

.quick-nav a:hover {
  color: #075e71;
  background: #ebfbfd;
}

.quick-nav svg {
  fill: #0f91a8;
}

.section--ink {
  color: #f7fafc;
  background:
    radial-gradient(circle at 92% 8%, rgba(33, 217, 239, .1), transparent 27%),
    radial-gradient(circle at 8% 92%, rgba(215, 170, 56, .08), transparent 24%),
    linear-gradient(145deg, #06101d, #102238);
  border-block: 1px solid rgba(33, 217, 239, .14);
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

.section-heading > p {
  color: #5b6677;
}

.section-heading--light > p {
  color: #bdc8d5;
}

.feature,
.card,
.limit-card,
.responsible-grid article,
.contact-card,
.toc,
.related-links a {
  border-color: rgba(7, 17, 31, .11);
  box-shadow: 0 15px 38px rgba(7, 17, 31, .075);
}

.feature,
.limit-card,
.responsible-grid article,
.contact-card,
.related-links a {
  background: var(--white);
}

.feature,
.card,
.contact-card,
.related-links a {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature:hover,
.card:hover,
.contact-card:hover,
.related-links a:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 145, 168, .36);
  box-shadow: 0 22px 48px rgba(7, 17, 31, .12);
}

.feature::after,
.contact-card::after {
  width: 4px;
  background: linear-gradient(var(--gold), var(--cyan));
}

.feature > span {
  color: rgba(14, 135, 158, .16);
}

.card {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
}

.card__body p:not(.eyebrow) {
  color: #5a6575;
}

.text-link {
  color: #74500a;
  font-weight: 600;
}

.text-link--light {
  color: var(--gold-2);
}

.page-hero,
.article-hero,
.responsible-hero {
  color: #f8fafc;
  background:
    radial-gradient(circle at 86% 16%, rgba(33, 217, 239, .13), transparent 27%),
    radial-gradient(circle at 12% 88%, rgba(215, 170, 56, .09), transparent 25%),
    linear-gradient(145deg, #040b16, #102239);
  border-bottom-color: rgba(33, 217, 239, .18);
}

.page-hero h1,
.article-hero h1,
.responsible-hero h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 5.3vw, 4.45rem);
  line-height: 1.22;
}

.breadcrumb {
  color: #556174;
  font-size: .88rem;
}

.article-meta {
  color: #bdc8d5;
}

.prose {
  color: #253247;
  font-size: 1.105rem;
  line-height: 1.88;
}

.prose p {
  color: #354359;
}

.prose h2 {
  line-height: 1.35;
}

.toc {
  background: rgba(255, 254, 250, .88);
  backdrop-filter: blur(12px);
}

.toc a {
  color: #566276;
}

.callout {
  background: #fff7df;
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(100, 72, 12, .07);
}

.callout--warning {
  background: #fff0ec;
  border-color: var(--coral);
}

.filter-note {
  color: #0d5260;
  background: #e2f8fa;
  border: 1px solid rgba(15, 145, 168, .15);
}

.cta-panel {
  background: linear-gradient(135deg, #081525, #122943);
  border: 1px solid rgba(33, 217, 239, .25);
  box-shadow: 0 20px 44px rgba(7, 17, 31, .2);
}

.cta-panel strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.accordion summary {
  font-weight: 600;
}

.review-media {
  background: linear-gradient(135deg, #06101d, #142b44);
  border-color: rgba(33, 217, 239, .25);
}

.site-footer {
  color: #cbd5e0;
  background:
    radial-gradient(circle at 10% 15%, rgba(215, 170, 56, .08), transparent 27%),
    radial-gradient(circle at 90% 20%, rgba(33, 217, 239, .09), transparent 24%),
    #030913;
  border-top-color: rgba(33, 217, 239, .22);
}

.site-footer h2 {
  font-family: var(--font-display);
  font-weight: 600;
}

.site-footer a {
  color: #b6c2d0;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-age {
  color: var(--cyan);
  border-color: rgba(33, 217, 239, .48);
}

@media (max-width: 1023px) {
  .site-nav {
    gap: 0;
    background: rgba(4, 11, 22, .99);
    border-bottom-color: rgba(33, 217, 239, .2);
    box-shadow: 0 24px 42px rgba(0, 0, 0, .32);
  }

  .site-nav a {
    min-height: 50px;
    border-radius: 0;
    border-bottom-color: rgba(255, 255, 255, .1);
  }
}

@media (max-width: 767px) {
  body {
    font-size: 1rem;
    line-height: 1.78;
  }

  .notice .container {
    min-height: 40px;
  }

  .header__inner {
    min-height: 72px;
  }

  .brand img {
    width: 178px;
  }

  h1 {
    font-size: clamp(2.25rem, 11.5vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.35rem);
  }

  .hero__grid {
    padding-block: 3.5rem;
  }

  .hero__actions {
    gap: .7rem;
  }

  .prose {
    font-size: 1.035rem;
    line-height: 1.84;
  }

  .feature,
  .responsible-grid article,
  .contact-card {
    padding: 1.5rem;
  }

  .review-media {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .review-media img {
    margin-inline: auto;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 166px;
  }

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

  .quick-nav a,
  .quick-nav a:nth-child(3),
  .quick-nav a:first-child {
    min-height: 100px;
    padding: .9rem .75rem;
    border: 1px solid var(--line);
    border-width: 1px 1px 0 0;
  }

  .quick-nav a:nth-child(even) {
    border-right: 0;
  }

  .quick-nav small {
    display: block;
    font-size: .75rem;
    line-height: 1.4;
  }

  .button {
    min-height: 52px;
  }

  .article-layout {
    padding-block: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature:hover,
  .card:hover,
  .contact-card:hover,
  .related-links a:hover,
  .button:hover {
    transform: none;
  }
}

/* v3 — structural redesign: premium Thai editorial, not a dark casino reskin */
.notice {
  color: #3b2b08;
  background: linear-gradient(90deg, #f7df94, #e5b843 50%, #f7df94);
  border-bottom: 0;
}

.notice::after {
  display: none;
}

.notice a,
.notice .age-pill {
  color: #172235;
}

.notice .age-pill {
  border-color: rgba(7, 17, 31, .6);
}

.hero {
  color: var(--ink);
  overflow: visible;
  background:
    radial-gradient(circle at 6% 18%, rgba(33, 217, 239, .15), transparent 24rem),
    radial-gradient(circle at 90% 12%, rgba(215, 170, 56, .2), transparent 28rem),
    linear-gradient(135deg, #fffefa 0%, #f5f1e7 62%, #edf6f5 100%);
  border-bottom: 0;
}

.hero::before {
  opacity: .5;
  background-image:
    linear-gradient(rgba(7, 17, 31, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 31, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero__grid {
  min-height: 610px;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  padding-block: clamp(4.5rem, 8vw, 7.5rem) 7.5rem;
}

.hero__copy,
.hero-guide {
  min-width: 0;
}

.hero h1,
.hero h2,
.hero h3 {
  color: var(--ink);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6.2vw, 5.65rem);
  line-height: 1.08;
}

.hero h1 span {
  color: #087f99;
  text-shadow: none;
}

.hero .eyebrow {
  color: #79530a;
}

.hero .lead {
  max-width: 660px;
  color: #455267;
}

.hero .button--primary {
  color: #fff;
  background: linear-gradient(135deg, #10243c, #07111f);
  border-color: #10243c;
  box-shadow: 0 14px 30px rgba(7, 17, 31, .2);
}

.hero .button--primary:hover {
  background: linear-gradient(135deg, #173654, #0b1c31);
  box-shadow: 0 16px 34px rgba(7, 17, 31, .24);
}

.hero .button--ghost {
  color: #075f73;
  background: rgba(255, 255, 255, .55);
  border-color: rgba(8, 127, 153, .5);
}

.hero .button--ghost:hover {
  background: #fff;
  border-color: #087f99;
}

.hero__proof {
  color: #4e5b6c;
}

.hero .age-mark {
  color: #075f73;
  border-color: #087f99;
}

.hero-guide {
  position: relative;
  min-height: 0;
  display: block;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  color: #eef4f8;
  background:
    linear-gradient(150deg, rgba(33, 217, 239, .08), transparent 45%),
    linear-gradient(145deg, #0c2037, #06111f);
  border: 1px solid rgba(33, 217, 239, .3);
  border-radius: 1.5rem;
  box-shadow: 0 30px 70px rgba(7, 17, 31, .24);
  transform: rotate(1deg);
}

.hero-guide::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(245, 215, 125, .18);
  border-radius: 1.05rem;
}

.hero-guide__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-guide__label {
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .14em;
}

.hero-guide__age {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #05111c;
  background: var(--cyan);
  border: 5px double #fff;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 0 25px rgba(33, 217, 239, .28);
}

.hero-guide h2 {
  position: relative;
  margin: 1.2rem 0 1.4rem;
  color: #fff;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.28;
}

.hero-guide__steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.hero-guide__steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: .9rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-guide__steps li > span {
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
}

.hero-guide__steps strong,
.hero-guide__steps small {
  display: block;
}

.hero-guide__steps strong {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
}

.hero-guide__steps small {
  margin-top: .1rem;
  color: #aebdcb;
  font-size: .84rem;
  line-height: 1.55;
}

.hero-guide__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}

.hero-guide__link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.quick-nav {
  position: relative;
  z-index: 4;
  margin-top: -3.7rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.quick-nav__grid {
  gap: .8rem;
}

.quick-nav a,
.quick-nav a:first-child,
.quick-nav a:nth-child(3),
.quick-nav a:nth-child(4) {
  min-height: 116px;
  padding: 1.2rem;
  background: rgba(255, 254, 250, .96);
  border: 1px solid rgba(7, 17, 31, .1);
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(7, 17, 31, .1);
}

.quick-nav a:hover {
  color: var(--ink);
  background: #fff;
  border-color: rgba(8, 127, 153, .4);
  transform: translateY(-4px);
}

.quick-nav svg {
  width: 34px;
  height: 34px;
  fill: #087f99;
}

.quick-nav strong {
  font-family: var(--font-display);
  font-weight: 600;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.feature-grid {
  grid-template-columns: 1fr;
  gap: .8rem;
}

.feature {
  min-height: 0;
  display: grid;
  grid-template-columns: 95px minmax(220px, .75fr) minmax(280px, 1.25fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 1.6rem;
  border-radius: 1rem;
}

.feature::after {
  inset: 0 auto 0 0;
}

.feature > span {
  position: static;
  color: #087f99;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
}

.feature h3,
.feature p {
  margin: 0;
}

.feature h3 {
  margin-top: 0;
}

.feature p {
  color: #596679;
}

.feature a {
  white-space: nowrap;
  color: #74500a;
  font-family: var(--font-display);
  font-weight: 600;
}

.section--ink {
  color: var(--ink);
  background:
    radial-gradient(circle at 95% 10%, rgba(33, 217, 239, .09), transparent 24rem),
    linear-gradient(180deg, #edf1f3, #e8ecee);
  border-block-color: rgba(7, 17, 31, .08);
}

.section--ink h2,
.section--ink h3 {
  color: var(--ink);
}

.section-heading--light > p {
  color: #5b6677;
}

.text-link--light {
  color: #075f73;
}

.card {
  border-color: rgba(7, 17, 31, .1);
  box-shadow: 0 18px 42px rgba(7, 17, 31, .1);
}

.card__art--image {
  background:
    radial-gradient(circle at 50% 40%, rgba(33, 217, 239, .11), transparent 45%),
    #081522;
}

.split-panel {
  padding: clamp(2rem, 5vw, 4rem);
  background: #fffefa;
  border: 1px solid rgba(7, 17, 31, .1);
  border-radius: 1.5rem;
  box-shadow: 0 22px 52px rgba(7, 17, 31, .09);
}

.faq-section {
  background: #fffefa;
}

.page-hero,
.article-hero {
  color: var(--ink);
  padding-block: clamp(3.8rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 88% 18%, rgba(33, 217, 239, .13), transparent 22rem),
    linear-gradient(135deg, #fffefa, #eef5f3);
  border-bottom: 1px solid rgba(7, 17, 31, .1);
}

.page-hero h1,
.article-hero h1 {
  color: var(--ink);
}

.page-hero .lead,
.article-hero .lead,
.article-hero .article-meta {
  color: #556276;
}

.page-hero .eyebrow,
.article-hero .eyebrow {
  color: #79530a;
}

.responsible-hero {
  background:
    radial-gradient(circle at 86% 16%, rgba(33, 217, 239, .13), transparent 27%),
    linear-gradient(145deg, #040b16, #102239);
}

.responsible-hero h1 {
  color: #fff;
}

@media (max-width: 1023px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding-block: 4.5rem 6.5rem;
  }

  .hero-guide {
    width: 100%;
    max-width: 700px;
    margin-inline: 0;
    transform: none;
  }

  .feature {
    grid-template-columns: 70px 1fr;
  }

  .feature p {
    grid-column: 2;
  }

  .feature a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .hero__grid {
    gap: 2.5rem;
    padding-block: 3.5rem 5.5rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.55rem);
  }

  .hero-guide {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 1.35rem;
    border-radius: 1.15rem;
  }

  .quick-nav {
    margin-top: -2.7rem;
  }

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

  .quick-nav a,
  .quick-nav a:first-child,
  .quick-nav a:nth-child(3),
  .quick-nav a:nth-child(4) {
    min-height: 112px;
    border: 1px solid rgba(7, 17, 31, .1);
  }

  .feature {
    grid-template-columns: 52px 1fr;
    gap: .7rem 1rem;
    padding: 1.25rem;
  }

  .feature > span {
    font-size: 1.55rem;
  }

  .split-panel {
    padding: 1.4rem;
  }
}

@media (max-width: 420px) {
  .quick-nav a,
  .quick-nav a:nth-child(3),
  .quick-nav a:first-child {
    border: 1px solid rgba(7, 17, 31, .1);
  }

  .quick-nav small {
    display: none;
  }
}

/* v4 — complete dark mode */
:root {
  --ink: #f4f7fb;
  --ink-2: #dce5ef;
  --paper: #050b14;
  --paper-2: #091321;
  --white: #0d1928;
  --muted: #a8b5c5;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 22px 54px rgba(0, 0, 0, .34);
}

html,
body {
  color: #dce5ef;
  background: #050b14;
}

body {
  background:
    radial-gradient(circle at 8% 10%, rgba(33, 217, 239, .055), transparent 30rem),
    radial-gradient(circle at 92% 18%, rgba(215, 170, 56, .045), transparent 28rem),
    #050b14;
}

h1,
h2,
h3 {
  color: #f7f9fc;
}

.notice {
  color: #d9e2ec;
  background: #02070d;
  border-bottom: 1px solid rgba(33, 217, 239, .22);
}

.notice a {
  color: var(--gold-2);
}

.notice .age-pill {
  color: var(--gold-2);
  border-color: rgba(245, 215, 125, .65);
}

.site-header {
  background: rgba(5, 11, 20, .96);
}

.hero {
  color: #edf4f9;
  background:
    radial-gradient(circle at 5% 22%, rgba(33, 217, 239, .11), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(215, 170, 56, .09), transparent 30rem),
    linear-gradient(145deg, #050b14, #0a1727 62%, #071522);
  border-bottom: 1px solid rgba(33, 217, 239, .13);
}

.hero::before {
  opacity: .4;
  background-image:
    linear-gradient(rgba(33, 217, 239, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 217, 239, .06) 1px, transparent 1px);
}

.hero h1,
.hero h2,
.hero h3 {
  color: #fff;
}

.hero h1 span {
  color: var(--cyan);
}

.hero .eyebrow {
  color: var(--gold-2);
}

.hero .lead {
  color: #b9c6d5;
}

.hero .button--primary {
  color: #06111c;
  background: linear-gradient(135deg, #f6d97f, #d5a12d);
  border-color: #f2d371;
  box-shadow: 0 14px 32px rgba(197, 142, 25, .2);
}

.hero .button--primary:hover {
  background: linear-gradient(135deg, #ffe69a, #e2b343);
}

.hero .button--ghost {
  color: #eaf8fb;
  background: rgba(33, 217, 239, .04);
  border-color: rgba(33, 217, 239, .48);
}

.hero .button--ghost:hover {
  color: #fff;
  background: rgba(33, 217, 239, .1);
  border-color: var(--cyan);
}

.hero__proof {
  color: #aebdcb;
}

.hero .age-mark {
  color: var(--cyan);
  border-color: var(--cyan);
}

.hero-guide {
  background:
    linear-gradient(150deg, rgba(33, 217, 239, .08), transparent 45%),
    linear-gradient(145deg, #10243b, #07111f);
  border-color: rgba(33, 217, 239, .32);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .42);
}

.quick-nav {
  background: transparent;
}

.quick-nav a,
.quick-nav a:first-child,
.quick-nav a:nth-child(3),
.quick-nav a:nth-child(4) {
  color: #eaf0f6;
  background: rgba(13, 25, 40, .98);
  border-color: rgba(255, 255, 255, .11);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .3);
}

.quick-nav a:hover {
  color: #fff;
  background: #12243a;
  border-color: rgba(33, 217, 239, .42);
}

.quick-nav small {
  color: #9eacbd;
}

.quick-nav svg {
  fill: var(--cyan);
}

.section,
.faq-section {
  color: #dce5ef;
  background: #050b14;
}

.section--soft {
  background: #091321;
}

.section--ink {
  color: #e8eef5;
  background:
    radial-gradient(circle at 94% 8%, rgba(33, 217, 239, .075), transparent 24rem),
    linear-gradient(180deg, #081321, #0a1726);
  border-block-color: rgba(255, 255, 255, .08);
}

.section--ink h2,
.section--ink h3 {
  color: #f7f9fc;
}

.section-heading > p,
.section-heading--light > p {
  color: #a8b5c5;
}

.feature,
.card,
.limit-card,
.responsible-grid article,
.contact-card,
.toc,
.related-links a,
.split-panel {
  color: #dfe7ef;
  background: #0c1827;
  border-color: rgba(255, 255, 255, .11);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .26);
}

.feature:hover,
.card:hover,
.contact-card:hover,
.related-links a:hover {
  background: #102137;
  border-color: rgba(33, 217, 239, .38);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .34);
}

.feature > span {
  color: var(--cyan);
}

.feature p,
.card__body p:not(.eyebrow),
.limit-card p,
.contact-card small {
  color: #aab7c6;
}

.feature a,
.text-link,
.text-link--light,
.contact-card span {
  color: var(--gold-2);
}

.card {
  border-color: rgba(255, 255, 255, .1);
}

.card__body h3 {
  color: #f7f9fc;
}

.page-hero,
.article-hero,
.responsible-hero {
  color: #edf4f9;
  background:
    radial-gradient(circle at 88% 18%, rgba(33, 217, 239, .1), transparent 24rem),
    radial-gradient(circle at 12% 88%, rgba(215, 170, 56, .06), transparent 24rem),
    linear-gradient(145deg, #050b14, #0c1b2e);
  border-bottom-color: rgba(255, 255, 255, .09);
}

.page-hero h1,
.article-hero h1,
.responsible-hero h1 {
  color: #fff;
}

.page-hero .lead,
.article-hero .lead,
.responsible-hero .lead,
.article-hero .article-meta {
  color: #b4c1cf;
}

.page-hero .eyebrow,
.article-hero .eyebrow,
.responsible-hero .eyebrow {
  color: var(--gold-2);
}

.breadcrumb {
  color: #9eacbd;
}

.breadcrumb a {
  color: #c7d2de;
}

.article-layout,
.prose {
  color: #dce5ef;
}

.prose p {
  color: #c3ceda;
}

.prose li {
  color: #d1dbe5;
}

.toc {
  background: rgba(12, 24, 39, .92);
  backdrop-filter: blur(12px);
}

.toc a {
  color: #aebbc9;
}

.callout {
  color: #eadfbf;
  background: #2a210e;
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
}

.callout p {
  color: #e2d5b2;
}

.callout--warning {
  color: #f2c8c1;
  background: #2a1515;
  border-color: var(--coral);
}

.callout--warning p {
  color: #e7bbb4;
}

.filter-note {
  color: #bcecf2;
  background: #09252d;
  border-color: rgba(33, 217, 239, .2);
}

.check-list li::before {
  color: #59dfae;
}

.accordion {
  border-color: rgba(255, 255, 255, .12);
}

.accordion details {
  border-color: rgba(255, 255, 255, .12);
}

.accordion summary {
  color: #eef3f8;
}

.accordion details p {
  color: #aebbc9;
}

.cta-panel {
  background: linear-gradient(135deg, #10243b, #07111f);
  border-color: rgba(33, 217, 239, .26);
}

.responsible-grid article > span {
  color: var(--gold-2);
}

.review-media {
  color: #dce5ef;
  background: linear-gradient(135deg, #0b1b2c, #102a43);
}

.not-found {
  color: #dce5ef;
  background: #050b14;
}

.not-found h1 {
  color: #fff;
}

.not-found .lead {
  color: #aebbc9;
}

.not-found .button--ghost {
  color: #eaf8fb;
  border-color: rgba(33, 217, 239, .48);
}

.site-footer {
  background:
    radial-gradient(circle at 10% 15%, rgba(215, 170, 56, .07), transparent 27%),
    radial-gradient(circle at 90% 20%, rgba(33, 217, 239, .07), transparent 24%),
    #02070d;
}

@media (max-width: 1023px) {
  .site-nav {
    background: rgba(3, 9, 17, .99);
  }
}

@media (max-width: 767px) {
  .quick-nav a,
  .quick-nav a:first-child,
  .quick-nav a:nth-child(3),
  .quick-nav a:nth-child(4) {
    background: #0d1928;
    border-color: rgba(255, 255, 255, .11);
  }
}

/* v5 — IBM Plex Sans Thai across the complete interface */
@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-thai-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-thai-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-thai-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Thai";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-thai-700.woff2") format("woff2");
}

:root {
  --font-body: "IBM Plex Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
  --font-display: "IBM Plex Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
}

/* v7 — rotating official artwork as the homepage hero background */
.hero {
  padding-block: clamp(.75rem, 2vw, 1.5rem);
  background: #050b14;
}

.hero__grid--media {
  --hero-image: url("../img/home/banner-games.webp");
  --hero-image-mobile: url("../img/home/banner-games-mobile.webp");
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 680px;
  padding-block: clamp(3rem, 5vw, 4.5rem) 6rem;
  padding-inline: clamp(1.25rem, 4vw, 4rem);
  color: #f5f9fc;
  background-color: #030812;
  background-image:
    linear-gradient(90deg, rgba(3, 8, 16, .94) 0%, rgba(3, 9, 18, .82) 48%, rgba(3, 9, 18, .6) 100%),
    var(--hero-image);
  background-repeat: no-repeat;
  background-position: center, center top;
  background-size: 100% 100%, 100% auto;
  border: 1px solid rgba(33, 217, 239, .28);
  border-radius: 1.6rem;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .48);
}

.hero__grid--media .hero__copy,
.hero__grid--media .hero-guide,
.hero__grid--media .hero__carousel-controls {
  position: relative;
  z-index: 1;
}

.hero__grid--media .hero__copy {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(3, 10, 20, .58);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1.35rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
  backdrop-filter: blur(8px);
}

.hero__grid--media h1,
.hero__grid--media h2,
.hero__grid--media h3 {
  color: #fff;
}

.hero__grid--media h1 span {
  color: #59e7f7;
  text-shadow: 0 0 28px rgba(33, 217, 239, .24);
}

.hero__grid--media h1 {
  font-size: clamp(2.8rem, 5vw, 4.75rem);
}

.hero__grid--media .eyebrow {
  color: #f3c95f;
}

.hero__grid--media .lead,
.hero__grid--media .hero__proof {
  color: #e0eaf1;
}

.hero__grid--media .age-mark {
  color: #67edf8;
  border-color: #67edf8;
}

.hero__carousel-controls {
  position: absolute;
  right: 50%;
  bottom: .75rem;
  margin: 0;
  padding: .35rem;
  transform: translateX(50%);
  background: rgba(3, 10, 20, .72);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .32);
  backdrop-filter: blur(10px);
}

.hero__grid--media .hero__carousel-controls {
  position: absolute;
  z-index: 2;
}

.hero__carousel-controls > p {
  display: contents;
}

.hero__carousel-controls br {
  display: none;
}

@media (min-width: 1024px) {
  .hero__grid--media {
    min-height: 0;
    aspect-ratio: 1600 / 779;
    gap: 2rem;
    padding: 1.5rem clamp(1.5rem, 3vw, 2.75rem) 4rem;
  }

  .hero__grid--media .hero__copy {
    padding: 1.15rem 1.35rem;
  }

  .hero__grid--media h1 {
    margin-bottom: .85rem;
    font-size: clamp(2.65rem, 4.25vw, 3.55rem);
  }

  .hero__grid--media .lead {
    font-size: clamp(.95rem, 1.3vw, 1.08rem);
    line-height: 1.65;
  }

  .hero__grid--media .hero__actions,
  .hero__grid--media .hero__proof {
    margin-top: 1.1rem;
  }

  .hero__grid--media .hero__proof {
    gap: .75rem;
    font-size: .8rem;
  }

  .hero__grid--media .hero-guide {
    min-height: 0;
    padding: 1.15rem 1.35rem;
    transform: none;
  }

  .hero__grid--media .hero-guide h2 {
    margin: .65rem 0 .75rem;
    font-size: clamp(1.55rem, 2.25vw, 1.95rem);
  }

  .hero__grid--media .hero-guide__age {
    width: 44px;
    height: 44px;
  }

  .hero__grid--media .hero-guide__steps li {
    gap: .65rem;
    padding: .55rem 0;
  }

  .hero__grid--media .hero-guide__steps small {
    font-size: .78rem;
    line-height: 1.4;
  }

  .hero__grid--media .hero-guide__link {
    margin-top: .65rem;
  }
}

.home-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin-top: 1.1rem;
}

.home-carousel__arrow,
.home-carousel__toggle,
.home-carousel__dots button {
  color: #eaf8fb;
  background: #0d1928;
  border: 1px solid rgba(255, 255, 255, .14);
  cursor: pointer;
}

.home-carousel__arrow,
.home-carousel__toggle {
  min-width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0 .8rem;
  border-radius: .75rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.home-carousel__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-carousel__arrow--prev svg {
  transform: rotate(180deg);
}

.home-carousel__arrow:hover,
.home-carousel__toggle:hover {
  color: #05111c;
  background: var(--cyan);
  border-color: var(--cyan);
}

.home-carousel__dots {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: .48rem;
  padding-inline: .45rem;
}

.home-carousel__dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
  transition: width .2s ease, background .2s ease;
}

.home-carousel__dots button[aria-current="true"] {
  width: 30px;
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.latest-games {
  background:
    radial-gradient(circle at 100% 0%, rgba(33, 217, 239, .07), transparent 25rem),
    #081321;
}

.latest-games__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.latest-game {
  overflow: hidden;
  margin: 0;
  color: #edf5fb;
  background: linear-gradient(160deg, #112236, #09131f);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 1rem;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
}

.latest-game img {
  width: 100%;
  height: auto;
  aspect-ratio: 424 / 572;
  object-fit: cover;
  background: #fff;
}

.latest-game figcaption {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: .65rem .75rem;
  color: #edf5fb;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.latest-games__note {
  margin: 1.2rem 0 0;
  color: #96a6b7;
  font-size: .86rem;
  text-align: center;
}

@media (max-width: 1023px) {
  .hero__grid--media {
    min-height: 0;
    padding-block: 3rem 6rem;
    padding-inline: clamp(1rem, 4vw, 2rem);
    background-image:
      linear-gradient(180deg, rgba(3, 8, 16, .9) 0%, rgba(3, 9, 18, .84) 58%, rgba(3, 9, 18, .76) 100%),
      var(--hero-image);
    background-position: center, center top;
    background-size: 100% 100%, 100% auto;
  }

  .hero__grid--media .hero-guide {
    max-width: none;
  }

  .latest-games__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hero {
    padding-block: .6rem;
  }

  .hero__grid--media {
    width: min(calc(100% - 1.25rem), var(--container));
    gap: 1.5rem;
    padding: 2.25rem .85rem 5.75rem;
    background-image:
      linear-gradient(180deg, rgba(3, 8, 16, .82) 0%, rgba(3, 9, 18, .88) 56%, rgba(3, 9, 18, .94) 100%),
      var(--hero-image-mobile);
    background-position: center, center top;
    background-size: 100% 100%, 100% auto;
    border-radius: 1.15rem;
  }

  .hero__grid--media .hero__copy {
    padding: 1.15rem;
    backdrop-filter: blur(5px);
  }

  .hero__carousel-controls {
    right: 50%;
    bottom: .75rem;
    max-width: calc(100% - 1.4rem);
    transform: translateX(50%);
  }

  .home-carousel__controls {
    gap: .45rem;
  }

  .home-carousel__dots {
    gap: .32rem;
    padding-inline: .2rem;
  }

  .home-carousel__dots button {
    width: 10px;
    height: 10px;
  }

  .home-carousel__dots button[aria-current="true"] {
    width: 22px;
  }

  .latest-games__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }
}

@media (max-width: 380px) {
  .home-carousel__toggle {
    display: none;
  }

  .latest-game figcaption {
    min-height: 54px;
    padding-inline: .45rem;
    font-size: .78rem;
  }
}
