/* Preload Overlay */
.preload-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #541541; /* Roxo escuro */
  background-image: url('../images/texture.png');
  background-repeat: repeat;
  background-blend-mode: multiply;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preload-overlay--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preload-overlay__image {
  width: 120px;
  height: auto;
  animation: pulse 2s ease-in-out infinite;
}

/* Animação de Pulsação */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Versão Mobile */
@media (max-width: 768px) {
  .preload-overlay__image {
    width: 90px;
  }
}

/* Prevenir scroll enquanto carrega */
body.loading {
  overflow: hidden;
}

