.landing-hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
}

.galaxy-background {
  position: relative;
  width: 100%;
  min-height: 480px;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  overflow: hidden;
  border-radius: 12px;
  z-index: 1;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.galaxy-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      2px 2px at 40px 60px,
      #ffffff,
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(2px 2px at 90px 40px, #ffffff, rgba(255, 255, 255, 0)),
    radial-gradient(3px 3px at 150px 80px, #ffffff, rgba(255, 255, 255, 0)),
    radial-gradient(2px 2px at 200px 120px, #ffffff, rgba(255, 255, 255, 0)),
    radial-gradient(4px 4px at 250px 60px, #ffffff, rgba(255, 255, 255, 0)),
    radial-gradient(
      6px 6px at 300px 200px,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0)
    ),
    radial-gradient(
      4px 4px at 350px 150px,
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0)
    );
  background-repeat: repeat;
  background-size: 400px 400px;
  animation: twinkle 10s ease-in-out infinite alternate;
  z-index: -1;
  opacity: 0.8;
}

.galaxy-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(111, 66, 193, 0.4),
      transparent 25%
    ),
    radial-gradient(circle at 80% 70%, rgba(253, 126, 20, 0.4), transparent 25%);
  z-index: -1;
  opacity: 0.6;
}

/* Falling stars for hero */
.galaxy-background .hero-star {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 5px 2px #ffffff, 0 0 15px 5px rgba(255, 223, 159, 0.8),
    0 0 30px 8px rgba(255, 210, 120, 0.6);
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.galaxy-background .hero-star-left {
  animation: heroFallLeft 8s ease-in forwards;
}

.galaxy-background .hero-star-right {
  animation: heroFallRight 10s ease-in forwards;
}

@keyframes heroFallLeft {
  0% {
    transform: translate(100%, -50px) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  70% {
    opacity: 0.7;
  }
  100% {
    transform: translate(-150px, 300%) rotate(-35deg) scale(0.2);
    opacity: 0;
  }
}

@keyframes heroFallRight {
  0% {
    transform: translate(0%, -50px) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  70% {
    opacity: 0.7;
  }
  100% {
    transform: translate(150%, 300%) rotate(35deg) scale(0.2);
    opacity: 0;
  }
}
