.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.stars .star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #fff;
  border-radius: 50%;
  animation: twinkle var(--duration) infinite both;
  opacity: 0;
}

@keyframes twinkle {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }

  25% {
    opacity: 1;
    transform: translateY(-5px) scale(1);
  }

  50% {
    opacity: 0.5;
    transform: translateY(-10px) scale(0.8);
  }

  75% {
    opacity: 1;
    transform: translateY(-15px) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0.5);
  }
}

/* Shooting Star */
.shooting-star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(249, 115, 22, 1) 70%, rgba(255, 255, 255, 1) 100%);
  transform: rotate(-45deg);
  animation: shooting 8s linear infinite;
  filter: drop-shadow(0 0 8px #F97316);
  opacity: 0;
}

.shooting-star::before {
  content: '';
  position: absolute;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
  box-shadow: 0 0 20px 5px #fff;
  transform: translateY(-50%);
}

@keyframes shooting {
  0% {
    transform: rotate(-45deg) translateX(-100vw) translateY(-100vh);
    opacity: 1;
  }

  20% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }

  100% {
    transform: rotate(-45deg) translateX(100vw) translateY(100vh);
    opacity: 0;
  }
}

/* Aurora Effect */
.aurora {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.2;
  pointer-events: none;
}

.aurora .aurora-light {
  position: absolute;
  width: 100%;
  height: 250px;
  background: linear-gradient(0deg, rgba(6, 182, 212, 0) 0%, rgba(6, 182, 212, 0.3) 50%, rgba(6, 182, 212, 0) 100%);
  transform-origin: center;
  animation: aurora-flow 20s linear infinite;
  border-radius: 50%;
  filter: blur(40px);
}

.aurora .aurora-light:nth-child(2) {
  background: linear-gradient(0deg, rgba(79, 70, 229, 0) 0%, rgba(79, 70, 229, 0.4) 50%, rgba(79, 70, 229, 0) 100%);
  animation-delay: -5s;
  height: 300px;
}

.aurora .aurora-light:nth-child(3) {
  background: linear-gradient(0deg, rgba(249, 115, 22, 0) 0%, rgba(249, 115, 22, 0.3) 50%, rgba(249, 115, 22, 0) 100%);
  animation-delay: -10s;
  height: 350px;
}

@keyframes aurora-flow {
  0% {
    transform: translateY(-50%) translateX(-20%) rotate(0deg) scale(1.5);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-60%) translateX(20%) rotate(180deg) scale(2);
    opacity: 0.5;
  }

  100% {
    transform: translateY(-50%) translateX(-20%) rotate(360deg) scale(1.5);
    opacity: 0.3;
  }
}

/* Neo Brutalist Elements */
.neo-brutalist {
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.8);
  border: 3px solid;
  transform: rotate(-1deg);
  transition: all 0.3s ease;
}

.neo-brutalist:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.8);
}

/* 3D Card Effect */
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  perspective: 1000px;
}

.card-3d:hover {
  transform: rotateY(10deg) rotateX(10deg);
}

.card-3d-content {
  transform: translateZ(30px);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-3d:hover .card-3d-content {
  transform: translateZ(60px);
}

/* Glow Effects */
.glow-border {
  position: relative;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, #4F46E5, #06B6D4, #F97316, #4F46E5);
  border-radius: inherit;
  z-index: -1;
  animation: rotate-glow 5s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-border:hover::after {
  opacity: 1;
}

@keyframes rotate-glow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Text Animation */
.animated-text {
  position: relative;
  display: inline-block;
}

.animated-text::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.animated-text:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Scrolling Indicator */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.scroll-down .mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  margin-bottom: 10px;
  position: relative;
}

.scroll-down .mouse .wheel {
  position: absolute;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  left: 50%;
  margin-left: -2px;
  top: 8px;
  animation: mouse-wheel 1.2s ease infinite;
}

@keyframes mouse-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}