*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #101320;
  color: #e0e1f5;
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

#starfield-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #eec13c;
  box-shadow: 0 0 8px #eec13c;
  z-index: 9999;
}

#chapter-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.cline {
  height: 1px;
  background: #eec13c;
  width: 0;
  display: block;
  margin: 0 auto;
}

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background .4s, border-color .4s;
}
.nav.scrolled {
  background: rgba(8, 10, 20, .88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

main > section, footer {
  position: relative;
  z-index: 1;
}

.hero-earth {
  position: absolute;
  width: 64vmin;
  height: 64vmin;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #4CAF82 0%, #3DAA6A 13%, #2D6A9F 33%, #1a4a7a 54%, #0d2a4a 74%, #050714 100%);
  box-shadow: 0 0 65px rgba(45, 106, 159, .55), 0 0 140px rgba(45, 106, 159, .2), inset -14px -14px 36px rgba(0, 0, 0, .5), inset 4px 4px 18px rgba(61, 170, 106, .12);
  z-index: 2;
}
.hero-earth::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, transparent 64%, rgba(45, 106, 159, .28) 78%, rgba(100, 180, 255, .1) 88%, transparent 100%);
}

#planet-info {
  position: absolute;
  z-index: 25;
  bottom: 2.5rem;
  left: 2.5rem;
  max-width: 26rem;
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(18px);
  padding: 2rem;
  border-left: 2px solid #eec13c;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .45s ease, transform .45s ease;
}
#planet-info.vis {
  opacity: 1;
  transform: translateY(0);
}

#solar-end {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}

.bh-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bh-disk {
  position: absolute;
  width: 76vmin;
  height: 17vmin;
  border-radius: 50%;
  background: conic-gradient(rgba(255, 106, 0, .95) 0deg, rgba(238, 193, 60, .75) 90deg, rgba(255, 106, 0, .55) 180deg, rgba(194, 59, 122, .45) 270deg, rgba(255, 106, 0, .95) 360deg);
  filter: blur(1px);
  animation: dspin 9s linear infinite;
}
@keyframes dspin {
  from {
    transform: rotateX(72deg) rotateZ(0);
  }
  to {
    transform: rotateX(72deg) rotateZ(360deg);
  }
}
.bh-glow {
  position: absolute;
  width: 56vmin;
  height: 56vmin;
  border-radius: 50%;
  background: radial-gradient(circle, #000 0%, #000 28%, rgba(255, 106, 0, .55) 44%, rgba(194, 59, 122, .28) 58%, transparent 73%);
  box-shadow: 0 0 70px rgba(255, 106, 0, .45), 0 0 140px rgba(255, 106, 0, .15);
  animation: bhpulse 3.5s ease-in-out infinite alternate;
}
@keyframes bhpulse {
  from {
    box-shadow: 0 0 60px rgba(255, 106, 0, .4), 0 0 120px rgba(255, 106, 0, .12);
  }
  to {
    box-shadow: 0 0 100px rgba(255, 106, 0, .65), 0 0 200px rgba(255, 106, 0, .22);
  }
}
.bh-core {
  position: absolute;
  width: 22vmin;
  height: 22vmin;
  border-radius: 50%;
  background: #000;
  z-index: 3;
  box-shadow: 0 0 0 3px rgba(255, 106, 0, .3);
}

.meteor {
  position: absolute;
  height: 1.5px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(238, 193, 60, .5), transparent);
  transform: rotate(-35deg);
  filter: blur(.3px);
}

@keyframes scrolll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
#testi-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scrolll 28s linear infinite;
}
#testi-track:hover {
  animation-play-state: paused;
}

#tl-track {
  display: flex;
  gap: 5rem;
  width: max-content;
  will-change: transform;
  padding-top: 2.5rem;
}

.cpath {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}

@keyframes orb {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .45;
  }
}