#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, #1a0000 0%, #000000 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

.loader-content {
  text-align: center;
  animation: flashBackground 2s infinite alternate;
}

@keyframes flashBackground {
  0% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(1.3);
  }
}

.logo {
  width: 120px;
  animation: pulse 1.2s infinite;
  filter: drop-shadow(0 0 10px #ff4d00);
}

.neon-text {
  color: #fff;
  font-size: 1.8rem;
  font-family: "Arial Black", sans-serif;
  margin-top: 15px;
  text-shadow: 0 0 5px #fff, 0 0 10px #ff4d00, 0 0 20px #ff6a00,
    0 0 40px #ff6a00;
  animation: neon-glow 2s ease-in-out infinite alternate;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes neon-glow {
  from {
    text-shadow: 0 0 5px #fff, 0 0 10px #ff4d00, 0 0 20px #ff6a00,
      0 0 40px #ff6a00;
  }
  to {
    text-shadow: 0 0 2px #fff, 0 0 4px #ff4d00, 0 0 8px #ff6a00,
      0 0 16px #ff6a00;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.1);
    filter: brightness(1.5);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.equalizer {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 5px;
}

.equalizer div {
  width: 6px;
  height: 20px;
  background: linear-gradient(to top, #ff4d00, #ff6a00);
  animation: equalize 1.2s infinite ease-in-out;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(255, 77, 0, 0.6);
}

.equalizer div:nth-child(1) {
  animation-delay: 0s;
}
.equalizer div:nth-child(2) {
  animation-delay: 0.15s;
}
.equalizer div:nth-child(3) {
  animation-delay: 0.3s;
}
.equalizer div:nth-child(4) {
  animation-delay: 0.45s;
}
.equalizer div:nth-child(5) {
  animation-delay: 0.6s;
}

@keyframes equalize {
  0%,
  100% {
    height: 10px;
  }
  50% {
    height: 50px;
  }
}
