/* Glowmi site: sections (features, worlds, spirits, FAQ, CTA, footer), responsive, legal page. Solid colours only. */
.section { padding: 110px 0; }
.section-title { font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; margin-bottom: 14px; }
.sub { color: var(--muted); font-size: 18px; max-width: 36em; margin-bottom: 44px; }

/* cream band between night sections */
.light { background: var(--cream); color: var(--ink); }
.light .sub, .light p { color: var(--muted-ink); }

/* ---------- features: screenshot + text rows, then three short notes ---------- */
#features .section-title { margin-bottom: 64px; }
.rows { display: grid; gap: 96px; }
.row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.row .phone { justify-self: center; width: 280px; }
.row h3 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 14px; }
.row p { font-size: 18px; max-width: 28em; }
@media (min-width: 721px) { .row:nth-child(even) .phone { order: 2; } }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 110px; }
.notes div { border-top: 2px solid var(--ink); padding-top: 18px; }
.notes h3 { font-size: 22px; margin-bottom: 6px; }

/* ---------- worlds ---------- */
.worlds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.world { border-radius: var(--r); overflow: hidden; background: var(--night-2); border: 1px solid var(--line); transition: border-color .2s; }
.world:hover { border-color: var(--c); }
.world img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.world-info { display: grid; gap: 4px; padding: 16px 18px 20px; }
.world-n { font: 700 12px/1.2 var(--body); color: var(--c); text-transform: uppercase; letter-spacing: .06em; }
.world h3 { font-size: 22px; }
.world p { font-size: 14.5px; line-height: 1.45; color: var(--muted); }

/* ---------- spirits ---------- */
.spirits { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.spirits li { display: grid; justify-items: center; gap: 10px; padding: 24px 8px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--cream-line); }
.spirits svg { width: 76px; height: 76px; }
.spirits b { font: 700 17px/1.2 var(--display); text-align: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font: 700 20px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--gold); font-size: 28px; line-height: 1; transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq p { padding: 0 0 22px; color: var(--muted); max-width: 42em; }

/* ---------- final CTA: flat gold block ---------- */
.cta { background: var(--gold); color: var(--ink); padding: 100px 0; }
.cta .wrap { display: grid; justify-items: center; gap: 18px; text-align: center; }
.cta-icon { border-radius: 26px; }
.cta h2 { font-size: clamp(38px, 5vw, 64px); }
.cta p { font-size: 19px; color: #4d3a14; }
.cta .stores { justify-content: center; margin-top: 8px; }

/* ---------- footer ---------- */
.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 15px; }
.footer .brand { font-size: 20px; }
.footer nav { display: flex; gap: 22px; }
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .hero-copy { justify-items: center; }
  .stores, .facts { justify-content: center; }
  .hero-art { min-height: 560px; }
  .moon { top: 46%; right: 8%; }
  .worlds { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; scroll-padding: 0 20px; }
  .worlds::-webkit-scrollbar { display: none; }
  .world { flex: 0 0 min(240px, 66vw); scroll-snap-align: start; }
  .spirits { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .lang { margin-left: auto; }
  .section { padding: 80px 0; }
  #features .section-title { margin-bottom: 40px; }
  .rows { gap: 72px; }
  .row { grid-template-columns: 1fr; gap: 28px; }
  .row .phone { width: min(230px, 62vw); }
  .notes { grid-template-columns: 1fr; gap: 24px; margin-top: 72px; }
  .store { min-width: 0; flex: 1 1 180px; }
  .hero-art { min-height: 500px; }
}
@media (max-width: 420px) { .nav-cta { display: none; } .spirits { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- legal pages (privacy): one article per language, shown by html[lang] ---------- */
.legal { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0; }
.legal article { display: none; gap: 14px; }
html[lang=en] .legal [data-lang=en], html[lang=vi] .legal [data-lang=vi] { display: grid; }
.legal .date { color: var(--gold); font-weight: 700; font-size: 14px; }
.legal h1 { font-size: clamp(42px, 6vw, 64px); }
.legal h2 { font-size: 26px; margin-top: 22px; }
.legal p, .legal li { color: var(--muted); }
.legal b { color: var(--text); }
.legal ul { display: grid; gap: 8px; padding-left: 22px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
