/* Loading Screen Animation */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f7fa;
  overflow-x: hidden;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-logo {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.loading-logo-emoji {
  font-size: 60px;
}

.loading-title {
  font-size: 48px;
  color: #2d2e40;
  font-weight: 800;
  margin-bottom: 15px;
  text-align: center;
}

.loading-title span {
  color: #667eea;
  text-shadow: none;
}

.loading-subtitle {
  color: #4a5568;
  font-size: 18px;
  margin-bottom: 40px;
  text-align: center;
}

.loading-bar-container {
  width: 300px;
  height: 6px;
  background: rgba(45, 46, 64, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.loading-bar {
  height: 100%;
  background: #667eea;
  border-radius: 10px;
  width: 0%;
  animation: loadingProgress 2s ease-out forwards;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.loading-text {
  color: #4a5568;
  font-size: 14px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes loadingProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

#root {
  min-height: 100vh;
}

noscript {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  text-align: center;
  padding: 20px;
  z-index: 10000;
}
