.recommendation-container {
  padding: 20px 0;
}

.main-title {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--text-color);
  text-align: center;
  position: relative;
}

.main-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* 标签导航样式 */
.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.category-tab {
  padding: 8px 16px;
  border-radius: 20px;
  background-color: var(--tag-bg-color, #f0f0f0);
  color: var(--text-secondary-color, #666);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  user-select: none;
  border: 1px solid transparent;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 4px;
}

.category-tab:hover {
  background-color: var(--tag-hover-bg-color, #e0e0e0);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-tab.active {
  background-color: var(--primary-color, #1890ff);
  color: white;
  border-color: var(--primary-color-dark, #096dd9);
  font-weight: 500;
}

/* 适配暗色模式 */
@media (prefers-color-scheme: dark) {
  .category-tab {
    background-color: var(--tag-bg-color-dark, #333);
    color: var(--text-color-dark, #ddd);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .category-tab:hover {
    background-color: var(--tag-hover-bg-color-dark, #444);
  }
}

/* 响应式布局 */
@media (max-width: 768px) {
  .category-tabs {
    gap: 8px;
  }
  
  .category-tab {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}