/* ============================================================
   WOLONG — design system
   soft radii, glass surfaces, day / night themes
   ============================================================ */

:root {
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --max: 1200px;
  --pad: clamp(18px, 4vw, 48px);

  --font-display: "Space Grotesk", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 0.72, 0.16, 1);

  --fs-h1: clamp(38px, 5.2vw, 70px);
  --fs-h2: clamp(30px, 3.4vw, 48px);
  --fs-h3: clamp(18px, 1.5vw, 21px);
}

html[data-theme="dark"] {
  --bg: #08080d;
  --bg-soft: #0d0d15;
  --panel: rgba(24, 24, 36, 0.62);
  --panel-solid: #14141f;
  --panel-hover: rgba(32, 32, 48, 0.75);

  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  --text: #f3f3f9;
  --muted: #a2a2b8;
  --dim: #6b6b82;

  --blue: #5b78ff;
  --blue-2: #8ea1ff;
  --red: #ff4d6d;
  --red-2: #ff8fa5;

  --grad-text: linear-gradient(96deg, #a9b8ff 0%, #c3a6ff 42%, #ff94a8 100%);
  --grad-btn: linear-gradient(112deg, #5b78ff 0%, #3c56dd 100%);
  --grad-line: linear-gradient(90deg, rgba(91, 120, 255, 0.55), rgba(255, 77, 109, 0.45));

  --nav-bg: rgba(14, 14, 22, 0.62);
  --glass: saturate(150%) blur(20px);
  --shadow-1: 0 18px 44px -26px rgba(0, 0, 0, 0.9);
  --shadow-2: 0 50px 100px -50px rgba(0, 0, 0, 1);
  --contrast-bg: #f5f5fa;
  --contrast-fg: #0b0b12;
  --star-opacity: 0.5;
  --grain-opacity: 0.16;
}

html[data-theme="light"] {
  --bg: #f7f6f3;
  --bg-soft: #f1f0ec;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-solid: #ffffff;
  --panel-hover: #ffffff;

  --line: rgba(18, 20, 32, 0.11);
  --line-2: rgba(18, 20, 32, 0.19);

  --text: #12131a;
  --muted: #5e6070;
  --dim: #8b8d9c;

  --blue: #2f52e0;
  --blue-2: #3f66f0;
  --red: #e02445;
  --red-2: #d81f45;

  --grad-text: linear-gradient(96deg, #2f52e0 0%, #7a3ff0 46%, #e02445 100%);
  --grad-btn: linear-gradient(112deg, #3a5bf0 0%, #2b45c8 100%);
  --grad-line: linear-gradient(90deg, rgba(47, 82, 224, 0.45), rgba(224, 36, 69, 0.40));

  --nav-bg: rgba(255, 255, 255, 0.72);
  --glass: saturate(160%) blur(20px);
  --shadow-1: 0 16px 40px -24px rgba(15, 25, 60, 0.22);
  --shadow-2: 0 44px 90px -50px rgba(15, 25, 60, 0.35);
  --contrast-bg: #12131a;
  --contrast-fg: #ffffff;
  --star-opacity: 0;
  --grain-opacity: 0.06;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}

/* atmospheric background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 10% -8%, rgba(91, 120, 255, 0.22), transparent 62%),
    radial-gradient(760px 560px at 94% 4%, rgba(255, 77, 109, 0.14), transparent 62%),
    radial-gradient(900px 700px at 50% 110%, rgba(91, 120, 255, 0.10), transparent 66%);
  transition: opacity 0.5s var(--ease);
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(900px 600px at 8% -10%, rgba(91, 120, 255, 0.16), transparent 62%),
    radial-gradient(760px 520px at 96% 0%, rgba(255, 77, 109, 0.10), transparent 60%),
    radial-gradient(900px 700px at 50% 112%, rgba(122, 63, 240, 0.06), transparent 66%);
}

/* star dust */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--star-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='420'><g fill='white'><circle cx='24' cy='64' r='1' opacity='.55'/><circle cx='120' cy='26' r='.8' opacity='.4'/><circle cx='210' cy='98' r='1.1' opacity='.5'/><circle cx='318' cy='44' r='.7' opacity='.35'/><circle cx='60' cy='180' r='.9' opacity='.45'/><circle cx='160' cy='240' r='.7' opacity='.3'/><circle cx='286' cy='190' r='1' opacity='.5'/><circle cx='366' cy='286' r='.8' opacity='.35'/><circle cx='96' cy='330' r='1' opacity='.4'/><circle cx='224' cy='372' r='.7' opacity='.3'/><circle cx='330' cy='340' r='.9' opacity='.4'/></g></svg>");
  background-size: 420px 420px;
  mix-blend-mode: screen;
  transition: opacity 0.5s var(--ease);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(91, 120, 255, 0.35); color: var(--text); }

section[id] { scroll-margin-top: 110px; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  z-index: 1;
  padding-block: clamp(64px, 8vw, 112px);
}

.mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.field-label b { color: var(--blue-2); font-weight: 500; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: var(--panel);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */

.btn {
  --btn-h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--btn-h);
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn svg { flex: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 16px 36px -20px rgba(70, 100, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 46px -22px rgba(90, 110, 255, 0.9), 0 12px 30px -18px rgba(255, 77, 109, 0.6);
}

.btn-contrast {
  background: var(--contrast-bg);
  color: var(--contrast-fg);
  box-shadow: var(--shadow-1);
}

.btn-contrast:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }

.btn-ghost {
  border-color: var(--line-2);
  background: var(--panel);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--line-2);
  background: var(--panel-hover);
  transform: translateY(-2px);
}

.btn-sm { --btn-h: 38px; padding: 0 16px; font-size: 13px; }
.btn-lg { --btn-h: 56px; padding: 0 30px; font-size: 15px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.link-arrow:hover { color: var(--text); gap: 13px; }

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--muted);
  background: var(--panel);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.icon-btn:hover { color: var(--text); border-color: var(--line-2); background: var(--panel-hover); }

/* theme toggle */
.theme-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--panel);
  color: var(--text);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.theme-toggle:hover { border-color: var(--line-2); transform: rotate(-12deg); }

.theme-toggle .ico-sun,
.theme-toggle .ico-moon { position: absolute; transition: opacity 0.25s var(--ease), transform 0.3s var(--ease); }

html[data-theme="dark"] .theme-toggle .ico-sun { opacity: 1; transform: rotate(0); }
html[data-theme="dark"] .theme-toggle .ico-moon { opacity: 0; transform: rotate(-40deg); }
html[data-theme="light"] .theme-toggle .ico-sun { opacity: 0; transform: rotate(40deg); }
html[data-theme="light"] .theme-toggle .ico-moon { opacity: 1; transform: rotate(0); }

/* ---------- header ---------- */

.site-head {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  z-index: 80;
  transition: width 0.4s var(--ease), top 0.4s var(--ease);
}

.head-in {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 66px;
  padding: 0 9px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--nav-bg);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  box-shadow: var(--shadow-1);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
}

.site-head.scrolled .head-in {
  background: var(--nav-bg);
  border-color: var(--line-2);
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding-right: 6px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(91, 120, 255, 0.9), rgba(255, 77, 109, 0.85));
  box-shadow: 0 6px 18px -8px rgba(91, 120, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  flex: none;
}

.brand-mark svg { width: 20px; height: 20px; }

.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.brand-txt span {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--dim);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav-main a {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-main a:hover { color: var(--text); background: rgba(128, 128, 160, 0.12); }

.head-right { display: flex; align-items: center; gap: 8px; }
.head-link {
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--muted);
  border-radius: var(--r-pill);
}
.head-link:hover { color: var(--text); }

.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  place-items: center;
  background: var(--panel);
}
.menu-btn i { display: block; width: 15px; height: 1.5px; background: var(--text); position: relative; border-radius: 2px; }
.menu-btn i::before, .menu-btn i::after {
  content: ""; position: absolute; left: 0; width: 15px; height: 1.5px; background: var(--text); border-radius: 2px;
}
.menu-btn i::before { top: -5px; }
.menu-btn i::after { top: 5px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 96px;
  left: 16px;
  right: 16px;
  z-index: 79;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--nav-bg);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  box-shadow: var(--shadow-2);
}

.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 13px 14px; border-radius: var(--r-sm); font-size: 15px; }
.mobile-menu a:hover { background: rgba(128, 128, 160, 0.12); }

/* ---------- sections ---------- */

.sec-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  max-width: 640px;
}

.sec-head h2 { font-size: var(--fs-h2); }

.sec-head p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 520px;
}

.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */

.site-foot {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  margin-top: 90px;
  padding-block: 56px 30px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}

.foot-brand p {
  margin-top: 16px;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.foot-col h5 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--dim);
  font-weight: 500;
}

.foot-col a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.foot-col a:hover { color: var(--text); transform: translateX(3px); }

.foot-bot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

/* ---------- stills (studio thumbnails) ---------- */

.still { position: absolute; inset: 0; }

.still::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='90' height='90'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='90' height='90' filter='url(%23n)' opacity='.4'/></svg>");
  opacity: 0.3;
  mix-blend-mode: overlay;
}

.still.s1 { background: radial-gradient(80% 90% at 20% 10%, #2f52e0 0%, transparent 60%), linear-gradient(160deg, #0a1430, #17060f); }
.still.s2 { background: radial-gradient(70% 80% at 80% 20%, #ff3355 0%, transparent 55%), linear-gradient(200deg, #121a33, #070b17); }
.still.s3 { background: linear-gradient(120deg, #2350c8 0%, #1a2a6b 40%, #6d1430 100%); }
.still.s4 { background: radial-gradient(60% 70% at 50% 80%, #5c8cff 0%, transparent 60%), radial-gradient(60% 60% at 20% 10%, #ff3355 0%, transparent 55%), #080d18; }
.still.s5 { background: conic-gradient(from 210deg at 55% 45%, #0a1430, #2f52e0 22%, #7a2cff 45%, #ff3355 70%, #0a1430); }
.still.s6 { background: linear-gradient(75deg, #070b17 0%, #1d3f9e 45%, #ff3355 100%); }

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

.no-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .nav-main { display: none; }
  .head-link { display: none; }
  .menu-btn { display: inline-grid; }
  .head-in { justify-content: space-between; height: 62px; }
  .head-right { margin-left: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .site-head { top: 12px; width: calc(100% - 24px); }
  .head-in { height: 58px; padding: 0 7px 0 14px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-txt b { font-size: 14px; }
  .btn-lg { --btn-h: 52px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mobile-menu { top: 82px; left: 12px; right: 12px; }
}


/* pointer particle layer */
.fx-canvas {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}

/* ---------- ambient background: aurora, starfield, shooting stars ---------- */

.bg-aurora {
  position: fixed;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 32% at 28% 18%, rgba(47, 107, 255, 0.22), transparent 70%),
    radial-gradient(36% 30% at 76% 82%, rgba(255, 59, 92, 0.16), transparent 70%),
    radial-gradient(30% 26% at 62% 36%, rgba(122, 32, 255, 0.10), transparent 72%);
  filter: blur(38px);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1.02); }
  to { transform: translate3d(2%, 2%, 0) scale(1.08); }
}

.bg-stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='620' height='620'><g fill='%23ffffff'><circle cx='42' cy='66' r='1.6' opacity='.9'/><circle cx='128' cy='24' r='.9' opacity='.55'/><circle cx='210' cy='118' r='1.2' opacity='.7'/><circle cx='318' cy='52' r='.7' opacity='.45'/><circle cx='428' cy='96' r='1.8' opacity='.85'/><circle cx='524' cy='38' r='1' opacity='.5'/><circle cx='582' cy='146' r='1.3' opacity='.65'/><circle cx='66' cy='196' r='1' opacity='.6'/><circle cx='168' cy='238' r='1.7' opacity='.8'/><circle cx='268' cy='188' r='.8' opacity='.4'/><circle cx='368' cy='246' r='1.1' opacity='.6'/><circle cx='470' cy='196' r='.7' opacity='.4'/><circle cx='566' cy='268' r='1.6' opacity='.75'/><circle cx='92' cy='322' r='1.4' opacity='.7'/><circle cx='196' cy='368' r='.9' opacity='.45'/><circle cx='298' cy='318' r='1.2' opacity='.65'/><circle cx='404' cy='376' r='1.8' opacity='.85'/><circle cx='508' cy='326' r='1' opacity='.5'/><circle cx='586' cy='398' r='.8' opacity='.4'/><circle cx='38' cy='446' r='1.1' opacity='.55'/><circle cx='142' cy='492' r='1.6' opacity='.8'/><circle cx='246' cy='446' r='.7' opacity='.4'/><circle cx='350' cy='506' r='1.3' opacity='.7'/><circle cx='456' cy='456' r='1' opacity='.5'/><circle cx='556' cy='522' r='1.7' opacity='.85'/><circle cx='74' cy='566' r='.9' opacity='.45'/><circle cx='182' cy='606' r='1.2' opacity='.6'/><circle cx='290' cy='562' r='1.8' opacity='.85'/><circle cx='396' cy='606' r='.8' opacity='.4'/><circle cx='500' cy='572' r='1.4' opacity='.7'/><circle cx='604' cy='612' r='1' opacity='.5'/></g></svg>");
  background-size: 620px 620px;
  animation: twinkle 11s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.45; }
  50% { opacity: 0.85; }
  100% { opacity: 0.6; }
}

.shooting-star {
  position: fixed;
  top: 14%;
  left: -16%;
  z-index: 0;
  width: 200px;
  height: 1.5px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  filter: drop-shadow(0 0 6px rgba(143, 176, 255, 0.9));
  transform: rotate(18deg);
  opacity: 0;
  animation: shoot 13s linear infinite;
}

.shooting-star.s2 {
  top: 38%;
  width: 150px;
  animation-delay: 6.5s;
  animation-duration: 17s;
  background: linear-gradient(90deg, transparent, rgba(255, 143, 165, 0.9), transparent);
}

@keyframes shoot {
  0%, 86% { opacity: 0; transform: translate3d(0, 0, 0) rotate(18deg); }
  88% { opacity: 0.9; }
  94% { opacity: 0; transform: translate3d(92vw, 30vh, 0) rotate(18deg); }
  100% { opacity: 0; transform: translate3d(92vw, 30vh, 0) rotate(18deg); }
}

html[data-theme="light"] .bg-stars,
html[data-theme="light"] .shooting-star { display: none; }

@media (prefers-reduced-motion: reduce) {
  .bg-aurora, .bg-stars, .shooting-star { animation: none; }
}

/* glowing starfield canvas */
.starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}



body.auth-page .auth-shell { position: relative; z-index: 1; }


/* studio starfield lives beside the sidebar */
.studio-page .starfield { left: var(--side-w, 220px); width: calc(100% - var(--side-w, 220px)); height: 100%; }

@media (max-width: 720px) {
  .studio-page .starfield { left: 0; width: 100%; }
}
