/* EdgeFlux Wool Hunter Custom Theme */
:root {
  --bg-main: #020617;
  --bg-card: rgba(15, 23, 42, 0.7);
  --border-subtle: rgba(51, 65, 85, 0.6);
  --cyan-primary: #06b6d4;
  --indigo-primary: #6366f1;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Glassmorphism card styles */
.wool-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wool-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 24px -10px rgba(99, 102, 241, 0.15);
}

/* Difficulty color badges */
.diff-badge-1 {
  background-color: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.diff-badge-2 {
  background-color: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}

.diff-badge-3 {
  background-color: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

.diff-badge-4 {
  background-color: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.3);
}

/* Tab active state */
.tab-region.active {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.3);
}

.btn-diff.active {
  border-color: #06b6d4 !important;
  background-color: rgba(6, 182, 212, 0.15) !important;
  color: #22d3ee !important;
  font-weight: 600;
}

.cat-pill.active {
  border-color: #6366f1 !important;
  background-color: rgba(99, 102, 241, 0.15) !important;
  color: #a5b4fc !important;
  font-weight: 600;
}

/* Utility animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin-fast {
  animation: spin 0.8s linear infinite;
}

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

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}
