/* Underground, Blagoevgrad — basement club look:
   exposed red brick, warm amber bar light, cold blue/violet moving heads,
   silver ductwork, and the orange-ring / navy-bar sign. */
:root {
  --bg: #0c0706;
  --panel: #1a100d;
  --panel-2: #26170f;
  --line: #4a2e22;
  --text: #fbefe6;
  --muted: #c2ab9e;
  --accent: #f26a21;        /* sign orange */
  --accent-deep: #e0531a;
  --navy: #1d2a6b;          /* sign bar */
  --amber: #ff9a4d;         /* bar light */
  --beam: #4d7bff;          /* moving-head blue */
  --violet: #8a5cff;
  --good: #3ddc97;
  --warn: #ffb347;
  --radius: 14px;
  --display: "Bebas Neue", "Oswald", "Impact", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(620px 420px at 0% 0%, rgba(255, 140, 60, .42), transparent 65%),   /* bar glow */
    radial-gradient(360px 260px at 25% 30%, rgba(232, 64, 42, .14), transparent 70%),  /* red wash */
    radial-gradient(540px 380px at 100% 0%, rgba(77, 123, 255, .30), transparent 65%), /* blue heads */
    radial-gradient(480px 300px at 65% 12%, rgba(138, 92, 255, .16), transparent 70%),
    linear-gradient(to bottom, rgba(12, 7, 6, .35), rgba(12, 7, 6, .82) 45%, #0c0706 85%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30'%3E%3Crect width='60' height='30' fill='%23120a08'/%3E%3Crect x='1' y='1' width='58' height='13' rx='1' fill='%233d1a11'/%3E%3Crect x='-29' y='16' width='58' height='13' rx='1' fill='%23461d12'/%3E%3Crect x='31' y='16' width='58' height='13' rx='1' fill='%23371610'/%3E%3C/svg%3E"),
    var(--bg);
  background-size: auto, auto, auto, auto, auto, 60px 30px, auto;
  background-attachment: fixed;
}

/* Slow sweeping stage beams. Purely decorative. */
body::before {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    conic-gradient(from 200deg at 85% -5%, transparent 0deg, rgba(77, 123, 255, .10) 8deg, transparent 16deg,
                   transparent 40deg, rgba(138, 92, 255, .08) 46deg, transparent 54deg),
    conic-gradient(from 120deg at 10% -5%, transparent 0deg, rgba(255, 154, 77, .08) 7deg, transparent 14deg);
  animation: sweep 14s ease-in-out infinite alternate;
  transform-origin: 50% 0;
}
@keyframes sweep { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
body > * { position: relative; z-index: 1; }

button, input, textarea { font: inherit; color: inherit; }

/* ---- the sign: orange ring, navy bar ---- */
.sign { display: flex; align-items: center; gap: 26px; padding-left: 16px; }
.roundel {
  position: relative; width: 58px; height: 58px; flex: none;
  border-radius: 50%; border: 9px solid var(--accent);
  box-shadow: 0 0 22px rgba(242, 106, 33, .45);
}
.roundel::after {
  content: ""; position: absolute; left: -16px; right: -16px; top: 50%; height: 14px;
  transform: translateY(-50%); background: var(--navy); border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.sign-text { line-height: 1; }
.sign-text .name { font-family: var(--display); font-size: 26px; letter-spacing: .08em; }
.sign-text .est { font-size: 11px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; margin-top: 4px; font-weight: 600; }
.brand { font-family: var(--display); letter-spacing: .14em; font-size: 18px; color: var(--accent); }

/* ---- silver ductwork divider ---- */
.duct {
  height: 12px; border-radius: 6px; margin: 18px 0 6px;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.28) 0 2px, transparent 2px 26px),
    linear-gradient(to bottom, #e9eef2, #9aa4ad 45%, #5f6870 55%, #b7c0c7);
  box-shadow: 0 4px 14px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.6);
  opacity: .85;
}

h1 { font-family: var(--display); font-weight: 400; font-size: 46px; line-height: .95; letter-spacing: .02em; margin: 14px 0 6px; }
h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin: 28px 0 10px; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.input {
  width: 100%;
  background: rgba(26, 16, 13, .92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 16px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--muted); opacity: .8; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 106, 33, .2); }

.btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  background: var(--panel-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.btn:hover { border-color: var(--muted); }
.btn.primary {
  /* Dark text on sign orange keeps contrast at ~5:1 or better. */
  background: linear-gradient(180deg, #ff7a2e, var(--accent-deep));
  border-color: transparent;
  color: #1a0b05;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(242, 106, 33, .35);
}
.btn:disabled { opacity: .45; cursor: not-allowed; }

.list { display: flex; flex-direction: column; gap: 8px; }

.track {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(26, 16, 13, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.track img, .track .art {
  width: 52px; height: 52px; border-radius: 10px; flex: none;
  background: var(--panel-2); object-fit: cover;
}
.track .meta { flex: 1; min-width: 0; }
.track .title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track .artist { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  padding: 2px 7px; border-radius: 6px; background: var(--panel-2); color: var(--muted);
  vertical-align: middle; margin-left: 6px;
}

.empty {
  text-align: center; padding: 28px 16px; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius);
  background: rgba(12, 7, 6, .5);
}

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px);
  background: var(--panel-2); border: 1px solid var(--line);
  padding: 12px 18px; border-radius: 999px; font-weight: 600;
  opacity: 0; transition: all .25s; pointer-events: none; z-index: 50;
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.good { border-color: var(--good); }
.toast.bad { border-color: var(--warn); }

.banner {
  padding: 12px 16px; border-radius: var(--radius);
  background: rgba(255, 179, 71, .1); border: 1px solid rgba(255, 179, 71, .4);
  color: var(--warn); font-weight: 600; margin-top: 16px;
}

.hidden { display: none !important; }
