@font-face {
  font-family: "Chakra Petch";
  src: url("/static/fonts/chakra-petch-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("/static/fonts/chakra-petch-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("/static/fonts/chakra-petch-700-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Orbitron";
  src: url("/static/fonts/orbitron-600-800-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --bg-base: #03050d;
  --bg-elev: #0a1021;
  --card: rgba(10, 16, 33, 0.74);
  --card-solid: #0d1630;
  --border: rgba(120, 179, 255, 0.28);
  --text: #f6fbff;
  --muted: #9bb0cb;
  --accent: #39d0ff;
  --accent-2: #ffb347;
  --danger: #ff2f6b;
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 15% 8%, rgba(56, 90, 178, 0.42) 0%, transparent 35%),
    radial-gradient(circle at 84% 22%, rgba(0, 156, 179, 0.3) 0%, transparent 28%),
    radial-gradient(circle at 50% 120%, rgba(130, 40, 100, 0.2) 0%, transparent 32%),
    var(--bg-base);
  color: var(--text);
  font-family: "Chakra Petch", "Trebuchet MS", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  background:
    linear-gradient(
      180deg,
      rgba(8, 22, 44, 0.08) 0%,
      rgba(7, 17, 34, 0.16) 24%,
      rgba(5, 13, 27, 0.32) 52%,
      rgba(4, 9, 20, 0.56) 76%,
      rgba(2, 6, 15, 0.82) 100%
    );
}

a {
  color: inherit;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 5;
}

.site-notice {
  position: sticky;
  top: 0;
  z-index: 110;
  border-bottom: 1px solid rgba(143, 209, 255, 0.36);
  background:
    radial-gradient(circle at 10% 50%, rgba(84, 141, 255, 0.16) 0%, rgba(84, 141, 255, 0) 38%),
    radial-gradient(circle at 90% 50%, rgba(255, 189, 112, 0.12) 0%, rgba(255, 189, 112, 0) 42%),
    linear-gradient(90deg, rgba(6, 18, 40, 0.92) 0%, rgba(9, 28, 56, 0.94) 50%, rgba(6, 18, 40, 0.92) 100%);
  color: #d8eeff;
  backdrop-filter: blur(10px) saturate(1.12);
  box-shadow: 0 8px 26px rgba(5, 13, 30, 0.32);
}

.site-notice-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 9px 20px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.site-notice-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(146, 211, 255, 0.52);
  border-radius: 999px;
  background: rgba(25, 79, 145, 0.26);
  color: #bde6ff;
  padding: 4px 10px;
  font-family: "Orbitron", "Chakra Petch", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  line-height: 1;
}

.site-notice-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd087;
  box-shadow: 0 0 0 0 rgba(255, 208, 135, 0.55);
  animation: notice-pulse 2.2s ease-out infinite;
}

.site-notice-divider {
  opacity: 0.52;
}

.site-notice-text {
  color: #deefff;
}

.cinematic-intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 1;
  background: radial-gradient(circle at 50% 40%, rgba(44, 88, 180, 0.24) 0%, rgba(3, 7, 18, 0.88) 58%, rgba(2, 5, 12, 0.95) 100%);
  transition: opacity 380ms ease;
}

.cinematic-intro.intro-exit {
  opacity: 0;
}

.intro-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(116, 185, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(116, 185, 255, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.2;
}

.intro-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0.52) 100%);
}

.intro-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #d8ecff;
  padding: 16px 20px;
  border: 1px solid rgba(132, 196, 255, 0.28);
  border-radius: 14px;
  background: rgba(5, 14, 33, 0.42);
  backdrop-filter: blur(4px);
  animation: introPulse 900ms ease-in-out infinite alternate;
}

.intro-title {
  font-family: "Orbitron", "Chakra Petch", sans-serif;
  font-size: clamp(1.28rem, 3.5vw, 2.1rem);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-shadow: 0 0 14px rgba(163, 218, 255, 0.45);
}

.intro-sub {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  opacity: 0.95;
  text-transform: uppercase;
}

/* Cosmic background */
.cosmos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.stars {
  position: absolute;
  inset: -20%;
  background-repeat: repeat;
  opacity: 0.9;
}

.stars-far {
  background-image:
    radial-gradient(1px 1px at 10% 22%, rgba(255, 255, 255, 0.6) 99%, transparent 100%),
    radial-gradient(1px 1px at 34% 65%, rgba(207, 240, 255, 0.55) 99%, transparent 100%),
    radial-gradient(1px 1px at 68% 42%, rgba(255, 255, 255, 0.6) 99%, transparent 100%),
    radial-gradient(1px 1px at 84% 74%, rgba(187, 228, 255, 0.56) 99%, transparent 100%);
  background-size: 420px 420px;
  animation: drift-far 160s linear infinite;
  will-change: transform;
}

.stars-mid {
  background-image:
    radial-gradient(1px 1px at 14% 18%, rgba(255, 255, 255, 0.8) 99%, transparent 100%),
    radial-gradient(1px 1px at 48% 72%, rgba(166, 219, 255, 0.86) 99%, transparent 100%),
    radial-gradient(1px 1px at 72% 36%, rgba(255, 255, 255, 0.78) 99%, transparent 100%),
    radial-gradient(2px 2px at 88% 62%, rgba(166, 219, 255, 0.88) 99%, transparent 100%);
  background-size: 280px 280px;
  animation: drift-mid 115s linear infinite;
  will-change: transform;
}

.stars-near {
  background-image:
    radial-gradient(2px 2px at 9% 50%, rgba(255, 255, 255, 0.92) 99%, transparent 100%),
    radial-gradient(1px 1px at 26% 12%, rgba(255, 255, 255, 0.8) 99%, transparent 100%),
    radial-gradient(2px 2px at 60% 22%, rgba(163, 230, 255, 0.95) 99%, transparent 100%),
    radial-gradient(1px 1px at 76% 78%, rgba(255, 255, 255, 0.85) 99%, transparent 100%),
    radial-gradient(2px 2px at 92% 42%, rgba(252, 214, 157, 0.9) 99%, transparent 100%);
  background-size: 220px 220px;
  animation: drift-near 85s linear infinite;
  will-change: transform;
}

.nebula {
  position: absolute;
  width: 44vw;
  aspect-ratio: 1 / 1;
  filter: blur(10px);
  opacity: 0.34;
}

.nebula-a {
  left: -12vw;
  top: 6vh;
  background: radial-gradient(circle at 40% 45%, rgba(70, 125, 255, 0.56) 0%, rgba(70, 125, 255, 0.02) 70%);
  animation: pulse-nebula 20s ease-in-out infinite;
  will-change: transform, opacity;
}

.nebula-b {
  right: -8vw;
  bottom: 2vh;
  background: radial-gradient(circle at 55% 50%, rgba(0, 202, 216, 0.42) 0%, rgba(0, 202, 216, 0.04) 72%);
  animation: pulse-nebula 24s ease-in-out infinite reverse;
  will-change: transform, opacity;
}

.orbit-system {
  position: absolute;
  right: min(-70px, -8vw);
  top: 16vh;
  width: clamp(250px, 26vw, 410px);
  aspect-ratio: 1 / 1;
  opacity: 0.78;
}

.planet {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.planet-main {
  width: 26%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.9), transparent 32%),
    radial-gradient(circle at 65% 74%, rgba(255, 168, 92, 0.85), transparent 55%),
    radial-gradient(circle at 50% 50%, #209fd0 0%, #0c3768 72%);
  box-shadow: 0 0 32px rgba(97, 169, 255, 0.55), 0 0 78px rgba(45, 146, 220, 0.38);
}

.planet-main.planet-sun-texture {
  isolation: isolate;
  background-position: center;
  background-size: 124% 124%;
  background-repeat: no-repeat;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 54%, rgba(0, 0, 0, 0.96) 63%, rgba(0, 0, 0, 0.45) 75%, rgba(0, 0, 0, 0) 84%);
  mask-image: radial-gradient(circle at 50% 50%, #000 54%, rgba(0, 0, 0, 0.96) 63%, rgba(0, 0, 0, 0.45) 75%, rgba(0, 0, 0, 0) 84%);
  filter: saturate(1.12) contrast(1.03);
  box-shadow: 0 0 36px rgba(255, 195, 96, 0.5), 0 0 112px rgba(255, 154, 64, 0.42);
}

.planet-main.planet-sun-texture::before {
  content: "";
  position: absolute;
  inset: -26%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 231, 156, 0.52) 0%, rgba(255, 176, 92, 0.3) 38%, rgba(255, 135, 68, 0.12) 58%, rgba(255, 115, 58, 0) 74%),
    radial-gradient(circle, rgba(255, 238, 185, 0.22) 0%, rgba(255, 238, 185, 0) 64%);
  filter: blur(12px);
  z-index: -1;
}

.planet-main.planet-sun-texture::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 30%, rgba(255, 250, 214, 0.38) 0%, rgba(255, 250, 214, 0) 34%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.orbit {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(160, 214, 255, 0.24);
}

.solar-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--diameter);
  height: var(--diameter);
  margin-left: calc(var(--diameter) * -0.5);
  margin-top: calc(var(--diameter) * -0.5);
  border-radius: 50%;
  border: 1px dashed rgba(168, 219, 255, 0.16);
  animation: spin-planet var(--period) linear infinite;
  will-change: transform;
}

.solar-planet {
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--size);
  height: var(--size);
  margin-top: calc(var(--size) * -0.5);
  margin-left: calc(var(--size) * -0.5);
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 8px rgba(138, 200, 255, 0.45);
  transform-origin: center;
}

.orbit-mercury { --diameter: 148px; --period: 11s; }
.orbit-venus   { --diameter: 182px; --period: 15s; }
.orbit-earth   { --diameter: 218px; --period: 19s; }
.orbit-mars    { --diameter: 254px; --period: 23s; }
.orbit-jupiter { --diameter: 292px; --period: 28s; }
.orbit-saturn  { --diameter: 330px; --period: 33s; }
.orbit-uranus  { --diameter: 368px; --period: 39s; }
.orbit-neptune { --diameter: 406px; --period: 46s; }

.orbit-mercury .solar-planet { --size: 10px; }
.orbit-venus .solar-planet   { --size: 13px; }
.orbit-earth .solar-planet   { --size: 14px; }
.orbit-mars .solar-planet    { --size: 11px; }
.orbit-jupiter .solar-planet { --size: 22px; }
.orbit-saturn .solar-planet  { --size: 26px; }
.orbit-uranus .solar-planet  { --size: 16px; }
.orbit-neptune .solar-planet { --size: 16px; }

.planet-mercury { background-image: url("/static/images/scene/planets/tiny/mercury.webp"); }
.planet-venus { background-image: url("/static/images/scene/planets/tiny/venus.webp"); }
.planet-earth { background-image: url("/static/images/scene/planets/tiny/earth.webp"); }
.planet-mars { background-image: url("/static/images/scene/planets/tiny/mars.webp"); }
.planet-jupiter { background-image: url("/static/images/scene/planets/tiny/jupiter.webp"); }
.planet-saturn {
  background-image: url("/static/images/scene/planets/tiny/saturn.webp");
  background-size: contain;
  border-radius: 0;
  box-shadow: none;
}
.planet-uranus { background-image: url("/static/images/scene/planets/tiny/uranus.webp"); }
.planet-neptune { background-image: url("/static/images/scene/planets/tiny/neptune.webp"); }

.orbit-saturn .solar-planet {
  width: calc(var(--size) * 1.9);
  height: var(--size);
  margin-left: calc(var(--size) * -0.95);
}

.orbit-1 {
  width: 60%;
  height: 60%;
  margin-left: -30%;
  margin-top: -30%;
  animation: spin-planet 18s linear infinite;
}

.orbit-2 {
  width: 90%;
  height: 90%;
  margin-left: -45%;
  margin-top: -45%;
  animation: spin-planet 29s linear infinite reverse;
}

.moon {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

.moon-1 {
  width: 12px;
  height: 12px;
  background: #ffd39c;
  box-shadow: 0 0 14px rgba(255, 212, 157, 0.64);
}

.moon-2 {
  width: 8px;
  height: 8px;
  background: #7de0ff;
  box-shadow: 0 0 10px rgba(125, 224, 255, 0.74);
}

.rocket-lane {
  position: absolute;
  inset: 0;
}

.satellite-lane,
.voyager-lane {
  position: absolute;
  inset: 0;
}

.scene-craft {
  position: absolute;
  line-height: 1;
  user-select: none;
  will-change: transform, opacity;
}

.scene-craft img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(210, 240, 255, 0.45));
  transform-origin: center;
  animation: craft-spin var(--spin-dur, 18s) linear infinite;
}

.rocket {
  position: absolute;
  left: -12vw;
  top: 70%;
  font-size: clamp(18px, 1.5vw, 27px);
  line-height: 1;
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(18deg);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.7), 0 0 22px rgba(57, 208, 255, 0.4);
  animation: rocket-fly var(--dur, 20s) linear forwards;
}

.rocket.scene-craft {
  width: clamp(22px, 1.8vw, 34px);
}

.rocket:after {
  content: "";
  position: absolute;
  right: calc(100% - 5px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(24px, 3.1vw, 42px);
  height: 2px;
  background: linear-gradient(to left, rgba(255, 213, 138, 0.9), rgba(255, 130, 68, 0));
  filter: blur(0.2px);
}

.satellite {
  left: -16vw;
  top: 56%;
  width: clamp(20px, 1.4vw, 28px);
  color: #d7f4ff;
  text-shadow: 0 0 8px rgba(167, 232, 255, 0.6);
  opacity: 0;
  animation: satellite-fly var(--dur, 42s) linear forwards;
}

.satellite:after {
  content: "";
  position: absolute;
  right: calc(100% - 2px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(12px, 1.2vw, 24px);
  height: 1px;
  background: linear-gradient(to left, rgba(153, 224, 255, 0.65), rgba(153, 224, 255, 0));
}

.voyager {
  left: -18vw;
  top: 62%;
  width: clamp(34px, 3vw, 54px);
  color: #ffe7a8;
  text-shadow: 0 0 10px rgba(255, 212, 120, 0.5);
  opacity: 0;
  animation: voyager-fly 32s linear forwards;
}

.voyager-label {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border: 1px solid rgba(255, 223, 145, 0.5);
  border-radius: 999px;
  background: rgba(25, 25, 15, 0.66);
  color: #ffe9b6;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.voyager-trail {
  position: absolute;
  right: calc(100% - 4px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(80px, 12vw, 170px);
  height: 1px;
  background: linear-gradient(to left, rgba(255, 224, 156, 0.75), rgba(255, 224, 156, 0));
}

.cursor-body {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(173, 237, 255, 0.8);
  background: rgba(123, 213, 255, 0.22);
  box-shadow: 0 0 18px rgba(113, 207, 255, 0.4);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 8;
}

.cursor-body:before,
.cursor-body:after {
  content: "";
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-body:before {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(122, 220, 255, 0.45);
}

.cursor-body:after {
  width: 36px;
  height: 36px;
  border: 1px dashed rgba(122, 220, 255, 0.25);
}

.physics-hud {
  position: fixed;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(130, 206, 255, 0.3);
  border-radius: 12px;
  padding: 8px 10px;
  background: rgba(6, 13, 28, 0.7);
  color: #b2d8ff;
  font-family: "Orbitron", "Chakra Petch", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  line-height: 1.55;
  pointer-events: none;
  z-index: 8;
}

/* Header */
.site-header {
  position: sticky;
  top: 36px;
  z-index: 100;
  background: linear-gradient(
    180deg,
    rgba(3, 10, 24, 0.48) 0%,
    rgba(3, 10, 24, 0.26) 60%,
    rgba(3, 10, 24, 0.14) 100%
  );
  backdrop-filter: blur(12px) saturate(1.15);
  border-bottom: 1px solid rgba(120, 179, 255, 0.2);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.03em;
  font-family: "Orbitron", "Chakra Petch", sans-serif;
}

.logo-icon {
  font-size: 1.35rem;
  filter: drop-shadow(0 0 6px rgba(255, 179, 71, 0.7));
}

.logo-text {
  background: linear-gradient(95deg, #f8fdff 0%, #9fe4ff 44%, #ffc77f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.site-nav .nav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--text);
  border-color: rgba(122, 200, 255, 0.48);
  background: rgba(44, 105, 170, 0.2);
}

/* Buttons */
.yt-btn {
  background: linear-gradient(120deg, #ff4747, #de1224 65%);
  color: #fff;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 11px;
  font-size: 0.87rem;
  font-weight: 700;
  border: 1px solid rgba(255, 212, 212, 0.22);
  box-shadow: 0 8px 24px rgba(222, 18, 36, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.yt-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(222, 18, 36, 0.34);
}

.yt-btn-lg {
  padding: 12px 28px;
  font-size: 0.98rem;
  border-radius: 12px;
}

.btn-outline {
  color: #d5ecff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(125, 187, 255, 0.5);
  background: rgba(20, 42, 86, 0.36);
  font-size: 0.98rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-outline:hover {
  background: rgba(37, 73, 132, 0.42);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  min-height: min(84vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 70px;
  position: relative;
}

.hero:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(86vw, 980px);
  height: min(60vw, 620px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(66, 166, 255, 0.22), rgba(66, 166, 255, 0) 68%);
  pointer-events: none;
  opacity: 0.78;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 58%, rgba(0, 0, 0, 0.42) 82%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 58%, rgba(0, 0, 0, 0.42) 82%, rgba(0, 0, 0, 0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  background: rgba(29, 63, 123, 0.62);
  border: 1px solid rgba(115, 196, 255, 0.52);
  color: #9fe3ff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.3rem, 6vw, 4.45rem);
  font-weight: 800;
  font-family: "Orbitron", "Chakra Petch", sans-serif;
  letter-spacing: 0.03em;
  line-height: 1.08;
  margin-bottom: 18px;
  background: linear-gradient(105deg, #ffffff 0%, #a2e7ff 46%, #ffc581 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 32px rgba(107, 184, 255, 0.2);
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--muted);
  margin-bottom: 34px;
  max-width: 590px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* .hero-stars removed — shared cosmos layer provides stars across the full page */

/* Sections */
.section {
  padding: 66px 20px;
}

.section-dark {
  background: transparent;
}

.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 30px;
}

.section-title {
  font-size: 1.55rem;
  font-family: "Orbitron", "Chakra Petch", sans-serif;
  letter-spacing: 0.02em;
}

.section-link {
  color: #96ddff;
  text-decoration: none;
  font-size: 0.86rem;
}

.section-link:hover {
  color: #d1f4ff;
}

/* Cards */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.video-grid-full {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.video-card {
  background: linear-gradient(180deg, rgba(15, 29, 60, 0.85) 0%, rgba(10, 18, 37, 0.9) 100%);
  border: 1px solid rgba(116, 180, 255, 0.26);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(111, 209, 255, 0.58);
  box-shadow: 0 15px 34px rgba(14, 65, 111, 0.35);
}

.video-thumb-wrap {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-card:hover .video-thumb {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition: opacity 0.22s ease;
  font-size: 2.6rem;
  color: #f4fbff;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.video-info {
  padding: 14px;
}

.video-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--muted);
}

.no-videos-msg {
  background: linear-gradient(180deg, rgba(15, 29, 60, 0.75), rgba(9, 18, 37, 0.85));
  border: 1px solid rgba(116, 180, 255, 0.22);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

.inline-link {
  color: #9adfff;
}

/* News */
.news-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(13, 24, 49, 0.88), rgba(9, 18, 37, 0.95));
  border: 1px solid rgba(117, 186, 255, 0.24);
  border-radius: 12px;
  padding: 13px 16px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.22s ease;
}

.news-pill:hover {
  border-color: rgba(140, 214, 255, 0.58);
}

.news-source {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(33, 84, 158, 0.65);
  color: #a5e8ff;
  text-transform: uppercase;
  white-space: nowrap;
}

.news-headline {
  font-size: 0.9rem;
}

/* CTA */
.cta-section {
  background: transparent;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(9, 17, 37, 0.5);
  border: 1px solid rgba(127, 199, 255, 0.3);
  border-radius: 18px;
  padding: 34px 22px;
}

.cta-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.cta-inner h2 {
  font-size: clamp(1.5rem, 3.7vw, 2rem);
  font-family: "Orbitron", "Chakra Petch", sans-serif;
  margin-bottom: 12px;
}

.cta-inner p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* Generic page hero */
.page-hero {
  padding: 66px 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(17, 34, 70, 0.36), rgba(17, 34, 70, 0));
}

.page-hero h1 {
  font-size: clamp(1.95rem, 5vw, 2.8rem);
  font-weight: 800;
  font-family: "Orbitron", "Chakra Petch", sans-serif;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
}

/* Public news page */
.news-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 840px;
}

.pub-news-card {
  display: block;
  background: linear-gradient(180deg, rgba(14, 26, 54, 0.88), rgba(8, 16, 34, 0.95));
  border: 1px solid rgba(117, 186, 255, 0.23);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.pub-news-card:hover {
  border-color: rgba(145, 218, 255, 0.58);
  transform: translateY(-2px);
}

.pub-news-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.pub-news-date {
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: auto;
}

.source-chip {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

.source-nasa {
  background: rgba(35, 90, 172, 0.6);
  color: #9fd8ff;
}

.source-arxiv {
  background: rgba(8, 117, 118, 0.6);
  color: #91f8f9;
}

.source-reddit {
  background: rgba(179, 94, 13, 0.5);
  color: #ffd39a;
}

.pub-news-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.pub-news-summary {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

.read-more-link {
  font-size: 0.8rem;
  color: #97dfff;
}

/* About and legal pages */
.about-wrap {
  max-width: 770px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-block {
  background: rgba(10, 19, 40, 0.65);
  border: 1px solid rgba(116, 186, 255, 0.2);
  border-radius: 14px;
  padding: 20px;
}

.about-block h2 {
  font-size: 1.14rem;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: "Orbitron", "Chakra Petch", sans-serif;
}

.about-block p {
  color: var(--muted);
  line-height: 1.7;
}

.source-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 2px;
}

.about-cta {
  padding-top: 10px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(120, 180, 255, 0.22);
  background: rgba(4, 8, 19, 0.74);
  padding: 42px 20px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #daf4ff;
}

.footer-copy {
  font-size: 0.75rem;
  color: #5e718e;
}

/* Entry animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Motion */
@keyframes drift-far {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-9%, 8%, 0);
  }
}

@keyframes drift-mid {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-14%, 11%, 0);
  }
}

@keyframes drift-near {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-18%, 14%, 0);
  }
}

@keyframes pulse-nebula {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.4;
  }
}

@keyframes introPulse {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}

@keyframes spin-planet {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.56;
  }
  50% {
    opacity: 0.86;
  }
}

@keyframes rocket-fly {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--rot, 18deg));
    opacity: 0;
  }
  45% {
    transform: translate3d(58vw, calc(-0.5 * var(--rise, 24vh)), 0) rotate(calc(var(--rot, 18deg) + 0.45 * var(--spin, 120deg)));
  }
  6% {
    opacity: 0.92;
  }
  82% {
    opacity: 0.92;
  }
  100% {
    transform: translate3d(120vw, calc(-1 * var(--rise, 24vh)), 0) rotate(calc(var(--rot, 18deg) + var(--spin, 120deg)));
    opacity: 0;
  }
}

@keyframes satellite-fly {
  0% {
    transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg));
    opacity: 0;
  }
  52% {
    transform: translate3d(62vw, calc(-0.45 * var(--rise, 8vh)), 0) rotate(calc(var(--rot, 0deg) + 0.52 * var(--spin, 70deg)));
  }
  5% {
    opacity: 0.85;
  }
  92% {
    opacity: 0.8;
  }
  100% {
    transform: translate3d(124vw, calc(-1 * var(--rise, 8vh)), 0) rotate(calc(var(--rot, 0deg) + var(--spin, 70deg)));
    opacity: 0;
  }
}

@keyframes voyager-fly {
  0% {
    transform: translate3d(0, 0, 0) rotate(9deg) scale(0.95);
    opacity: 0;
  }
  52% {
    transform: translate3d(64vw, -12vh, 0) rotate(13deg) scale(1.02);
  }
  10% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  100% {
    transform: translate3d(122vw, -26vh, 0) rotate(15deg) scale(1.1);
    opacity: 0;
  }
}

@keyframes craft-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    gap: 14px;
    height: 68px;
  }

  .site-nav {
    gap: 5px;
  }

  .site-nav .nav-link {
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .orbit-system {
    opacity: 0.58;
    right: -120px;
    top: 20vh;
  }
}

@media (max-width: 700px) {
  .site-notice-inner {
    min-height: 44px;
    padding: 8px 12px;
    gap: 7px;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .site-notice-kicker {
    padding: 4px 8px;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  .site-notice-divider {
    display: none;
  }

  .site-notice-text {
    max-width: 36ch;
  }

  .site-header {
    top: 44px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 72vh;
    padding-top: 68px;
  }

  .hero-sub {
    font-size: 1.02rem;
  }

  .hero-ctas {
    width: 100%;
  }

  .hero-ctas .yt-btn,
  .hero-ctas .btn-outline {
    width: 100%;
    max-width: 330px;
    text-align: center;
  }

  .section {
    padding: 52px 16px;
  }

  .footer-links {
    gap: 14px;
  }
}

@keyframes notice-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 208, 135, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(255, 208, 135, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 208, 135, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stars,
  .nebula,
  .orbit,
  .rocket,
  .satellite,
  .voyager,
  .hero-stars,
  .reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .cinematic-intro {
    display: none;
  }

  .rocket {
    display: none;
  }

  .satellite,
  .voyager,
  .cursor-body,
  .physics-hud {
    display: none;
  }
}
