#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff8f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 1;
  transition: opacity 1.5s ease; /* <-- transición suave */
}

.plate {
  position: relative;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #ffffff 60%, #f3e0de 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: pulse 1.8s infinite ease-in-out;
}

.plate i {
  font-size: 42px;
  color: #b91c1c;
  animation: rotate 2.5s linear infinite;
}

/* Vapor simulando comida caliente */
.steam {
  position: absolute;
  top: -25px;
  width: 10px;
  height: 25px;
  border-radius: 50%;
  background: rgba(185, 28, 28, 0.4);
  opacity: 0;
  animation: steamUp 2s infinite;
}
.steam1 {
  left: 35%;
  animation-delay: 0s;
}
.steam2 {
  left: 50%;
  animation-delay: 0.6s;
}
.steam3 {
  left: 65%;
  animation-delay: 1.2s;
}

.loading-text {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #6b2e2e;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeBlink 1.5s infinite;
}

/* Animaciones */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes steamUp {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(-30px);
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes fadeBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
