@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --club-1: #FF2DCB;
  --club-2: #962DFF;
  --club-3: #2DCBFF;
  --live-1: #FF7A2D;
  --live-2: #FF2D5E;
  --live-3: #FFD12D;
  --bg: #08080A;
  --panel: rgba(255,255,255,0.045);
  --panel-border: rgba(255,255,255,0.09);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: white;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* film-grain texture, sits over everything at very low opacity */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

a { color: inherit; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 3;
}

.nav .brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 19px;
  background: linear-gradient(90deg, var(--club-1), var(--club-2), var(--club-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.nav .links { display: flex; gap: 18px; font-size: 13px; font-weight: 600; }
.nav .links a { text-decoration: none; color: rgba(255,255,255,0.65); transition: color 0.15s ease; }
.nav .links a:hover { color: white; }

/* ---------- Ticker ---------- */

.ticker-wrap {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  animation: ticker 32s linear infinite;
}
.ticker-track span.item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.75);
  padding: 0 22px;
  border-right: 1px solid var(--panel-border);
}
.ticker-track span.item strong { color: #fff; font-weight: 700; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Live pulse dot ---------- */

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF3B3B;
  box-shadow: 0 0 0 0 rgba(255,59,59,0.6);
  animation: pulse-dot 1.6s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(255,59,59,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(255,59,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); }
}

/* ---------- Scroll reveal ---------- */

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

/* ---------- Hero: gradient mesh + glow orbs + optional photo slot ---------- */

.hero {
  position: relative;
  text-align: center;
  padding: 46px 20px 18px;
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,45,203,0.28), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(45,203,255,0.22), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(150,45,255,0.25), transparent 55%);
  filter: blur(10px);
  animation: drift 14s ease-in-out infinite alternate;
}

/* optional real photo — drop a file at the path below and it layers in automatically */
.hero.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
  mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
}

@keyframes drift {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.15) translate(-2%, 2%); }
}

/* full-bleed variant for the home page — breaks out of the boxed .wrap column */
.hero-full {
  position: relative;
  text-align: center;
  padding: 64px 20px 40px;
  overflow: hidden;
  isolation: isolate;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,45,203,0.35), transparent 42%),
    radial-gradient(circle at 80% 10%, rgba(45,203,255,0.28), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(150,45,255,0.32), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(255,122,45,0.2), transparent 45%);
  filter: blur(20px);
  animation: drift 16s ease-in-out infinite alternate;
}

.hero-full .title {
  font-size: clamp(34px, 8vw, 60px);
  letter-spacing: -0.5px;
}

/* large decorative equalizer behind the hero title — pure atmosphere, not real audio data */
.eq-bg {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  z-index: -1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
  opacity: 0.18;
  pointer-events: none;
}
.eq-bg span {
  width: 6px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--club-1), var(--club-3));
  animation: eq-bg-move 2.4s ease-in-out infinite;
}
.eq-bg span:nth-child(odd) { background: linear-gradient(180deg, var(--live-1), var(--live-3)); }
@keyframes eq-bg-move {
  0%, 100% { height: 20%; }
  50% { height: 100%; }
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.hero .title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.05;
  background: linear-gradient(90deg, var(--club-1), var(--club-2), var(--club-3), var(--live-1));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 6s linear infinite;
}

@keyframes sheen {
  to { background-position: 200% center; }
}

.hero .tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
  font-weight: 500;
}

/* ---------- Equalizer bars motif ---------- */

.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  vertical-align: middle;
}
.eq span {
  width: 3px;
  border-radius: 2px;
  background: currentColor;
  animation: eq 0.9s ease-in-out infinite;
}
.eq span:nth-child(1) { animation-delay: -0.6s; }
.eq span:nth-child(2) { animation-delay: -0.3s; }
.eq span:nth-child(3) { animation-delay: -0.9s; }
.eq span:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

/* ---------- Station cards ---------- */

.stations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}

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

.station-card {
  position: relative;
  border-radius: 22px;
  padding: 26px 18px;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.station-card:hover { transform: translateY(-3px); }

.station-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  opacity: 0.35;
  filter: blur(30px);
}
.station-card.club::before { background: radial-gradient(circle, var(--club-1), transparent 60%); }
.station-card.live::before { background: radial-gradient(circle, var(--live-1), transparent 60%); }
.station-card.club:hover { border-color: rgba(255,45,203,0.45); }
.station-card.live:hover { border-color: rgba(255,122,45,0.45); }

.station-card .name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 17px;
}

.station-card .sub {
  display: block;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: normal;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}

.station-card .eq { margin-bottom: 10px; }
.station-card.club .eq { color: var(--club-1); }
.station-card.live .eq { color: var(--live-1); }

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin: 34px 0 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 12px;
  backdrop-filter: blur(14px);
  transition: border-color 0.2s ease;
}
.card:hover { border-color: rgba(255,255,255,0.18); }

.gig .when { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; }
.gig .title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; margin: 5px 0; }
.gig .venue { font-size: 13px; color: rgba(255,255,255,0.7); }
.gig .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.gig .tag.live { background: rgba(255,122,45,0.18); color: var(--live-1); }
.gig .tag.club { background: rgba(255,45,203,0.18); color: var(--club-1); }
.gig img.flyer { width: 100%; border-radius: 14px; margin-top: 12px; display: block; box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.gig .actions { margin-top: 12px; }
.gig .actions a, .gig .actions button {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--panel-border);
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.empty { color: rgba(255,255,255,0.45); font-size: 14px; text-align: center; padding: 30px 20px; }

.cta {
  display: block;
  text-align: center;
  padding: 17px;
  border-radius: 16px;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.3px;
  text-decoration: none;
  background: linear-gradient(90deg, var(--club-1), var(--club-2), var(--club-3));
  background-size: 200% auto;
  color: #000;
  margin: 20px 0;
  transition: background-position 0.3s ease, transform 0.15s ease;
}
.cta:hover { background-position: 100% center; transform: translateY(-1px); }

.filters { display: flex; gap: 8px; margin-bottom: 16px; }
.filters a {
  flex: 1;
  text-align: center;
  padding: 11px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s ease;
}
.filters a.active { background: white; color: black; border-color: white; }

form label { display: block; font-size: 13px; color: rgba(255,255,255,0.7); margin: 14px 0 5px; font-weight: 600; }
form input, form textarea, form select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.04);
  color: white;
  font-size: 14px;
  font-family: inherit;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: rgba(255,45,203,0.5);
}
form textarea { min-height: 90px; }
form button, .btn {
  margin-top: 20px;
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, var(--club-1), var(--club-2), var(--club-3));
  background-size: 200% auto;
  color: #000;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background-position 0.3s ease;
}
form button:hover, .btn:hover { background-position: 100% center; }

.error { color: #FF6B6B; font-size: 13px; margin-top: 10px; }
.success { color: #4CFFB0; font-size: 15px; text-align: center; padding: 40px 0; font-weight: 600; }

table.gigs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.gigs-table th, table.gigs-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--panel-border); }
table.gigs-table th { color: rgba(255,255,255,0.5); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
table.gigs-table a { color: var(--club-3); text-decoration: none; font-weight: 600; }

.footer {
  text-align: center;
  padding: 34px 20px 60px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  position: relative;
  z-index: 2;
}
.footer a { color: rgba(255,255,255,0.6); text-decoration: none; margin: 0 8px; }
