#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  overflow: hidden;
  background: transparent;
}

/* Paneles horizontales */
.panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 20%;
  transform: translateY(0%);
  transition-timing-function: ease-in-out;
  z-index: 1;

  background:
    url('../images/panel-texture.png') repeat;

  background-size: auto; /* mantiene tamaño original de 512x512 */
  background-blend-mode: overlay;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.624);
}



/* Ubicación por niveles desde abajo hacia arriba */
.panel-1 {
  bottom: 0%;
  z-index: 1;
  transition-duration: 0.80s;
}
.panel-2 {
  bottom: 20%;
  z-index: 2;
  transition-duration: 0.95s;
}
.panel-3 {
  bottom: 40%;
  z-index: 3;
  transition-duration: 1s;
}
.panel-4 {
  bottom: 60%;
  z-index: 4;
  transition-duration: 1.05s;
}
.panel-5 {
  bottom: 80%;
  z-index: 5;
  transition-duration: 1.03s;
}

/* Círculos de carga */
.loader-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 12px;
}

.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fada0b;
  animation: bounce 1s infinite ease-in-out;
}

.circle.delay { animation-delay: 0.2s; }
.circle.delay2 { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.5); opacity: 1; }
}
