/* CSS para cometa_layer - Efecto de estrellas estáticas distribuidas */
.cometa_layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

/* Estilos base para todas las estrellas */
.estrella-estatica {
  position: absolute;
  width: 48px;
  height: 48px;
  opacity: 0.8;
  filter: drop-shadow(0 0 14px rgba(129, 56, 232, 0.7));
  animation: twinkle 3s ease-in-out infinite;
}

/* Posicionamiento individual de cada estrella */
.star1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  transform: scale(0.8);
}

.star2 {
  top: 25%;
  left: 85%;
  animation-delay: 0.5s;
  transform: scale(1.2);
}

.star3 {
  top: 35%;
  left: 20%;
  animation-delay: 1s;
  transform: scale(0.6);
}

.star4 {
  top: 45%;
  left: 75%;
  animation-delay: 1.5s;
  transform: scale(1.1);
}

.star5 {
  top: 55%;
  left: 15%;
  animation-delay: 2s;
  transform: scale(0.9);
}

.star6 {
  top: 65%;
  left: 80%;
  animation-delay: 2.5s;
  transform: scale(1.3);
}

.star7 {
  top: 75%;
  left: 25%;
  animation-delay: 0.3s;
  transform: scale(0.7);
}

.star8 {
  top: 85%;
  left: 70%;
  animation-delay: 0.8s;
  transform: scale(1.0);
}

.star9 {
  top: 20%;
  left: 50%;
  animation-delay: 1.2s;
  transform: scale(0.8);
}

.star10 {
  top: 30%;
  left: 35%;
  animation-delay: 1.7s;
  transform: scale(1.1);
}

.star11 {
  top: 40%;
  left: 65%;
  animation-delay: 0.2s;
  transform: scale(0.9);
}

.star12 {
  top: 50%;
  left: 45%;
  animation-delay: 0.7s;
  transform: scale(1.2);
}

.star13 {
  top: 60%;
  left: 30%;
  animation-delay: 1.3s;
  transform: scale(0.6);
}

.star14 {
  top: 70%;
  left: 55%;
  animation-delay: 1.8s;
  transform: scale(1.0);
}

.star15 {
  top: 80%;
  left: 40%;
  animation-delay: 0.4s;
  transform: scale(0.8);
}

.star16 {
  top: 90%;
  left: 60%;
  animation-delay: 0.9s;
  transform: scale(1.1);
}

.star17 {
  top: 10%;
  left: 30%;
  animation-delay: 1.4s;
  transform: scale(0.7);
}

.star18 {
  top: 95%;
  left: 20%;
  animation-delay: 1.9s;
  transform: scale(1.3);
}

.star19 {
  top: 5%;
  left: 70%;
  animation-delay: 0.6s;
  transform: scale(0.9);
}

.star20 {
  top: 88%;
  left: 90%;
  animation-delay: 1.1s;
  transform: scale(1.0);
}

/* Animación de parpadeo suave */
@keyframes twinkle {
  0%, 100% {
    opacity: 0.8;
    transform: scale(var(--scale, 1)) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(calc(var(--scale, 1) * 1.1)) rotate(180deg);
  }
}

/* Efectos hover para interactividad */
.estrella-estatica:hover {
  filter: drop-shadow(0 0 15px rgba(129, 56, 232, 0.9));
  transform: scale(1.2);
  transition: all 0.3s ease;
}

/* Responsive para diferentes tamaños de pantalla */
@media (max-width: 768px) {
  .estrella-estatica {
    width: 38px;
    height: 38px;
  }
  
  /* Ajustar posiciones para móviles */
  .star1, .star2, .star3, .star4, .star5 {
    top: 20%;
  }
  
  .star6, .star7, .star8, .star9, .star10 {
    top: 40%;
  }
  
  .star11, .star12, .star13, .star14, .star15 {
    top: 60%;
  }
  
  .star16, .star17, .star18, .star19, .star20 {
    top: 80%;
  }
}

@media (max-width: 480px) {
  .estrella-estatica {
    width: 32px;
    height: 32px;
  }
}

/* Efecto de profundidad con z-index escalonado */
.star1, .star3, .star5, .star7, .star9, .star11, .star13, .star15, .star17, .star19 {
  z-index: -1;
}

.star2, .star4, .star6, .star8, .star10, .star12, .star14, .star16, .star18, .star20 {
  z-index: -2;
}

/* ===== ESTRELLAS FUGAZES (SIN ANIMACIÓN POR AHORA) ===== */
.estrella-fugaz {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.9;
  filter: drop-shadow(0 0 15px rgba(139, 69, 19, 0.8));
  z-index: -3;
}

/* Posicionamiento básico de cada estrella fugaz */
.fugaz1 {
  top: 10%;
  left: 20%;
  transform: scale(0.6);
}

.fugaz2 {
  top: 30%;
  left: 80%;
  transform: scale(1.4);
}

.fugaz3 {
  top: 50%;
  left: 15%;
  transform: scale(0.8);
}

.fugaz4 {
  top: 70%;
  left: 75%;
  transform: scale(1.2);
}

.fugaz5 {
  top: 90%;
  left: 45%;
  transform: scale(1.0);
}












