/* --- Global Animations & Resets --- */
@keyframes gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes text-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* --- Base & Typography --- */
body {
  font-family: 'Dana', sans-serif;
  color: #e5e7eb; /* gray-200 */
  background-color: #090a0f;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

/* --- Custom Animations --- */
.animate-slow-spin {
  animation: slow-spin 4s linear infinite;
}

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

/* --- Header & Navigation --- */
header {
  background: rgba(17, 24, 39, 0.5); /* gray-900 with transparency */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* --- Cards & General Elements --- */
.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem; /* 16px */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.gradient-text {
  background: linear-gradient(90deg, #a855f7, #60a5fa, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradient-animation 4s linear infinite;
}