*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a16;
  --bg-card: rgba(20, 20, 40, 0.7);
  --bg-elevated: rgba(28, 28, 54, 0.85);
  --text: #d8d8e8;
  --text-muted: #9090a8;
  --accent: #b44dff;
  --accent2: #00e0ff;
  --accent3: #ff4d6a;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 8px;
  --danger: #ff4d6a;
  --success: #3dd68c;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -3%); }
  20% { transform: translate(-8%, 2%); }
  30% { transform: translate(3%, -7%); }
  40% { transform: translate(7%, 4%); }
  50% { transform: translate(-2%, 8%); }
  60% { transform: translate(5%, -1%); }
  70% { transform: translate(-6%, -5%); }
  80% { transform: translate(2%, 6%); }
  90% { transform: translate(-3%, -8%); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(180, 77, 255, 0.08), 0 0 60px rgba(0, 224, 255, 0.04); }
  50% { box-shadow: 0 0 30px rgba(180, 77, 255, 0.15), 0 0 80px rgba(0, 224, 255, 0.08); }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

html { font-size: 20px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  height: 100vh;
  overflow: hidden;
  letter-spacing: 0.01em;
}

body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(180, 77, 255, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(0, 224, 255, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(180, 77, 255, 0.03) 0%, transparent 70%);
}

body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain 8s steps(10) infinite;
}

a { color: var(--accent2); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* ── Header ────────────────────────────── */
header {
  background: rgba(8, 8, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 900; font-size: 1.4rem; letter-spacing: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(180, 77, 255, 0.4));
}
nav { display: flex; gap: 2px; }
.tab {
  background: none; border: 1px solid transparent; color: var(--text-muted);
  padding: 8px 18px; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border-radius: 6px;
  transition: all 0.2s; position: relative;
}
.tab:hover { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--border); }
.tab.active {
  background: linear-gradient(135deg, rgba(180, 77, 255, 0.15), rgba(0, 224, 255, 0.15));
  border-color: rgba(180, 77, 255, 0.3);
  color: #fff;
}

/* ── Main ──────────────────────────────── */
main { max-width: 1400px; margin: 0 auto; padding: 64px 20px 100px; width: 100%; height: 100vh; overflow-y: auto; scroll-padding-top: 64px; position: relative; z-index: 1; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fade-up 0.3s ease; }

/* ── Filters ───────────────────────────── */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: end;
  margin-bottom: 14px; padding: 12px 14px;
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 99;
}
.filter-group { display: flex; flex-direction: column; gap: 2px; min-width: 165px; }
.filter-group label {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); font-weight: 700;
}
.filter-group select {
  background: rgba(0,0,0,0.3); color: var(--text); border: 1px solid var(--border);
  padding: 7px 26px 7px 9px; border-radius: 6px; font-size: 0.85rem;
  cursor: pointer; outline: none; transition: border-color 0.2s;
}
.filter-group select:focus { border-color: var(--accent2); }

/* Multi-dropdown */
.multi-dropdown { position: relative; min-width: 180px; }
.md-trigger {
  width: 100%; background: rgba(0,0,0,0.3); color: var(--text);
  border: 1px solid var(--border); padding: 7px 26px 7px 9px;
  border-radius: 6px; font-size: 0.85rem; cursor: pointer;
  text-align: left; font-family: inherit;
  transition: border-color 0.2s; appearance: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.md-trigger::after {
  content: ""; position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent; border-top-color: var(--text-muted);
  pointer-events: none;
}
.md-trigger:hover { border-color: rgba(255,255,255,0.15); }
.md-trigger:focus, .md-trigger.open { border-color: var(--accent2); outline: none; }
.md-trigger.open::after { border-top-color: var(--accent2); }

.md-panel {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  margin-top: 4px; background: rgba(18, 18, 48, 0.97);
  border: 1px solid var(--border); border-radius: 6px; z-index: 50;
  max-height: 220px; overflow-y: auto;
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.md-panel.open { display: block; }
.md-option {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; cursor: pointer; font-size: 0.82rem;
  transition: background 0.1s;
}
.md-option:hover { background: rgba(180, 77, 255, 0.08); }
.md-option input[type="checkbox"] {
  accent-color: var(--accent); width: 15px; height: 15px;
  cursor: pointer; flex-shrink: 0;
}
.md-option span { color: var(--text); flex: 1; }

.md-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.md-chip {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.68rem; padding: 2px 7px; border-radius: 20px;
  background: rgba(180, 77, 255, 0.15); color: var(--accent);
  font-weight: 600; border: 1px solid rgba(180, 77, 255, 0.2);
}
.md-chip button {
  background: none; border: none; color: var(--accent);
  cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 2px;
  opacity: 0.6;
}
.md-chip button:hover { opacity: 1; }

/* ── Album & Gig Grid ──────────────────── */
.album-grid, .gig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

/* ── Cards ─────────────────────────────── */
.album-card, .gig-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  animation: card-in 0.4s ease both;
}
.album-card:nth-child(1) { animation-delay: 0.05s; }
.album-card:nth-child(2) { animation-delay: 0.1s; }
.album-card:nth-child(3) { animation-delay: 0.15s; }
.album-card:nth-child(4) { animation-delay: 0.2s; }
.gig-card:nth-child(1) { animation-delay: 0.05s; }
.gig-card:nth-child(2) { animation-delay: 0.1s; }
.gig-card:nth-child(3) { animation-delay: 0.15s; }

.album-card:hover, .gig-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 224, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 224, 255, 0.06), 0 8px 24px rgba(0,0,0,0.3);
}

.card-artwork {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  display: block; background: rgba(0,0,0,0.3); cursor: pointer;
  transition: filter 0.3s;
}
.card-artwork:hover { filter: brightness(1.1); }
.card-artwork-placeholder {
  width: 100%; aspect-ratio: 1; display: flex;
  align-items: center; justify-content: center;
  font-size: 4rem; font-weight: 900; color: rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.2);
}

.card-body { padding: 18px; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; color: #fff; }
.card-artist { font-size: 0.88rem; color: var(--accent2); margin-bottom: 10px; font-weight: 600; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.meta-tag {
  font-size: 0.7rem; padding: 3px 10px; border-radius: 20px;
  background: rgba(180, 77, 255, 0.12); color: var(--accent);
  font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  border: 1px solid rgba(180, 77, 255, 0.15);
}
.meta-tag.accent2 { background: rgba(0, 224, 255, 0.08); color: var(--accent2); border-color: rgba(0, 224, 255, 0.1); }

/* ── Tracklist ─────────────────────────── */
.dl-count {
  font-size: 0.7rem; color: var(--text-muted); text-align: right;
  margin-top: 2px;
}
.tracklist {
  margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border);
}
.track-row {
  padding: 1px 0; font-size: 0.78rem;
}
.track-playable { cursor: pointer; }
.track-playable:hover .track-title { color: var(--accent2); }
.track-info { display: flex; justify-content: space-between; align-items: center; }
.track-info-right { display: flex; align-items: center; gap: 8px; }
.track-title { color: #fff; }
.track-bpm { color: var(--text-muted); font-size: 0.7rem; font-weight: 600; }
.track-dur { color: var(--text-muted); font-size: 0.7rem; }
#player { display: none; }
.track-play {
  background: none; border: 1px solid rgba(255,255,255,0.1); color: var(--accent2);
  cursor: pointer; font-size: 0; padding: 0; width: 18px; height: 18px; border-radius: 3px;
  transition: all 0.15s; display: inline-flex; align-items: center; justify-content: center;
  vertical-align: middle; position: relative;
}
.track-play::before {
  content: ""; display: block;
  width: 0; height: 0;
  border-left: 5px solid var(--accent2);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  margin-left: 1px;
  transition: all 0.15s;
}
.track-play.paused::before {
  width: 2px; height: 7px;
  border: none; border-radius: 1px;
  background: var(--accent2);
  box-shadow: 3px 0 0 var(--accent2);
  margin-left: -1.5px;
}
.track-play:hover { background: rgba(0, 224, 255, 0.12); border-color: rgba(0, 224, 255, 0.25); }
.track-dl {
  color: var(--text-muted); font-size: 0.95rem; text-decoration: none;
  padding: 2px 6px; transition: color 0.15s;
}
.track-dl:hover { color: var(--accent); }

/* ── Credits ───────────────────────────── */
.credits {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
  font-size: 0.76rem; color: var(--text-muted); line-height: 1.7;
}
.cc-badge {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
  font-size: 0.73rem; color: var(--text-muted);
}
.cc-badge a { font-size: 0.73rem; }

/* ── Gig Card ──────────────────────────── */
.gig-dates { font-size: 0.85rem; color: var(--accent); margin-bottom: 6px; font-weight: 600; }
.gig-location { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.gig-lineup { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.gig-lineup h4 {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-muted); margin-bottom: 6px; font-weight: 700;
}
.lineup-list { display: flex; flex-wrap: wrap; gap: 5px; }
.lineup-artist {
  font-size: 0.76rem; padding: 2px 9px; border-radius: 20px;
  background: rgba(0, 224, 255, 0.06); color: var(--accent2);
  font-weight: 600; border: 1px solid rgba(0, 224, 255, 0.1);
}
.exo-artist {
  background: rgba(180, 77, 255, 0.1); color: var(--accent);
  border-color: rgba(180, 77, 255, 0.15);
}
.gig-footer {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.gig-price { font-size: 1.1rem; font-weight: 700; color: #fff; }
.gig-links { display: flex; gap: 12px; align-items: center; }
.gig-links a { font-size: 0.85rem; font-weight: 600; }

/* ── Player bar ────────────────────────── */
@keyframes eq1 { 0%,100% { height:4px; } 30% { height:14px; } 60% { height:6px; } 80% { height:18px; } }
@keyframes eq2 { 0%,100% { height:10px; } 20% { height:4px; } 50% { height:20px; } 70% { height:8px; } }
@keyframes eq3 { 0%,100% { height:6px; } 25% { height:16px; } 55% { height:4px; } 85% { height:22px; } }
@keyframes eq4 { 0%,100% { height:12px; } 35% { height:3px; } 65% { height:18px; } 90% { height:7px; } }
@keyframes eq5 { 0%,100% { height:8px; } 15% { height:20px; } 45% { height:5px; } 75% { height:16px; } }

#player-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(14, 14, 32, 0.95);
  border-top: 1px solid rgba(180, 77, 255, 0.2);
  padding: 10px 24px; gap: 10px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: pulse-glow 4s ease-in-out infinite;
  flex-direction: column;
}
#player-bar.visible { display: flex; }

#player-eq {
  display: flex; align-items: flex-end; gap: 3px; height: 22px;
  position: absolute; left: 24px; top: 50%; transform: translateY(-50%); opacity: 0.3;
}
#player-eq span {
  display: block; width: 3px; border-radius: 2px;
  background: var(--accent2); min-height: 3px;
  transition: opacity 0.3s;
}
#player-eq span:nth-child(1) { animation: eq1 1.2s ease-in-out infinite; }
#player-eq span:nth-child(2) { animation: eq2 0.9s ease-in-out infinite 0.1s; }
#player-eq span:nth-child(3) { animation: eq3 1.1s ease-in-out infinite 0.3s; }
#player-eq span:nth-child(4) { animation: eq4 0.8s ease-in-out infinite 0.2s; }
#player-eq span:nth-child(5) { animation: eq5 1.3s ease-in-out infinite 0.15s; }
#player-bar.playing #player-eq { opacity: 1; }

#player-info {
  display: flex; align-items: center; gap: 14px;
  padding-left: 72px;
}
#player-play {
  background: none; border: none; color: var(--accent2);
  cursor: pointer; font-size: 0; width: 38px; height: 38px;
  border-radius: 0; flex-shrink: 0; transition: all 0.2s;
  position: relative;
}
#player-play::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 12px solid var(--accent2);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: all 0.15s;
}
#player-play.paused::before {
  width: 9px; height: 14px;
  border: none; border-radius: 0;
  background: linear-gradient(to right, var(--accent2) 3px, transparent 3px, transparent 6px, var(--accent2) 6px);
}
#player-play:hover { opacity: 0.7; }
#player-title {
  font-weight: 700; font-size: 0.9rem;
  color: #fff; letter-spacing: 0.5px; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; flex: 1;
}

#player-controls {
  display: flex; align-items: center; gap: 12px;
  padding-left: 72px;
}
#player-seek {
  flex: 1; -webkit-appearance: none; appearance: none;
  height: 4px; background: rgba(255,255,255,0.1);
  border-radius: 2px; cursor: pointer; outline: none;
}
#player-seek::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px;
  border-radius: 50%; background: var(--accent2);
  cursor: pointer; box-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
  transition: box-shadow 0.2s;
}
#player-seek::-webkit-slider-thumb:hover { box-shadow: 0 0 20px rgba(0, 224, 255, 0.6); }
#player-seek::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; border: none;
  background: var(--accent2); cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
}
#player-time {
  font-weight: 600; color: var(--text-muted); font-size: 0.78rem;
  white-space: nowrap; flex-shrink: 0;
}

/* ── About ─────────────────────────────── */
.about-content { max-width: 760px; }
.about-content h2 { font-size: 1.6rem; margin-bottom: 16px; color: #fff; }
.about-content h3 {
  font-size: 1.1rem; margin: 26px 0 8px; color: var(--accent);
  letter-spacing: 0.5px;
}
.about-content h4 { font-size: 0.9rem; margin: 14px 0 4px; color: var(--text); }
.about-content p { margin-bottom: 10px; }
.about-content ol, .about-content ul { margin: 6px 0 14px 20px; }
.about-content li { margin-bottom: 4px; }
.about-content blockquote {
  background: var(--bg-card); border-left: 3px solid var(--accent2);
  padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 14px 0; font-size: 0.88rem; color: var(--text-muted);
}

/* ── Forms ─────────────────────────────── */
.apply-container { max-width: 656px; margin: 0 auto; }
.sub-tabs { display: flex; gap: 2px; margin-bottom: 20px; }
.sub-tab {
  background: none; border: 1px solid var(--border); color: var(--text-muted);
  padding: 8px 20px; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; border-radius: var(--radius);
  transition: all 0.2s;
}
.sub-tab:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.sub-tab.active {
  background: linear-gradient(135deg, rgba(180, 77, 255, 0.15), rgba(0, 224, 255, 0.15));
  border-color: rgba(180, 77, 255, 0.3); color: #fff;
}

.submit-form {
  display: none;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.submit-form.active { display: block; }
.submit-form h3 { font-size: 1.15rem; color: #fff; margin-bottom: 4px; }
.submit-form h4 {
  font-size: 0.9rem; color: var(--text); margin: 22px 0 10px;
  padding-bottom: 6px; border-bottom: 1px solid var(--border);
}
.form-intro { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 20px; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 3px; }
.field label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); font-weight: 700;
}
.field input, .field select, .field textarea {
  background: rgba(0,0,0,0.3); color: var(--text); border: 1px solid var(--border);
  padding: 9px 12px; border-radius: 6px; font-size: 0.88rem;
  outline: none; transition: border-color 0.2s; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent2); }
.req { color: var(--danger); }
.hint { color: var(--text-muted); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.68rem; }

.track-editor { display: flex; flex-direction: column; gap: 7px; margin: 4px 0 8px; }
.track-row-input { display: flex; gap: 7px; align-items: center; }
.track-row-input .track-title-input {
  flex: 3; background: rgba(0,0,0,0.3); color: var(--text); border: 1px solid var(--border);
  padding: 7px 10px; border-radius: 6px; font-size: 0.82rem; outline: none;
}
.track-row-input .track-title-input:focus { border-color: var(--accent2); }
.track-row-input .track-bpm-input {
  flex: 1; max-width: 80px; background: rgba(0,0,0,0.3); color: var(--text);
  border: 1px solid var(--border); padding: 7px 10px; border-radius: 6px;
  font-size: 0.82rem; outline: none;
}
.track-row-input .track-bpm-input:focus { border-color: var(--accent2); }
.track-row-input .track-file-input { flex: 3; font-size: 0.7rem; color: var(--text-muted); }
.track-row-input .track-file-input::file-selector-button {
  background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--border);
  padding: 4px 8px; border-radius: 4px; cursor: pointer; font-size: 0.68rem;
}

.btn-remove-track {
  background: none; border: 1px solid var(--border); color: var(--danger);
  width: 30px; height: 30px; border-radius: 6px; cursor: pointer;
  font-size: 1.1rem; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; transition: background 0.15s;
}
.btn-remove-track:hover { background: rgba(255, 64, 96, 0.12); }
.btn-add-track {
  background: none; border: 1px dashed rgba(255,255,255,0.1); color: var(--text-muted);
  padding: 7px 14px; border-radius: 6px; cursor: pointer; font-size: 0.8rem;
  font-weight: 600; transition: all 0.2s;
}
.btn-add-track:hover { border-color: var(--accent2); color: var(--accent2); }

.form-actions { margin-top: 22px; }
.btn-submit {
  background: var(--accent2); color: #000; border: none;
  padding: 11px 30px; border-radius: 6px; font-size: 0.92rem;
  font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.btn-submit:hover { background: #33e8ff; box-shadow: 0 0 20px rgba(0, 224, 255, 0.3); }
.btn-submit:active { transform: scale(0.98); }
.btn-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.checkbox-field { flex-direction: row; align-items: center; gap: 8px; padding-top: 4px; }
.checkbox-field label { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text); text-transform: none; letter-spacing: 0; font-size: 0.88rem; }
.checkbox-field input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--accent2); cursor: pointer; }

.form-feedback {
  margin-top: 12px; padding: 10px 14px; border-radius: 6px;
  font-size: 0.82rem; font-weight: 600; display: none;
}
.form-feedback.success { display: block; background: rgba(61,214,140,0.1); color: var(--success); border: 1px solid rgba(61,214,140,0.2); }
.form-feedback.error { display: block; background: rgba(255,64,96,0.1); color: var(--danger); border: 1px solid rgba(255,64,96,0.2); }

/* ── Footer ────────────────────────────── */
footer {
  text-align: center; padding: 24px 20px; margin-top: 20px;
  border-top: 1px solid var(--border); font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Lightbox ──────────────────────────── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0, 0, 0, 0.94); cursor: pointer;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 95vw; max-height: 95vh;
  object-fit: contain; box-shadow: 0 0 80px rgba(0, 224, 255, 0.08);
}

/* ── Misc ──────────────────────────────── */
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state p { font-size: 1.1rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ── Responsive ────────────────────────── */
@media (max-width: 768px) {
  .header-inner { height: 52px; padding: 0 10px; gap: 6px; }
  .logo { font-size: 1rem; letter-spacing: 4px; }
  .tab { padding: 5px 10px; font-size: 0.74rem; }

  main { padding: 62px 10px 70px; scroll-padding-top: 52px; }

  .filter-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px; top: 0;
  }
  .filter-group { min-width: 0; }
  .multi-dropdown { min-width: 0; }
  .md-trigger { font-size: 0.8rem; padding: 8px 24px 8px 8px; }

  .album-grid, .gig-grid { grid-template-columns: 1fr; gap: 14px; }
  .card-body { padding: 14px; }

  .submit-form { padding: 14px; }
  .form-grid { grid-template-columns: 1fr; }
  .track-row-input { flex-wrap: wrap; }
  .track-row-input .track-bpm-input { max-width: 100%; flex: 1; }
  .track-row-input .track-title-input { flex: 2; }

  #player-bar { padding: 8px 12px; gap: 5px; }
  #player-info { padding-left: 44px; }
  #player-controls { padding-left: 44px; }
  #player-eq { left: 12px; gap: 2px; }
  #player-eq span { width: 2px; }
  #player-play { width: 30px; height: 30px; }
  #player-play::before { border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }
  #player-play.paused::before { width: 8px; height: 12px; background: linear-gradient(to right, var(--accent2) 2.5px, transparent 2.5px, transparent 5.5px, var(--accent2) 5.5px); }
  #player-title { font-size: 0.68rem; letter-spacing: 0; }
  #player-time { font-size: 0.68rem; }
  main { padding-bottom: 90px; }
}
