:root {
  --ink: #110706;
  --panel: #1a0b08;
  --panel-2: #27100b;
  --gold: #ffe23d;
  --gold-2: #ffb800;
  --red: #e61414;
  --red-2: #920606;
  --cream: #fff7d2;
  --white: #ffffff;
  --muted: #d8c59b;
  --line: rgba(255, 226, 61, 0.24);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  font-family: "Tahoma", "Noto Sans Thai", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(230, 20, 20, 0.12) 0 18%, transparent 18% 100%),
    repeating-linear-gradient(90deg, rgba(255, 226, 61, 0.04) 0 1px, transparent 1px 88px),
    var(--ink);
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 7, 6, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 176px;
}

.brand img {
  width: clamp(132px, 18vw, 210px);
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(230, 20, 20, 0.35));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-color: rgba(255, 226, 61, 0.35);
  background: rgba(255, 226, 61, 0.08);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 226, 61, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 226, 61, 0.4);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.button.primary {
  border-color: rgba(255, 255, 255, 0.15);
  color: #2b0404;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 54%, #ff7a00 100%);
}

.button.red {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, #ff3333, var(--red) 56%, var(--red-2));
}

.button.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14px;
}

.section {
  padding: clamp(54px, 8vw, 104px) 0;
}

.section.tight {
  padding-top: 42px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(40px, 7vw, 86px);
  max-width: 820px;
}

h2 {
  font-size: clamp(30px, 4.4vw, 56px);
  max-width: 780px;
}

h3 {
  font-size: clamp(22px, 2.2vw, 30px);
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  max-width: 700px;
  color: #fff1bf;
  font-size: clamp(17px, 2vw, 22px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(17, 7, 6, 0.98) 0%, rgba(38, 8, 6, 0.9) 48%, rgba(145, 6, 6, 0.32) 100%),
    repeating-linear-gradient(135deg, rgba(255, 226, 61, 0.08) 0 1px, transparent 1px 34px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background: linear-gradient(0deg, var(--ink), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 9vw, 118px) 0 56px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
}

.hero-logo {
  width: min(430px, 86vw);
  margin-bottom: 22px;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5));
}

.hero-copy {
  display: grid;
  gap: 24px;
  max-width: 850px;
}

.hero-copy h1 span,
.highlight {
  color: var(--gold);
  text-shadow: 0 4px 0 rgba(145, 6, 6, 0.9);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  align-self: stretch;
  min-height: auto;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 226, 61, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 226, 61, 0.12), rgba(230, 20, 20, 0.16)),
    rgba(26, 11, 8, 0.66);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: radial-gradient(circle at center, rgba(255, 226, 61, 0.16), rgba(17, 7, 6, 0.82) 68%);
}

.ticker {
  border-block: 1px solid var(--line);
  background: #ffe23d;
  color: #340403;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 30px;
  width: max-content;
  padding: 12px 0;
  animation: ticker 26s linear infinite;
  font-weight: 900;
  white-space: nowrap;
}

.ticker span::before {
  content: "◆";
  margin: 0 18px 0 0;
  color: var(--red);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 480px;
}

.feature-grid,
.promo-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature,
.promo-card,
.blog-card,
.article-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.feature {
  padding: 24px;
  min-height: 210px;
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.feature-number {
  color: var(--gold);
  font-weight: 900;
}

.showcase {
  display: grid;
  gap: 26px;
}

.showcase-row {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
  gap: 24px;
  min-height: 360px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(26, 11, 8, 0.7);
}

.showcase-row:nth-child(even) {
  grid-template-columns: 1.04fr 0.96fr;
}

.showcase-row:nth-child(even) .showcase-media {
  order: 2;
}

.showcase-media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: radial-gradient(circle at center, rgba(255, 226, 61, 0.12), rgba(17, 7, 6, 0.88) 70%);
}

.showcase-copy {
  padding: clamp(8px, 2.5vw, 30px);
  display: grid;
  gap: 16px;
}

.promo-card {
  padding: 24px;
  display: grid;
  gap: 14px;
  min-height: 236px;
}

.promo-card strong {
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}

.split-band {
  background:
    linear-gradient(105deg, rgba(230, 20, 20, 0.28), transparent 42%),
    #190907;
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  padding: 20px;
  border: 1px solid rgba(255, 226, 61, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 226, 61, 0.08);
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 32px;
  line-height: 1;
}

.page-hero {
  padding: clamp(64px, 10vw, 124px) 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(230, 20, 20, 0.18), rgba(255, 226, 61, 0.08) 48%, transparent),
    var(--ink);
}

.page-hero .container {
  display: grid;
  gap: 22px;
}

.terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.term {
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
}

.blog-card {
  overflow: hidden;
  display: grid;
  min-height: 100%;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: rgba(17, 7, 6, 0.72);
}

.blog-card-content {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.blog-card .tag {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: #320403;
  background: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.article-list {
  display: grid;
  gap: 22px;
}

.article-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
}

.article-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: rgba(17, 7, 6, 0.72);
}

.article-body {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.contact-panel {
  min-height: 54vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.contact-panel .inner {
  width: min(760px, 100%);
  display: grid;
  gap: 24px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-button {
  width: 100%;
  min-height: 62px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  color: var(--cream);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-button span {
  flex: 1;
}

.faq-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #2b0404;
  background: var(--gold);
  flex: 0 0 auto;
}

.faq-panel {
  display: none;
  padding: 0 20px 20px;
}

.faq-item.open .faq-panel {
  display: block;
}

.cta-band {
  padding: clamp(42px, 7vw, 76px) 0;
  color: #2b0404;
  background:
    linear-gradient(120deg, rgba(230, 20, 20, 0.2), transparent 48%),
    var(--gold);
}

.cta-band p,
.cta-band .eyebrow {
  color: #4c0907;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band .button {
  color: var(--white);
}

.site-footer {
  padding: 42px 0;
  background: #080302;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  width: 190px;
  margin-bottom: 16px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold);
}

.copyright {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 226, 61, 0.16);
  color: rgba(255, 247, 210, 0.65);
  font-size: 14px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 82px 0 auto;
    display: none;
    padding: 18px 16px 22px;
    background: rgba(17, 7, 6, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-open .nav-links {
    display: grid;
  }

  .nav-links a {
    width: 100%;
    border-radius: var(--radius);
  }

  .nav-actions .button:not(.primary) {
    display: none;
  }

  .hero-inner,
  .split,
  .showcase-row,
  .showcase-row:nth-child(even),
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .showcase-row:nth-child(even) .showcase-media {
    order: 0;
  }

  .hero-panel {
    width: min(100%, 520px);
  }

  .feature-grid,
  .promo-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    width: min(100% - 22px, 1180px);
    min-height: 72px;
  }

  .brand img {
    width: 136px;
  }

  .nav-links {
    inset: 72px 0 auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 42px;
  }

  .hero-copy {
    gap: 18px;
  }

  .feature-grid,
  .promo-grid,
  .blog-grid,
  .terms,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta-band .container {
    display: grid;
  }

  .hero-actions,
  .cta-row {
    width: 100%;
  }

  .button {
    flex: 1 1 160px;
  }

  .nav-actions .button.primary {
    min-width: 94px;
    padding-inline: 12px;
  }
}
