/* ===== LOADER RÁPIDO ===== */
.loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #4B0082, #A03E7D, #FF7F50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 99999;
  transition: opacity 0.4s ease, visibility 0.4s ease; /* Más rápido */
}

.loader__content {
  text-align: center;
  color: #fff;
  animation: fadeIn 0.5s ease; /* Más rápido */
}

.loader__logo {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
  animation: pulse 1.2s infinite ease-in-out; /* Más rápido */
}

.loader__text {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.95; } /* Más sutil */
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ocultar loader */
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
