/* Custom Loading Screen with PATRA Logo */
#page-loader {
  position: fixed;
  inset: 0;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  filter: drop-shadow(0 10px 30px rgba(255, 87, 34, 0.3));
}

@keyframes spin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.1);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.loader-text {
  margin-top: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff5722;
  text-align: center;
  animation: pulse 2s ease-in-out infinite;
}

.loader-subtext {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #666;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.loading-dots {
  display: inline-block;
}

.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {

  0%,
  20% {
    content: '';
  }

  40% {
    content: '.';
  }

  60% {
    content: '..';
  }

  80%,
  100% {
    content: '...';
  }
}