/* Loading Screen Styles */
#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.loader-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  padding: 15px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */
  animation: bounce 1s ease-in-out infinite;
}

.loader-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Music Notes Animation */
.music-notes {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.note {
  width: 8px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
  animation: wave 1s ease-in-out infinite;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.note:nth-child(1) {
  height: 30px;
  animation-delay: 0s;
}

.note:nth-child(2) {
  height: 50px;
  animation-delay: 0.1s;
}

.note:nth-child(3) {
  height: 40px;
  animation-delay: 0.2s;
}

.note:nth-child(4) {
  height: 60px;
  animation-delay: 0.3s;
}

.note:nth-child(5) {
  height: 35px;
  animation-delay: 0.4s;
}

.loader-text {
  color: #667eea;
  font-size: 24px;
  font-weight: 600;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 2px;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Animations */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes wave {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.5);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Spinning circle loader (alternative) */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(102, 126, 234, 0.3);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

