/* start:::女神横向滑动组件 */
.goddess-wrap {
  position: relative;
}

.goddess-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.goddess-list::-webkit-scrollbar {
  display: none;
}

.goddess__item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease;
}

/* .goddess__item:hover {
  transform: translateY(-4px);
} */


.goddess__item .item-cover {
  aspect-ratio: 255 / 340;
  position: relative;
  max-width: 255px;
  border-radius: 6.375px;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}


.goddess__item .item-cover img {
  aspect-ratio: 255 / 340;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.goddess__item:hover .item-cover img {
  transform: scale(1.05);
}

.goddess-wrap .tag-items {
  width: 100%;
  display: flex;
  justify-content: start;
  margin-top: 12px;
  gap: 0;

  color: rgba(255, 255, 255, 0.50);
  text-align: center;

}

.goddess-wrap .tag-items > * + * {
  margin-right: 8px;
}

.tag-items a {
  color: rgba(255, 255, 255, 0.50);
  text-align: center;
  
  display: flex;
  align-items: center;
  justify-content: center;
  /* Regular */
  font-family: "PingFang SC";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 137.5% */
}

.tag-items a:hover {
  color: #fff;
}

/* 封面图覆盖层样式 */
.goddess__item .item-cover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.80) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.goddess__item .item-watch-info {
  display: flex;
  align-items: center;
  gap: 4px;
}

.goddess__item .watch-icon {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.goddess__item .watch-count {
  font-family: 'PingFang SC', 'SF Pro Display', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.goddess__item .item-duration {
  font-family: 'PingFang SC', 'SF Pro Display', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.goddess__item .item-overlay {
  border-color: transparent;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 12px;
}

.goddess__item .item-name {
  font-family: 'PingFang SC', 'SF Pro Display', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.goddess__item .item-works {
  font-family: 'PingFang SC', 'SF Pro Display', -apple-system, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 12px 0;
}

/* 切换按钮样式 */
.goddess-wrap .toggle {
  position: absolute;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: calc(50% - 36px);
  transform: translateY(-50%);
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.20) 100%);
  z-index: 999;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(8px)
}

.goddess-wrap .prev {
  left: 0;
  border-radius: 0 24px 24px 0;
}

.goddess-wrap .next {
  right: 0;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.90) 100%);
}
.goddess-wrap .hidden {
  opacity: 0;
  pointer-events: none;
}

.goddess-wrap .prev::after,
.goddess-wrap .next::after {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('../../static/svg/arrowIcon.svg');
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: center center;
  padding: 2px;
  border-radius: 99px;
  box-sizing: content-box;
}

.goddess-wrap .prev::after {
  transform: rotate(90deg);
}

.goddess-wrap .next::after {
  transform: rotate(-90deg);
}

@media screen and (max-width: 824px) {
  .goddess-wrap {
  }
  .section-header{
    padding: 0px;
  }
  .goddess-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 7px;
    padding: 10px 0;
  }

  .goddess__item {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
  }

  .goddess__item .item-overlay {
    padding: 4px 6px;
    border-radius: 0 0 6px 6px;
    background: rgba(255, 255, 255, 0.05);
  }

  .goddess__item .item-name {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    margin: 0px;
    line-height: 24px;
    /*word-break: break-all;*/
    /*white-space: wrap;*/
    /*display: -webkit-box;*/
    /*-webkit-box-orient: vertical;*/
    /*-webkit-line-clamp: 2;*/
  }

  .goddess__item .item-works {
    font-size: 10px;
  }

  .goddess-wrap .tag-items {
    margin-top: 0px;
    line-height: 22px;
    justify-content: space-between;
  }

  .tag-items a:nth-child(2) {
    display: none;
  }

  .goddess__item .item-cover {
    aspect-ratio: 108 / 144;
  }
  .goddess__item .item-cover-overlay {
    display: none;
  }

  .goddess-wrap .toggle {
    display: none;
  }
}

/* end:::女神横向滑动组件 */
