/*
 * Uranus Company Limited
 * Homepage Styles v1.0
 */

/* ========================================
   01. Hero Logo Animation
======================================== */

.uranus-hero-visual {
  position: relative;
  height: 470px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.uranus-hero-halo {
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid #c5e2ec30;
  border-radius: 50%;
  box-shadow:
    0 0 0 40px #a5c8d807,
    0 0 0 90px #a5c8d804;
  animation: uranus-hero-spin 80s linear infinite;
}

.uranus-hero-halo::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9CCBA7;
  top: 48px;
  left: 64px;
  box-shadow: 0 0 16px #9CCBA7;
}

.uranus-hero-orbit {
  position: absolute;
  width: 520px;
  height: 170px;
  transform: rotate(-23deg);
  border: 2px solid #add6e66b;
  border-radius: 50%;
}

.uranus-hero-visual img {
  position: relative;
  width: min(93%, 440px);
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 24px 45px #000a);
}

@keyframes uranus-hero-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   02. Scientific Orbit Background
======================================== */

.uranus-orbit-background {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background: radial-gradient(
    ellipse at 65% 48%,
    #1C394F 0%,
    #142A3D 48%,
    #0D1B2B 100%
  );

  border: 1px solid #355873;
}

.uranus-orbit-background::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  border: 2px solid rgba(124, 172, 194, 0.32);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

.uranus-orbit-background::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border: 2px solid rgba(124, 172, 194, 0.32);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

.uranus-orbit-background > * {
  position: relative;
  z-index: 1;
}

/* ========================================
   03. Responsive - Tablet
======================================== */

@media (max-width: 1024px) {
  .uranus-orbit-background::before {
    width: 550px;
    height: 550px;
  }

  .uranus-orbit-background::after {
    width: 360px;
    height: 360px;
  }
}

@media (max-width: 850px) {
  .uranus-hero-visual {
    height: 310px;
  }

  .uranus-hero-halo {
    width: 300px;
    height: 300px;
  }

  .uranus-hero-orbit {
    width: 340px;
  }

  .uranus-hero-visual img {
    width: 290px;
  }
}

/* ========================================
   04. Responsive - Mobile
======================================== */

@media (max-width: 767px) {
  .uranus-orbit-background {

  }

  .uranus-orbit-background::before {
    width: 420px;
    height: 420px;
  }

  .uranus-orbit-background::after {
    width: 270px;
    height: 270px;
  }
}

@media (max-width: 560px) {
  .uranus-hero-visual {
    height: 280px;
  }

  .uranus-hero-halo {
    width: 250px;
    height: 250px;
  }

  .uranus-hero-orbit {
    width: 290px;
    height: 100px;
  }

  .uranus-hero-visual img {
    width: 260px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .uranus-hero-halo {
    animation: none;
  }
}
