/* Letter wave animation for loading screen */

.loader-letter {
  display: inline-block;
  animation: letterBounce 0.8s ease-in-out;
  animation-fill-mode: forwards;
}

.loader-letter.space {
  width: 0.1em;
}

@keyframes letterBounce {
  0%, 70%, 100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-20px);
  }
}

/* Stagger the animation delays for sequential wave effect */
.loader-letter:nth-child(1) { animation-delay: 0s; }
.loader-letter:nth-child(2) { animation-delay: 0.08s; }
.loader-letter:nth-child(3) { animation-delay: 0.16s; }
.loader-letter:nth-child(4) { animation-delay: 0.24s; }
.loader-letter:nth-child(5) { animation-delay: 0.32s; }
.loader-letter:nth-child(6) { animation-delay: 0.4s; }
.loader-letter:nth-child(7) { animation-delay: 0.48s; }
.loader-letter:nth-child(8) { animation-delay: 0.56s; }
.loader-letter:nth-child(9) { animation-delay: 0.64s; }
.loader-letter:nth-child(10) { animation-delay: 0.72s; }
.loader-letter:nth-child(11) { animation-delay: 0.8s; }
.loader-letter:nth-child(12) { animation-delay: 0.88s; }
.loader-letter:nth-child(13) { animation-delay: 0.96s; }
.loader-letter:nth-child(14) { animation-delay: 1.04s; }
.loader-letter:nth-child(15) { animation-delay: 1.12s; }
.loader-letter:nth-child(16) { animation-delay: 1.2s; }
.loader-letter:nth-child(17) { animation-delay: 1.28s; }
.loader-letter:nth-child(18) { animation-delay: 1.36s; }
