* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.header-gradient {
  background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 50%, #F472B6 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.floating-emoji {
  position: absolute;
  font-size: 2rem;
  opacity: 0.6;
  animation: float 20s linear infinite;
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.question-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
  animation: slide-up 0.5s ease-out;
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #8B5CF6, #F472B6);
  border-radius: 999px;
  transition: width 0.5s ease;
}

.option-card {
  background: white;
  border: 3px solid transparent;
  border-radius: 20px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.option-card:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
  border-color: #8B5CF6;
}

.option-card.selected {
  border-color: #8B5CF6;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(244, 114, 182, 0.1));
  transform: scale(1.05);
}

.tool-card {
  display: block;
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  animation: fade-in 0.6s ease-out;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.25);
}

.tool-card.primary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(244, 114, 182, 0.05));
  border: 2px solid #8B5CF6;
}

.tool-card.secondary {
  background: white;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

button {
  transition: all 0.3s ease;
}

button:hover {
  transform: scale(1.05);
}

button:active {
  transform: scale(0.98);
}

@media (max-width: 768px) {
  .header-gradient {
    padding: 3rem 1rem;
  }

  .question-card {
    padding: 1.5rem;
  }

  .option-card {
    padding: 1.5rem;
  }

  .tool-card {
    padding: 2rem;
  }
}