/* ─── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Prevent Safari faux-bold on display fonts */
.nav-logo, .hero-title, .hero-subtitle, .section-title, .group-label,
.member-info h3, .show-date .day, .rider-card h4, .rider-subtitle,
.input-list td:first-child { font-synthesis: none; }

:root {
  --teal:   #00c896;   /* logo bg / primary */
  --blue:   #1a6fd4;   /* logo blue stripes */
  --purple: #9b5de5;   /* third accent — sound / energy */
  --cream:  #f2ede0;   /* logo text fill */
  --red:    #9b5de5;   /* remapped to purple */
  --navy:   #0d1a27;   /* logo text dark */
  --dark:   #091810;   /* section dark */
  --darker: #050f0a;   /* page bg */
  --light:  #f2ede0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--darker);
  color: var(--light);
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: inherit; text-decoration: none; }

/* ─── Floating Notes Background ────────────────────────────────── */
.notes-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.note {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0;
  animation: floatNote linear infinite;
  user-select: none;
}

@keyframes floatNote {
  0%   { transform: translateY(100vh) rotate(0deg);  opacity: 0; }
  10%  { opacity: 0.2; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* ─── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(5, 15, 10, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--teal), var(--blue), var(--purple)) 1;
  transition: background 0.3s;
}

.nav.scrolled { background: rgba(5, 15, 10, 0.97); }

.nav-logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.3rem;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--cream));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.nav-logo .amp { -webkit-text-fill-color: var(--blue); color: var(--blue); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(242, 237, 224, 0.75);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.2s;
  border-radius: 2px;
}

.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  background: rgba(0,200,150,0.12);
  border: 2px solid rgba(0,200,150,0.4);
  border-radius: 50px;
  color: var(--teal);
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.85rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lang-toggle:hover {
  background: rgba(0,200,150,0.25);
  border-color: var(--teal);
}

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: var(--darker);
  overflow: hidden;
  z-index: 1;
}

/* Animated background orbs */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-bg-orb--teal {
  width: 70vw; height: 70vw;
  top: -20%; left: -10%;
  background: rgba(0,200,150,0.18);
  animation: orbDrift 12s ease-in-out infinite alternate;
}
.hero-bg-orb--blue {
  width: 60vw; height: 60vw;
  bottom: -15%; right: -10%;
  background: rgba(26,111,212,0.2);
  animation: orbDrift 9s ease-in-out infinite alternate-reverse;
}
.hero-bg-orb--teal2 {
  width: 40vw; height: 40vw;
  top: 40%; left: 35%;
  background: rgba(155,93,229,0.1);
  animation: orbDrift 14s ease-in-out infinite alternate;
}
@keyframes orbDrift {
  from { transform: translate(0, 0)   scale(1);    }
  to   { transform: translate(5%, 8%) scale(1.12); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Disco ball ─────────────────────────────────────────────────── */

/* Logo wrapper — positions orbiting sparks */
.hero-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  margin-bottom: 1.5rem;
}
/* glowing halo behind the logo */
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  width: 1000px;
  height: 1000px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0,200,150,0.22)  0%,
    rgba(26,111,212,0.18) 30%,
    rgba(0,200,150,0.08)  55%,
    transparent           72%
  );
  pointer-events: none;
  z-index: -1;
}

/* Logo image */
.hero-logo {
  width: min(580px, 86vw);
  height: auto;
  animation: fadeDown 0.7s ease both, logoPulse 4s ease-in-out 0.7s infinite;
  filter:
    drop-shadow(0 0 30px rgba(0,200,150,0.55))
    drop-shadow(0 0 70px rgba(26,111,212,0.35))
    drop-shadow(0 12px 40px rgba(0,0,0,0.6));
  -webkit-mask-image: radial-gradient(ellipse 76% 76% at 50% 50%, black 28%, rgba(0,0,0,0.6) 50%, transparent 68%);
  mask-image: radial-gradient(ellipse 76% 76% at 50% 50%, black 28%, rgba(0,0,0,0.6) 50%, transparent 68%);
}
@keyframes logoPulse {
  0%, 100% {
    filter: drop-shadow(0 0 25px rgba(0,200,150,0.5))
            drop-shadow(0 0 60px rgba(26,111,212,0.3))
            drop-shadow(0 12px 40px rgba(0,0,0,0.6));
  }
  50% {
    filter: drop-shadow(0 0 55px rgba(0,200,150,0.85))
            drop-shadow(0 0 110px rgba(26,111,212,0.55))
            drop-shadow(0 12px 40px rgba(0,0,0,0.6));
  }
}

/* Text title fallback */
.hero-title {
  font-family: 'Pacifico', cursive;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 1.05;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(242,237,224,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeDown 0.8s 0.15s ease both;
  filter: drop-shadow(0 4px 24px rgba(0,200,150,0.4));
}
.hero-subtitle {
  font-family: 'Pacifico', cursive;
  font-size: clamp(2rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, var(--blue) 0%, var(--cream) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Orbiting sparkles */
.logo-spark {
  position: absolute;
  pointer-events: none;
  animation: orbit linear infinite;
  text-shadow: 0 0 8px currentColor;
  will-change: transform;
}
.ls1, .ls2, .ls3, .ls4, .ls5, .ls6 { font-size: 2rem; color: var(--teal); }
.ls7, .ls8, .ls9, .ls10, .ls11, .ls12, .ls13, .ls14 { font-size: 1.4rem; color: var(--blue); }
/* purple sparks — every third, across both rings */
.ls2, .ls5 { color: var(--purple); }
.ls8, .ls11, .ls14 { color: var(--purple); }
/* inner ring — 6 sparks */
.ls1  { animation-duration: 8s;  animation-delay: 0s;      --r: 320px; --start: 0deg;   }
.ls2  { animation-duration: 8s;  animation-delay: -1.33s;  --r: 320px; --start: 60deg;  }
.ls3  { animation-duration: 8s;  animation-delay: -2.66s;  --r: 320px; --start: 120deg; }
.ls4  { animation-duration: 8s;  animation-delay: -4s;     --r: 320px; --start: 180deg; }
.ls5  { animation-duration: 8s;  animation-delay: -5.33s;  --r: 320px; --start: 240deg; }
.ls6  { animation-duration: 8s;  animation-delay: -6.66s;  --r: 320px; --start: 300deg; }
/* outer ring — 8 sparks, counter-rotating */
.ls7  { animation-duration: 14s; animation-delay: 0s;      --r: 460px; --start: 0deg;   animation-direction: reverse; }
.ls8  { animation-duration: 14s; animation-delay: -1.75s;  --r: 460px; --start: 45deg;  animation-direction: reverse; }
.ls9  { animation-duration: 14s; animation-delay: -3.5s;   --r: 460px; --start: 90deg;  animation-direction: reverse; }
.ls10 { animation-duration: 14s; animation-delay: -5.25s;  --r: 460px; --start: 135deg; animation-direction: reverse; }
.ls11 { animation-duration: 14s; animation-delay: -7s;     --r: 460px; --start: 180deg; animation-direction: reverse; }
.ls12 { animation-duration: 14s; animation-delay: -8.75s;  --r: 460px; --start: 225deg; animation-direction: reverse; }
.ls13 { animation-duration: 14s; animation-delay: -10.5s;  --r: 460px; --start: 270deg; animation-direction: reverse; }
.ls14 { animation-duration: 14s; animation-delay: -12.25s; --r: 460px; --start: 315deg; animation-direction: reverse; }

@keyframes orbit {
  from { transform: rotate(var(--start)) translateX(var(--r)) rotate(calc(-1 * var(--start))); opacity: 0.9; }
  50%  { opacity: 0.4; }
  to   { transform: rotate(calc(var(--start) + 360deg)) translateX(var(--r)) rotate(calc(-1 * (var(--start) + 360deg))); opacity: 0.9; }
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: rgba(242,237,224,0.82);
  margin: 0.5rem 0 2.5rem;
  animation: fadeDown 0.8s 0.35s ease both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeDown 0.8s 0.5s ease both;
}

/* ─── Bottom stripe ─────────────────────────────────────────────── */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--blue), var(--purple), transparent);
}

/* ─── Floating bubbles ──────────────────────────────────────────── */
.hero-deco { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.bubble {
  position: absolute;
  display: flex;
  animation: bobble ease-in-out infinite;
}
.bubble svg {
  filter: drop-shadow(0 0 5px currentColor) drop-shadow(0 0 12px currentColor);
}
.c-teal { color: var(--teal); }
.c-blue { color: var(--blue); }

.b1  { top: 12%; left: 5%;   animation-duration: 5s;   animation-delay: 0s;    opacity: 0.75; }
.b2  { top: 22%; right: 8%;  animation-duration: 4s;   animation-delay: 0.5s;  opacity: 0.7;  }
.b3  { top: 62%; left: 4%;   animation-duration: 6s;   animation-delay: 1s;    opacity: 0.7;  }
.b4  { top: 72%; right: 6%;  animation-duration: 4.5s; animation-delay: 0.2s;  opacity: 0.6;  }
.b5  { top: 38%; left: 88%;  animation-duration: 5.5s; animation-delay: 0.8s;  opacity: 0.75; }
.b6  { top: 8%;  left: 46%;  animation-duration: 3.8s; animation-delay: 0.3s;  opacity: 0.65; }
.b7  { top: 80%; left: 20%;  animation-duration: 7s;   animation-delay: 1.2s;  opacity: 0.55; }
.b8  { top: 55%; right: 12%; animation-duration: 5.2s; animation-delay: 0.6s;  opacity: 0.7;  }
.b9  { top: 30%; left: 16%;  animation-duration: 4.8s; animation-delay: 1.8s;  opacity: 0.6;  }
.b10 { top: 85%; right: 20%; animation-duration: 6.5s; animation-delay: 0.9s;  opacity: 0.65; }
.b11 { top: 50%; left: 2%;   animation-duration: 5.8s; animation-delay: 2.1s;  opacity: 0.55; }
.b12 { top: 18%; right: 22%; animation-duration: 4.2s; animation-delay: 1.5s;  opacity: 0.6;  }
.b13 { top: 75%; left: 42%;  animation-duration: 7s;   animation-delay: 0.4s;  opacity: 0.65; }
.b14 { top: 35%; right: 3%;  animation-duration: 5s;   animation-delay: 2.8s;  opacity: 0.55; }

@keyframes bobble {
  0%, 100% { transform: translateY(0)    rotate(-6deg); }
  50%       { transform: translateY(-22px) rotate(6deg);  }
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  border: none;
}

.btn:hover  { transform: translateY(-3px) scale(1.03); filter: brightness(1.1); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 6px 24px rgba(0,200,150,0.4);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(0,200,150,0.55); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2.5px solid var(--cream);
  box-shadow: 0 4px 20px rgba(242,237,224,0.08);
}
.btn-outline:hover {
  background: rgba(155,93,229,0.07);
  border-color: var(--purple);
  color: var(--purple);
}

.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(0,200,150,0.3);
}

/* ─── Sections ──────────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

/* Stripe accent between sections */
.section + .section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--blue), var(--purple), transparent);
  opacity: 0.4;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,200,150,0.1);
  border: 1.5px solid rgba(0,200,150,0.35);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
}

.setlist .section-tag,
.contact .section-tag {
  color: var(--purple);
  background: rgba(155,93,229,0.1);
  border-color: rgba(155,93,229,0.35);
}

.section-title {
  font-family: 'Pacifico', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(242,237,224,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── About ─────────────────────────────────────────────────────── */
.about {
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(0,200,150,0.1) 0%, transparent 70%),
    var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(242,237,224,0.82);
  margin-bottom: 1rem;
}

.about-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.icon-card {
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  font-size: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: default;
}

.icon-card:hover {
  transform: translateY(-6px) rotate(-2deg);
  border-color: var(--c);
  box-shadow: 0 8px 30px rgba(0,200,150,0.4);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--c) 40%, transparent);
}

.icon-card span {
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c);
}

/* ─── Band Members ──────────────────────────────────────────────── */
.band {
  background:
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(26,111,212,0.1) 0%, transparent 70%),
    var(--darker);
}

.group-label {
  font-family: 'Pacifico', cursive;
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  letter-spacing: 0.05em;
}

.misses-label  { color: var(--teal); }
.group-label.misses-label, .group-label.bandits-label, .group-label.david-label { font-size: 2rem; }
.david-label { color: var(--purple); }
.c-purple { color: var(--purple); }
.members-grid--single-card { grid-template-columns: minmax(0, 520px); justify-content: center; }
.label-star    { color: #ffd700 !important; }
.label-bolt    { font-size: 2rem; }
.bandits-label { color: var(--blue); text-decoration: none; }

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}

.members-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .members-grid--two { grid-template-columns: 1fr; }
}

.member-card {
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  opacity: 0.85;
}

.member-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(0,200,150,0.25);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--accent) 25%, transparent);
}

.member-avatar {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0,200,150,0.18);
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  overflow: hidden;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  cursor: zoom-in;
}

/* Background-image avatar for zoom-out control */
.member-avatar--zoomed {
  background-size: 80%;
  background-position: top center;
  background-repeat: no-repeat;
  cursor: zoom-in;
}
.member-photo--hidden {
  display: none;
}

/* ─── Photo lightbox ────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(90vw, 600px);
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.6);
  object-fit: contain;
  animation: fadeIn 0.2s ease;
}

/* About section band photo */
.about-band-photo {
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.about-band-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Misses photo */
.misses-photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(0,200,150,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  margin-bottom: 1.5rem;
  max-height: 520px;
}
.misses-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 80%;
  display: block;
  filter: saturate(0.85);
}

.avatar-bass {
  width: 30px;
  height: 52px;
  color: var(--accent);
  flex-shrink: 0;
}

.member-info h3 {
  font-family: 'Pacifico', cursive;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.member-role {
  font-size: 0.8rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(242,237,224,0.45);
  margin-bottom: 0.6rem;
}

.member-bio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(242,237,224,0.72);
}

/* ─── Media ─────────────────────────────────────────────────────── */
.media {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,200,150,0.1) 0%, transparent 70%),
    var(--dark);
}

.media-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.video-card {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(0,200,150,0.2);
  background: #000;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.video-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(0,200,150,0.2);
}

.video-card video,
.video-card iframe {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  border: none;
}

.yt-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  overflow: hidden;
  background: #000;
}

.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.3s;
}

.yt-thumb:hover img { transform: scale(1.03); }

.yt-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: rgba(0,200,150,0.9);
  color: var(--navy);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.yt-thumb:hover .yt-play {
  transform: scale(1.12);
  background: var(--teal);
}

.media-caption {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(242,237,224,0.55);
}

.media-audio-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mixing-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.mixing-photo {
  width: 100%;
  height: auto;
  display: block;
}

.mixing-note {
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(242,237,224,0.5);
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.audio-card {
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: border-color 0.2s;
}

.audio-card:hover { border-color: var(--blue); }

.audio-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.audio-title {
  font-weight: 900;
  font-size: 1rem;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-sub {
  font-size: 0.8rem;
  color: rgba(242,237,224,0.45);
  font-weight: 700;
}

.audio-card audio {
  width: 280px;
  flex-shrink: 0;
  accent-color: var(--teal);
}

@media (max-width: 768px) {
  .media-video-grid { grid-template-columns: 1fr; }
  .audio-card { flex-direction: column; align-items: flex-start; }
  .audio-card audio { width: 100%; }
}

/* ─── Setlist ───────────────────────────────────────────────────── */
.setlist {
  background:
    radial-gradient(ellipse 60% 60% at 80% 40%, rgba(26,111,212,0.1) 0%, transparent 70%),
    var(--darker);
}

.setlist-intro {
  font-size: 1rem;
  color: rgba(242,237,224,0.6);
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.setlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.setlist-grid--single {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}

.setlist-grid--single .set-songs {
  columns: 2;
  column-gap: 0;
}

.setlist-grid--single .set-songs li {
  break-inside: avoid;
}

.setlist-set {
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.setlist-set:hover {
  border-color: rgba(0,200,150,0.35);
  box-shadow: 0 8px 32px rgba(0,200,150,0.1);
}


.set-songs {
  list-style: none;
  counter-reset: song;
  padding: 0.5rem 0;
}

.set-songs li {
  counter-increment: song;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}

.set-songs li:last-child { border-bottom: none; }
.set-songs li:hover { background: rgba(0,200,150,0.06); }

.set-songs li::before {
  content: counter(song);
  flex-shrink: 0;
  width: 1.4rem;
  font-family: 'Pacifico', cursive;
  font-size: 0.75rem;
  color: var(--blue);
  opacity: 0.7;
}

.song-title {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1.4;
}

.song-artist {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(242,237,224,0.4);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .setlist-grid { grid-template-columns: 1fr; }
}

/* ─── Shows ─────────────────────────────────────────────────────── */
.shows {
  background:
    radial-gradient(ellipse 70% 70% at 30% 50%, rgba(0,200,150,0.09) 0%, transparent 70%),
    var(--dark);
}

.shows-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.show-item {
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.2s, border-color 0.2s;
}

.show-item:hover {
  transform: translateX(6px);
  border-color: var(--teal);
}

.show-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 14px;
  padding: 0.6rem 0.4rem;
  display: flex;
  flex-direction: column;
}

.show-date .day {
  font-family: 'Pacifico', cursive;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy);
}

.show-date .month {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(13,26,39,0.8);
}

.show-details { flex: 1; }
.show-details h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: 0.2rem; }
.show-details p  { font-size: 0.9rem; color: rgba(242,237,224,0.55); }

.shows-note {
  text-align: center;
  color: rgba(242,237,224,0.55);
  font-size: 1rem;
}
.shows-note a { color: var(--teal); font-weight: 800; }
.shows-note a:hover { text-decoration: underline; }

/* ─── Contact ───────────────────────────────────────────────────── */
.contact {
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(26,111,212,0.1) 0%, transparent 70%),
    var(--darker);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(242,237,224,0.78);
  margin-bottom: 1.5rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-list li {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(242,237,224,0.88);
}

.contact-list a:hover { color: var(--teal); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  color: var(--light);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(242,237,224,0.3);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0,200,150,0.15);
}

.contact-form textarea { resize: vertical; }

/* ─── Technical Rider ──────────────────────────────────────────── */
.rider-wrap {
  margin-top: 3rem;
  border: 2px solid rgba(0,200,150,0.25);
  border-radius: 20px;
  overflow: hidden;
}

.rider-toggle {
  width: 100%;
  background: rgba(0,200,150,0.08);
  border: none;
  padding: 1.1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--teal);
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.rider-toggle:hover { background: rgba(0,200,150,0.14); }

.rider-arrow {
  font-size: 1.4rem;
  transition: transform 0.3s;
  display: inline-block;
}
.rider-toggle[aria-expanded="true"] .rider-arrow { transform: rotate(180deg); }

.rider-body {
  display: none;
  padding: 2rem 1.75rem;
  border-top: 1px solid rgba(0,200,150,0.15);
}
.rider-body.open { display: block; }

.rider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.rider-card {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
}

.rider-card--wide {
  grid-column: 1 / -1;
}

.rider-card h4 {
  font-family: 'Pacifico', cursive;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.rider-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(242,237,224,0.75);
  margin-bottom: 0.5rem;
}

.rider-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rider-card ul li {
  font-size: 0.9rem;
  color: rgba(242,237,224,0.75);
  padding-left: 1em;
  position: relative;
}
.rider-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

/* Stage plot */
/* ─── Stage Plot ─────────────────────────────────────────────────── */
.stage-plot {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stage-directions {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,237,224,0.4);
  margin-bottom: 0.4rem;
}

.stage-area {
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(26,111,212,0.08) 0%, transparent 70%),
    rgba(0,0,0,0.35);
  border: 2px solid rgba(0,200,150,0.25);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  padding: 1rem 1.25rem 1.25rem;
  overflow: hidden;
}

/* Hatched back wall */
.stage-wall {
  height: 10px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(26,111,212,0.7)  0px,  rgba(26,111,212,0.7)  16px,
    rgba(26,111,212,0.2) 16px, rgba(26,111,212,0.2) 20px
  );
  margin-bottom: 1.5rem;
}

/* Stage apron / front edge */
.stage-apron {
  height: 6px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(0,200,150,0.7)  0px,  rgba(0,200,150,0.7)  16px,
    rgba(0,200,150,0.2) 16px, rgba(0,200,150,0.2) 20px
  );
  margin-top: 1.5rem;
}

/* Free-position map */
.stage-map {
  position: relative;
  width: 100%;
  padding-bottom: 62%;
}

/* Node styling */
.sp-node {
  position: absolute;
  width: 14%;
  border-radius: 10px;
  padding: 0.5rem 0.3rem;
  text-align: center;
  background: rgba(26,111,212,0.18);
  border: 1.5px solid rgba(26,111,212,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.sp-node:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }

.sp-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.sp-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1.2;
}
.sp-detail {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(242,237,224,0.5);
  margin-top: 0.2rem;
}

/* Colour overrides */
.sp-vocal { background: rgba(0,200,150,0.15); border-color: rgba(0,200,150,0.45); }
.sp-drums { background: rgba(0,200,150,0.1);  border-color: rgba(0,200,150,0.3);  }

/* Drum kit node — wider with SVG kit */
.sp-drums-big { width: 26%; }

.sp-emoji { font-size: 2rem; display: block; margin-bottom: 0.2rem; }

/* Audience label */
.stage-audience {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242,237,224,0.35);
  background: rgba(0,0,0,0.2);
  border: 2px solid rgba(0,200,150,0.25);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 0.5rem;
}

@media (max-width: 600px) {
  .stage-map { padding-bottom: 120%; }
  .sp-node { width: 22%; }
  .sp-drums-big { width: 30%; }
  .sp-icon { font-size: 1rem; }
  .sp-name { font-size: 0.65rem; }
  .sp-detail { display: none; }
}

/* Input list */
.rider-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: rgba(242,237,224,0.6);
  border-left: 3px solid rgba(0,200,150,0.4);
  padding-left: 0.75rem;
  font-style: italic;
}

.rider-subtitle {
  font-family: 'Pacifico', cursive;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.input-list-wrap { overflow-x: auto; }

.input-list {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.input-list thead tr {
  background: rgba(0,200,150,0.12);
}

.input-list th {
  text-align: left;
  padding: 0.6rem 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--teal);
  border-bottom: 2px solid rgba(0,200,150,0.25);
}

.input-list td {
  padding: 0.55rem 0.9rem;
  color: rgba(242,237,224,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.input-list td:first-child {
  font-family: 'Pacifico', cursive;
  font-size: 0.85rem;
  width: 2.5rem;
}

.ch-drums td:first-child  { color: var(--blue); }
.ch-guitar td:first-child { color: #ffca3a; }
.ch-keys td:first-child   { color: #6bcb77; }
.ch-bass td:first-child   { color: #3a8fd4; }
.ch-vocal td:first-child  { color: var(--teal); }

.input-list tbody tr:hover td { background: rgba(255,255,255,0.03); }

@media (max-width: 768px) {
  .rider-grid { grid-template-columns: 1fr; }
  .rider-card--wide { grid-column: auto; }
}

/* ─── Footer ────────────────────────────────────────────────────── */
.footer {
  background: var(--darker);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--teal), var(--blue), var(--purple)) 1;
  text-align: center;
  padding: 2rem 1.5rem;
  color: rgba(242,237,224,0.45);
  font-size: 0.9rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.footer-sub { font-size: 0.8rem; margin-top: 0.4rem; }
.nowrap { white-space: nowrap; }
.mobile-break { display: none; }
@media (max-width: 480px) { .mobile-break { display: block; } }
.footer-star { color: #ffd700; }
.footer-heart { color: var(--purple); }

/* ─── Animations ────────────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(5,15,10,0.98);
    padding: 1rem 2rem 1.5rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .burger { display: block; }

  .about-grid    { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .members-grid  { grid-template-columns: 1fr; }

  .show-item { flex-wrap: wrap; gap: 1rem; }
  .show-item .btn-small { margin-left: 80px; }

  .bubble { font-size: 1.6rem; }
  .b7, .b9, .b10, .b11, .b12, .b13, .b14 { display: none; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .about-icons { grid-template-columns: 1fr 1fr; }

  /* Prevent labels from breaking mid-label */
  .group-label.misses-label,
  .group-label.bandits-label,
  .group-label.david-label { font-size: 1.4rem; white-space: nowrap; }

  /* Orbit — shrink radii so sparks stay on-screen */
  .ls1, .ls2, .ls3, .ls4, .ls5, .ls6  { --r: 130px; font-size: 1.2rem; }
  .ls7, .ls8, .ls9, .ls10, .ls11, .ls12, .ls13, .ls14 { --r: 180px; font-size: 0.9rem; }

  /* Logo halo — scale down */
  .hero-logo-wrap::before { width: 420px; height: 420px; }

  /* Member cards — reduce padding and avatar on tiny screens */
  .members-grid { grid-template-columns: 1fr; }
  .member-card  { padding: 1.25rem; gap: 0.85rem; }
  .member-avatar { width: 80px; height: 80px; font-size: 2rem; }

  /* Setlist — single column */
  .setlist-grid--single .set-songs { columns: 1; }

  /* Media — full-width audio player */
  .audio-card audio { width: 100%; }

  /* Rider table — allow horizontal scroll */
  .input-list-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 768px) and (min-width: 481px) {
  /* Tablet: moderate orbit radius reduction */
  .ls1, .ls2, .ls3, .ls4, .ls5, .ls6  { --r: 220px; }
  .ls7, .ls8, .ls9, .ls10, .ls11, .ls12, .ls13, .ls14 { --r: 320px; }
}

/* Stop animations for reduced-motion / low-power mode — prevents GPU crashes */
@media (prefers-reduced-motion: reduce) {
  .logo-spark { animation: none; }
  .hero-logo-wrap::before { display: none; }
  .hero-bg-orb  { animation: none; }
  .hero-logo    { animation: fadeDown 0.01ms ease both; filter: drop-shadow(0 4px 20px rgba(0,200,150,0.4)); }
  .bubble       { animation: none; }
  .note         { animation: none; }
}

/* ─── Performance: strip heavy GPU effects on mobile ────────────
   blur() on oversized elements is the primary iOS Safari crash cause.
   Capable desktop/large-screen devices keep the full visual treatment. */
@media (max-width: 768px) {
  /* 1. Hide hero orbs — designed as blurred glows, look wrong without blur */
  .hero-bg-orb { display: none; }

  /* 2. Drop backdrop-filter blur on nav — forces a compositor layer */
  .nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(5,15,10,0.96);
  }

  /* 3. Stop animating drop-shadows on logo — continuous filter repaints */
  .hero-logo {
    animation: fadeDown 0.7s ease both;
    filter: drop-shadow(0 4px 20px rgba(0,200,150,0.4));
  }

  /* 5. Hide all orbiting sparkles and remove their compositor layers */
  .ls1,.ls2,.ls3,.ls4,.ls5,.ls6,
  .ls7,.ls8,.ls9,.ls10,.ls11,.ls12,.ls13,.ls14 {
    display: none;
    will-change: auto;
  }

  /* 6. Strip drop-shadow from SVG bubbles */
  .bubble svg { filter: none; }

  /* 7. Let band photo scale naturally on mobile instead of fixed crop */
  .misses-photo-wrap { max-height: none; }
  .misses-photo { height: auto; object-fit: unset; object-position: unset; }
}
