/* BeautyTheme 分类样式表 */

/* 分类标签通用样式 */
.category-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  margin-right: 5px;
  margin-bottom: 5px;
}

/* 分类颜色定义 */
.category-1 {
  background-color: #3f51b5; /* 奇幻 - 蓝色 */
}

.category-2 {
  background-color: #f44336; /* 武侠 - 红色 */
}

.category-3 {
  background-color: #e91e63; /* 言情 - 粉色 */
}

.category-4 {
  background-color: #009688; /* 科幻 - 青色 */
}

.category-5 {
  background-color: #ff9800; /* 历史 - 橙色 */
}

/* 分类筛选区域 */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.filter-title {
  width: 100%;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-option {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-option:hover {
  background-color: #f5f5f5;
}

.filter-option.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* 分类页面标题 */
.category-header {
  margin-bottom: 30px;
  text-align: center;
}

.category-header h1 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.category-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* 添加分类水印 */
.category-watermark {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.1;
  color: black;
  pointer-events: none;
  z-index: 0;
}

/* 分类统计区域 */
.category-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.stat-card h3 {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.stat-card .stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .category-filter {
    padding: 15px;
  }

  .filter-options {
    gap: 8px;
  }

  .filter-option {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .category-header h1 {
    font-size: 1.6rem;
  }
}