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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(0);
  }
}

.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  z-index: 9999;
  color: white;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.loading-container.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-container {
  animation: fadeIn 0.5s ease-out;
}

.loading-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  animation: bounce 1.5s ease-in-out infinite;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.loading-logo-icon {
  animation: spin 2s linear infinite;
}

.loading-content {
  margin-top: 24px;
  text-align: center;
}

.loading-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  animation: pulse 2s ease-in-out infinite;
}

.loading-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  animation: pulse 2s ease-in-out infinite 0.3s;
}

.noscript-container {
  text-align: center;
  padding: 50px;
  font-family: Arial, sans-serif;
}

.noscript-title {
  margin: 0 0 12px;
}

.noscript-text {
  margin: 0 0 8px;
}
