/* ================================================
   artists.css — 艺人卡片展示（兼容 v1）
   景合画星 官网 v2
   ================================================ */

.artists-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px; max-width: 1056px; margin: 0 auto;
}

/* ---------- 艺人卡片 ---------- */
.artist-card {
  width: 240px;
  background: #5d4a37;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  border: 1px solid transparent;
}
.artist-card::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.artist-card:hover::before { opacity: 1; }
.artist-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: 0 8px 30px rgba(201,169,110,0.12);
}
.artist-card.is-newcomer {
  border: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
}
.artist-card.is-newcomer::after {
  content: "";
  position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-accent), transparent, var(--color-accent));
  z-index: -1;
  opacity: 0.5;
}

/* ---------- 新人标签 ---------- */
.artist-card .new-badge {
  position: absolute; top: 10px; right: 10px;
  padding: 3px 9px;
  background: var(--color-accent);
  color: #2d1f12;
  font-size: 0.65rem;
  border-radius: 3px;
  letter-spacing: 1px;
  z-index: 4;
}

/* ---------- 卡片图片 ---------- */
.artist-card .card-image {
  width: 100%;
  padding-top: 133.33%;
  position: relative;
  overflow: hidden;
}
.artist-card .card-image img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  z-index: 3;
}
.artist-card:hover .card-image img { transform: scale(1.02); }
.artist-card .card-image .img-placeholder {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-text-white);
  z-index: 1;
}

/* ---------- 标签 ---------- */
.artist-card .card-tags {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 4px; flex-wrap: wrap;
  z-index: 4;
}
.artist-card .card-tags span {
  padding: 2px 8px;
  font-size: 0.62rem;
  background: rgba(0,0,0,0.30);
  backdrop-filter: blur(3px);
  color: var(--color-text-white);
  border-radius: 3px;
  letter-spacing: 0.5px;
}

/* ---------- 卡片正文 ---------- */
.artist-card .card-body {
  padding: 16px;
  position: relative;
  z-index: 2;
}
.artist-card .card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #f0d6a0;
}
.artist-card .card-body p {
  font-size: 0.78rem;
  color: rgba(240,214,160,0.78);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}
.artist-card .card-body .card-pending {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.72rem;
  color: var(--color-accent);
  letter-spacing: 1px;
}
.artist-card .card-arrow {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--color-accent-dark);
  font-weight: 500;
  transition: var(--transition);
}
.artist-card:hover .card-arrow { gap: 8px; }

/* ---------- 查看全部按钮 ---------- */
.show-all-btn-wrap {
  text-align: center;
  margin-top: 28px;
  width: 100%;
}
.show-all-btn {
  display: inline-block;
  padding: 10px 36px;
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition);
}
.show-all-btn:hover {
  background: var(--color-accent);
  color: #2d1f12;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201,169,110,0.25);
}

/* ---------- 卡片渐入动画 ---------- */
.artist-card.visible {
  animation: fadeInUp 0.5s ease forwards;
}
.artist-card.visible:nth-child(1) { animation-delay: 0ms; }
.artist-card.visible:nth-child(2) { animation-delay: 50ms; }
.artist-card.visible:nth-child(3) { animation-delay: 100ms; }
.artist-card.visible:nth-child(4) { animation-delay: 150ms; }
.artist-card.visible:nth-child(5) { animation-delay: 200ms; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}