/* Minerva Metrics Hub - Custom Styles */

/* Brand Colors */
:root {
  --primary-purple: #8b3df8;
  --primary-blue: #00d5ff;
  --primary-cyan: #00f0c6;
  --gradient-primary: linear-gradient(135deg, #8b3df8 0%, #00d5ff 50%, #00f0c6 100%);
  --gradient-purple-blue: linear-gradient(135deg, #8b3df8 0%, #00d5ff 100%);
  --gradient-blue-cyan: linear-gradient(135deg, #00d5ff 0%, #00f0c6 100%);
}

/* Smooth Transitions */
* {
  transition: all 0.2s ease-in-out;
}

/* Custom Gradient Backgrounds */
.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-purple-blue {
  background: var(--gradient-purple-blue);
}

.bg-gradient-blue-cyan {
  background: var(--gradient-blue-cyan);
}

/* Gradient Text */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Custom Button Styles */
.btn-gradient {
  background: var(--gradient-purple-blue);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(139, 61, 248, 0.3);
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 61, 248, 0.4);
}

/* Card Hover Effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #8b3df8, #00d5ff);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #7a2de8, #00c5ef);
}

/* Animated Gradient Border */
.gradient-border {
  position: relative;
  background: white;
  border-radius: 1rem;
  padding: 2px;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 2px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Badge Styles */
.badge-premium {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.badge-pro {
  background: linear-gradient(135deg, #00d5ff, #00f0c6);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Star Rating */
.star-rating {
  color: #fbbf24;
  font-size: 1.25rem;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Mobile Menu Animation */
@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.mobile-menu-enter {
  animation: slideIn 0.3s ease-out;
}
