.solar-planet-visual.planet-galaxy {
  position: relative;
  width: 296px;
  height: 296px;
  flex-basis: 296px;
  isolation: isolate;
  overflow: visible;
}

.solar-background {
  background-image: url("/assets/cockpit/deep-space-background-v1.png");
  background-position: center;
  background-size: cover;
  filter: brightness(0.62) saturate(0.72) contrast(1.16);
  opacity: 0.94;
  animation: deep-space-background-drift 64s ease-in-out infinite alternate;
}

.solar-system-overview::before {
  content: "";
  position: absolute;
  inset: -7%;
  z-index: -1;
  pointer-events: none;
  background: url("/assets/cockpit/deep-space-foreground-v1.png") center / cover no-repeat;
  opacity: 0.42;
  animation: deep-space-foreground-drift 38s ease-in-out infinite alternate;
}

.solar-planet-carousel {
  position: relative;
  z-index: 1;
  overflow-y: clip;
  overflow-clip-margin: 72px;
}

.solar-planet-button {
  transform: translateY(-42px);
  transition: transform 0.35s ease;
}

.solar-overview-header,
.solar-scope-filter {
  position: relative;
  z-index: 2;
}

.solar-planet-visual.planet-galaxy img {
  position: relative;
  z-index: 1;
  animation: project-galaxy-counterspin 58s linear infinite;
}

.solar-planet-item.active .solar-planet-visual.planet-galaxy {
  transform: scale(1.16);
}

@keyframes deep-space-background-drift {
  from {
    transform: translate3d(-0.6%, -0.4%, 0) scale(1.06);
  }

  to {
    transform: translate3d(0.8%, 0.6%, 0) scale(1.12);
  }
}

@keyframes deep-space-foreground-drift {
  from {
    opacity: 0.3;
    transform: translate3d(-0.8%, 0.5%, 0) scale(1.02);
  }

  to {
    opacity: 0.5;
    transform: translate3d(1%, -0.7%, 0) scale(1.06);
  }
}

@keyframes project-galaxy-counterspin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.solar-system-overview::after {
  background: linear-gradient(
    180deg,
    rgba(1, 7, 18, 0.28) 0%,
    rgba(1, 7, 18, 0.08) 44%,
    rgba(1, 7, 18, 0.22) 100%
  );
}

.solar-total-strip {
  background: rgba(7, 15, 29, 0.42);
  border-color: rgba(154, 184, 226, 0.1);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.12);
}

.solar-project-console {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(5, 13, 27, 0.08),
    rgba(5, 13, 27, 0.42) 22%,
    rgba(5, 13, 27, 0.42) 78%,
    rgba(5, 13, 27, 0.08)
  );
  border: 0;
  border-top: 1px solid rgba(151, 183, 226, 0.1);
  border-bottom: 1px solid rgba(151, 183, 226, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
  .solar-planet-visual.planet-galaxy {
    width: 210px;
    height: 210px;
    flex-basis: 210px;
  }

  .solar-background {
    background-position: 58% center;
  }

  .solar-system-overview::before {
    inset: -4%;
    opacity: 0.34;
  }

  .solar-planet-button {
    transform: translateY(-24px);
  }

  .solar-planet-item.active .solar-planet-visual.planet-galaxy {
    transform: scale(1.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .solar-background,
  .solar-system-overview::before,
  .solar-planet-visual.planet-galaxy img {
    animation: none;
  }
}
