/* Custom gradient text */
.gradient-text {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero gradient background */
.hero-gradient {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1025 50%, #0a0a0f 100%);
}

/* Particles background effect */
.particles-bg {
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 30%);
}

/* Glass card effect */
.glass-card {
  background: rgba(26, 16, 37, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

/* CTA button */
.cta-button {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
  transition: all 0.3s ease;
}

.cta-button:hover {
  box-shadow: 0 6px 30px rgba(249, 115, 22, 0.6);
  transform: translateY(-2px);
}

/* Glow effects */
.glow-badge {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.glow-dot {
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.profile-glow {
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}

/* Experience card hover */
.experience-card {
  transition: all 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.4);
}

/* Blog card hover */
.blog-card {
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
  }
  50% {
    transform: translateX(-50%) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-delay {
  animation: fadeIn 0.8s ease 0.3s forwards;
  opacity: 0;
}

.animate-bounce-in {
  animation: bounceIn 0.5s ease forwards;
}

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

::-webkit-scrollbar-track {
  background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8b5cf6 0%, #3b82f6 100%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #a78bfa 0%, #60a5fa 100%);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .particles-bg {
    background-image: 
      radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
      radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
  }
}

/* Selection styling */
::selection {
  background: rgba(139, 92, 246, 0.4);
  color: white;
}