
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Keyframes for Animation */
@keyframes gradient-shine {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200px 0;
  }
}

/* Gradient Overlays and Animations */
.animate-gradient-shine {
  background-size: 400% 400%;
  animation: 2s ease-in-out infinite normal none running gradient-shine;
}

/* Backdrop Filters Enhancement */
.backdrop-blur-custom {
  backdrop-filter: blur(10px);
}

/* Text Gradient Classes */
.text-gradient-primary {
  background: linear-gradient(90deg, #a8e6cf, #85e0ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
  background: linear-gradient(90deg, #0f172a, #1e293b);
}

/* Custom Border Radius */
.rounded-xxl {
  border-radius: 2rem;
}

/* Animated Transition Effects */
.transition-xxs {
  transition: all 0.2s ease;
}

/* Custom Shadows */
.shadow-xl-soft {
  box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

/* Font Glow for Code Blocks */
.code-glow {
  box-shadow: 0 0 20px rgba(124, 115, 255, 0.4);
  transition: all 0.3s ease;
  transform: translateZ(0);
}

/* Interactive Highlights */
.interactive {
  cursor: pointer;
}

.interactive:hover {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transform: scale(1.02);
}

/* Selection Highlight */
::-moz-selection {
  background: linear-gradient(to right, #63b3ed, #a052cc);
  color: #fff;
}
::-webkit-selection {
  background: linear-gradient(to right, #63b3ed, #a052cc);
  color: #fff;
}
::-ms-selection {
  background: linear-gradient(to right, #63b3ed, #a052cc);
  color: #fff;
}
