/* Enhanced Global Styles for Followah */

/* Improved gradient backgrounds */
.gradient-card {
  background: linear-gradient(120deg, rgba(30, 27, 75, 0.9), rgba(60, 35, 95, 0.8));
}

.gradient-primary {
  background: linear-gradient(135deg, #7928ca, #9333ea);
  transition: all 0.3s ease;
}

.gradient-primary:hover {
  background: linear-gradient(135deg, #8a3adb, #a347fa);
  transform: translateY(-1px);
}

/* Glass effect styling */
.glass-effect {
  backdrop-filter: blur(12px);
  background: rgba(17, 17, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Enhanced card styling */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
  background: rgba(15, 15, 30, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(128, 90, 213, 0.6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(128, 90, 213, 0.8);
}

/* Better image handling */
img {
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Improved blur effects */
.blur-md {
  backdrop-filter: blur(8px);
  transition: backdrop-filter 0.3s ease;
}

/* Enhanced typography */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
}

/* Better button states */
button {
  transition: all 0.2s ease;
}

button:active {
  transform: scale(0.98);
}

/* Loading animations */
@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.6;
  }
}

.animate-pulse {
  animation: pulse 1.5s infinite;
}

/* Premium content styling */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(to right, rgba(168, 85, 247, 0.2), rgba(217, 70, 239, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: rgb(216, 180, 254);
}

/* Profile page enhancements */
.profile-header {
  position: relative;
  overflow: hidden;
}

.profile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Content card hover effects */
.content-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.content-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.content-card img {
  transition: transform 0.5s ease;
}

.content-card:hover img {
  transform: scale(1.05);
}

.content-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

/* Loading indicators */
.loading-shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Accessibility improvements */
:focus {
  outline: 2px solid rgba(168, 85, 247, 0.5);
  outline-offset: 2px;
}

/* Media query for better mobile experience */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .profile-header {
    padding: 1rem;
  }
}

/* Dark mode optimizations */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0f0f1a;
    color: #f0f0f0;
  }
  
  .glass-effect {
    background: rgba(17, 17, 35, 0.75);
  }
} 