/* ── LINEUP PAGE ── */

/* ── PAGE HERO ── */
.lineup-hero {
  background: var(--dark);
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2.5rem) var(--px) 2.5rem;
  overflow: hidden;
}

.lineup-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://cdn.prod.website-files.com/6746e2094ac2853d8e0521f2/691582d96eacd4f1babe78c1_2506_WCD_Lucas%20Ko%CC%88rner-262.webp');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.lineup-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,17,17,0.6) 0%,
    rgba(17,17,17,0.4) 40%,
    rgba(17,17,17,0.85) 80%,
    rgba(17,17,17,1) 100%
  );
}

.lineup-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.lineup-hero-content h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.lineup-hero-content h1 .accent {
  color: var(--accent);
}

.lineup-hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.6rem, 1.4vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.lineup-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  z-index: 2;
}

/* ── FILTER BAR ── */
.lineup-filter {
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--px);
}

.lineup-filter-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lineup-filter-inner::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem 0.9rem;
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
  flex-shrink: 0;
  min-height: 48px;
}

.filter-tab:hover {
  color: var(--text);
}

.filter-tab.active {
  color: var(--text);
}

.filter-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}

/* ── LINEUP SECTION ── */
.lineup-section {
  background: var(--dark);
  padding: 0;
}

/* ── DAY BLOCK ── */
.day-block {
  padding: 2.5rem var(--px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.day-block:last-child {
  border-bottom: none;
}

.day-label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 0.5rem;
  width: 100%;
}

.day-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 2rem;
}

.day-title .accent-dot {
  color: var(--accent);
}

/* ── ARTIST GRID ── */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 44vw;
  grid-auto-flow: row dense;
  gap: 2px;
}

/* ── ARTIST CARD ── */
.artist-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.75rem 0.7rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.2s, transform 0.18s, color 0.2s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  min-height: 0;
}

/* ── 3 CARD SIZES (1 : 2 : 4 area ratio) ── */
/* S = small  → 1×1 cell */
.artist-card.card-sm {
  grid-column: span 1;
  grid-row: span 1;
  padding: 0.5rem;
}
/* M = medium → 1×2 cells (portrait) */
.artist-card.card-md {
  grid-column: span 1;
  grid-row: span 2;
}
/* L = large  → 2×2 cells (large) */
.artist-card.card-xl {
  grid-column: span 2;
  grid-row: span 2;
}

/* Artist photo background — shown on headliner cards with image data */
.artist-card-bg {
  position: absolute;
  inset: 0;
  background-color: #13131a;
  background-image:
    linear-gradient(
      to bottom,
      rgba(17,17,17,0)    0%,
      rgba(17,17,17,0)   35%,
      rgba(17,17,17,0.45) 58%,
      rgba(17,17,17,0.85) 75%,
      rgba(17,17,17,1)   92%
    ),
    /* side vignette — portrait-oriented ellipse */
    radial-gradient(ellipse 60% 80% at center 30%, transparent 50%, rgba(19,19,26,0.65) 100%),
    var(--bg-img);
  background-size: 100% 100%, 100% 100%, cover;
  background-position: 0 0, 0 0, center 12%;
  background-repeat: no-repeat, no-repeat, no-repeat;
  opacity: 0.75;
  z-index: 0;
  transition: opacity 0.2s;
}

.artist-card > *:not(.artist-card-bg) {
  position: relative;
  z-index: 1;
}

.artist-card:hover .artist-card-bg {
  opacity: 0;
}

.artist-card:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.02);
  z-index: 2;
  border-color: transparent;
}

.artist-card:hover .artist-tag {
  background: rgba(0,0,0,0.15);
  color: #000;
}

.artist-card:hover .artist-tag.tag-accent {
  background: rgba(0,0,0,0.25);
  color: #000;
}

.artist-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* Font scales with card size */
.artist-card.card-md .artist-name { font-size: 0.88rem; margin-bottom: 0.4rem; }
.artist-card.card-xl .artist-name { font-size: clamp(1.1rem, 2.5vw, 1.6rem); margin-bottom: 0.5rem; }

/* Loading state */
.lineup-loading {
  color: rgba(255,255,255,0.3);
  font-size: 0.82rem;
  padding: 2rem 0;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

/* Dynamic badge styles */
.artist-badge {
  display: inline-block;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

.artist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.artist-tag {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}

.artist-tag.tag-accent {
  background: var(--accent);
  color: #000;
}

.artist-tag.tag-muted {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
}

/* ── HEADLINER CARDS ── */
.artist-card.headliner {
  background: rgba(241,253,115,0.04);
  border-color: rgba(241,253,115,0.1);
}

.artist-card.headliner:hover {
  background: var(--accent);
}

/* ── TICKETS CTA ── */
.lineup-cta {
  background: var(--dark);
  text-align: center;
  padding: 4rem var(--px);
  position: relative;
  overflow: hidden;
}

.lineup-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.lineup-cta-eyebrow {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.lineup-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.lineup-cta h2 .accent {
  color: var(--accent);
}

.lineup-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ── PARTNER LOGOS (dark variant) ── */
.partners-dark {
  background: var(--dark);
  overflow: hidden;
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.partners-dark .partners-track img {
  filter: brightness(0) invert(1);
  opacity: 0.25;
}

.partners-dark .partners-track img:hover {
  opacity: 0.7;
  filter: brightness(0) invert(1);
}

/* ── TABLET (768px+) ── */
@media (min-width: 768px) {
  .lineup-hero {
    min-height: 60vh;
    padding: calc(var(--nav-h) + 4rem) var(--px) 4rem;
  }

  .filter-tab {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    padding: 1.1rem 1.4rem;
  }

  .day-block {
    padding: 3rem var(--px);
  }

  .day-title {
    margin-bottom: 2.5rem;
  }

  .artist-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 22vw;
  }

  .lineup-cta {
    padding: 6rem var(--px);
  }
}

/* ── DESKTOP (1024px+) ── */
@media (min-width: 1024px) {
  .lineup-hero {
    min-height: 65vh;
    padding: calc(var(--nav-h) + 5rem) var(--px) 5rem;
  }

  .day-block {
    padding: 4rem var(--px);
  }

  .day-title {
    margin-bottom: 3rem;
  }

  .artist-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: clamp(90px, 15vw, 160px);
  }

  .lineup-cta {
    padding: 8rem var(--px);
  }
}
