.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #101010;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-logo-image {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  animation: fadeInUp 0.4s ease-out 0.2s forwards;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 200px;
  padding: 0 20px;
}

.loading-logo h2 {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--mesana-cream, #E8D5B7);
  margin: 0;
  text-align: center;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.loading-progress-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loading-progress-bar {
  width: 100%;
  height: 2px;
  background-color: rgba(232, 213, 183, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loading-progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--mesana-cream, #E8D5B7);
  border-radius: 2px;
  transition: width 0.3s ease-out;
  position: relative;
}

.loading-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 1.5s infinite;
}

.loading-percentage {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--mesana-cream, #E8D5B7);
  opacity: 0.7;
  letter-spacing: 1px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Hide body content while loading */
body.loading {
  overflow: hidden;
}

body.loading .hero-content {
  opacity: 0;
}

body.loading .hero-title-line,
body.loading .hero-subtitle-line,
body.loading .hero-cta {
  animation: none;
  opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .loading-logo h2 {
    font-size: 22px;
  }
  
  .loading-content {
    gap: 32px;
  }
}

