/* ===== GALLERY PAGES ===== */

/* INDEX (gallery list) */
.gx-hero {
  padding: 160px 24px 60px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 45, 135, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(0, 240, 255, 0.10) 0%, transparent 60%),
    var(--bg);
}
.gx-h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 140px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.88;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.55) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gx-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--muted);
  margin-top: 14px;
}
.gx-count {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 24px;
  text-transform: uppercase;
}
.gx-count span {
  color: var(--accent-2);
  font-size: 18px;
}

.gx-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 24px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 28px;
}

.gx-card {
  position: relative;
  display: block;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.gx-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,45,135,0.5);
  box-shadow: 0 24px 50px -20px rgba(255,45,135,0.35);
}
.gx-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.gx-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8,0,16,0.85) 100%);
  pointer-events: none;
}
.gx-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.gx-card:hover .gx-img img { transform: scale(1.06); }

.gx-meta { padding: 18px 22px 22px; }
.gx-date {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent-2);
  text-transform: uppercase;
}
.gx-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin: 6px 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.gx-tag {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.4;
}
.gx-cta {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent-1);
  text-transform: uppercase;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, transform .25s ease;
}
.gx-card:hover .gx-cta {
  border-color: var(--accent-1);
  transform: translateX(4px);
}

/* PER-EVENT PAGE — HERO */
.event-gallery-hero {
  position: relative;
  min-height: 78vh;
  padding: 160px 24px 80px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.egh-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(.55) saturate(1.1);
  transform: scale(1.05);
}
.egh-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(255,45,135,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgba(0,240,255,0.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8,0,16,.4) 0%, rgba(8,0,16,.95) 90%);
}
.egh-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.egh-back {
  font-family: var(--font-accent);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  margin-bottom: 28px;
  transition: all .25s ease;
}
.egh-back:hover {
  border-color: var(--accent-1);
  color: var(--text);
  background: rgba(255,45,135,0.08);
}
.egh-date {
  font-family: var(--font-accent);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.egh-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 110px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 0 14px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.45);
}
.egh-tagline {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.4vw, 24px);
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  margin: 0 0 18px;
  max-width: 700px;
}
.egh-blurb {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 640px;
}
.egh-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.egh-pill {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}

/* PER-EVENT — MASONRY GRID */
.event-gallery-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 16px 80px;
  columns: 3 380px;
  column-gap: 14px;
}
.event-gallery-grid .gal-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: rgba(255,255,255,0.02);
}
.event-gallery-grid .gal-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s ease, filter .35s ease;
}
.event-gallery-grid .gal-item:hover img {
  transform: scale(1.03);
  filter: brightness(1.06) saturate(1.08);
}
.event-gallery-grid .gal-item::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
  pointer-events: none;
  transition: box-shadow .35s ease;
}
.event-gallery-grid .gal-item:hover::after {
  box-shadow: inset 0 0 0 2px rgba(255,45,135,0.6);
}

/* MORE NIGHTS */
.more-nights {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 24px 100px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.more-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 40px 0 22px;
}
.more-h {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.more-all {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent-1);
  text-decoration: none;
  text-transform: uppercase;
}
.more-all:hover { text-decoration: underline; }
.more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.more-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  aspect-ratio: 16/10;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .35s ease, border-color .35s ease;
}
.more-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,240,255,0.5);
}
.more-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.more-card:hover img { transform: scale(1.07); }
.more-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(8,0,16,0.92) 100%);
}
.more-date {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  text-transform: uppercase;
}
.more-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

/* SITE FOOTER (shared, lightweight) */
.site-footer {
  padding: 40px 24px 60px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
}
.site-footer a {
  color: var(--accent-2);
  text-decoration: none;
  margin: 0 4px;
}
.site-footer a:hover { text-decoration: underline; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox[hidden] { display: none; }
.lb-stage {
  max-width: 96vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-stage img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: serif;
  line-height: 1;
  transition: background .2s ease, transform .2s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(255,45,135,0.5);
  transform: scale(1.05);
}
.lb-close { top: 24px; right: 24px; font-size: 28px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.05); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-next:hover { transform: translateY(-50%) scale(1.05); }
.lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .event-gallery-grid { padding: 40px 8px 60px; columns: 1; column-gap: 10px; }
  .event-gallery-grid .gal-item { margin-bottom: 10px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 26px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .gx-grid { grid-template-columns: 1fr; gap: 18px; padding: 16px 14px 60px; }
}

/* ===== HOME PAGE — RELIVE THE NIGHTS strip ===== */
.relive-nights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 30px 0 24px;
  padding: 0 4px;
}
.relive-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  aspect-ratio: 4/5;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.relive-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,45,135,0.5);
  box-shadow: 0 24px 50px -20px rgba(255,45,135,0.35);
}
.relive-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1) , filter .4s ease;
  filter: brightness(.92) saturate(1.05);
}
.relive-card:hover img { transform: scale(1.07); filter: brightness(1) saturate(1.15); }
.relive-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 22px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(8,0,16,0.94) 75%);
}
.relive-date {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-2);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.relive-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.relive-tag {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 10px;
  line-height: 1.4;
}
.relive-cta {
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent-1);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.relive-card:hover .relive-cta { gap: 10px; transition: gap .25s ease; }

.relive-cta-row {
  text-align: center;
  margin: 24px 0 8px;
}
.relive-all-btn {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 2px solid var(--accent-1);
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  transition: all .3s ease;
}
.relive-all-btn:hover {
  background: var(--accent-1);
  color: #000;
  box-shadow: 0 0 24px rgba(255,45,135,0.4);
  transform: translateY(-2px);
}
