/* ===========================================================
   Quest4Goa Records — Artists pages (roster + detail)
   Reuses the design tokens from style.css (:root vars).
   =========================================================== */

/* ---------- Shared page chrome ---------- */

.artists-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 1;
}

.artists-heading {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text);
  text-align: center;
  letter-spacing: 0.06em;
  text-shadow: 0 0 12px rgba(29, 228, 212, 0.5), 0 0 40px rgba(29, 228, 212, 0.15);
}

.artists-sub {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

.artists-divider {
  width: 1px;
  height: 64px;
  margin: 36px auto;
  background: linear-gradient(to bottom, var(--purple), var(--teal), var(--purple));
  opacity: 0.7;
}

/* ---------- Roster grid ---------- */

.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 12px;
}

.artist-card {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(4, 7, 13, 0.55);
  border: 1px solid rgba(29, 228, 212, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.artist-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 228, 212, 0.45);
  box-shadow:
    0 0 40px rgba(29, 228, 212, 0.14),
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 0 40px rgba(29, 228, 212, 0.04);
}

.artist-card-img-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(123, 79, 201, 0.25), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(29, 228, 212, 0.18), transparent 60%),
    var(--deep);
}

.artist-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: filter 0.35s ease, transform 0.5s ease;
}

.artist-card:hover .artist-card-img {
  filter: saturate(1.15);
  transform: scale(1.04);
}

.artist-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel Decorative', serif;
  font-size: 3rem;
  color: rgba(29, 228, 212, 0.35);
  text-shadow: 0 0 30px rgba(29, 228, 212, 0.3);
}

.artist-card-body {
  padding: 18px 20px 20px;
}

.artist-card-name {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.04em;
}

.artist-card-tagline {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-dim);
  margin-top: 6px;
}

.artist-card-location {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Fallback panel (API down / empty roster / unknown slug) ---------- */

.artists-fallback {
  max-width: 460px;
  margin: 40px auto 0;
  padding: 32px 28px;
  text-align: center;
  border-radius: 14px;
  background: rgba(4, 7, 13, 0.55);
  border: 1px solid rgba(123, 79, 201, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.artists-fallback p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.6;
}

.artists-fallback a {
  display: inline-block;
  margin-top: 18px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
}

.artists-fallback a:hover {
  text-shadow: 0 0 12px rgba(29, 228, 212, 0.6);
}

/* ---------- Artist detail: hero ---------- */

.artist-hero {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 8px;
}

.artist-hero-img-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(29, 228, 212, 0.18);
  box-shadow: 0 0 60px rgba(29, 228, 212, 0.1), 0 20px 60px rgba(0, 0, 0, 0.55);
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(123, 79, 201, 0.25), transparent 60%),
    var(--deep);
}

.artist-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-hero-name {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 900;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: var(--text);
  letter-spacing: 0.05em;
  text-shadow: 0 0 16px rgba(29, 228, 212, 0.45), 0 0 60px rgba(123, 79, 201, 0.3);
}

.artist-hero-tagline {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 14px;
}

.artist-hero-location {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Detail sections ---------- */

.artist-block {
  margin-top: 56px;
}

.artist-block-title {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 20px;
}

.artist-bio p {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.2em;
}

.artist-bio p:first-child::first-letter {
  font-family: 'Cinzel Decorative', serif;
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  margin: 0.04em 0.12em 0 0;
  color: var(--copper);
}

/* Embeds */
.artist-embeds {
  display: grid;
  gap: 20px;
}

.artist-embed iframe {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: rgba(4, 7, 13, 0.4);
}

.artist-embed-link {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid rgba(29, 228, 212, 0.3);
  border-radius: 22px;
}

.artist-embed-link:hover {
  box-shadow: 0 0 20px rgba(29, 228, 212, 0.25);
}

/* Gallery */
.artist-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.artist-gallery a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(29, 228, 212, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.artist-gallery a:hover {
  border-color: rgba(29, 228, 212, 0.4);
  box-shadow: 0 0 24px rgba(29, 228, 212, 0.15);
}

.artist-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Socials */
.artist-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.artist-social-chip {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid rgba(160, 114, 232, 0.3);
  border-radius: 20px;
  background: rgba(4, 7, 13, 0.5);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.artist-social-chip:hover {
  color: var(--teal);
  border-color: rgba(29, 228, 212, 0.5);
  box-shadow: 0 0 18px rgba(29, 228, 212, 0.2);
}

/* Releases strip */
.artist-releases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
}

.artist-release {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(4, 7, 13, 0.55);
  border: 1px solid rgba(200, 121, 65, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.artist-release:hover {
  border-color: rgba(232, 160, 96, 0.5);
  box-shadow: 0 0 30px rgba(200, 121, 65, 0.18);
}

.artist-release-cover {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(ellipse at 60% 30%, rgba(200, 121, 65, 0.25), transparent 65%),
    var(--deep);
}

.artist-release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-release-body {
  padding: 14px 16px 16px;
}

.artist-release-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.95rem;
  color: var(--text);
}

.artist-release-meta {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.artist-release-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.artist-release-links a {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-light);
  text-decoration: none;
}

.artist-release-links a:hover {
  color: var(--teal);
}

/* Booking */
.artist-booking-btn {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--deep);
  background: var(--teal);
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 26px;
  box-shadow: 0 0 30px rgba(29, 228, 212, 0.35);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.artist-booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(29, 228, 212, 0.55);
}

/* Back link row */
.artists-back-row {
  margin-top: 64px;
  text-align: center;
}

/* ---------- Load-in animation (iris-lite fade) ---------- */

.artists-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: artistsReveal 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.artists-reveal:nth-child(2) { animation-delay: 0.12s; }
.artists-reveal:nth-child(3) { animation-delay: 0.24s; }

@keyframes artistsReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  .artists-section {
    padding: 96px 18px 56px;
  }

  .artist-hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .artist-hero-img-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  .artist-hero-name,
  .artist-hero-tagline,
  .artist-hero-location {
    text-align: center;
  }

  .artist-bio p {
    font-size: 18px;
  }
}
