/* Custom styles for SolScore */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --color-solana-purple: #9945FF;
  --color-solana-teal: #14F195;
  --color-solana-blue: #00C2FF;
  --color-solana-gray: #1E1E24;
  --color-solana-darkgray: #121215;
}

body {
  font-family: 'Inter', sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Animation for swipe in notifications */
@keyframes slideIn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide-in {
  animation: slideIn 0.3s ease forwards;
}

/* Custom scrollbar for the dark theme */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-solana-darkgray);
}

::-webkit-scrollbar-thumb {
  background: var(--color-solana-gray);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #333;
}

/* Token card hover effect */
.token-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.token-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Pulse animation for special highlights */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(153, 69, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(153, 69, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(153, 69, 255, 0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(90deg, var(--color-solana-purple), var(--color-solana-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}