/* Sovereign Gold — lightweight design system (PHP 5.6 template) */
:root{
  --bg:#0b0b0f;
  --panel:#111119;
  --panel2:#0f0f16;
  --text:#f5f5f7;
  --muted:rgba(245,245,247,.72);
  --line:rgba(255,255,255,.10);
  --gold1:#d6b56e;
  --gold2:#b38a39;
  --gold3:#8f6a2a;
  --gold4:#fff1c9;
  --gold_grad: linear-gradient(90deg, var(--gold4) 0%, var(--gold1) 18%, var(--gold2) 50%, var(--gold3) 82%, var(--gold4) 100%);
  --gold_grad_soft: linear-gradient(90deg, rgba(255,241,201,.92), rgba(214,181,110,.92) 45%, rgba(143,106,42,.92));
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 0%, rgba(214,181,110,.15), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(179,138,57,.10), transparent 55%),
              var(--bg);
  background-size: 140% 140%, 160% 160%, auto;
  background-position: 12% 0%, 92% 10%, 0 0;
  background-attachment: fixed;
  color:var(--text);
  line-height:1.6;
}

@media (prefers-reduced-motion: no-preference){
  body{animation: ambience 18s ease-in-out infinite alternate;}
}
@keyframes ambience{
  from{background-position: 10% 0%, 90% 10%, 0 0;}
  to{background-position: 14% 6%, 86% 14%, 0 0;}
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%;height:auto;display:block}
.container{max-width:1120px;margin:0 auto;padding:0 20px}
.small{font-size:.92rem}
.center{text-align:center}

.skip{
  position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden;
}
.skip:focus{left:16px;top:16px;width:auto;height:auto;padding:10px 12px;background:#000;border:1px solid var(--line);border-radius:10px;z-index:999}

.site-header{
  position:sticky;top:0;z-index:50;
  background: rgba(11,11,15,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header-row{display:flex;align-items:center;gap:16px;min-height:72px}
.brand{
  font-family:"Playfair Display", serif;
  font-weight:700;
  letter-spacing:.2px;
  font-size:1.35rem;
}
.brand span{
  background: linear-gradient(135deg, var(--gold1), var(--gold2));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.nav{display:flex;gap:10px;margin-left:auto}
.header-actions{display:flex;align-items:center;gap:10px;margin-left:6px}
@media (max-width: 920px){ .header-actions{display:none} }

.nav-link{
  padding:10px 12px;border-radius:999px;
  color:var(--muted);
  border:1px solid transparent;
}
.nav-link.is-active{color:var(--text);border-color:var(--line);background:rgba(255,255,255,.05)}

.nav-toggle{
  display:none;
  margin-left:auto;
  width:42px;height:42px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  padding:0;
  cursor:pointer;

  /* hamburger layout */
  display:none;                 /* keep hidden by default (desktop) */
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
	
  /* ✨ เพิ่มตรงนี้ */
  box-shadow: inset 0 0 0 1px rgba(214,181,110,.10),
              0 12px 30px rgba(0,0,0,.35);
}

.nav-toggle__bar{
  width:20px;
  height:2px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--gold4), var(--gold1), var(--gold2), var(--gold3));
  box-shadow: 0 0 12px rgba(214,181,110,.28);
  transition: transform .18s ease, opacity .18s ease;
}

/* optional: animate to X when menu open */
body.nav-open .nav-toggle__bar:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle__bar:nth-child(2){
  opacity:0;
}
body.nav-open .nav-toggle__bar:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu backdrop (hidden by default) */
.nav-backdrop{ display:none; }

@media (max-width: 920px){
  .nav{display:none}
  .nav-toggle{display:flex}
  body.nav-open{ overflow:hidden; }
  body.nav-open .nav{
    display:flex;
    position:fixed;inset:72px 12px 12px 12px;
    flex-direction:column;
    background:rgba(17,17,25,.98);
    border:1px solid var(--line);
    border-radius:16px;
    padding:10px;
    box-shadow:var(--shadow);
    z-index:2; /* above page content */
    max-height: calc(100vh - 84px);
    overflow:auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Keep header row and toggle above the backdrop */
  .header-row{ position:relative; z-index:3; }

  /* Dim/blur the page behind the open menu */
  .nav-backdrop{
    position:fixed;
    inset:0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    border:0;
    padding:0;
    margin:0;
    z-index:1;
  }
  body.nav-open .nav-backdrop{ display:block; }
}

.hero{padding:62px 0 20px}
.hero-grid{
  display:grid;grid-template-columns: 1.2fr .8fr;gap:26px;align-items:stretch;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
}

.kicker{color:var(--muted);text-transform:uppercase;letter-spacing:.12em;font-size:.82rem;margin:0 0 10px}
.h1{
  font-family:"Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height:1.08;
  margin:0 0 12px;
}
.h2{
  font-family:"Playfair Display", serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin:0 0 10px;
}
.h3{
  font-size:1.05rem;margin:0 0 8px;
}

/* --- luxury gold gradient headings --- */
.title-gold{ color: var(--gold1); }
@supports (-webkit-background-clip:text) or (background-clip:text){
  .title-gold{
    background: var(--gold_grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.hero .title-gold.title-shine,
.page-hero .title-gold.title-shine{
  background-size: 220% 100%;
  animation: goldShimmer 12s linear infinite;
}
@keyframes goldShimmer{
  0%{background-position: 0% 50%;}
  100%{background-position: 200% 50%;}
}
@media (prefers-reduced-motion: reduce){
  .hero .title-gold.title-shine,
.page-hero .title-gold.title-shine{ animation:none; }
}

/* optional subtle facet sparkle on reveal */
.reveal.is-in .title-gold.sparkle-on{
  position: relative;
}
.reveal.is-in .title-gold.sparkle-on::after{
  content:"";
  position:absolute;
  inset:-6px -10px;
  pointer-events:none;
  background:
    radial-gradient(circle at 12% 30%, rgba(255,241,201,.35), rgba(255,241,201,0) 45%),
    radial-gradient(circle at 88% 40%, rgba(214,181,110,.28), rgba(214,181,110,0) 55%),
    radial-gradient(circle at 60% 80%, rgba(143,106,42,.18), rgba(143,106,42,0) 55%);
  mix-blend-mode: screen;
  filter: blur(2px);
  opacity: .65;
  animation: sparkleFade 1.6s ease-out both;
}
@keyframes sparkleFade{
  0%{opacity:0; transform: translateY(6px) scale(.98);}
  100%{opacity:.65; transform: translateY(0) scale(1);}
}
@media (prefers-reduced-motion: reduce){
  .reveal.is-in .title-gold.sparkle-on::after{ animation:none; }
}


.lead{color:var(--muted);font-size:1.05rem;margin:0 0 18px;max-width:52ch}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-weight:600;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.btn-primary{
  border-color: rgba(214,181,110,.35);
  background: linear-gradient(135deg, rgba(214,181,110,.20), rgba(179,138,57,.15));
}
.btn-ghost{background:transparent}
.btn-block{width:100%}
.btn-small{padding:10px 14px;font-size:.95rem}
.cta-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.badges{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
@media (max-width: 920px){ .badges{grid-template-columns:1fr} }
.badge{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:16px;
  padding:12px 12px;
}
.badge-title{font-weight:700}
.badge-sub{color:var(--muted);font-size:.92rem}

.hero-card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.hero-media{
  padding:18px 18px 0;
  background: radial-gradient(520px 250px at 50% 0%, rgba(214,181,110,.20), transparent 60%),
              rgba(255,255,255,.02);
}
.hero-card-body{padding:18px}
.hero-card-title{font-weight:800;margin-bottom:10px}
.steps{margin:0 0 14px;padding-left:18px;color:var(--muted)}
.steps li{margin:6px 0}

.section{padding:44px 0;position:relative;overflow:hidden}
.section-alt{
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.03), transparent);
  border-top:1px solid rgba(255,255,255,.04);
  border-bottom:1px solid rgba(255,255,255,.04);
}

/* Subtle gold light sweep per section (triggered by JS adding .is-lit) */
.section::before{
  content:"";
  position:absolute;
  left:-35%;
  top:0;
  width:70%;
  height:2px;
  background: linear-gradient(90deg, transparent, rgba(214,181,110,.85), transparent);
  opacity:0;
  transform: translateX(-20%);
  filter: blur(.2px);
  pointer-events:none;
}
.section::after{
  content:"";
  position:absolute;
  inset:-80px -40px auto -40px;
  height:220px;
  background: radial-gradient(closest-side at 20% 30%, rgba(214,181,110,.20), transparent 70%);
  opacity:0;
  transition: opacity .6s ease;
  pointer-events:none;
}
.section.is-lit::before{
  opacity:.85;
  animation: goldSweep 2.6s ease-out 1;
}
.section.is-lit::after{ opacity:.22; }

@keyframes goldSweep{
  from{ transform: translateX(-55%); }
  to{ transform: translateX(155%); }
}

.section-cta{padding:40px 0 64px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.section-head p{margin:0}
.muted{color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media (max-width: 920px){ .cards{grid-template-columns:1fr} }

.card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:16px;
}

.split{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;align-items:start}
@media (max-width: 920px){ .split{grid-template-columns:1fr} }

.checklist{margin:12px 0 0;padding-left:18px;color:var(--muted)}
.checklist li{margin:8px 0}

.panel{
  border:1px solid rgba(214,181,110,.26);
  background: linear-gradient(135deg, rgba(214,181,110,.08), rgba(255,255,255,.02));
  border-radius: var(--radius);
  padding:16px;
}
.panel-title{font-weight:800;margin-bottom:8px}
.video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}
@media (max-width: 920px){ .video-grid{grid-template-columns:1fr} }
.video-card{
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:rgba(0,0,0,.18);
  position:relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.video-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: linear-gradient(120deg, transparent 0%, rgba(214,181,110,.25) 40%, transparent 70%);
  transform: translateX(-80%);
  opacity:0;
  pointer-events:none;
}
.video-card:hover{
  transform: translateY(-3px);
  border-color: rgba(214,181,110,.35);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.video-card:hover::before{
  opacity:1;
  animation: shine 1.4s ease-out 1;
}
@keyframes shine{
  from{ transform: translateX(-80%); }
  to{ transform: translateX(80%); }
}
.video-thumb{
  height:96px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(214,181,110,.18), rgba(255,255,255,.04));
}
.video-icon{
  width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
  border-radius:999px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.35), inset 0 0 0 1px rgba(214,181,110,.15);
  color: rgba(255,244,220,.92);
  font-weight:800;
}
.video-title{padding:10px;color:var(--muted);font-weight:700}



/* Gallery */
.section-gallery .gallery-actions{margin-top:14px}
.gallery-actions{display:flex;gap:10px;flex-wrap:wrap}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
@media (max-width: 1020px){ .gallery-grid{grid-template-columns:repeat(3,1fr);} }
@media (max-width: 720px){ .gallery-grid{grid-template-columns:repeat(2,1fr);} }
.gallery-item{
  display:block;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  position:relative;
  transform: translateZ(0);
}
.gallery-item img{
  width:100%;
  height:100%;
  aspect-ratio: 1 / 1;
  object-fit:cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
  transition: transform .45s ease, filter .45s ease;
}
.gallery-item::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.55) 100%);
  opacity:.85;
  pointer-events:none;
}
.gallery-item::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: linear-gradient(120deg, transparent 0%, rgba(214,181,110,.24) 45%, transparent 70%);
  transform: translateX(-85%);
  opacity:0;
  pointer-events:none;
}
.gallery-item:hover img{
  transform: scale(1.09);
  filter: saturate(1.12) contrast(1.08);
}
.gallery-item:hover::before{
  opacity:1;
  animation: shine 1.6s ease-out 1;
}
.gallery-cap{
  position:absolute;
  left:10px;
  bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  font-size:.88rem;
  font-weight:700;
  color: rgba(255,244,220,.92);
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

/* TikTok embeds */


/* --- TikTok-style thumbnail grid (Showcase) --- */
.tt-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.tt-card{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor:pointer;
}
.tt-card:hover{
  transform: translateY(-4px);
  border-color: rgba(214,181,110,.26);
  box-shadow: 0 24px 70px rgba(0,0,0,.62);
}
.tt-thumb{
  width:100%;
  aspect-ratio: 9 / 16;
  background-size: cover;
  background-position: center;
  filter: saturate(1.06) contrast(1.02);
}
.tt-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.00) 35%, rgba(0,0,0,.70) 100%);
  pointer-events:none;
}
.tt-meta{
  position:absolute;
  inset:auto 10px 10px 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color: rgba(245,245,247,.92);
  font-size:.92rem;
}
.tt-views{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10,10,14,.55);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.tt-play{
  width: 0; height: 0;
  border-left: 10px solid rgba(255,255,255,.92);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.55));
}
.tt-chip{
  position:absolute;
  top:10px; right:10px;
  width: 34px; height: 34px;
  border-radius: 12px;
  background: rgba(10,10,14,.55);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  display:grid;
  place-items:center;
}
.tt-chip svg{opacity:.9}
.tt-note{
  margin-top:14px;
  color: var(--muted);
  font-size:.95rem;
}

/* Modal player */
.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 1000;
}
.modal.is-open{ display:flex; }
.modal-backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(10px);
}
.modal-panel{
  position:relative;
  width: min(980px, 100%);
  border-radius: 22px;
  overflow:hidden;
  background: rgba(17,17,25,.92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.70);
}
.modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.modal-title{
  font-size:.95rem;
  color: rgba(245,245,247,.88);
}
.modal-close{
  border:0;
  background: transparent;
  color: rgba(245,245,247,.92);
  padding: 8px 10px;
  border-radius: 12px;
  cursor:pointer;
}
.modal-close:hover{ background: rgba(255,255,255,.06); }
.modal-body{
  padding: 14px 16px 18px;
}
.modal-iframe{
  width:100%;
  height: min(72vh, 620px);
  border:0;
  border-radius: 16px;
  background: #000;
}


.tiktok-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media (max-width: 1020px){ .tiktok-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width: 720px){ .tiktok-grid{grid-template-columns:1fr;} }
.tiktok-card{
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  overflow:hidden;
  padding:10px;
}

.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media (max-width: 920px){ .product-grid{grid-template-columns:1fr} }
.product{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:16px;
  display:flex;flex-direction:column;gap:10px;
}
.product-head p{margin:0}
.bullets{margin:0;padding-left:18px;color:var(--muted)}
.product-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}

.cta-box{
  border:1px solid rgba(214,181,110,.26);
  background: radial-gradient(700px 350px at 20% 0%, rgba(214,181,110,.16), transparent 60%),
              rgba(255,255,255,.03);
  border-radius: calc(var(--radius) + 4px);
  padding:18px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
}
@media (max-width: 920px){ .cta-box{flex-direction:column;align-items:stretch} }
.cta-actions{display:flex;gap:10px;flex-wrap:wrap}

.page-hero{padding:52px 0 18px}
.prose{max-width:820px}
.prose p{color:var(--muted)}
.prose li{color:var(--muted)}
.callout{
  border:1px solid rgba(214,181,110,.26);
  background:rgba(214,181,110,.08);
  border-radius: var(--radius);
  padding:14px;
  margin:16px 0;
}
.callout h3{margin:0 0 6px}

.faq{max-width:900px;margin:0 auto;display:grid;gap:10px}
.faq-item{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius: var(--radius);
  overflow:hidden;
}
.faq-q{
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  color:var(--text);
  padding:14px 16px;
  display:flex;align-items:center;justify-content:space-between;
  font-weight:700;
  cursor:pointer;
}
.faq-ico{width:14px;height:14px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin-left:12px}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;padding:0 16px}
.faq-item.open .faq-a{max-height:320px;padding-bottom:14px}
.faq-item.open .faq-ico{transform:rotate(225deg)}
.faq-a p{margin:10px 0 0;color:var(--muted)}

.contact-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:12px;align-items:start}
@media (max-width: 920px){ .contact-grid{grid-template-columns:1fr} }
.form .field{display:grid;gap:6px;margin-bottom:12px}
.form label{color:var(--muted);font-size:.92rem}
.form input,.form select,.form textarea{
  background:rgba(0,0,0,.22);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:14px;
  padding:12px 12px;
  outline:none;
}
.form input:focus,.form select:focus,.form textarea:focus{border-color:rgba(214,181,110,.35)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.alert{
  border-radius:16px;
  padding:12px 14px;
  border:1px solid var(--line);
  margin-bottom:12px;
}
.alert.success{border-color:rgba(90,255,168,.20);background:rgba(90,255,168,.08)}
.alert.error{border-color:rgba(255,90,90,.20);background:rgba(255,90,90,.08)}

.divider{height:1px;background:var(--line);margin:14px 0}
.pad{padding:18px}
.note{margin-top:18px}
.chip{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  font-weight:600;
  font-size:.92rem;
}

.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.chip-gold{
  border-color: rgba(214,181,110,.35);
  background: linear-gradient(135deg, rgba(214,181,110,.26), rgba(179,138,57,.08));
  color: rgba(255,244,220,.92);
}


.site-footer{
  padding:46px 0 60px;
  border-top:1px solid var(--line);
  background:rgba(0,0,0,.15);
}
.footer-grid{display:grid;grid-template-columns:1.3fr .7fr 1fr;gap:16px}
@media (max-width: 920px){ .footer-grid{grid-template-columns:1fr} }
.footer-title{margin:0 0 10px;font-size:1rem}
.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.brand--footer{margin-bottom:8px}

/* ===== Luxury + Motion Enhancements (v2) ===== */

/* Richer background + subtle noise + vignette */
body{
  position:relative;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity:.055;
  mix-blend-mode: overlay;
}
body::after{
  content:"";
  position:fixed;
  inset:-2px;
  pointer-events:none;
  z-index:-1;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(214,181,110,.10), transparent 60%),
    radial-gradient(900px 650px at 100% 20%, rgba(179,138,57,.08), transparent 58%),
    radial-gradient(900px 700px at 0% 35%, rgba(214,181,110,.08), transparent 55%),
    radial-gradient(1200px 900px at 50% 120%, rgba(0,0,0,.85), transparent 60%);
  opacity:.9;
}

/* Desktop side ornaments: diamond pattern panels for extra depth */
.bg-sides{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
}

@media (min-width: 1100px){
  .bg-sides::before,
  .bg-sides::after{
    content:"";
    position:absolute;
    top:0;bottom:0;
    /* Use only the extra side space beyond the 1120px container (prevents overlaying content) */
    width: clamp(0px, calc((100vw - 1120px)/2), 220px);
    opacity:.86;
    background-repeat: no-repeat, no-repeat, repeat;
    background-size: 100% 100%, 100% 100%, 210px 210px;
    background-position: 0 0, 0 0, 0 0;
    filter: saturate(1.14) contrast(1.06) brightness(1.02);
  }

  .bg-sides::before{
    left:0;
    background-image:
      linear-gradient(90deg, rgba(11,11,15,.98) 0%, rgba(11,11,15,.75) 26%, rgba(11,11,15,0) 100%),
      radial-gradient(closest-side at 30% 16%, rgba(214,181,110,.26), transparent 70%),
      url("../img/ui/diamond-faceted.svg");
    box-shadow: inset -1px 0 0 rgba(214,181,110,.10);
  }
  .bg-sides::after{
    right:0;
    background-image:
      linear-gradient(270deg, rgba(11,11,15,.98) 0%, rgba(11,11,15,.75) 26%, rgba(11,11,15,0) 100%),
      radial-gradient(closest-side at 70% 16%, rgba(214,181,110,.26), transparent 70%),
      url("../img/ui/diamond-faceted.svg");
    transform: scaleX(-1);
    box-shadow: inset -1px 0 0 rgba(214,181,110,.10);
  }
}

/* Optional: very slow drift for extra depth (desktop only) */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference){
  .bg-sides::before,
  .bg-sides::after{ animation: sideDrift 18s ease-in-out infinite alternate; }
}
@keyframes sideDrift{
  from{ background-position: 0 0, 0 0, 0 0; }
  to{ background-position: 0 0, 0 0, 56px 72px; }
}

/* Ensure main layers sit above background overlays (without breaking sticky header) */
#main,
.site-footer{ position:relative; z-index:1; }
.site-header{ z-index:50; }

/* Header: more premium glow + bottom hairline */
.site-header{
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;height:1px;
  background: linear-gradient(90deg, transparent, rgba(214,181,110,.35), transparent);
  opacity:.65;
}
body.scrolled .site-header{
  background: rgba(11,11,15,.82);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  border-bottom-color: rgba(255,255,255,.12);
}

/* Nav links: animated underline */
.nav-link{
  position:relative;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.nav-link::after{
  content:"";
  position:absolute;
  left:14px; right:14px; bottom:8px;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(214,181,110,.55), transparent);
  transform: scaleX(.25);
  opacity:0;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-link:hover{color:var(--text);background:rgba(255,255,255,.03);border-color:rgba(214,181,110,.18)}
.nav-link:hover::after{opacity:1;transform: scaleX(1)}
.nav-link.is-active::after{opacity:1;transform: scaleX(1)}

/* Buttons: smoother + shimmer */
.btn{
  position:relative;
  overflow:hidden;
  transition: transform .18s ease, box-shadow .22s ease, background .25s ease, border-color .25s ease, opacity .25s ease;
  will-change: transform;
}
.btn::before{
  content:"";
  position:absolute;
  top:-2px; bottom:-2px; left:-40%;
  width:60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), transparent);
  transform: skewX(-18deg) translateX(-120%);
  opacity:0;
}
.btn:hover{
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.btn:hover::before{
  opacity:1;
  animation: shimmer 1.1s ease both;
}
.btn-primary{
  box-shadow: 0 18px 50px rgba(214,181,110,.08);
}
.btn-primary:hover{
  border-color: rgba(214,181,110,.55);
  box-shadow: 0 22px 70px rgba(214,181,110,.12);
}

/* Cards: premium lift + glow edge */
.card,
.hero-card,
.badge,
.panel{
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.card,
.hero-card{
  position:relative;
  overflow:hidden;
}
.card::before,
.hero-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(600px 220px at 20% 0%, rgba(214,181,110,.14), transparent 60%),
    radial-gradient(520px 240px at 90% 10%, rgba(179,138,57,.10), transparent 62%);
  opacity:.55;
  pointer-events:none;
}
.card > * ,
.hero-card > * { position:relative; z-index:1; }

.card:hover,
.hero-card:hover{
  transform: translateY(-4px);
  border-color: rgba(214,181,110,.26);
  box-shadow: 0 26px 70px rgba(0,0,0,.55);
}
.badge:hover{
  transform: translateY(-2px);
  border-color: rgba(214,181,110,.20);
  box-shadow: 0 20px 50px rgba(0,0,0,.42);
}

/* Hero media: floating coin + glow */
.hero-media{
  position:relative;
}
.hero-media img{
  filter: drop-shadow(0 22px 50px rgba(214,181,110,.18));
  transform-origin: 50% 50%;
  animation: float 6s ease-in-out infinite;
}
.hero-media::after{
  content:"";
  position:absolute;
  inset:-10%;
  background: radial-gradient(closest-side, rgba(214,181,110,.15), transparent 60%);
  opacity:.65;
  filter: blur(10px);
  pointer-events:none;
}

/* Section headings: subtle accent bar */
.section-head .h2{
  position:relative;
  padding-left:14px;
}
.section-head .h2::before{
  content:"";
  position:absolute;
  left:0; top:.55em;
  width:6px; height:6px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--gold1), var(--gold2));
  box-shadow: 0 0 0 6px rgba(214,181,110,.10);
}

/* Scroll reveal */
.reveal{
  opacity:0;
  transform: translate3d(0, 18px, 0);
  filter: blur(7px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1), filter .65s ease;
  will-change: transform, opacity, filter;
}
.reveal.is-in{
  opacity:1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Small divider line utility (optional) */
.lux-divider{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(214,181,110,.25), transparent);
  opacity:.85;
}

/* Keyframes */
@keyframes shimmer{
  from{transform: skewX(-18deg) translateX(-120%)}
  to{transform: skewX(-18deg) translateX(260%)}
}
@keyframes float{
  0%,100%{transform: translateY(0) rotate(-.4deg)}
  50%{transform: translateY(-8px) rotate(.4deg)}
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;filter:none;transition:none}
  .hero-media img{animation:none}
  .btn:hover::before{animation:none;opacity:0}
  .card:hover,.hero-card:hover,.badge:hover{transform:none}
}



/* =========================
   HOTFIX: TikTok Showcase
   - Use image covers (no iframe preview) to avoid TikTok "Access Denied"
   - Strong modal positioning/z-index to prevent layout issues
   ========================= */

.tt-thumb{ position:relative; width:100%; aspect-ratio: 9 / 16; overflow:hidden; border-radius:18px; }
.tt-thumb .tt-img{ width:100%; height:100%; object-fit:cover; display:block; transform: scale(1.02); }
.tt-card:hover .tt-img{ transform: scale(1.06); transition: transform .35s ease; }
.tt-card .tt-img{ transition: transform .35s ease; }

/* Modal (TikTok player) — force fixed overlay above all layers */
#ttModal.modal{ position:fixed !important; inset:0 !important; z-index: 99999 !important; display:none; align-items:center; justify-content:center; padding: 18px; }
#ttModal.modal.is-open{ display:flex !important; }
#ttModal .modal-backdrop{ position:absolute; inset:0; background: rgba(0,0,0,.78); backdrop-filter: blur(10px); }
#ttModal .modal-panel{
  position:relative;
  width: min(560px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border-radius: 22px;
  background: rgba(17,17,25,.94);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.72);
}
#ttModal .modal-iframe{
  width:100%;
  height: min(78vh, 720px);
  border:0;
  border-radius: 16px;
  background:#000;
}

/* --- Lightbox (Gallery expand) --- */
body.lb-open{ overflow:hidden; }

.lb{
  position:fixed !important;
  inset:0;
  z-index: 999999;
  display:none;
}
.lb.is-open{ display:block; }

.lb-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
}

.lb-dialog{
  position:relative;
  width: min(980px, 92vw);
  margin: 6vh auto 0;
  padding: 14px;
  border-radius: 26px;
  background: rgba(8,10,14,.55);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 80px rgba(0,0,0,.70);
}

@media (max-width: 720px){
  .lb-dialog{ margin: 3.5vh auto 0; padding: 10px; border-radius: 22px; }
}

.lb-stage{
  position:relative;
  overflow:hidden;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.lb-img{
  display:block;
  width:100%;
  height:auto;
  max-height: 74vh;
  object-fit: contain;
  opacity: .02;
  transform: scale(.99);
  transition: opacity .25s ease, transform .25s ease;
}
.lb-img.is-ready{
  opacity: 1;
  transform: scale(1);
}

.lb-close{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(255,244,220,.95);
  font-size: 26px;
  line-height: 40px;
  cursor:pointer;
  backdrop-filter: blur(10px);
}
.lb-close:hover{ background: rgba(0,0,0,.55); }

.lb-nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
  color: rgba(255,244,220,.95);
  font-size: 34px;
  cursor:pointer;
  backdrop-filter: blur(10px);
}
.lb-prev{ left: 10px; }
.lb-next{ right: 10px; }

@media (max-width: 720px){
  .lb-nav{ width: 40px; height: 56px; border-radius: 14px; font-size: 30px; }
  .lb-prev{ left: 8px; }
  .lb-next{ right: 8px; }
}

.lb-nav:hover{ background: rgba(0,0,0,.45); }

.lb-meta{
  margin-top: 10px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.lb-cap{
  font-weight: 800;
  color: rgba(255,244,220,.92);
  letter-spacing: .2px;
}
.lb-count{
  font-size: .9rem;
  color: rgba(255,255,255,.68);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
}

/* Lightbox clickability hotfix */
.lb{ pointer-events:auto; }
.lb-backdrop{ z-index:0; }
.lb-dialog{ position:relative; z-index:1; }
.lb-close, .lb-nav{ z-index:2; pointer-events:auto; }

/* Showcase: show cover only (hide any overlay text/badges) */
.tt-card::before{ display:none !important; }   /* เอาไล่เฉดดำ+ชั้นทับออก */
.tt-meta,
.tt-views,
.tt-chip,
.tt-note{
  display:none !important;                    /* ซ่อนข้อความ/ป้าย/ตัวเลขทั้งหมด */
}

/* =========================
   Floating WhatsApp Button
   ========================= */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 55px rgba(0,0,0,.55);
  z-index: 5000;
  isolation: isolate;
  overflow: visible;
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.wa-float__icon{
  width: 28px;
  height: 28px;
  display: block;
  position: relative;
  z-index: 2;
}

.wa-float__aura{
  content:"";
  position: absolute;
  inset: -14px;
  border-radius: 999px;
  background: radial-gradient(closest-side,
    rgba(37,211,102,.42),
    rgba(37,211,102,.16) 55%,
    transparent 72%);
  filter: blur(10px);
  opacity: .95;
  z-index: 1;
  pointer-events: none;
  animation: waPulse 2.2s ease-in-out infinite;
}

.wa-float::after{
  content:"";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 1px solid rgba(37,211,102,.22);
  box-shadow: 0 0 0 6px rgba(37,211,102,.10);
  opacity: .85;
  z-index: 0;
  pointer-events: none;
}

.wa-float:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 70px rgba(0,0,0,.62);
  filter: brightness(1.02);
}
.wa-float:active{ transform: translateY(0) scale(.99); }

@keyframes waPulse{
  0%,100%{ transform: scale(1); opacity: .75; }
  50%{ transform: scale(1.07); opacity: 1; }
}

@media (max-width: 480px){
  .wa-float{
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 58px;
    height: 58px;
  }
  .wa-float__icon{ width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce){
  .wa-float__aura{ animation: none; }
  .wa-float:hover{ transform: none; }
}
