/* Modern Violet & Pink Theme */
* {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(-45deg, #0f172a, #1a0b2e, #2d1b69, #0f172a);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  min-height: 100vh;
}

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

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

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

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

.animate-fade-in-delay {
  animation: fadeInDelay 1s ease-out 0.2s forwards;
  opacity: 0;
}

.animate-fade-in-delay-2 {
  animation: fadeInDelay 1s ease-out 0.4s forwards;
  opacity: 0;
}

/* Smooth scrolling for sections */
section {
  transition: all 0.6s ease-out;
}

/* Glassmorphism effect */
.glassmorphism {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* Particle.js styling */
#particles-js {
  background-image: radial-gradient(circle at 20% 50%, rgba(124, 58, 255, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

/* Text gradients */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.8);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #7c3aed, #ec4899);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #8b5cf6, #f472b6);
}
.tag {
  @apply px-3 py-1 bg-violet-500/20 text-violet-300 rounded-full text-sm;
}

.tag-sm {
  @apply px-2 py-1 bg-violet-500/20 text-violet-300 rounded text-xs;
}

.work-card {
  @apply relative overflow-hidden rounded-lg border border-violet-500/30 bg-slate-800/30 backdrop-blur transition-all;
}

.work-hover {
  @apply absolute inset-0 bg-gradient-to-r from-violet-600/20 to-pink-600/20 opacity-0 group-hover:opacity-100 transition duration-300;
}

.work-inner {
  @apply relative p-8 h-full flex flex-col justify-between;
}

.work-title {
  @apply text-2xl font-bold mb-3 text-violet-300;
}

.work-text {
  @apply text-slate-400 mb-4;
}

.work-tags {
  @apply flex gap-2 flex-wrap;
}

.btn {
  @apply inline-flex items-center gap-2 px-6 py-3 bg-violet-600 hover:bg-violet-700 rounded-lg transition-colors;
}
.glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 
    0 4px 30px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(255, 255, 255, 0.05);
  border-radius: 16px;
}

/* Hover glow for cards */
.glass-hover:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 8px 40px rgba(139, 92, 246, 0.4),
    inset 0 0 40px rgba(255, 255, 255, 0.08);
  transform: translateY(-6px) scale(1.04);
}