@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
  font-family: 'Inter', system-ui, sans-serif;
}

body {
  background: #0f172a;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }

/* Glass Card */
.glass {
  background: rgba(30, 58, 138, 0.25);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.card-glow {
  box-shadow: 0 0 30px -5px rgba(20, 184, 166, 0.08);
}

/* Search Glow */
.search-glow:focus-within {
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.25), 0 0 40px -5px rgba(20, 184, 166, 0.15);
}

/* Float Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-anim {
  animation: float 6s ease-in-out infinite;
}

/* Shimmer Loading */
.shimmer {
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.3) 25%, rgba(45, 212, 191, 0.08) 50%, rgba(30, 58, 138, 0.3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Fade / Slide Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn 0.5s ease-out; }
.animate-slide-up { animation: slideUp 0.5s ease-out; }

/* Author Badge */
.author-badge {
  transition: all 0.3s ease;
}
.author-badge:hover {
  background: rgba(20, 184, 166, 0.2);
  border-color: rgba(45, 212, 191, 0.5);
  transform: translateY(-1px);
}
