/* PWA Splash Screen Styles */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #1c1c1c 0%, #2d2d2d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

#splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-logo {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  margin-bottom: 24px;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  box-shadow: 0 20px 60px rgba(248, 125, 45, 0.3);
}

.splash-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
  animation: slideUp 0.8s ease-out;
}

.splash-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  animation: slideUp 1s ease-out;
}

.splash-loader {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(248, 125, 45, 0.2);
  border-top-color: #f87d2d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-top: 32px;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 20px 60px rgba(248, 125, 45, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(248, 125, 45, 0.5);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Hide splash screen after app loads */
.app-loaded #splash-screen {
  display: none;
}
