@font-face {
  font-family: "Montserrat";
  src: url("Montserrat-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #0b1511;
  --muted: #52615a;
  --paper: #fffdf8;
  --surface: #f4f8f1;
  --surface-strong: #e8f0e4;
  --green: #123f2d;
  --green-soft: #dcebdd;
  --gold: #f2c94c;
  --red: #c93a3a;
  --line: #d9e3d5;
  --shadow: 0 12px 30px rgba(9, 21, 17, 0.12);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", Tahoma, "Noto Sans Thai", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

a {
  color: #0b6f45;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.28;
}

h1 {
  font-size: clamp(2rem, 2.8rem, 3rem);
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.2rem;
}

ul,
ol {
  margin: 0;
  padding-left: 1.25rem;
}

li {
  margin: 0.35rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 227, 213, 0.78);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(14px);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 700;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.25rem 0.7rem;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.65rem;
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--green-soft);
  text-decoration: none;
}

.nav-cta {
  color: #07110c;
  background: var(--gold);
}

.hero {
  color: #fff;
  background-color: #123f2d;
  background-image:
    linear-gradient(rgba(6, 14, 10, 0.7), rgba(6, 14, 10, 0.68)),
    url("pgslot-ประเทศไทย.webp");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  display: grid;
  align-items: center;
  min-height: 68vh;
  padding: 84px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-weight: 700;
}

.hero p {
  max-width: 720px;
  margin-top: 1rem;
  color: #edf4ea;
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
}

.button:hover,
.button:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.button-primary {
  color: #07110c;
  background: var(--gold);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.button-green {
  color: #fff;
  background: var(--green);
}

.section {
  padding: 64px 0;
}

.section-muted {
  background: var(--surface);
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
  margin-bottom: 1.75rem;
}

.section-heading p {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.link-card {
  color: var(--ink);
}

.link-card:hover,
.link-card:focus {
  border-color: var(--green);
  text-decoration: none;
}

.media-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  align-items: center;
  gap: 2rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 1rem 1rem 1rem 3.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  color: #07110c;
  background: var(--gold);
  font-weight: 700;
}

.notice {
  border-left: 4px solid var(--red);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: #fff4f2;
}

.notice p {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: var(--surface-strong);
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-item h3 {
  margin-bottom: 0.4rem;
}

.cta-band {
  color: #fff;
  background: var(--green);
}

.cta-band a {
  color: #fff;
}

.site-footer {
  padding: 40px 0;
  color: #dfe8dc;
  background: #09130f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1.5rem;
}

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

.footer-links {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  list-style: none;
}

.small {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .small {
  color: #b8c6b6;
}

.breadcrumb {
  padding: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-inner {
    min-height: auto;
    padding: 64px 0 56px;
  }

  .grid-2,
  .grid-3,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .nav-links a {
    min-height: 38px;
    padding-inline: 0.5rem;
  }

  .section {
    padding: 48px 0;
  }

  .button {
    width: 100%;
  }
}
