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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  color: #1f2937;
  line-height: 1.5;
}

/* Clay Design System - Neumorphism */
.clay-element {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 
    8px 8px 16px rgba(163, 177, 198, 0.15),
    -8px -8px 16px rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.clay-element:hover {
  box-shadow: 
    12px 12px 24px rgba(163, 177, 198, 0.2),
    -12px -12px 24px rgba(255, 255, 255, 0.8);
}

.clay-inner {
  background: rgba(226, 232, 240, 0.3);
  box-shadow: 
    inset 4px 4px 8px rgba(163, 177, 198, 0.1),
    inset -4px -4px 8px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.clay-button {
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.clay-button:hover {
  transform: translateY(-1px);
  box-shadow: 
    10px 10px 20px rgba(163, 177, 198, 0.2),
    -10px -10px 20px rgba(255, 255, 255, 0.9);
}

.clay-button:active, .clay-pressed {
  transform: translateY(0);
  box-shadow: 
    inset 4px 4px 8px rgba(163, 177, 198, 0.15),
    inset -4px -4px 8px rgba(255, 255, 255, 0.7);
}

/* Navigation Styling */
.nav-link {
  position: relative;
  overflow: hidden;
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(139, 69, 193, 0.1));
  box-shadow: 
    inset 2px 2px 4px rgba(163, 177, 198, 0.1),
    inset -2px -2px 4px rgba(255, 255, 255, 0.5);
}

/* Gradient Backgrounds */
.gradient-pink-purple {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.gradient-blue-cyan {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.gradient-yellow-orange {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(163, 177, 198, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(163, 177, 198, 0.5);
}

/* Focus States */
.focus-ring:focus {
  outline: 2px solid rgba(236, 72, 153, 0.5);
  outline-offset: 2px;
}

/* Loading States */
.loading-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .clay-element {
    box-shadow: 
      4px 4px 8px rgba(163, 177, 198, 0.15),
      -4px -4px 8px rgba(255, 255, 255, 0.7);
  }
  
  .clay-element:hover {
    box-shadow: 
      6px 6px 12px rgba(163, 177, 198, 0.2),
      -6px -6px 12px rgba(255, 255, 255, 0.8);
  }
}

/* Dark Theme (for future gamification) */
.dark-theme {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f1f5f9;
}

.dark-theme .clay-element {
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.3),
    -8px -8px 16px rgba(71, 85, 105, 0.1);
  border: 1px solid rgba(71, 85, 105, 0.2);
}

.dark-theme .clay-inner {
  background: rgba(15, 23, 42, 0.5);
  box-shadow: 
    inset 4px 4px 8px rgba(0, 0, 0, 0.2),
    inset -4px -4px 8px rgba(71, 85, 105, 0.1);
}