/* ListingAI Pro - Enhanced Styles */

/* Loading dots animation */
.loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
}

.loading-dots span {
  width: 12px;
  height: 12px;
  background: linear-gradient(45deg, #00ffff, #8b5cf6);
  border-radius: 50%;
  animation: loading-bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes loading-bounce {
  0%, 80%, 100% {
    transform: scale(0);
  } 40% {
    transform: scale(1);
  }
}

/* Floating worlds background */
.floating-worlds {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.world {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.world-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #00ffff, #0080ff);
  top: 10%;
  left: 10%;
  animation-duration: 25s;
}

.world-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #8b5cf6, #d946ef);
  top: 60%;
  right: 15%;
  animation-duration: 30s;
  animation-direction: reverse;
}

.world-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #10b981, #34d399);
  bottom: 20%;
  left: 20%;
  animation-duration: 20s;
}

.world-4 {
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, #f59e0b, #fbbf24);
  top: 30%;
  right: 5%;
  animation-duration: 35s;
  animation-direction: reverse;
}

.world-5 {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #ef4444, #f87171);
  top: 70%;
  left: 60%;
  animation-duration: 15s;
}

.world-6 {
  width: 180px;
  height: 180px;
  background: linear-gradient(45deg, #ec4899, #f472b6);
  bottom: 10%;
  right: 30%;
  animation-duration: 28s;
  animation-direction: reverse;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-50px) rotate(180deg);
  }
  100% {
    transform: translateY(0px) rotate(360deg);
  }
}

/* Glass morphism effect */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Button styles */
.btn {
  background: linear-gradient(45deg, #00ffff, #8b5cf6);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Glow effect */
.glow {
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Font families */
.font-orbitron {
  font-family: 'Orbitron', monospace;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

/* Responsive design */
@media (max-width: 768px) {
  .world {
    opacity: 0.05;
  }
  
  .world-1, .world-2, .world-4, .world-6 {
    width: 100px;
    height: 100px;
  }
  
  .world-3, .world-5 {
    width: 60px;
    height: 60px;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00ffff, #8b5cf6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #00cccc, #7c3aed);
}

/* Wizard specific styles */
.wizard-step {
  min-height: 60vh;
}

.wizard-step.active {
  display: block;
}

.wizard-step:not(.active) {
  display: none;
}

/* Progress bar animation */
.progress-bar {
  transition: width 0.5s ease-in-out;
}

/* Image preview styles */
.image-preview {
  max-width: 100%;
  height: auto;
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.2);
}

/* Tag styles */
.tag {
  display: inline-block;
  background: rgba(0, 255, 255, 0.2);
  color: #00ffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  margin: 2px;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

/* Success states */
.success-state {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 8px;
  padding: 12px;
}

/* Error states */
.error-state {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 12px;
}

/* Processing states */
.processing-state {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  padding: 12px;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .btn {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
  
  .glass {
    padding: 1rem;
  }
  
  .wizard-step {
    min-height: 50vh;
  }
  
  .image-preview {
    max-width: 250px;
  }
}