/* Glowmi site: fonts, tokens, sky, nav, buttons, store badges, hero, phone frame. Sections live in site-sections.css.
   Flat on purpose: solid colours only, no gradients or glows. */
@font-face { font-family: 'Baloo 2'; font-weight: 400 800; font-display: swap; src: url('../fonts/baloo2-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Baloo 2'; font-weight: 400 800; font-display: swap; src: url('../fonts/baloo2-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Baloo 2'; font-weight: 400 800; font-display: swap; src: url('../fonts/baloo2-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }

:root {
  --night: #0e1230; --night-2: #181d48; --cream: #fbf3e4; --cream-line: #eadfcb;
  --gold: #ffcf6b; --gold-dark: #c98a1e; --orange: #c95f12; --ink: #22163d;
  --text: #f4f1ff; --muted: #b9b5d6; --muted-ink: #5b5373; --line: rgba(255, 255, 255, .14);
  --display: 'Baloo 2', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --max: 1120px; --r: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 17px/1.6 var(--body); color: var(--text); background: var(--night); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -.01em; }
em { font-style: normal; color: var(--gold); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 18px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 700; }
.skip:focus { top: 16px; }

/* ---------- sky: twinkling dots behind the dark sections, flat moon behind the hero phone ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.star { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: .7; animation: twinkle var(--d) ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .15; } }
.moon { position: absolute; z-index: -1; top: 10px; right: 2%; width: clamp(110px, 14vw, 190px); aspect-ratio: 1; border-radius: 50%; background: #ffe9b0; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; gap: 22px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 800 24px/1 var(--display); }
.brand img { border-radius: 10px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: #fff; }
.brand + .lang { margin-left: auto; }
.lang { display: flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line); background: none; color: var(--muted); font: 700 13px/1 var(--body); cursor: pointer; }
.lang span { padding: 6px 9px; border-radius: 7px; }
html[lang=en] .lang [data-l=en], html[lang=vi] .lang [data-l=vi] { background: var(--text); color: var(--ink); }

/* ---------- buttons & store badges ---------- */
.btn {
  display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 12px; color: var(--ink); background: var(--gold);
  font: 800 16px/1 var(--display); box-shadow: 0 4px 0 var(--gold-dark); transition: transform .15s, box-shadow .15s;
}
.btn:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 5px 0 var(--gold-dark); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--gold-dark); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-width: 190px; padding: 10px 20px 10px 16px;
  border-radius: 14px; color: #fff; background: #000; border: 1px solid rgba(255, 255, 255, .3); transition: transform .15s, border-color .15s;
}
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font: 500 11px/1.2 var(--body); opacity: .85; }
.store strong { display: block; font: 700 19px/1.15 var(--body); letter-spacing: -.01em; }
a.store:hover { color: #fff; transform: translateY(-2px); border-color: var(--gold); }
.store.soon { cursor: default; }
.store .chip { position: absolute; top: -9px; right: -8px; padding: 2px 8px; border-radius: 6px; background: var(--text); color: var(--ink); font: 800 11px/1.4 var(--body); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; padding: 48px 0 110px; }
.hero-copy { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.hero h1 { font-size: clamp(46px, 5.8vw, 84px); font-weight: 800; }
.hero h1 span, .hero h1 em { display: block; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 31em; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; font-weight: 700; font-size: 15px; }
.facts li::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 620px; }
.spirits-float { position: absolute; inset: 0; pointer-events: none; }
.spirit-f { position: absolute; width: var(--w); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .3));
  animation: bob var(--d) ease-in-out infinite alternate; transform: rotate(var(--rot)); transition: translate .5s ease-out; }
@keyframes bob { to { margin-top: -14px; } }

/* Phone: plain dark bezel */
.phone { width: 300px; padding: 8px; border-radius: 44px; background: #05061a; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.phone img { border-radius: 36px; width: 100%; }
.phone-hero { width: min(320px, 72vw); transform: rotate(3deg); }
