/*NIEVE*/
#snow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

/*ARBOL DE NAVIDAD*/
/* ---- Árbol navideño flotante (SVG) ---- */
.tree {
  position: fixed;
  bottom: 10px;
  right: 20px;
  width: 110px;          /* cambia tamaño aquí */
  height: auto;
  z-index: 9997;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgb(255, 241, 165));
  transition: transform 0.25s ease;
}
/* ---- Efecto de brillo en la estrella ---- */
.tree svg polygon[fill="#FFD54A"] {
  filter: drop-shadow(0 0 10px #fff59d);
  animation: brilloEstrella 1.5s ease-in-out infinite alternate;
}

@keyframes brilloEstrella {
  from {
    filter: drop-shadow(0 0 10px #fffde7) brightness(1);
  }
  to {
    filter: drop-shadow(0 0 25px #ffff0777) brightness(1.8);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Luces/ornamentos: animación de parpadeo */
.tree .ornament {
  transform-origin: center;
  animation: blink 1.6s infinite;
}
.tree .ornament:nth-child(odd) { animation-delay: 0.1s; }
.tree .ornament:nth-child(2n)   { animation-delay: 0.45s; }
.tree .ornament:nth-child(3n)   { animation-delay: 0.85s; }

@keyframes blink {
  0%   { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.35; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}



