:root {
  --ink: #fff8f5;
  --muted: rgba(255, 248, 245, 0.76);
  --night: #14051f;
  --panel: rgba(18, 5, 28, 0.78);
  --line: rgba(255, 216, 130, 0.24);
  --gold: #ffd36b;
  --pink: #fb2f85;
  --orange: #ff7a35;
  --violet: #8c3dff;
  --shadow: 0 24px 80px rgba(4, 1, 10, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 5, 31, 0.82), rgba(119, 10, 80, 0.44), rgba(20, 5, 31, 0.72)),
    linear-gradient(180deg, rgba(20, 5, 31, 0.14), rgba(20, 5, 31, 0.78)),
    url("assets/02-home-hero.jpg") center / cover no-repeat;
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 36%, rgba(255, 211, 107, 0.28) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 24%, rgba(255, 211, 107, 0.34) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 68%, rgba(255, 211, 107, 0.28) 0 1px, transparent 2px),
    radial-gradient(circle at 25% 78%, rgba(255, 211, 107, 0.24) 0 1px, transparent 2px);
  content: "";
}

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

.announcement {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 10px 20px;
  background: linear-gradient(90deg, var(--pink), #fb4d60, var(--orange));
  color: #fff9dd;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 86px;
  padding: 16px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(255, 211, 107, 0.16);
  background: rgba(12, 3, 24, 0.9);
  backdrop-filter: blur(18px);
}

.nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

.header-actions {
  justify-content: flex-end;
}

.nav-link {
  position: relative;
  color: rgba(255, 248, 245, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-link::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
  content: "";
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 220px;
  text-align: center;
}

.brand-logo {
  display: none;
  max-width: 190px;
  max-height: 54px;
  object-fit: contain;
}

.brand-logo[src]:not([src=""]) {
  display: block;
}

.brand-logo[src]:not([src=""]):not(.is-missing) + .brand-text {
  display: none;
}

.brand-logo.is-missing {
  display: none;
}

.brand-text strong {
  display: block;
  color: #d8a3ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 0.95;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(251, 47, 133, 0.56);
}

.brand-text small {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.language-control {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 248, 245, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.language-control select {
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 700;
  outline: none;
}

.language-control option {
  color: #1a0d20;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid rgba(255, 211, 107, 0.46);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(255, 211, 107, 0.9);
  box-shadow: 0 16px 44px rgba(251, 47, 133, 0.28);
  transform: translateY(-2px);
}

.button-primary {
  border: 0;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #fffaf2;
}

.hero {
  min-height: min(600px, calc(100svh - 220px));
  display: grid;
  place-items: center;
  padding: clamp(36px, 6vw, 72px) 20px clamp(32px, 5vw, 56px);
}

.hero-content {
  width: min(980px, 100%);
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

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

.hero-title-image {
  display: block;
  width: min(860px, 86vw);
  max-height: 210px;
  margin: 0 auto 22px;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(251, 47, 133, 0.58));
}

.hero-title-image.is-missing {
  display: none;
}

.hero-title-fallback {
  display: none;
  margin: 0 auto 22px;
  color: var(--ink);
  font-size: clamp(2.52rem, 6vw, 4.44rem);
  font-weight: 900;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 0 8px 32px rgba(251, 47, 133, 0.58);
}

.hero-title-image.is-missing + .hero-title-fallback {
  display: block;
}

.hero-copy {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 2.2vw, 1.42rem);
  font-style: italic;
  white-space: pre-line;
  text-shadow: 0 4px 22px rgba(3, 1, 8, 0.72);
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.section {
  padding: clamp(22px, 3vw, 48px) clamp(18px, 4vw, 58px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.32rem, 3vw, 2.88rem);
  line-height: 0.96;
}

.section-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.experience-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(20, 5, 31, 0.88), rgba(72, 9, 58, 0.66));
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.feature-list div,
.detail-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.feature-list div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 76px;
  padding: 18px;
  border-radius: 8px;
  font-weight: 800;
}

.feature-list i,
.detail-card i,
.contact-links i {
  color: var(--gold);
  font-size: 1.3rem;
}

.details-section {
  background: rgba(10, 2, 18, 0.7);
}

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

.detail-card {
  min-height: 200px;
  padding: 28px;
  border-radius: 8px;
}

.detail-card h3 {
  margin: 18px 0 10px;
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  background: linear-gradient(180deg, rgba(20, 5, 31, 0.74), rgba(20, 5, 31, 0.95));
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 18px;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 248, 245, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 58px);
  border-top: 1px solid var(--line);
  background: #0b0314;
  color: rgba(255, 248, 245, 0.68);
  font-size: 0.9rem;
}

[lang="th"] body,
[lang="zh"] body {
  font-family: Georgia, "Times New Roman", serif;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 18px;
    position: relative;
  }

  .nav,
  .header-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .brand {
    order: -1;
  }

  .split-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .announcement {
    min-height: 38px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .nav {
    gap: 18px;
  }

  .nav-link {
    font-size: 0.7rem;
  }

  .header-booking {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 82px;
  }

  .feature-list,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand-text strong {
    font-size: 1.28rem;
  }

  .brand-text small {
    letter-spacing: 0.22em;
  }

  .hero-title-image {
    width: min(380px, 92vw);
    max-height: 128px;
  }

  .hero-title-fallback {
    font-size: clamp(1.92rem, 12vw, 2.64rem);
  }

  .button {
    width: 100%;
    padding-inline: 18px;
  }
}
