/* Aetheric Flux — mobile-first optimized */
body {
  background-color: #0b1326;
  color: #dae2fd;
}
.aetheric-blur {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}
.blur-orb {
  position: absolute;
  filter: blur(80px);
  border-radius: 50%;
  opacity: 0.12;
}
.orb-1 {
  width: 280px;
  height: 280px;
  background: #a078ff;
  top: -5%;
  left: -10%;
}
.orb-2 {
  width: 220px;
  height: 220px;
  background: #03c6b2;
  bottom: -5%;
  right: -5%;
}
.orb-3 {
  width: 180px;
  height: 180px;
  background: #e364a7;
  top: 40%;
  right: 5%;
}

@media (min-width: 640px) {
  .blur-orb {
    filter: blur(120px);
    opacity: 0.15;
  }
  .orb-1 {
    width: 500px;
    height: 500px;
    top: -10%;
  }
  .orb-2 {
    width: 400px;
    height: 400px;
  }
  .orb-3 {
    width: 300px;
    height: 300px;
    right: 10%;
  }
}

.glass-card {
  background: rgba(23, 31, 51, 0.4);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.generate-gradient {
  background: linear-gradient(135deg, #a078ff 0%, #03c6b2 100%);
  box-shadow: 0 0 20px rgba(160, 120, 255, 0.3);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.view-hidden {
  display: none !important;
}

.nav-active {
  color: rgb(167 139 250);
  background: rgba(139, 92, 246, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.nav-inactive {
  color: rgb(115 115 115);
}

/* Mobile-first touch optimizations */
button, select, input, textarea, label[for] {
  touch-action: manipulation;
}

/* Prevent text selection on interactive elements */
.nav-btn, .mode-tab, #btn-generate, #drop-zone {
  -webkit-user-select: none;
  user-select: none;
}

/* Smooth scrolling for main content */
main {
  -webkit-overflow-scrolling: touch;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .animate-pulse {
    animation: none !important;
  }
  .transition-all,
  .transition-colors,
  .transition-opacity,
  .transition-transform {
    transition-duration: 0.01ms !important;
  }
}
