@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes quoteFade {
  0%, 100% { opacity: 0; transform: translateY(10px); }
  10%, 90% { opacity: 1; transform: translateY(0); }
}

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

@keyframes ideaCardHover {
  from { transform: translateY(0); }
  to { transform: translateY(-4px); }
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.animated-gradient-text {
  background: linear-gradient(270deg, #ec4899, #8b5cf6, #3b82f6, #ec4899);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
}

.glass-card {
  box-shadow: 0 8px 32px 0 rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.manifest-button {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

.manifest-button:hover:not(:disabled) {
  box-shadow: 0 6px 30px rgba(236, 72, 153, 0.6);
}

.textarea-glow:focus {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.quote-fade {
  animation: quoteFade 4s ease-in-out;
}

.manifestation-appear {
  animation: manifestAppear 0.5s ease-out;
}

.idea-card:hover {
  animation: ideaCardHover 0.3s ease-out forwards;
}

.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: confettiFall 3s linear forwards;
  top: -20px;
}

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

::-webkit-scrollbar-track {
  background: rgba(139, 92, 246, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ec4899, #8b5cf6);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #db2777, #7c3aed);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .animated-gradient-text {
    font-size: 2rem;
  }
}