/* ========================================
   STARFIELD ANIMATION - Global Styles
   Used across multiple sections
   ======================================== */

/* Stars container - absolute positioned wrapper */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
}

/* Base star styling */
.star {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  animation: star-twinkle 5s ease-in-out infinite;
}

/* Star 1 - White - Medium (10px) */
.star-1 {
  width: 10px;
  height: 10px;
  top: 38%;
  left: 32%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%);
  box-shadow: 0 0 15px 6px rgba(255, 255, 255, 0.5);
  animation-delay: 0s;
}

/* Star 2 - Purple hint */
.star-2 {
  width: 14px;
  height: 14px;
  top: 88%;
  left: 38%;
  background: radial-gradient(circle, rgba(200, 180, 255, 1) 0%, rgba(200, 180, 255, 0.5) 60%, transparent 100%);
  box-shadow: 0 0 20px 10px rgba(200, 180, 255, 0.6);
  animation-delay: 1.5s;
}

/* Star 3 - Yellow hint */
.star-3 {
  width: 12px;
  height: 12px;
  top: 35%;
  left: 65%;
  background: radial-gradient(circle, rgba(255, 235, 150, 1) 0%, rgba(255, 235, 150, 0.5) 60%, transparent 100%);
  box-shadow: 0 0 20px 10px rgba(255, 235, 150, 0.6);
  animation-delay: 0.8s;
}

/* Star 4 - White - Small (5px) */
.star-4 {
  width: 5px;
  height: 5px;
  top: 42%;
  left: 90%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%);
  box-shadow: 0 0 12px 5px rgba(255, 255, 255, 0.4);
  animation-delay: 2s;
}

/* Star 5 - Purple hint */
.star-5 {
  width: 12px;
  height: 12px;
  top: 25%;
  left: 55%;
  background: radial-gradient(circle, rgba(210, 190, 255, 1) 0%, rgba(210, 190, 255, 0.5) 60%, transparent 100%);
  box-shadow: 0 0 18px 8px rgba(210, 190, 255, 0.6);
  animation-delay: 3s;
}

/* Star 6 - White - Small (6px) */
.star-6 {
  width: 6px;
  height: 6px;
  top: 68%;
  left: 58%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%);
  box-shadow: 0 0 12px 5px rgba(255, 255, 255, 0.4);
  animation-delay: 1.2s;
}

/* Star 7 - Yellow hint */
.star-7 {
  width: 12px;
  height: 12px;
  top: 48%;
  left: 12%;
  background: radial-gradient(circle, rgba(255, 240, 160, 1) 0%, rgba(255, 240, 160, 0.5) 60%, transparent 100%);
  box-shadow: 0 0 18px 8px rgba(255, 240, 160, 0.6);
  animation-delay: 2.5s;
}

/* Star 8 - White - Small (9px) */
.star-8 {
  width: 9px;
  height: 9px;
  top: 32%;
  left: 2%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%);
  box-shadow: 0 0 13px 6px rgba(255, 255, 255, 0.4);
  animation-delay: 0.5s;
}

/* Star 9 - Purple hint */
.star-9 {
  width: 10px;
  height: 10px;
  top: 65%;
  left: 28%;
  background: radial-gradient(circle, rgba(205, 185, 255, 1) 0%, rgba(205, 185, 255, 0.5) 60%, transparent 100%);
  box-shadow: 0 0 20px 10px rgba(205, 185, 255, 0.6);
  animation-delay: 3.5s;
}

/* Star 10 - White - Tiny (3px) */
.star-10 {
  width: 3px;
  height: 3px;
  top: 52%;
  left: 45%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%);
  box-shadow: 0 0 15px 6px rgba(255, 255, 255, 0.5);
  animation-delay: 1.8s;
}

/* Star 11 - Yellow hint */
.star-11 {
  width: 9px;
  height: 9px;
  top: 38%;
  left: 75%;
  background: radial-gradient(circle, rgba(255, 238, 140, 1) 0%, rgba(255, 238, 140, 0.5) 60%, transparent 100%);
  box-shadow: 0 0 13px 6px rgba(255, 238, 140, 0.5);
  animation-delay: 2.8s;
}

/* Star 12 - Purple hint */
.star-12 {
  width: 12px;
  height: 10px;
  top: 50%;
  left: 88%;
  background: radial-gradient(circle, rgba(215, 200, 255, 1) 0%, rgba(215, 200, 255, 0.5) 60%, transparent 100%);
  box-shadow: 0 0 13px 6px rgba(215, 200, 255, 0.5);
  animation-delay: 4s;
}

/* Twinkle animation */
@keyframes star-twinkle {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.4; 
    transform: scale(0.85);
  }
}

/* Mobile optimization */
@media (max-width: 768px) {
  .star {
    filter: blur(0.4px);
    opacity: 0.85;
  }
}