/* =========================
   ARTISTS PAGE
========================= */

.artists-page {
  background:
    radial-gradient(circle at 15% 20%, rgba(45, 91, 255, 0.14), transparent 26%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.05), transparent 22%),
    radial-gradient(circle at 60% 80%, rgba(45, 91, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #04060a 0%, #070b12 42%, #05070b 100%);
  color: #ffffff;
  overflow-x: hidden;
}

.artists-page section + section {
  margin-top: 0;
}

.artists-page .container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.artists-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.artists-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  font-weight: 800;
  color: #ffffff;
}

.artists-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.artists-section {
  padding: 10px 0 100px;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* =========================
   CARD
========================= */

.artist-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 3.5;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.artist-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.artist-card.is-active {
  border-color: rgba(45, 91, 255, 0.65);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(45, 91, 255, 0.18);
}

.artist-card-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.artist-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.artist-card:hover .artist-card-image img {
  transform: scale(1.04);
}

.artist-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.06) 36%,
      rgba(0, 0, 0, 0.18) 58%,
      rgba(0, 0, 0, 0.52) 100%
    );
  z-index: 1;
  pointer-events: none;
}

/* =========================
   CARD TEXT OVERLAY
========================= */

.artist-card-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 22px;
  z-index: 2;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.artist-card-content h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.artist-card-content p {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  max-width: 88%;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

/* =========================
   DETAIL
========================= */

.artist-detail-wrap {
  margin-top: 34px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.artist-detail-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.artist-detail {
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  gap: 30px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.04) 100%);
  box-shadow: 0 22px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(18px);
}

.artist-detail-image {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 4 / 5.8;
}

.artist-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-detail-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.artist-detail-label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(45, 91, 255, 0.16);
  border: 1px solid rgba(45, 91, 255, 0.28);
  color: #dfe7ff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.artist-detail-text h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #ffffff;
}

.artist-detail-intro {
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.76);
  margin-bottom: 24px;
}

.artist-detail-groups {
  display: grid;
  gap: 22px;
}

.artist-detail-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.artist-detail-group h3 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.artist-detail-group ul {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.artist-detail-group li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.artist-detail-group li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2d5bff;
  box-shadow: 0 0 12px rgba(45, 91, 255, 0.6);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .artists-hero {
    padding: 120px 0 50px;
  }

  .artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artist-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .artist-detail-image {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .artists-page .container {
    width: min(100%, calc(100% - 28px));
  }

  .artists-hero {
    padding: 108px 0 42px;
  }

  .artists-hero h1 {
    margin-bottom: 14px;
  }

  .artists-grid {
    gap: 14px;
  }

  .artist-card {
    border-radius: 20px;
  }

  .artist-card-content {
    left: 12px;
    right: 12px;
    bottom: 14px;
  }

  .artist-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }

  .artist-card-content p {
    font-size: 0.82rem;
    line-height: 1.45;
    max-width: 100%;
  }

  .artist-detail-wrap {
    margin-top: 24px;
  }

  .artist-detail {
    padding: 18px;
    border-radius: 22px;
    gap: 18px;
  }

  .artist-detail-image {
    border-radius: 18px;
  }

  .artist-detail-text h2 {
    margin-bottom: 12px;
  }

  .artist-detail-intro {
    font-size: 0.96rem;
    line-height: 1.75;
    margin-bottom: 18px;
  }

  .artist-detail-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .artist-detail-group li {
    font-size: 0.94rem;
  }
}

@media (max-width: 520px) {
  .artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.artist-detail-group ul {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}

#detailDirecting {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);
  grid-auto-columns: minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 10px;
}

@media (max-width: 768px) {
  #detailDirecting {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-auto-columns: auto;
    column-gap: 0;
    row-gap: 10px;
  }
}

.artist-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-img-hong {
  object-position: center 10%;
}

.artist-img-park {
  object-position: center 1%;
}

.artist-img-lee {
  object-position: center 5%;
}