.brands {
  margin: 32px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.brands .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#brand-buttons-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.brand-btn {
  /* 支持 <a> 和 <button> 标签 */
  display: inline-block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  padding: 4px 8px;
  text-decoration: none; /* 移除链接下划线 */
  background-color: transparent;
  box-shadow: none;
}

.brand-btn:hover {
  color: var(--color-text);
  text-decoration: none; /* 确保悬停时也没有下划线 */
}

.brand-btn.active {
  font-weight: bold;
  transform: scale(1.05);
  /* 使用与分类按钮相同的渐变色 */
  background: var(--gradient-button);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-message {
  width: 100%;
  color: #ff6b6b;
  text-align: center;
  margin-bottom: 16px;
}

.loading-message {
  color: #aaa;
  text-align: center;
}

/* Show More/Less 按钮样式 */
.show-more-btn {
  background: var(--gradient-button);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: all 0.3s;
}

.show-more-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}
