
:root{
  --bg:#0b0f14;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.04);
  --text:#e8eef6;
  --muted:#9fb0c3;
  --line: rgba(255,255,255,.10);
  --brand:#1ed760;
  --shadow: 0 14px 40px rgba(0,0,0,.45);
}

#bmdSongsFixed{
  padding: 26px 0 28px;
}

#bmdSongsFixed .wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px;
}

#bmdSongsFixed .hero{
  border-radius: 22px;
  border: 1px solid var(--line);
  background: radial-gradient(1100px 520px at 18% 10%, rgba(30,215,96,.16), transparent 55%),
              radial-gradient(900px 420px at 90% 22%, rgba(95,45,255,.18), transparent 50%),
              rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  overflow:hidden;
}

#bmdSongsFixed .heroInner{
  padding: 18px 16px 14px;
}

#bmdSongsFixed h1{
  margin: 0 0 6px;
  font-size: 38px;
  letter-spacing: -0.02em;
  font-weight: 950;
  color: var(--text);
}

#bmdSongsFixed .sub{
  color: rgba(255,255,255,.75);
  font-weight: 800;
  margin-bottom: 14px;
}

#bmdSongsFixed .search{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  padding: 10px;
  border-radius: 18px;
}

#bmdSongsFixed .search input,
#bmdSongsFixed .search select{
  flex: 1 1 260px;
  min-width: 220px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
  font-weight: 850;
}
#bmdSongsFixed .search select{ cursor:pointer; flex: 0 0 auto; min-width: 160px; }

/* Live search dropdown */
#bmdSongsFixed .lsbox{
  position: relative;
  flex: 1 1 260px;
  min-width: 0;
}
#bmdSongsFixed .lsbox input{
  width: 100%;
}
#bmdSongsFixed .suggest{
  position:absolute;
  left:0;
  right:0;
  top: 48px;
  z-index: 50;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,14,20,.96);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  overflow: auto;
  max-height: 340px;
  padding: 6px;
}
#bmdSongsFixed .suggest a{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  text-decoration:none;
  color: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
#bmdSongsFixed .suggest a:hover{
  background: rgba(30,215,96,.12);
  border-color: rgba(30,215,96,.25);
}
#bmdSongsFixed .suggest img{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}
#bmdSongsFixed .suggest .s-title{
  font-weight: 950;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 100%;
}
#bmdSongsFixed .suggest .s-artist{
  margin-top: 2px;
  font-weight: 850;
  font-size: 12px;
  color: rgba(255,255,255,.72);
  white-space: nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

#bmdSongsFixed .search button{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 12px 14px;
  font-weight: 950;
  cursor:pointer;
}

#bmdSongsFixed .search button.primary{
  background: rgba(30,215,96,.16);
  border-color: rgba(30,215,96,.35);
}

#bmdSongsFixed .chips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

#bmdSongsFixed .chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 950;
  text-decoration:none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.92);
}

#bmdSongsFixed .chip.active{
  background: rgba(30,215,96,.18);
  border-color: rgba(30,215,96,.35);
}

#bmdSongsFixed .grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 18px;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
}
@media (max-width: 620px){
  .grid{ grid-template-columns: 1fr; gap: 14px; }
}

#bmdSongsFixed .card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 16px;
  cursor: pointer;
  position: relative;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  will-change: transform;
}
#bmdSongsFixed .card::before{
  content:'';
  position:absolute;
  inset:-1px;
  border-radius: 22px;
  pointer-events:none;
  opacity:0;
  background: radial-gradient(700px 140px at 20% 20%, rgba(30,215,96,.14), transparent 60%),
              radial-gradient(700px 160px at 85% 25%, rgba(95,45,255,.16), transparent 62%);
  transition: opacity .14s ease;
}
#bmdSongsFixed .card:hover{
  transform: translateY(-2px);
  border-color: rgba(30,215,96,.24);
  background: rgba(255,255,255,.055);
}
#bmdSongsFixed .card:hover::before{ opacity: 1; }
#bmdSongsFixed .card:active,
#bmdSongsFixed .card.is-press{
  transform: scale(.97);
  border-color: rgba(30,215,96,.30);
}
#bmdSongsFixed .card.is-press::before{ opacity: 1; }

#bmdSongsFixed .cover{
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  flex: 0 0 auto;
  background: rgba(0,0,0,.25);
  box-shadow: 0 16px 30px rgba(0,0,0,.35);
}
#bmdSongsFixed .cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
@media (max-width: 620px){
  #bmdSongsFixed .cover{ width: 112px; height: 112px; }
}

#bmdSongsFixed .playbtn{
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 0;
  background: rgba(30,215,96,.92);
  color: #07110a;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  transition: transform .12s ease, filter .12s ease, opacity .12s ease;
  opacity: .98;
  z-index: 3;
}
#bmdSongsFixed .playbtn svg{ width: 26px; height: 26px; margin-left: 2px; }
#bmdSongsFixed .playbtn:hover{ transform: translate(-50%,-50%) scale(1.05); filter: brightness(1.03); }
#bmdSongsFixed .playbtn:active{ transform: translate(-50%,-50%) scale(.94); }
#bmdSongsFixed .playbtn[disabled]{
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
  opacity: .75;
  cursor: not-allowed;
}

#bmdSongsFixed .body{
  flex: 1 1 auto;
  min-width: 0;
}

#bmdSongsFixed .title{
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
#bmdSongsFixed .title a{
  color: rgba(255,255,255,.96);
  text-decoration:none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
#bmdSongsFixed .title a:hover{ color: #fff; text-decoration: underline; }

#bmdSongsFixed .artist{
  color: rgba(255,255,255,.72);
  font-weight: 850;
  font-size: 14px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

#bmdSongsFixed .meta{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items:center;
}
#bmdSongsFixed .chip{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.86);
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
}
#bmdSongsFixed .chip strong{ color:#fff; font-weight: 950; }
#bmdSongsFixed .chip.brand{
  border-color: rgba(30,215,96,.22);
  background: rgba(30,215,96,.12);
}

#bmdSongsFixed .chip.warn{
  border-color: rgba(255,193,7,.28);
  background: rgba(255,193,7,.10);
  color: rgba(255,255,255,.92);
}
#bmdSongsFixed .chip.muted{
  color: rgba(255,255,255,.72);
}

#bmdSongsFixed .actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}

#bmdSongsFixed .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.96);
  text-decoration:none;
  font-weight: 950;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
}
#bmdSongsFixed .btn:hover{
  background: rgba(255,255,255,.09);
  border-color: rgba(30,215,96,.22);
}
#bmdSongsFixed .btn:active{
  transform: translateY(1px) scale(.98);
}
#bmdSongsFixed .btn.primary{
  border-color: rgba(30,215,96,.38);
  background: rgba(30,215,96,.16);
}
#bmdSongsFixed .btn.disabled{
  opacity: .58;
  cursor:not-allowed;
}
@media (max-width: 620px){
  #bmdSongsFixed .title{ font-size: 17px; }
  #bmdSongsFixed .btn{ padding: 11px 14px; border-radius: 15px; }
}

#bmdSongsFixed .foot{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

#bmdSongsFixed .nav a{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color:#fff;
  text-decoration:none;
  font-weight: 950;
}

#bmdSongsFixed .btn.loadmore{
  display:none;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(30,215,96,.12);
  color:#fff;
  font-weight: 950;
  cursor:pointer;
}
.js-on #bmdSongsFixed .btn.loadmore{ display:inline-flex; align-items:center; gap:8px; }
.js-on #bmdSongsFixed .nextlink{ display:none; }
#bmdSongsFixed .btn.loadmore:active{ transform: scale(.98); }

#bmdSongsFixed .rip{
  position:absolute;
  border-radius:999px;
  pointer-events:none;
  transform: scale(0);
  opacity: .35;
  background: #fff;
  animation: bmdRip .55s ease-out;
}
@keyframes bmdRip{
  to{ transform: scale(3.8); opacity: 0; }
}


/* ==============================
   Audiomack-like card sizing (safe overrides)
   - Bigger cards
   - Big visible play button
   - Cleaner actions row
================================ */
.grid{ grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; }
@media (max-width: 900px){ .grid{ grid-template-columns: 1fr; gap:14px; } }

.card{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:14px;
  border-radius:18px;
}

.cover{
  position:relative;
  flex:0 0 120px;
  width:120px;
  height:120px;
  border-radius:16px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
}
@media (max-width: 520px){
  .cover{ flex-basis: 110px; width:110px; height:110px; border-radius:14px; }
}

.cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.cover::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.38));
  z-index:1;
  pointer-events:none;
}

.playbtn{
  z-index:2;
  width:58px;
  height:58px;
}
@media (max-width: 520px){
  .playbtn{ width:56px; height:56px; }
}
.playbtn svg{ width:22px; height:22px; }

.body{ flex:1; min-width:0; }
.title{ font-size:16.5px; line-height:1.15; letter-spacing:-.2px; }
.artist{ font-size:14px; opacity:.92; }

.meta{ gap:8px; flex-wrap:wrap; }
.chip{ border-radius:999px; padding:6px 10px; }

.actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.actions .btn{ padding:10px 14px; border-radius:999px; }
.actions .btn.primary{ font-weight:900; }

/* Card click motion */
.card{ cursor:pointer; }
.card a, .card button{ cursor:pointer; }
.card.bmd-press{ transform: translateY(1px) scale(0.995); filter: brightness(1.06); }


/* NEW: Explicit badge + extra meta (producer/album) */
.badge-explicit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:10px;
  width:18px;
  height:18px;
  border-radius:6px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}
.extra{
  margin-top:6px;
  font-size:12px;
  line-height:1.2;
  opacity:.86;
}


/* =========================================================
   Bangs Music Distro Songs Page — Professional v18 overrides
   Stack: PHP/PDO data + HTML5 + CSS3 + Vanilla JS
   Scope is locked to #bmdSongsFixed to avoid breaking other pages.
========================================================= */
#bmdSongsFixed{
  --bmd-green:#1ed760;--bmd-green2:#21f17a;--bmd-purple:#7c5cff;--bmd-bg:#07090d;--bmd-text:#f5f7fb;--bmd-muted:rgba(245,247,251,.68);
  padding:clamp(16px,2vw,28px) 0 calc(120px + env(safe-area-inset-bottom));
  background:radial-gradient(900px 420px at 15% -10%, rgba(30,215,96,.11), transparent 55%),radial-gradient(800px 380px at 95% 0%, rgba(124,92,255,.13), transparent 50%);
}
#bmdSongsFixed .wrap{max-width:1320px;padding:0 clamp(12px,2vw,22px)}
#bmdSongsFixed .hero{border-radius:26px;background:linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.035)),radial-gradient(900px 360px at 18% 0%, rgba(30,215,96,.16), transparent 50%),radial-gradient(720px 340px at 85% 0%, rgba(124,92,255,.15), transparent 55%);box-shadow:0 20px 70px rgba(0,0,0,.52)}
#bmdSongsFixed .heroInner{padding:clamp(16px,2.2vw,24px)}
#bmdSongsFixed h1{font-size:clamp(34px,6vw,76px);line-height:.92;margin-bottom:8px;letter-spacing:-.065em}
#bmdSongsFixed .sub{font-size:14px;color:var(--bmd-muted)}
#bmdSongsFixed .search{display:grid;grid-template-columns:minmax(240px,1fr) auto auto auto auto;align-items:center;gap:10px;padding:12px;border-radius:22px;background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.12)}
#bmdSongsFixed .lsbox{min-width:0;flex:unset}
#bmdSongsFixed .search input,#bmdSongsFixed .search select{min-width:0;width:100%;height:48px;border-radius:16px;background:rgba(255,255,255,.075);color:var(--bmd-text);border-color:rgba(255,255,255,.13)}
#bmdSongsFixed .search input:focus,#bmdSongsFixed .search select:focus{border-color:rgba(30,215,96,.55);box-shadow:0 0 0 4px rgba(30,215,96,.10)}
#bmdSongsFixed .search button{height:48px;border-radius:16px;white-space:nowrap}
#bmdSongsFixed .search button.primary{background:linear-gradient(135deg, rgba(30,215,96,.95), rgba(33,241,122,.86));color:#061109;border:0}
#bmdSongsFixed .chips{gap:9px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:none}
#bmdSongsFixed .chips::-webkit-scrollbar{display:none}
#bmdSongsFixed .chip{white-space:nowrap;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#bmdSongsFixed .chip.active{background:linear-gradient(135deg, rgba(30,215,96,.24), rgba(124,92,255,.18))}
#bmdSongsFixed .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
#bmdSongsFixed .card{isolation:isolate;flex-direction:column;align-items:stretch;gap:0;padding:0;border-radius:24px;background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.042));border:1px solid rgba(255,255,255,.105);overflow:hidden}
#bmdSongsFixed .card:hover{transform:translateY(-4px);box-shadow:0 24px 80px rgba(0,0,0,.48);border-color:rgba(30,215,96,.30)}
#bmdSongsFixed .cover{width:100%;height:auto;aspect-ratio:1/1;border-radius:0;border:0;box-shadow:none;flex:none}
#bmdSongsFixed .cover img{transition:transform .25s ease, filter .25s ease}
#bmdSongsFixed .card:hover .cover img{transform:scale(1.045);filter:saturate(1.06) contrast(1.04)}
#bmdSongsFixed .playbtn{width:64px;height:64px;box-shadow:0 20px 55px rgba(0,0,0,.62);background:linear-gradient(135deg,#1ed760,#21f17a)}
#bmdSongsFixed .body{padding:15px;display:flex;flex-direction:column;min-height:196px}
#bmdSongsFixed .title{font-size:18px;margin-bottom:6px}
#bmdSongsFixed .artist{color:var(--bmd-muted)}
#bmdSongsFixed .extra{color:rgba(255,255,255,.58)}
#bmdSongsFixed .meta{margin-top:12px;gap:7px}
#bmdSongsFixed .meta .chip{padding:7px 10px;background:rgba(0,0,0,.20);font-size:11.5px}
#bmdSongsFixed .actions{margin-top:auto;padding-top:13px}
#bmdSongsFixed .actions .btn{border-radius:999px;min-height:40px;padding:10px 14px}
#bmdSongsFixed .actions .btn.primary{background:rgba(30,215,96,.16);border-color:rgba(30,215,96,.35)}
#bmdSongsFixed .suggest{top:56px;z-index:9999;background:rgba(7,10,15,.98);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
#bmdSongsFixed .suggest a + a{margin-top:6px}
#bmdSongsFixed .foot{border:1px solid rgba(255,255,255,.10);border-radius:20px;padding:12px 14px;background:rgba(255,255,255,.045)}
#bmdSongsFixed .bmd-empty,#bmdSongsFixed .bmd-searching{grid-column:1/-1;padding:22px;border:1px solid rgba(255,255,255,.10);border-radius:20px;background:rgba(255,255,255,.045);font-weight:900;color:rgba(255,255,255,.82)}
#bmdSongsFixed .ripple,#bmdSongsFixed .rip{position:absolute;border-radius:999px;pointer-events:none;transform:scale(0);opacity:.32;background:#fff;animation:bmdRip .55s ease-out}
@media(max-width:1100px){#bmdSongsFixed .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){#bmdSongsFixed .search{grid-template-columns:1fr 1fr}#bmdSongsFixed .lsbox{grid-column:1/-1}#bmdSongsFixed .search button,#bmdSongsFixed .search select{width:100%}}
@media(max-width:620px){#bmdSongsFixed{padding-top:12px}#bmdSongsFixed .grid{grid-template-columns:1fr;gap:14px}#bmdSongsFixed .hero{border-radius:20px}#bmdSongsFixed .search{grid-template-columns:1fr;gap:9px}#bmdSongsFixed .card{display:grid;grid-template-columns:118px 1fr;min-height:118px;border-radius:18px}#bmdSongsFixed .cover{width:118px;height:100%;aspect-ratio:auto;border-radius:18px 0 0 18px}#bmdSongsFixed .playbtn{width:52px;height:52px}#bmdSongsFixed .body{padding:12px;min-height:0}#bmdSongsFixed .title{font-size:16px;line-height:1.15}#bmdSongsFixed .meta{margin-top:8px}#bmdSongsFixed .meta .chip{font-size:11px;padding:6px 8px}#bmdSongsFixed .actions{padding-top:10px;gap:8px}#bmdSongsFixed .actions .btn{min-height:36px;padding:8px 11px;font-size:12px}}
