.category-title h3 {
  text-align: left;
}
.category-title h3 {
  text-align: center;
}
/* 分类容器样式 */
.category-container {
  margin: 0;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}
/* 关键字链接样式 */
.keyword-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}
.keyword-link {
  color: var(--fg-light5);
  text-decoration: none;
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  background: transparent;
  border: 1px solid rgba(var(--fg-primary-rgb), 0.15);
  position: relative;
  overflow: hidden;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.keyword-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(var(--fg-primary-rgb), 0.08), rgba(var(--fg-primary-rgb), 0.03));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.keyword-link:hover {
  color: var(--fg-primary);
  border-color: rgba(var(--fg-primary-rgb), 0.3);
  transform: translateY(-1px);
}
.keyword-link:hover::before {
  opacity: 1;
}
/* 分类标题样式 */
.category-title {
  position: relative;
  margin: 1rem 0 0.5rem;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.category-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.5rem;
  background: linear-gradient(to bottom, var(--fg-primary), var(--fg-primary-hover));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(var(--fg-primary-rgb), 0.3);
}
.category-title::after {
  content: '';
  position: absolute;
  left: 1rem;
  bottom: 0;
  width: calc(100% - 1rem);
  height: 1px;
  background: linear-gradient(to right, rgba(var(--fg-primary-rgb), 0.2), rgba(var(--fg-primary-rgb), 0.1), transparent);
}
.category-title h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 0.5rem;
}
.keyword-links {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.75rem;
}
.keyword-link {
  font-size: 1.3rem;
  padding: 0.5rem 0.7rem;
}
.keyword-links {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
}
.keyword-link {
  font-size: 1.3rem;
  padding: 0.4rem 0.6rem;
}
.keyword-links {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
}
.keyword-link {
  font-size: 1.2rem;
  padding: 0.35rem 0.5rem;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}
.series-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  background: var(--bg-minor);
  background-position:center center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.series-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  transition: all 0.5s ease;
  z-index: 1;
  filter: brightness(0.8) contrast(1.1) saturate(1.2);
}
.series-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 1;
}
.series-box:hover::before {
  opacity: 0.6;
  transform: scale(1.05);
  filter: brightness(0.9) contrast(1.1) saturate(1.2);
}
.series-grid-2 .series-box{
  aspect-ratio: 1;
}
.series-box h2, .series-box h3 {
  all: unset;
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  width: 100%;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  color: var(--fg-primary);
  transform: translateY(-2px);
}
.series-box label {
  position: relative;
  z-index: 2;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  text-align: left;
  width: 100%;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.series-box:hover label {
  color: var(--fg-light3);
  transform: translateY(-2px);
}
/* 分类标题样式 */
.series-title {
  position: relative;
  padding: 1.5rem 1rem 1rem;
  margin: 2rem 0 1.5rem;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.series-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.5rem;
  background: linear-gradient(to bottom, var(--fg-primary), var(--fg-primary-hover));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(var(--fg-primary-rgb), 0.3);
}
.series-title::after {
  content: '';
  position: absolute;
  left: 1rem;
  bottom: 0;
  width: calc(100% - 1rem);
  height: 1px;
  background: linear-gradient(to right, rgba(var(--fg-primary-rgb), 0.2), rgba(var(--fg-primary-rgb), 0.1), transparent);
}
.series-title h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 0.5rem;
}
.series-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.series-box {
  padding: 1.2rem;
}
.series-box::before {
  background-position: right center;
}
.series-box h2 {
  font-size: 1.3rem;
  letter-spacing: 0.3px;
}
.series-box label {
  font-size: 0.85rem;
  margin-top: 0.4rem;
}
.series-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.series-box {
  padding: 1rem;
  margin-bottom: 0.5rem;
}
.series-box::before {
  background-position: right center;
}
.series-box h2 {
  font-size: 1.1rem;
  letter-spacing: 0.2px;
  line-height: 1.2;
}
.series-box label {
  font-size: 0.8rem;
  margin-top: 0.3rem;
}