/* Hero sky: an interactive starfield behind the hero copy. */

.galaxy-hero {
  color: var(--text);
  background: #080a12;
}

.galaxy-hero .atmosphere {
  display: none;
}

.galaxy-hero:before {
  display: block;
  /* A quiet vertical falloff only: no fixed glow spots. */
  background: linear-gradient(180deg, transparent 55%, #05060c80);
}

.galaxy-hero > .wrap {
  position: relative;
  z-index: 2;
}

.hero-sky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mask-image: linear-gradient(transparent, #000 4%, #000 94%, transparent);
}

.galaxy-hero .line-hint {
  text-align: right;
}

/* Light theme: a pale dawn sky, stars printed in ink. */
:root[data-theme="light"] .galaxy-hero {
  --paper: #f6f5f1;
  --white: #fff;
  --ink: #17191e;
  --muted: #555866;
  --line: #d3d3e0;
  --blue: #2849e8;
  --blue-hover: #1937c7;
  --blue-soft: #e9edff;
  --bg: var(--paper);
  --surface: var(--white);
  --text: var(--ink);
  --text-secondary: var(--muted);
  --border: var(--line);
  --action: var(--blue);
  --on-action: #fff;
  --action-hover: #1937c7;
  --on-action-hover: #fff;
  --secondary-hover: #e9edff;
  --on-secondary-hover: #17191e;
  --focus: #2849e8;
}

:root[data-theme="light"] .galaxy-hero:before {
  background: none;
}

:root[data-theme="light"] .hero-sky {
  mix-blend-mode: multiply;
}

@media (max-width: 760px) {
  .galaxy-hero .line-hint {
    display: none;
  }
}

@media (forced-colors: active) {
  .galaxy-hero:before,
  .hero-sky {
    display: none;
  }
}
