/* Consolidated Styles - Used across all pages */

/* Star Field Background */
.star-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 25%, #e0e7ff 50%, #dbeafe 75%, #eff6ff 100%);
  overflow: hidden;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, transparent 70%);
  animation: twinkle 2s ease-in-out infinite alternate;
}

/* Glass-morphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.1);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #2563eb, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cosmic Glow Effect */
.cosmic-glow {
  position: relative;
}

.cosmic-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(45deg, #3b82f6, #2563eb, #06b6d4, #3b82f6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.cosmic-glow:hover::before {
  opacity: 0.3;
  animation: glow 2s ease-in-out infinite alternate;
}

/* Shine Text Animation */
.shine-text {
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% {
    text-shadow: 0 0 0 rgba(59, 130, 246, 0);
  }
  50% {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 40px rgba(59, 130, 246, 0.6);
  }
  100% {
    text-shadow: 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* Avatar Fallback */
.avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
}
