/* === Animations === */

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

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
  }
  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
  }
}

.fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

.slide-up {
  animation: slide-up 0.8s ease-out forwards;
}

.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* === Glassmorphism === */

.glass-card {
  background: rgba(31, 41, 55, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card:hover {
  background: rgba(31, 41, 55, 0.55);
  border-color: rgba(59, 130, 246, 0.3);
}

.glass-nav {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* === Gradients === */

.bg-gradient-hero {
  background: radial-gradient(
      ellipse 80% 50% at 50% -20%,
      rgba(59, 130, 246, 0.12) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, #0a0a0a 0%, #111827 50%, #0a0a0a 100%);
}

.bg-gradient-card {
  background: linear-gradient(145deg, #111827 0%, #1f2937 100%);
}

.text-gradient {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Scrollbar === */

::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

/* === Typography === */

.mono-accent {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
  letter-spacing: 0.05em;
}

/* === Smooth Scroll === */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* === Selection === */

::selection {
  background: rgba(59, 130, 246, 0.3);
  color: #ffffff;
}
