.content-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  /* Blue-tinted glassmorphism to match sociowall */
  background: linear-gradient(
    180deg,
    rgba(20, 35, 60, 0.92) 0%,
    rgba(15, 28, 50, 0.94) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.1);
  margin: 0 auto 12px auto;
  max-width: 420px;
}

.content-filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(148, 163, 184, 0.9);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.content-filter-btn:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #e2e8f0;
}

.content-filter-btn.active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.content-filter-btn i {
  font-size: 14px;
}

/* Colored icons */
.content-filter-btn.filter-links i {
  color: #3b82f6;
}

.content-filter-btn.filter-video i {
  color: #3b82f6;
}

.content-filter-btn.filter-image i {
  color: #10b981;
}

.content-filter-btn.filter-text i {
  color: #06b6d4;
}

.content-filter-btn.filter-live i {
  color: #ef4444;
}

.content-filter-btn.filter-event i {
  color: #f59e0b;
}

/* Keep white icon when active */
.content-filter-btn.active i {
  color: white;
}

/* Filter-specific active colors */
.content-filter-btn.filter-live.active {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.content-filter-btn.filter-video.active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.content-filter-btn.filter-image.active {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.content-filter-btn.filter-text.active {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
}

.content-filter-btn.filter-event.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* Blue theme (default dark) */
body[data-theme="blue"] .content-filters {
  background: linear-gradient(
    180deg,
    rgba(20, 35, 60, 0.92) 0%,
    rgba(15, 28, 50, 0.94) 100%
  );
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Dark theme */
body[data-theme="dark"] .content-filters {
  background: linear-gradient(
    180deg,
    rgba(15, 15, 20, 0.95) 0%,
    rgba(10, 10, 15, 0.96) 100%
  );
  border-color: rgba(60, 60, 80, 0.3);
}

/* Light theme */
body[data-theme="light"] .content-filters {
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.95) 0%,
    rgba(241, 245, 249, 0.96) 100%
  );
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .content-filter-btn {
  color: #475569;
}

body[data-theme="light"] .content-filter-btn:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #1e293b;
}

/* Mobile */
@media (max-width: 640px) {
  .content-filters {
    padding: 8px 12px;
    gap: 6px;
    max-width: calc(100% - 24px);
    margin-bottom: 10px;
  }

  .content-filter-btn {
    padding: 6px 10px;
    font-size: 12px;
    flex-shrink: 0;
  }

  .filter-label {
    display: none;
  }

  .content-filter-btn i {
    font-size: 16px;
  }
}
