:root {
  --bg: #080607;
  --bg-soft: #12090a;
  --panel: #1a1112;
  --panel-2: #211617;
  --red: #e50914;
  --red-deep: #940006;
  --gold: #f7c96b;
  --gold-2: #fff1b8;
  --silver: #e8e8e8;
  --muted: #b9aaad;
  --line: rgba(247, 201, 107, 0.28);
  --shadow: 0 28px 80px rgba(229, 9, 20, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Tahoma", "Noto Sans Thai", "Segoe UI", sans-serif;
  color: var(--silver);
  background:
    radial-gradient(circle at 12% 4%, rgba(229, 9, 20, 0.24), transparent 28rem),
    radial-gradient(circle at 90% 20%, rgba(247, 201, 107, 0.13), transparent 24rem),
    linear-gradient(180deg, #050405 0%, #120708 45%, #050405 100%);
  line-height: 1.72;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(247, 201, 107, 0.18);
  background: rgba(5, 4, 5, 0.82);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
}

.brand img {
  width: 218px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu a {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #e9d9dc;
  font-size: 15px;
}

.menu a:hover,
.menu a.active {
  border-color: rgba(247, 201, 107, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-2);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(247, 201, 107, 0.42);
  border-radius: var(--radius);
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(180deg, rgba(39, 26, 13, 0.95), rgba(8, 6, 7, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.btn.primary {
  border-color: rgba(255, 228, 139, 0.76);
  color: #250506;
  background: linear-gradient(180deg, #fff1b8 0%, #f7c96b 48%, #bc7418 100%);
  box-shadow: 0 10px 28px rgba(247, 201, 107, 0.22);
}

.btn.red {
  border-color: rgba(255, 64, 76, 0.72);
  color: #fff;
  background: linear-gradient(180deg, #fb2030 0%, #b20009 100%);
  box-shadow: 0 16px 38px rgba(229, 9, 20, 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(247, 201, 107, 0.34);
  border-radius: var(--radius);
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 24px;
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(5, 4, 5, 0.9) 0%, rgba(5, 4, 5, 0.7) 44%, rgba(5, 4, 5, 0.26) 100%),
    url("assets/home/background.webp");
  background-size: cover;
  background-position: center;
}

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

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 64px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  color: #fff;
  text-shadow: 0 0 28px rgba(229, 9, 20, 0.38);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  color: #fff;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.28;
  color: #fff;
}

.lead {
  max-width: 650px;
  color: #eadfe1;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-card {
  border: 1px solid rgba(247, 201, 107, 0.34);
  border-radius: var(--radius);
  padding: 12px;
  background: linear-gradient(145deg, rgba(34, 18, 19, 0.92), rgba(6, 5, 6, 0.92));
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.hero-card img {
  border-radius: 6px;
}

.section {
  position: relative;
  padding: 84px 0;
}

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: 34px;
  align-items: center;
}

.image-panel {
  border: 1px solid rgba(247, 201, 107, 0.28);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.38);
}

.image-panel img {
  border-radius: 6px;
}

.content-deck {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.content-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(247, 201, 107, 0.24);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.content-card.reverse .content-image {
  order: 2;
}

.content-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.content-copy {
  padding: clamp(12px, 3vw, 30px);
}

.content-copy .actions {
  margin-top: 20px;
}

.panel {
  border: 1px solid rgba(247, 201, 107, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.13), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: clamp(24px, 4vw, 44px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.stat {
  min-height: 112px;
  border: 1px solid rgba(247, 201, 107, 0.2);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.stat strong {
  display: block;
  color: var(--gold-2);
  font-size: 24px;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

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

.feature,
.article-card,
.promo {
  border: 1px solid rgba(247, 201, 107, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover,
.article-card:hover,
.promo:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 201, 107, 0.5);
  box-shadow: 0 18px 50px rgba(229, 9, 20, 0.12);
}

.feature {
  padding: 24px;
}

.feature .mark,
.promo .mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid rgba(247, 201, 107, 0.48);
  border-radius: var(--radius);
  color: var(--gold-2);
  background: rgba(229, 9, 20, 0.18);
  font-weight: 900;
}

.article-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.article-card a {
  display: grid;
  height: 100%;
}

.article-body {
  padding: 20px;
}

.article-body p,
.feature p,
.promo p,
.panel p {
  color: #cabdc0;
}

.article-body a {
  color: var(--gold-2);
  font-weight: 800;
}

.article-meta {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.read-more {
  display: inline-flex;
  margin-top: 8px;
  color: var(--gold-2);
  font-weight: 900;
}

.page-hero {
  position: relative;
  padding: 76px 0 58px;
  border-bottom: 1px solid rgba(247, 201, 107, 0.16);
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.26), transparent 42%),
    radial-gradient(circle at 75% 30%, rgba(247, 201, 107, 0.12), transparent 26rem);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 5vw, 72px);
}

.crumb {
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 800;
}

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

.article-full {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  border: 1px solid rgba(247, 201, 107, 0.22);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.article-full img {
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.article-content {
  padding: 8px 8px 8px 0;
}

.article-content p {
  color: #cabdc0;
}

.article-page {
  padding: 64px 0 84px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold-2);
  font-weight: 800;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.article-cover {
  position: sticky;
  top: 106px;
  border: 1px solid rgba(247, 201, 107, 0.28);
  border-radius: var(--radius);
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.article-reader {
  border: 1px solid rgba(247, 201, 107, 0.24);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 52px);
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.13), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.article-reader h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 64px);
}

.article-reader p {
  color: #d4c8cb;
  font-size: 18px;
}

.article-reader .actions {
  margin-top: 28px;
}

.cta-band {
  border-top: 1px solid rgba(247, 201, 107, 0.2);
  border-bottom: 1px solid rgba(247, 201, 107, 0.2);
  background:
    linear-gradient(90deg, rgba(148, 0, 6, 0.8), rgba(8, 6, 7, 0.92)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 14px);
}

.cta-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  margin-bottom: 6px;
  font-size: clamp(28px, 4vw, 46px);
}

.footer {
  padding: 42px 0;
  color: #a99b9f;
  background: #050405;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(247, 201, 107, 0.18);
  padding-top: 26px;
}

.footer img {
  width: 180px;
}

.only-actions {
  min-height: 56vh;
  display: grid;
  place-items: center;
}

.contact-box {
  width: min(680px, 100%);
  text-align: center;
}

.contact-box .actions {
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    min-height: 72px;
  }

  .brand img {
    width: 176px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .menu {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(247, 201, 107, 0.28);
    border-radius: var(--radius);
    background: rgba(8, 6, 7, 0.96);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    width: 100%;
  }

  .nav > .actions {
    display: none;
  }

  .hero-inner,
  .split,
  .content-card,
  .article-shell,
  .article-full {
    grid-template-columns: 1fr;
  }

  .content-card.reverse .content-image {
    order: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    transform: none;
  }

  .stats,
  .feature-grid,
  .article-grid,
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-full img {
    width: min(360px, 100%);
  }

  .article-content {
    padding: 0;
  }

  .article-cover {
    position: static;
  }

  .cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav {
    width: min(100% - 22px, 1160px);
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 148px;
  }

  .hero-inner,
  .wrap,
  .cta-inner,
  .footer-inner {
    width: min(100% - 22px, 1160px);
  }

  .hero-inner {
    padding: 40px 0 72px;
  }

  .section {
    padding: 58px 0;
  }

  .stats,
  .feature-grid,
  .article-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    width: 100%;
  }

  .btn {
    flex: 1;
    min-width: 0;
    padding-inline: 12px;
  }
}
