 :root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --surface-soft: #f8f6f1;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;

  --dark: #111827;
  --dark-soft: #1f2937;

  --accent: #c48a2c;
  --accent-dark: #9a6b1f;
  --accent-light: #f3dfb8;

  --shadow: 0 18px 50px rgba(17, 24, 39, 0.08);

  --radius-large: 24px;
  --radius-medium: 16px;
  --radius-small: 10px;
}

/* =========================
   Reset และค่าพื้นฐาน
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Noto Sans Thai", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

/* =========================
   Header และเมนู
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo,
.footer-logo {
  color: var(--dark);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--dark);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: white;
  color: var(--dark);
  font-weight: 700;
  cursor: pointer;
}

/* =========================
   หน้าแรก: Hero
========================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 92px;
  color: white;
  background:
    radial-gradient(
      circle at 78% 22%,
      rgba(196, 138, 44, 0.25),
      transparent 28%
    ),
    radial-gradient(
      circle at 15% 80%,
      rgba(255, 255, 255, 0.06),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #111827 0%,
      #1f2937 58%,
      #2d2a25 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(320px, 0.8fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent-light);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-description {
  max-width: 720px;
  margin: 26px 0 0;
  color: #d1d5db;
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: #111827;
}

.button-primary:hover {
  background: #e0aa4a;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: white;
}

.button-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
}

.hero-summary {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.summary-label {
  margin: 0 0 18px;
  font-size: 21px;
  font-weight: 800;
}

.summary-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.summary-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
}

.summary-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--accent-light);
  font-weight: 800;
}

/* =========================
   Section ทั่วไป
========================= */

.section {
  padding: 88px 0;
}

.section-light {
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

/* =========================
   การ์ดจุดหมายปลายทาง
========================= */

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.destination-card {
  min-height: 300px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.destination-card:hover {
  transform: translateY(-6px);
  border-color: #d3b16c;
  box-shadow: var(--shadow);
}

.featured-card {
  color: white;
  border-color: transparent;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(243, 223, 184, 0.18),
      transparent 30%
    ),
    linear-gradient(145deg, #1f2937, #111827);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.country-label,
.card-status {
  font-size: 13px;
  font-weight: 800;
}

.country-label {
  color: var(--accent-dark);
}

.featured-card .country-label {
  color: var(--accent-light);
}

.card-status {
  padding: 6px 9px;
  border-radius: 999px;
  color: #6b4c16;
  background: #f7e7c4;
}

.card-status.muted {
  color: #6b7280;
  background: #f3f4f6;
}

.destination-card h3 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
}

.destination-card p {
  margin: 0;
  color: var(--muted);
}

.featured-card p {
  color: #d1d5db;
}

.card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent-light);
  font-weight: 800;
}

/* =========================
   Guide Cards
========================= */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.guide-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface);
}

.guide-number {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.guide-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
}

/* =========================
   บทความแนะนำหน้าแรก
========================= */

.article-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.25fr)
    minmax(300px, 0.75fr);
  gap: 26px;
}

.article-highlight,
.update-panel {
  border-radius: var(--radius-large);
}

.article-highlight {
  padding: 44px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-highlight h2 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.article-highlight > p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent-dark);
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
}

.update-panel {
  padding: 34px;
  color: white;
  background: var(--dark);
}

.update-panel h3 {
  margin: 0 0 18px;
  font-size: 25px;
}

.update-panel ul {
  margin: 0;
  padding-left: 22px;
  color: #d1d5db;
}

.update-panel li + li {
  margin-top: 10px;
}

/* =========================
   Notice
========================= */

.notice-section {
  padding: 0 0 88px;
}

.notice {
  padding: 28px 30px;
  border: 1px solid #ead4aa;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-medium);
  background: #fff9ec;
}

.notice strong {
  display: block;
  margin-bottom: 7px;
  color: #6f4c13;
  font-size: 18px;
}

.notice p {
  margin: 0;
  color: #7c5b25;
}

/* =========================
   หน้ารายละเอียดคาสิโน
========================= */

.article-hero {
  padding: 72px 0 56px;
  color: white;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(196, 138, 44, 0.22),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #111827 0%,
      #1f2937 60%,
      #2d2a25 100%
    );
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #d1d5db;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: white;
}

.article-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.article-description {
  max-width: 800px;
  margin: 20px 0 0;
  color: #d1d5db;
  font-size: 19px;
  line-height: 1.8;
}

.article-section {
  padding: 64px 0 88px;
}

.article-layout-page {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    300px;
  gap: 28px;
  align-items: start;
}

.article-content {
  padding: 44px;
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.property-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.property-meta > div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}

.property-meta strong,
.property-meta span {
  display: block;
}

.property-meta strong {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
}

.article-content h1 {
  margin-top: 0;
}

.article-content h2 {
  margin: 38px 0 14px;
  font-size: 30px;
  line-height: 1.35;
}

.article-content h3 {
  margin: 30px 0 12px;
  font-size: 24px;
}

.article-content p,
.article-content li {
  font-size: 18px;
  line-height: 1.85;
}

.article-content p {
  margin: 0 0 20px;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
}

.article-content li + li {
  margin-top: 8px;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  padding: 26px;
  border-radius: 20px;
  color: white;
  background: var(--dark);
}

.article-sidebar h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.article-sidebar ul {
  margin: 0;
  padding-left: 20px;
  color: #d1d5db;
}

.article-sidebar li + li {
  margin-top: 10px;
}

.sidebar-note {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9ca3af;
  font-size: 14px;
}

.article-actions {
  margin-top: 28px;
}

.article-back {
  color: var(--accent-dark);
  font-weight: 800;
}

.article-back:hover {
  text-decoration: underline;
}

/* =========================
   Footer
========================= */

.site-footer {
  padding: 52px 0;
  color: #d1d5db;
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
}

.footer-logo {
  color: white;
}

.footer-grid p {
  margin: 6px 0 0;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #d1d5db;
  font-weight: 700;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  white-space: nowrap;
  font-size: 14px;
}

/* =========================
   Tablet
========================= */

@media (max-width: 980px) {
  .hero-grid,
  .article-layout,
  .article-layout-page {
    grid-template-columns: 1fr;
  }

  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

/* =========================
   Mobile
========================= */

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px;
  }

  .menu-button {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 8px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    padding: 42px 0 52px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 46px);
    line-height: 1.12;
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-summary {
    padding: 24px;
  }

  .section {
    padding: 68px 0;
  }

  .destination-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .destination-card {
    min-height: 250px;
  }

  .article-highlight {
    padding: 30px;
  }

  .article-hero {
    padding: 44px 0 34px;
  }

  .article-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .article-description {
    font-size: 17px;
  }

  .article-section {
    padding: 36px 0 64px;
  }

  .article-content {
    padding: 26px;
    border-radius: 18px;
  }

  .property-meta {
    grid-template-columns: 1fr;
  }

  .article-content h2 {
    font-size: 26px;
  }

  .article-content p,
  .article-content li {
    font-size: 17px;
  }
}

/* =========================
   Mobile จอเล็ก
========================= */

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .logo {
    font-size: 26px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .destination-card,
  .guide-card {
    padding: 24px;
  }

  .notice {
    padding: 22px;
  }
}

/* =========================
   หน้ารวมโรงแรมคาสิโน
========================= */

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.property-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  border-color: #d3b16c;
  box-shadow: var(--shadow);
}

.property-card-link {
  display: block;
  height: 100%;
}

.property-card-image {
  height: 220px;
  background:
    radial-gradient(circle at 80% 20%, rgba(196, 138, 44, 0.22), transparent 32%),
    linear-gradient(135deg, #111827, #2d2a25);
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--accent-light);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.property-card-content {
  padding: 24px;
}

.property-location {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.property-card-content h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.3;
}

.property-description {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.property-read-more {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 800;
}

.empty-state {
  padding: 44px;
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.empty-state h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .property-grid {
    grid-template-columns: 1fr;
  }

  .property-card-image {
    height: 190px;
  }

  .property-card-content {
    padding: 22px;
  }
}

/* ภาพปกหน้ารายละเอียด */

.property-cover {
  padding: 48px 0 0;
}

.property-cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

@media (max-width: 760px) {
  .property-cover {
    padding-top: 24px;
  }

  .property-cover img {
    max-height: 280px;
    border-radius: 16px;
  }
}

/* =========================
   หน้ารวมบทความ
========================= */

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: #d3b16c;
  box-shadow: var(--shadow);
}

.post-card-link {
  display: block;
  height: 100%;
}

.post-card-image {
  height: 220px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(196, 138, 44, 0.22),
      transparent 32%
    ),
    linear-gradient(135deg, #111827, #2d2a25);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--accent-light);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.post-card-content {
  padding: 24px;
}

.post-meta {
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.post-meta span {
  color: var(--accent-dark);
  font-weight: 800;
}

.post-card-content h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.35;
}

.post-card-content > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.post-read-more {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-card-image {
    height: 190px;
  }

  .post-card-content {
    padding: 22px;
  }
}