#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #fff;
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #121a24 100%);
  opacity: 1;
  transition: opacity 0.35s ease;
}
#loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.loader-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 4.5vw, 2.25rem);
  font-weight: 700;
  margin: 0;
}
.loader-brand span { color: #f28d52; }
.loader-tagline {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.loader-music {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 32px;
}
.loader-music .bar {
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, #f28d52, #cf6f38);
  animation: loaderPulse 0.85s ease-in-out infinite;
}
.loader-music .bar:nth-child(1) { height: 14px; animation-delay: 0s; }
.loader-music .bar:nth-child(2) { height: 22px; animation-delay: 0.1s; }
.loader-music .bar:nth-child(3) { height: 30px; animation-delay: 0.2s; }
.loader-music .bar:nth-child(4) { height: 22px; animation-delay: 0.3s; }
.loader-music .bar:nth-child(5) { height: 14px; animation-delay: 0.4s; }
@keyframes loaderPulse {
  0%, 100% { transform: scaleY(0.75); opacity: 0.75; }
  50% { transform: scaleY(1.15); opacity: 1; }
}
.loader-features {
  margin-top: 2px;
  min-height: 92px;
  display: flex;
  justify-content: center;
}
.loader-feature-wheel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.loader-feature-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 28px;
  opacity: 0.3;
  transform: translateY(0) scale(0.92);
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.45s ease, font-size 0.45s ease;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.loader-feature-item.is-current {
  opacity: 1;
  transform: translateY(0) scale(1);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
}
.loader-feature-item.is-prev,
.loader-feature-item.is-next {
  opacity: 0.32;
  color: rgba(255,255,255,0.55);
}
.loader-feature-item i {
  color: rgba(242, 141, 82, 0.6);
  font-size: 1rem;
  line-height: 1;
  transition: color 0.45s ease, font-size 0.45s ease, opacity 0.45s ease;
}
.loader-feature-item.is-current i {
  color: #f28d52;
  font-size: 1.22rem;
}
.loader-feature-wheel.is-advancing .loader-feature-item.is-prev {
  opacity: 0;
  transform: translateY(-10px) scale(0.88);
}
.loader-feature-wheel.is-advancing .loader-feature-item.is-current {
  opacity: 0.34;
  transform: translateY(-10px) scale(0.92);
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  font-weight: 400;
}
.loader-feature-wheel.is-advancing .loader-feature-item.is-current i {
  color: rgba(242, 141, 82, 0.6);
  font-size: 1rem;
}
.loader-feature-wheel.is-advancing .loader-feature-item.is-next {
  opacity: 1;
  transform: translateY(-10px) scale(1);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
}
.loader-feature-wheel.is-advancing .loader-feature-item.is-next i {
  color: #f28d52;
  font-size: 1.22rem;
}
.loader-feature-wheel.no-transition .loader-feature-item {
  transition: none;
}
#skip-loader {
  position: absolute;
  top: 14px;
  right: 18px;
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 1.6rem;
  border: 0;
  cursor: pointer;
  line-height: 1;
}
#skip-loader:hover { color: #fff; }
