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

.bg-space {
  background: linear-gradient(180deg, #0a0e27 0%, #1a1535 50%, #0a0e27 100%);
  min-height: 100vh;
  color: white;
}

.neon-gradient {
  background: linear-gradient(90deg, #b026ff 0%, #39ff14 50%, #ffd700 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
}

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

.neon-text {
  color: #39ff14;
  text-shadow: 
    0 0 10px #39ff14,
    0 0 20px #39ff14,
    0 0 30px #39ff14;
}

.text-gold {
  color: #ffd700;
  text-shadow: 0 0 10px #ffd700;
}

.glass-card {
  background: rgba(26, 21, 53, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(176, 38, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(176, 38, 255, 0.1);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(176, 38, 255, 0.4);
  box-shadow: 0 8px 32px rgba(176, 38, 255, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, #b026ff 0%, #8b00ff 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(176, 38, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176, 38, 255, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, #39ff14 0%, #00cc00 100%);
  color: #0a0e27;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(57, 255, 20, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(57, 255, 20, 0.5);
}

.btn-analyze {
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  color: #0a0e27;
  padding: 12px 32px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-analyze:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: rgba(176, 38, 255, 0.2);
  border-radius: 4px;
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #b026ff 0%, #39ff14 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(176, 38, 255, 0.5);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #b026ff 0%, #39ff14 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(176, 38, 255, 0.5);
}

.form-checkbox, .form-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #b026ff;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.form-checkbox:checked, .form-radio:checked {
  background-color: #b026ff;
  box-shadow: 0 0 10px rgba(176, 38, 255, 0.5);
}

.confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  background-image: 
    radial-gradient(circle, #b026ff 2px, transparent 2px),
    radial-gradient(circle, #39ff14 2px, transparent 2px),
    radial-gradient(circle, #ffd700 2px, transparent 2px);
  background-size: 100px 100px;
  background-position: 0 0, 50px 50px, 25px 75px;
  animation: confettiFall 3s linear;
}

@keyframes confettiFall {
  from {
    transform: translateY(-100%);
    opacity: 1;
  }
  to {
    transform: translateY(100vh);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .neon-gradient {
    font-size: 2.5rem;
  }
  
  .glass-card {
    padding: 1rem;
  }
}