/* ==============================================
   Supalai Wonderful Living — Stylesheet
   ==============================================
   🎨 แก้สีธีม → ดูที่ :root ด้านล่าง
   🎬 แก้ animation → ดูที่ @keyframes
   ============================================== */

/* ===== CSS Variables (แก้สีธีมทั้งเว็บได้ที่นี่) ===== */
/* 💡 v6: เปลี่ยนเป็น Light Theme — พื้นขาว, ข้อความดำ, ทองเข้ม */
:root {
  --bg-color: hsl(40 30% 98%);         /* พื้นหลัง off-white */
  --card-bg: hsl(0 0% 100%);           /* การ์ดขาวล้วน */
  --surface-elevated: hsl(40 25% 96%); /* พื้นรอง */
  --text-color: hsl(220 25% 15%);      /* ข้อความดำเข้ม */
  --muted-text: hsl(220 10% 40%);      /* ข้อความเทา */
  --border-color: hsl(40 15% 85%);     /* เส้นขอบสีเบจอ่อน */
  --gold: hsl(40 70% 42%);             /* ทองเข้มสำหรับ contrast */
  --gold-light: hsl(38 75% 50%);
  --gold-dark: hsl(40 70% 32%);
  --primary-foreground: hsl(0 0% 100%);  /* ตัวอักษรบน gold = ขาว */
}

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Prompt', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button {
  font-family: inherit; cursor: pointer;
  border: none; background: none; color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Prompt', sans-serif;
  font-weight: 500;
  line-height: 1.2;
}

/* ===== Gold text effects ===== */
/* กฎ: คำว่า "Wonderful" ที่อยู่บน section สีขาว (light) ใช้ gold-shimmer / gold-text-bright (เข้ม)
         คำว่า "Wonderful" ที่อยู่บนรูป (dark) ใช้ gold-shimmer-on-image / gold-text-on-image (สว่าง) */

/* Gold text for "Wonderful" — over images (bright) */
.gold-text {
  color: hsl(45 90% 55%);
  background: linear-gradient(135deg, hsl(45 95% 75%), hsl(42 90% 65%), hsl(40 85% 55%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-family: 'Quentin', 'Playfair Display', cursive;
  font-style: normal;
  line-height: 1.2;
  padding-top: 0.65em;
  padding-left: 0.3em;
  padding-right: 0.65em;
  overflow: visible;
  text-shadow: 0 2px 10px hsl(220 20% 8% / 0.45);
}

/* Bright gold for light backgrounds (deeper gold for contrast) */
.gold-text-bright {
  color: hsl(40 80% 45%);
  background: linear-gradient(135deg, hsl(42 90% 55%), hsl(40 85% 45%), hsl(38 80% 38%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-family: 'Quentin', 'Playfair Display', cursive;
  font-style: normal;
  line-height: 1.2;
  padding-top: 0.65em;
  padding-left: 0.3em;
  padding-right: 0.65em;
  overflow: visible;
}

/* Variant for use over dark images — keeps the bright look */
.gold-text-on-image {
  color: hsl(45 95% 75%);
  background: linear-gradient(135deg, hsl(48 100% 88%), hsl(45 95% 78%), hsl(42 90% 70%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-family: 'Quentin', 'Playfair Display', cursive;
  font-style: normal;
  line-height: 1.2;
  padding-top: 0.65em;
  padding-left: 0.3em;
  padding-right: 0.65em;
  overflow: visible;
  text-shadow: 0 2px 10px hsl(220 20% 8% / 0.55);
}

/* Shimmer effect for "Wonderful" on light background (deeper gold) */
.gold-shimmer {
  color: hsl(32 55% 51%);
  background: linear-gradient(90deg,
    hsl(30 50% 38%) 0%,
    hsl(32 60% 55%) 25%,
    hsl(35 70% 70%) 50%,
    hsl(32 60% 55%) 75%,
    hsl(30 50% 38%) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  display: inline-block;
  font-family: 'Quentin', 'Playfair Display', cursive;
  font-style: normal;
  line-height: 1.35;
  padding-top: 0.65em;
  padding-bottom: 0.15em;
  padding-left: 0.3em;
  padding-right: 0.65em;
  overflow: visible;
}

/* Shimmer variant for use over images — bright yellow palette (Amber → Lemon → Sun Glow) */
.gold-shimmer-on-image {
  color: hsl(48 100% 70%);
  background: linear-gradient(90deg,
    hsl(40 95% 58%) 0%,
    hsl(48 100% 70%) 25%,
    hsl(55 100% 82%) 50%,
    hsl(48 100% 70%) 75%,
    hsl(40 95% 58%) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  display: inline-block;
  line-height: 1.35;
  padding-top: 0.65em;
  padding-bottom: 0.15em;
  padding-left: 0.3em;
  padding-right: 0.65em;
  overflow: visible;
  text-shadow: none;
}

/* Shimmer variant for "คอนโด SUPALAI" — bright yellow palette, Prompt font */
.gold-shimmer-on-supalai {
  color: hsl(48 100% 70%);
  background: linear-gradient(
    90deg,
    hsl(40 95% 58%) 0%,
    hsl(48 100% 70%) 25%,
    hsl(55 100% 82%) 50%,
    hsl(48 100% 70%) 75%,
    hsl(40 95% 58%) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  display: inline-block;
  font-family: 'Prompt', sans-serif;
  font-style: normal;
  line-height: 1.35;
  padding-top: 0.65em;
  padding-bottom: 0.1em;
  padding-left: 0.3em;
  padding-right: 0.65em;
  overflow: visible;
  text-shadow: none;
}

/* Mobile fallback: solid colors instead of gradient text for better legibility */
@media (max-width: 767px) {
  .gold-text,
  .gold-text-bright,
  .gold-text-on-image,
  .gold-shimmer,
  .gold-shimmer-on-image,
  .gold-shimmer-on-supalai {
    background-size: 100% auto;
  }
  .gold-text,
  .gold-text-on-image {
    text-shadow: 0 2px 12px hsl(220 20% 8% / 0.6);
  }
  .gold-shimmer-on-image,
  .gold-shimmer-on-supalai {
    text-shadow: none;
  }
}

.gold-color { color: var(--gold); }

/* ===== Animations ===== */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 15px hsl(40 60% 50% / 0.3); }
  50%      { box-shadow: 0 0 30px hsl(40 60% 50% / 0.6), 0 0 60px hsl(40 60% 50% / 0.2); }
}
@keyframes pulse-line {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.animate-float      { animation: float 3s ease-in-out infinite; }
.animate-glow-pulse { animation: glow-pulse 2.5s ease-in-out infinite; }
.animate-pulse-line { animation: pulse-line 2s ease-in-out infinite; }
.animate-pulse-dot  { animation: pulse-dot 1.5s ease-in-out infinite; }
.animate-ping       { animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
.fade-in            { animation: fadeIn 1s ease-out forwards; }
.fade-in-up         { animation: fadeInUp 1.5s ease-out forwards; }

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

.stagger-item {
  opacity: 0;
}
.stagger-item.visible {
  animation: fade-up 0.6s ease-out forwards;
}

/* ===== Pattern overlay ===== */
.bg-pattern { position: relative; }
.bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 25% 25%, hsl(220 25% 15%) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, hsl(220 25% 15%) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bg-pattern > * { position: relative; z-index: 1; }

/* ===== Parallax backgrounds ===== */
.parallax {
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
@media (min-width: 769px) {
  .parallax { background-attachment: fixed; }
}

.dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.22);  /* v7: เบาลงนิดหน่อย รูปสว่างขึ้น */
  pointer-events: none;
}
.dark-overlay-heavy {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.26);
  pointer-events: none;
}

/* ================================================
   SECTION 1: HERO BANNER
   ================================================ */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg-mobile { background-attachment: scroll; }
.hero-bg-desktop { background-attachment: fixed; display: none; }
@media (min-width: 769px) {
  .hero-bg-mobile { display: none; }
  .hero-bg-desktop { display: block; }
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.25rem;
  max-width: 20rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero-content {
    max-width: 56rem;
    padding: 0 1.5rem;
  }
}
.hero-content > * + * { margin-top: 2rem; }
@media (min-width: 768px) {
  .hero-content > * + * { margin-top: 2.5rem; }
}
.hero-content .inner > * + * { margin-top: 1rem; }
@media (min-width: 768px) {
  .hero-content .inner > * + * { margin-top: 1.5rem; }
}

.hero-title {
  font-size: 2rem;
  line-height: 1.2;
  color: white;
  text-shadow: 0 2px 12px hsl(220 20% 8% / 0.6);
}
@media (min-width: 640px) {
  .hero-title { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
}
.hero-title .gold-shimmer-on-image {
  font-size: 3.75rem;
  line-height: 0.9;
  margin-top: 0.5rem;
  display: block;
}
@media (min-width: 640px) {
  .hero-title .gold-shimmer-on-image { font-size: 3.75rem; }
}
@media (min-width: 768px) {
  .hero-title .gold-shimmer-on-image {
    font-size: 4.5rem;
    margin-top: 0;
    display: inline-block;
  }
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px hsl(220 20% 8% / 0.6);
}
@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.25rem; }
}
@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.5rem; }
}
.hero-subtitle .brand {
  letter-spacing: 0.08em;
  font-style: normal;
  color: white;
}
@media (min-width: 768px) {
  .hero-subtitle .brand { letter-spacing: 0.1em; }
}
.scroll-line {
  width: 1px;
  height: 4rem;
  background: hsl(38 75% 50% / 0.7);
  margin: 0 auto;
  animation: pulse-line 2s ease-in-out infinite;
}

/* ================================================
   SECTION 2: ABOUT (Part 1 — Headline)
   ================================================ */
.about-part1 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}
.about-inner {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}
.about-inner > * + * { margin-top: 3rem; }

.about-headline {
  font-size: clamp(1.875rem, 4.5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.about-tagline {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--gold-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.about-tagline .gold-text-bright,
.about-tagline .gold-shimmer {
  font-size: clamp(2.25rem, 4vw, 3rem);
}
.about-subtext {
  font-size: clamp(1.125rem, 1.75vw, 1.25rem);
  color: var(--muted-text);
  line-height: 1.7;
}

/* ================================================
   SECTION 3: PARALLAX DIVIDER
   ================================================ */
.divider {
  height: 70vh;
  position: relative;
}
.divider-inner {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  text-align: center;
}
.divider-title {
  font-size: clamp(1.875rem, 5vw, 4rem);
  line-height: 1.2;
}
.divider-title .gold-shimmer-on-image { font-style: italic; }
.divider-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1rem;
  text-shadow: 0 2px 8px hsl(220 20% 8% / 0.6);
}

/* ================================================
   SECTION 4: 18 BRANDS + FEATURES
   ================================================ */
.brands-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 0;
}
@media (min-width: 768px) {
  .brands-section { padding: 6rem 1.5rem; }
}
.brands-inner {
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
}
.brands-inner > * + * { margin-top: 4rem; }

.brands-header { text-align: center; }
.brands-header .eyebrow {
  font-size: clamp(1.125rem, 1.75vw, 1.25rem);
  color: var(--muted-text);
  margin-bottom: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brands-header .headline {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: hsl(220 25% 25%);
  line-height: 1.7;
}
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.gold-divider .line {
  height: 1px;
  width: 4rem;
  background: linear-gradient(to right, transparent, hsl(40 60% 50% / 0.6));
}
.gold-divider .line.right {
  background: linear-gradient(to left, transparent, hsl(40 60% 50% / 0.6));
}
.gold-divider .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: hsl(40 60% 50% / 0.8);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  box-shadow: 0 1px 2px hsl(220 25% 15% / 0.05);
  transition: all 0.5s ease;
}
.feature-card:hover {
  border-color: hsl(40 70% 42% / 0.6);
  box-shadow: 0 4px 12px hsl(220 25% 15% / 0.08);
}
.feature-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}
.feature-card:hover svg { transform: scale(1.1); }
.feature-card .label {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
@media (min-width: 768px) {
  .feature-card .label { font-size: 1rem; }
}
.feature-card .desc {
  font-size: 0.75rem;
  color: var(--muted-text);
}
@media (min-width: 768px) {
  .feature-card .desc { font-size: 0.875rem; }
}

.brands-closing { text-align: center; }
.brands-closing > * + * { margin-top: 1rem; }
.brands-closing .decorated {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.brands-closing .decorated span {
  color: hsl(40 60% 50% / 0.6);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.brands-closing .decorated .line {
  height: 1px;
  flex: 1;
  max-width: 100px;
}
.brands-closing .decorated .line.left {
  background: linear-gradient(to right, transparent, hsl(40 60% 50% / 0.4));
}
.brands-closing .decorated .line.right {
  background: linear-gradient(to left, transparent, hsl(40 60% 50% / 0.4));
}
.brands-closing p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--muted-text);
  line-height: 1.7;
}
.brands-closing .final {
  font-size: clamp(1.125rem, 1.75vw, 1.25rem);
  color: var(--text-color);
  padding-top: 1.5rem;
}

/* ================================================
   SECTION 5: VIDEO (redesigned)
   ================================================ */
.video-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0 4rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .video-section { padding: 5rem 0; }
}
.video-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 60%;
  background: hsl(40 60% 50% / 0.05);
  filter: blur(120px);
  pointer-events: none;
}
.video-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .video-inner { padding: 0 1.5rem; }
}

.video-header {
  text-align: center;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .video-header { margin-bottom: 3rem; }
}
.video-header .eyebrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.video-header .eyebrow-wrap .line {
  height: 1px;
  width: 3rem;
}
.video-header .eyebrow-wrap .line.left {
  background: linear-gradient(to right, transparent, hsl(40 60% 50% / 0.6));
}
.video-header .eyebrow-wrap .line.right {
  background: linear-gradient(to left, transparent, hsl(40 60% 50% / 0.6));
}
.video-header .eyebrow-wrap span {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.video-header h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-color);
}

/* Main video with decorative corners */
.main-video-wrap {
  position: relative;
}
.main-video-wrap .corner {
  position: absolute;
  width: 2rem;
  height: 2rem;
  z-index: 20;
  pointer-events: none;
  border-color: hsl(40 60% 50% / 0.6);
}
.main-video-wrap .corner.tl { top: -0.5rem; left: -0.5rem; border-top: 2px solid; border-left: 2px solid; }
.main-video-wrap .corner.tr { top: -0.5rem; right: -0.5rem; border-top: 2px solid; border-right: 2px solid; }
.main-video-wrap .corner.bl { bottom: -0.5rem; left: -0.5rem; border-bottom: 2px solid; border-left: 2px solid; }
.main-video-wrap .corner.br { bottom: -0.5rem; right: -0.5rem; border-bottom: 2px solid; border-right: 2px solid; }

.main-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  cursor: pointer;
  outline: 1px solid hsl(40 60% 50% / 0.2);
}
.main-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}
.main-video:hover img { transform: scale(1.05); }
.main-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.play-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.4));
  transition: opacity 0.3s;
}
.main-video:hover .play-overlay-gradient {
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.4));
}

.play-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-button-group {
  position: relative;
}
.play-button-group .ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
}
.play-button-group .ring.ring1 { border: 1px solid hsl(40 60% 50% / 0.4); animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; }
.play-button-group .ring.ring2 { border: 1px solid hsl(40 60% 50% / 0.2); animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite; animation-delay: 0.5s; }

.play-button {
  position: relative;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,20,30,0.3);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  animation: glow-pulse 2.5s ease-in-out infinite;
}
@media (min-width: 768px) {
  .play-button { width: 7rem; height: 7rem; }
}
.main-video:hover .play-button {
  transform: scale(1.1);
  border-color: var(--gold-light);
  background: rgba(20,20,30,0.5);
}
.play-button svg {
  width: 2rem;
  height: 2rem;
  color: var(--gold);
  margin-left: 0.25rem;
  transition: color 0.3s;
}
@media (min-width: 768px) {
  .play-button svg { width: 3rem; height: 3rem; }
}
.main-video:hover .play-button svg { color: var(--gold-light); }

/* Video info at bottom */
.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 10;
}
@media (min-width: 768px) {
  .video-info { padding: 2rem; }
}
.video-info .info-text {
  max-width: 80%;
}
.video-info .row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.video-info .label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: hsl(38 75% 65%);
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 4px hsl(220 20% 8% / 0.6);
}
.video-info .title {
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  color: white;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px hsl(220 20% 8% / 0.6);
}
.video-info .subtitle {
  font-size: clamp(0.875rem, 1.25vw, 1rem);
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 6px hsl(220 20% 8% / 0.6);
}
.video-info .number {
  display: none;
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  font-size: 3rem;
  opacity: 0.8;
  font-family: 'Quentin', 'Playfair Display', cursive;
  background: linear-gradient(135deg, hsl(48 100% 88%), hsl(45 95% 78%), hsl(42 90% 70%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
@media (min-width: 768px) {
  .video-info .number { display: block; }
}

/* Video thumbnails */
.video-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .video-thumbs { gap: 1.5rem; margin-top: 2.5rem; }
}
.video-thumb {
  position: relative;
  text-align: left;
  transition: all 0.5s ease;
  transform: scale(0.95);
}
.video-thumb.active { transform: scale(1); }
.video-thumb:hover { transform: scale(1); }

.video-thumb .thumb-img {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 0.375rem;
  overflow: hidden;
  transition: all 0.5s ease;
  border: 1px solid var(--border-color);
  opacity: 0.6;
}
.video-thumb:hover .thumb-img { opacity: 1; }
.video-thumb.active .thumb-img {
  border: 2px solid var(--gold);
  box-shadow: 0 20px 25px -5px hsl(40 60% 50% / 0.3);
  opacity: 1;
}
.video-thumb .thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.video-thumb:hover .thumb-img img { transform: scale(1.1); }

.video-thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,20,30,0.5);
  transition: background 0.5s;
}
.video-thumb:hover .thumb-overlay { background: rgba(20,20,30,0.3); }
.video-thumb.active .thumb-overlay {
  background: linear-gradient(to top, rgba(20,20,30,0.7), transparent);
}

.video-thumb .thumb-number {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 1.125rem;
  color: rgba(250, 245, 230, 0.6);
  font-family: 'Quentin', 'Playfair Display', cursive;
  transition: all 0.3s;
}
@media (min-width: 768px) {
  .video-thumb .thumb-number { font-size: 1.25rem; }
}
.video-thumb.active .thumb-number {
  background: linear-gradient(135deg, hsl(48 100% 88%), hsl(45 95% 78%), hsl(42 90% 70%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.video-thumb .now-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: none;
  align-items: center;
  gap: 0.375rem;
  background: rgba(20,20,30,0.7);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}
.video-thumb.active .now-badge { display: flex; }
.video-thumb .now-badge .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--gold);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.video-thumb .now-badge .text {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.video-thumb .mini-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(40 60% 50% / 0.6);
  background: rgba(20,20,30,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
@media (min-width: 768px) {
  .video-thumb .mini-play { width: 3rem; height: 3rem; }
}
.video-thumb:hover .mini-play,
.video-thumb.active .mini-play {
  transform: translate(-50%, -50%) scale(1);
  border-color: var(--gold);
  background: rgba(20,20,30,0.4);
}
.video-thumb .mini-play svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--gold);
  margin-left: 0.125rem;
}
@media (min-width: 768px) {
  .video-thumb .mini-play svg { width: 1rem; height: 1rem; }
}

.video-thumb .caption {
  display: none;
  margin-top: 0.75rem;
}
@media (min-width: 768px) {
  .video-thumb .caption { display: block; }
}
.video-thumb .caption .label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted-text);
  transition: color 0.3s;
}
.video-thumb:hover .caption .label { color: var(--text-color); }
.video-thumb.active .caption .label { color: var(--gold); }

.video-thumb .caption .subtitle {
  font-size: 0.875rem;
  margin-top: 0.125rem;
  color: var(--muted-text);
  transition: color 0.3s;
}
.video-thumb:hover .caption .subtitle { color: var(--text-color); }
.video-thumb.active .caption .subtitle { color: var(--text-color); }


/* ================================================
   SECTION 7: GALLERY CAROUSEL (redesigned)
   ================================================ */
.gallery-section { position: relative; }
.gallery-carousel {
  position: relative;
  overflow: hidden;
}
.gallery-slide {
  display: none;
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.gallery-slide.active { display: block; }

.gallery-slide .bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease-out;
  transform: scale(1);
}
.gallery-slide.active .bg-img { transform: scale(1.1); }
.gallery-slide .bg-img-desktop { display: none; }
@media (min-width: 768px) {
  .gallery-slide .bg-img-mobile { display: none; }
  .gallery-slide .bg-img-desktop { display: block; }
}

/* Cinematic gradient overlays - lighter to keep images brighter (v7) */
.gallery-slide .grad-base {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.gallery-slide .grad-vertical {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent 50%, rgba(0,0,0,0.42));
  pointer-events: none;
}
.gallery-slide .grad-horizontal {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.gallery-slide.even .grad-horizontal {
  background: linear-gradient(to right, rgba(0,0,0,0.36), transparent 50%, transparent);
}
.gallery-slide.odd .grad-horizontal {
  background: linear-gradient(to left, rgba(0,0,0,0.36), transparent 50%, transparent);
}

/* Slide counter (top right) */
.gallery-slide .counter {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.85);
}
@media (min-width: 768px) {
  .gallery-slide .counter { top: 2.5rem; right: 3rem; gap: 0.75rem; }
}
.gallery-slide .counter .now {
  font-size: 1.25rem;
  font-family: 'Quentin', 'Playfair Display', cursive;
  background: linear-gradient(135deg, hsl(48 100% 88%), hsl(45 95% 78%), hsl(42 90% 70%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (min-width: 768px) {
  .gallery-slide .counter .now { font-size: 2.25rem; }
}
.gallery-slide .counter .line {
  height: 1px;
  width: 2rem;
  background: hsl(38 75% 55% / 0.7);
}
@media (min-width: 768px) {
  .gallery-slide .counter .line { width: 4rem; }
}
.gallery-slide .counter .total {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-shadow: 0 1px 4px hsl(220 20% 8% / 0.6);
}
@media (min-width: 768px) {
  .gallery-slide .counter .total { font-size: 0.875rem; letter-spacing: 0.15em; }
}

.gallery-slide-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-end;
}
@media (min-width: 768px) {
  .gallery-slide-inner { padding: 0 3rem; align-items: center; }
}
.gallery-slide.even .gallery-slide-inner { justify-content: flex-start; }
.gallery-slide.odd .gallery-slide-inner { justify-content: flex-end; }

.gallery-slide-content {
  max-width: 36rem;
  transition: all 1s ease-out;
  opacity: 0;
  transform: translateY(3rem);
  filter: blur(4px);
  margin-bottom: 30%;
}
@media (min-width: 768px) {
  .gallery-slide-content { margin-bottom: 0; }
}
.gallery-slide.active .gallery-slide-content {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.gallery-slide .decorative-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  transition: opacity 1s ease 0.2s;
  opacity: 0;
}
.gallery-slide.active .decorative-line { opacity: 1; }
.gallery-slide .decorative-line .line {
  height: 1px;
  width: 3rem;
  background: linear-gradient(to right, hsl(38 75% 60%), transparent);
}
@media (min-width: 768px) {
  .gallery-slide .decorative-line .line { width: 6rem; }
}
.gallery-slide .decorative-line .moment {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: hsl(38 75% 65%);
  text-shadow: 0 1px 4px hsl(220 20% 8% / 0.6);
}
@media (min-width: 768px) {
  .gallery-slide .decorative-line .moment {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
  }
}

.gallery-slide .wonderful {
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateX(-2rem);
  transition: all 1s ease 0.3s;
}
@media (min-width: 768px) {
  .gallery-slide .wonderful { margin-bottom: 1rem; }
}
.gallery-slide.active .wonderful {
  opacity: 1;
  transform: translateX(0);
  animation: float 3s ease-in-out infinite 1.3s;
}
.gallery-slide .wonderful .gold-shimmer-on-image {
  font-size: 3.5rem;
  line-height: 0.88;
}
@media (min-width: 640px) {
  .gallery-slide .wonderful .gold-shimmer-on-image { font-size: 3.75rem; }
}
@media (min-width: 768px) {
  .gallery-slide .wonderful .gold-shimmer-on-image { font-size: 6rem; }
}

.gallery-slide .text {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 300;
  color: white;
  text-shadow: 0 2px 8px hsl(220 20% 8% / 0.7);
  opacity: 0;
  transform: translateY(1.5rem);
  transition: all 1s ease 0.5s;
}
@media (min-width: 640px) {
  .gallery-slide .text { font-size: 1.125rem; }
}
@media (min-width: 768px) {
  .gallery-slide .text { font-size: 1.5rem; line-height: 1.7; }
}
.gallery-slide.active .text {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery controls */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(20,20,30,0.3);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(40 60% 50% / 0.4);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
@media (min-width: 768px) {
  .gallery-btn { width: 3.5rem; height: 3.5rem; }
}
.gallery-btn:hover {
  background: rgba(20,20,30,0.6);
  color: var(--gold-light);
  transform: translateY(-50%) scale(1.1);
}
.gallery-btn.prev { left: 1rem; }
.gallery-btn.next { right: 1rem; }
@media (min-width: 768px) {
  .gallery-btn.prev { left: 2rem; }
  .gallery-btn.next { right: 2rem; }
}
.gallery-btn svg { width: 1.5rem; height: 1.5rem; }

/* Progress bar + dots */
.gallery-controls {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem;
}
.gallery-progress {
  width: 100%;
  max-width: 28rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.gallery-progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--gold-light), white);
  transition: width 0.1s linear;
  width: 0%;
}
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.gallery-dot {
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.5s;
}
.gallery-dot:hover { background: rgba(255, 255, 255, 0.8); }
.gallery-dot.active {
  width: 2.5rem;
  background: var(--gold-light);
}

/* ================================================
   SECTION 8: PROJECT LISTING (redesigned)
   ================================================ */
.projects-section {
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 400px;
  background: hsl(40 60% 50% / 0.05);
  filter: blur(120px);
  pointer-events: none;
}
.projects-inner {
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
}
.projects-header {
  text-align: center;
  margin-bottom: 3rem;
}
.projects-header .eyebrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.projects-header .eyebrow-wrap .line {
  height: 1px;
  width: 3rem;
}
.projects-header .eyebrow-wrap .line.left {
  background: linear-gradient(to right, transparent, hsl(40 60% 50% / 0.6));
}
.projects-header .eyebrow-wrap .line.right {
  background: linear-gradient(to left, transparent, hsl(40 60% 50% / 0.6));
}
.projects-header .eyebrow-wrap span {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.projects-header h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  color: var(--text-color);
  margin-bottom: 1rem;
}
.projects-header .subtext {
  font-size: clamp(0.875rem, 1.25vw, 1rem);
  color: var(--muted-text);
  max-width: 36rem;
  margin: 0 auto;
}

.location-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.loc-tab {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--muted-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .loc-tab { padding: 0.5rem 1.25rem; }
}
.loc-tab:hover {
  border-color: hsl(40 60% 50% / 0.5);
  color: var(--text-color);
  background: var(--card-bg);
}
.loc-tab.active {
  background: var(--gold);
  color: var(--primary-foreground);
  border-color: var(--gold);
  box-shadow: 0 10px 15px -3px hsl(40 60% 50% / 0.3);
  transform: scale(1.05);
}
.loc-tab .count {
  font-size: 10px;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  background: hsl(40 20% 92%);
  color: var(--muted-text);
  transition: all 0.3s;
}
.loc-tab.active .count {
  background: hsl(0 0% 100% / 0.25);
  color: white;
}
.loc-tab:hover .count {
  background: hsl(40 70% 42% / 0.1);
  color: var(--gold);
}

.status-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.75rem;
  color: var(--muted-text);
}
.status-legend .item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.status-legend .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
}
.status-legend .dot.new-dot {
  background: #ef4444;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.status-legend .dot.coming-soon-dot {
  background: #f59e0b;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.status-legend .dot.ready-dot { background: #10b981; }
.status-legend .divider-line {
  height: 0.75rem;
  width: 1px;
  background: var(--border-color);
}
.status-legend .count {
  color: var(--text-color);
  font-weight: 500;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .project-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  box-shadow: 0 1px 2px hsl(220 25% 15% / 0.05);
  transition: all 0.5s ease;
}
.project-card:hover {
  border-color: hsl(40 70% 42% / 0.6);
  box-shadow: 0 25px 50px -12px hsl(40 70% 42% / 0.15), 0 4px 12px hsl(220 25% 15% / 0.1);
  transform: translateY(-0.25rem);
}

.project-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface-elevated);
  overflow: hidden;
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.project-card:hover .project-card-image img { transform: scale(1.1); }

.project-card-image .gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3) 50%, transparent);
  opacity: 0.9;
  transition: opacity 0.5s;
  pointer-events: none;
}
.project-card:hover .project-card-image .gradient-overlay { opacity: 0.75; }

.project-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
  color: white;
  border: 1px solid;
}
.project-badge.new {
  background: rgba(220, 38, 38, 0.9);
  border-color: rgba(248, 113, 113, 0.5);
}
.project-badge.ready {
  background: rgba(5, 150, 105, 0.9);
  border-color: rgba(52, 211, 153, 0.5);
}
.project-badge .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: white;
}
.project-badge.new .dot { animation: pulse-dot 1.5s ease-in-out infinite; }
.project-badge.coming-soon {
  background: rgba(245, 158, 11, 0.9);
  border-color: rgba(251, 191, 36, 0.5);
}
.project-badge.coming-soon .dot { animation: pulse-dot 1.5s ease-in-out infinite; }

/* Hover overlay with view button */
.project-hover-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(1rem);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: hsl(40 70% 42% / 0.95);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
  opacity: 0;
  transition: all 0.5s;
  pointer-events: none;
  z-index: 10;
}
.project-card:hover .project-hover-btn {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.project-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  z-index: 10;
}
.project-title-overlay h3 {
  font-size: 0.875rem;
  line-height: 1.2;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  transition: color 0.3s;
}
@media (min-width: 768px) {
  .project-title-overlay h3 { font-size: 1rem; }
}
.project-card:hover .project-title-overlay h3 { color: var(--gold-light); }

.project-footer {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid hsl(220 15% 20% / 0.4);
}
.project-footer .location {
  font-size: 11px;
  color: var(--muted-text);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.project-footer .see-more {
  font-size: 0.75rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.3s;
}
.project-card:hover .project-footer .see-more { gap: 0.5rem; }
.project-footer .see-more svg {
  width: 0.75rem;
  height: 0.75rem;
  transition: transform 0.3s;
}
.project-card:hover .project-footer .see-more svg { transform: translateX(0.25rem); }

/* ================================================
   SECTION 9: CLOSING
   ================================================ */
.closing {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.closing-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.closing-bg-mobile { background-attachment: scroll; }
.closing-bg-desktop { background-attachment: fixed; display: none; }
@media (min-width: 769px) {
  .closing-bg-mobile { display: none; }
  .closing-bg-desktop { display: block; }
}
.closing-inner {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.25rem;
  max-width: 20rem;
}
@media (min-width: 768px) {
  .closing-inner {
    padding: 0 1.5rem;
    max-width: 64rem;
  }
}
.closing-inner .inner > * + * { margin-top: 1rem; }
@media (min-width: 768px) {
  .closing-inner .inner > * + * { margin-top: 1.5rem; }
}
.closing-inner .big {
  font-size: 2rem;
  line-height: 1.2;
  color: white;
  text-shadow: 0 2px 12px hsl(220 20% 8% / 0.6);
}
@media (min-width: 640px) {
  .closing-inner .big { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .closing-inner .big { font-size: 3rem; }
}
.closing-inner .big .gold-shimmer-on-image {
  font-size: 3.75rem;
  line-height: 0.9;
  margin-top: 0.5rem;
  display: block;
}
@media (min-width: 640px) {
  .closing-inner .big .gold-shimmer-on-image { font-size: 3.75rem; }
}
@media (min-width: 768px) {
  .closing-inner .big .gold-shimmer-on-image {
    font-size: 4.5rem;
    margin-top: 0;
    display: inline-block;
  }
}
.closing-inner .sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px hsl(220 20% 8% / 0.4);
}
@media (min-width: 640px) {
  .closing-inner .sub { font-size: 1.25rem; }
}
@media (min-width: 768px) {
  .closing-inner .sub { font-size: 1.5rem; }
}
.closing-inner .sub .brand {
  letter-spacing: 0.08em;
  color: white;
  text-shadow: 0 1px 3px hsl(220 20% 8% / 0.4);
}
.closing-inner .sub .white-text {
  text-shadow: 0 1px 3px hsl(220 20% 8% / 0.4);
}
@media (min-width: 768px) {
  .closing-inner .sub .brand { letter-spacing: 0.1em; }
}

/* ===== Scrollbar (light theme) ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: hsl(40 20% 94%); }
::-webkit-scrollbar-thumb {
  background: hsl(40 65% 45% / 0.4);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: hsl(40 65% 45% / 0.6); }

/* ================================================
   SKY EFFECTS (v5) — Twinkling stars + glow
   ================================================ */

/* Twinkling stars - softened for light theme (warm gold sparkle) */
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50%      { opacity: 0.55; transform: scale(1.2); }
}

.star {
  position: absolute;
  background: hsl(40 70% 55%);
  border-radius: 50%;
  box-shadow: 0 0 6px hsl(40 80% 60% / 0.5), 0 0 12px hsl(40 70% 50% / 0.25);
  animation: twinkle ease-in-out infinite;
  pointer-events: none;
}

/* Soft sky glow drifting */
@keyframes sky-drift {
  0%, 100% { opacity: 0.5; transform: translate(0, 0) scale(1); }
  50%      { opacity: 0.8; transform: translate(2%, -2%) scale(1.05); }
}

.sky-glow {
  animation: sky-drift 12s ease-in-out infinite;
  pointer-events: none;
}

/* Sky effects container */
.sky-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Starlight ambient glow — soft warm tint for light theme */
.starlight-bg {
  position: relative;
}
.starlight-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 25% 20%, hsl(40 70% 60% / 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 80%, hsl(40 60% 55% / 0.06) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, hsl(40 50% 50% / 0.04) 0%, transparent 70%);
  animation: sky-drift 16s ease-in-out infinite;
}

/* Ensure sections with sky effects have correct z-index stacking */
.starlight-bg > * {
  position: relative;
  z-index: 2;
}
.starlight-bg > .sky-effects {
  z-index: 1;
}

/* ================================================
   v8: GALLERY CLOSING TEXT
   ================================================ */
.gallery-closing-text {
  padding: 4rem 1.5rem;
  text-align: center;
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
}
.gallery-closing-text p {
  position: relative;
  z-index: 10;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--text-color);
  line-height: 1.7;
}
.gallery-closing-text .closing-word {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-style: italic;
}
.gallery-closing-text .faded {
  opacity: 0.8;
}

/* ================================================
   v8: ABOUT BOTTOM (decorated line + description)
   ================================================ */
.about-bottom {
  margin-top: 3rem;
}
.about-decorated {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.about-decorated .line {
  height: 1px;
  width: 6rem;
}
@media (min-width: 768px) {
  .about-decorated .line { width: 8rem; }
}
.about-decorated .line.left {
  background: linear-gradient(to right, transparent, hsl(40 70% 42% / 0.6));
}
.about-decorated .line.right {
  background: linear-gradient(to left, transparent, hsl(40 70% 42% / 0.6));
}
.about-decorated .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: hsl(40 70% 42% / 0.8);
}
.about-description {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--muted-text);
  line-height: 1.8;
  max-width: 42rem;
  margin: 0 auto;
}

/* ================================================
   v9: Hero/Closing 3-line layout (white text + Quentin font for Wonderful)
   ================================================ */

/* Hero — 3 บรรทัด */
.hero-line1 {
  font-size: 2rem;
  line-height: 1.2;
  color: white;
  text-shadow: 0 2px 12px hsl(220 20% 8% / 0.6);
}
@media (min-width: 640px) { .hero-line1 { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero-line1 { font-size: 3rem; } }

.hero-wonderful {
  font-size: 3.75rem;
  line-height: 1.08;
  color: white;
  font-family: 'Quentin', 'Playfair Display', cursive;
  font-style: normal;
  text-shadow: 0 2px 12px hsl(220 20% 8% / 0.6);
}
@media (min-width: 640px) { .hero-wonderful { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero-wonderful { font-size: 4.5rem; } }

.hero-line3 {
  font-size: 2rem;
  line-height: 1.2;
  color: white;
  font-family: 'Prompt', sans-serif;
  text-shadow: 0 2px 12px hsl(220 20% 8% / 0.6);
}
@media (min-width: 640px) { .hero-line3 { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero-line3 { font-size: 3rem; } }

/* Closing — 3 บรรทัด เหมือน hero แต่ shadow เบากว่า (v10) */
.closing-line1,
.closing-line3 {
  font-size: 2rem;
  line-height: 1.2;
  color: white;
  text-shadow: 0 1px 4px hsl(220 20% 8% / 0.45);
}
.closing-line3 {
  font-family: 'Prompt', sans-serif;
}
@media (min-width: 640px) {
  .closing-line1, .closing-line3 { font-size: 2.25rem; }
}
@media (min-width: 768px) {
  .closing-line1, .closing-line3 { font-size: 3rem; }
}

.closing-wonderful {
  font-size: 3.75rem;
  line-height: 1.08;
  color: white;
  font-family: 'Quentin', 'Playfair Display', cursive;
  font-style: normal;
  text-shadow: 0 1px 4px hsl(220 20% 8% / 0.45);
}
@media (min-width: 768px) { .closing-wonderful { font-size: 4.5rem; } }

/* white-text (สำหรับ คอนโด SUPALAI) */
.white-text {
  color: white;
  text-shadow: 0 2px 8px hsl(220 20% 8% / 0.6);
}

/* wonderful-white (Gallery slides Wonderful) */
.wonderful-white {
  font-size: 3.5rem;
  line-height: 1.08;
  color: white;
  font-family: 'Quentin', 'Playfair Display', cursive;
  font-style: normal;
  text-shadow: 0 2px 12px hsl(220 20% 8% / 0.6);
  display: inline-block;
}
@media (min-width: 640px) { .wonderful-white { font-size: 3.75rem; } }
@media (min-width: 768px) { .wonderful-white { font-size: 6rem; } }

/* v11: Gallery closing text mobile font ใหญ่ขึ้น (text-lg / text-xl) */
.gallery-closing-text p {
  font-size: 1.125rem;
}
.gallery-closing-text .closing-word {
  font-size: 1.25rem;
}
@media (min-width: 768px) {
  .gallery-closing-text p { font-size: 1.5rem; }
  .gallery-closing-text .closing-word { font-size: 1.875rem; }
}

/* ================================================
   v12: Language Toggle (TH/EN)
   ================================================ */
.language-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid hsl(40 70% 42% / 0.4);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 9999px;
}
@media (min-width: 768px) {
  .language-toggle {
    top: 1.5rem;
    right: 1.5rem;
  }
}
.language-toggle button {
  height: 2rem;
  min-width: 2rem;
  padding: 0 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted-text);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: none;
}
@media (min-width: 768px) {
  .language-toggle button {
    height: 2.25rem;
    min-width: 2.25rem;
    font-size: 0.875rem;
  }
}
.language-toggle button:hover {
  color: var(--text-color);
}
.language-toggle button.active {
  background: hsl(40 70% 42% / 0.18);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

/* ================================================
   v12: Video Coming Soon
   ================================================ */
/* Big "Coming Soon" badge ที่กลางวิดีโอหลัก */
.coming-soon-badge {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--gold-light);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 9999px;
}
@media (min-width: 768px) {
  .coming-soon-badge {
    padding: 1rem 2.5rem;
  }
}
.coming-soon-badge span {
  font-size: 0.875rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}
@media (min-width: 768px) {
  .coming-soon-badge span {
    font-size: 1.125rem;
  }
}

/* "Coming Soon" mini ที่ thumbnail */
.mini-coming-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.25rem 0.625rem;
  border: 1px solid hsl(38 75% 55% / 0.8);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 9999px;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}
@media (min-width: 768px) {
  .mini-coming-soon {
    padding: 0.375rem 0.75rem;
    font-size: 10px;
  }
}

/* ห้ามคลิก video หลักถ้าเป็น coming soon */
.main-video.coming-soon {
  cursor: not-allowed;
}
.video-thumb.coming-soon {
  opacity: 0.85;
}
