/*
 * FILE: /public_html/assets/css/bmd-header-pro-v8.css
 * BMD_HEADER_REAL_UIUX_V8_DO_NOT_REMOVE
 *
 * Real UI/UX upgrade for Bangs Music Distro public header.
 * Uses CSS only for visual upgrade; keeps PHP/account/menu/player systems intact.
 */

:root{
  --bmd-v8-bg:#050608;
  --bmd-v8-panel:rgba(12,14,18,.82);
  --bmd-v8-panel-solid:#111318;
  --bmd-v8-panel-2:rgba(255,255,255,.055);
  --bmd-v8-line:rgba(255,255,255,.105);
  --bmd-v8-line-2:rgba(255,255,255,.17);
  --bmd-v8-text:#ffffff;
  --bmd-v8-muted:rgba(255,255,255,.68);
  --bmd-v8-soft:rgba(255,255,255,.42);
  --bmd-v8-green:#1ed760;
  --bmd-v8-green-2:#20ef75;
  --bmd-v8-purple:#7c5cff;
  --bmd-v8-blue:#4da3ff;
  --bmd-v8-radius:18px;
  --bmd-v8-radius-pill:999px;
  --bmd-v8-shadow:0 24px 80px rgba(0,0,0,.44);
  --bmd-v8-ease:cubic-bezier(.2,.9,.2,1);
  --bmd-v8-speed:190ms;
}

html[data-bmd-motion="off"]{
  scroll-behavior:auto!important;
}

body.bmd-pro-shell-v8{
  background:
    radial-gradient(circle at 8% 0%, rgba(30,215,96,.075), transparent 34rem),
    radial-gradient(circle at 100% 10%, rgba(124,92,255,.075), transparent 35rem),
    #050608;
}

body.bmd-pro-shell-v8 .bmd-topbar{
  background:
    linear-gradient(180deg, rgba(8,10,14,.92), rgba(8,10,14,.73)),
    radial-gradient(circle at 24% 0%, rgba(30,215,96,.10), transparent 28rem);
  border-bottom:1px solid var(--bmd-v8-line);
  box-shadow:0 1px 0 rgba(255,255,255,.03);
  isolation:isolate;
}

body.bmd-pro-shell-v8 .bmd-topbar:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.055), transparent);
  opacity:.28;
  z-index:-1;
}

body.bmd-pro-shell-v8.bmd-header-scrolled .bmd-topbar{
  background:rgba(7,8,11,.94);
  box-shadow:0 18px 60px rgba(0,0,0,.35);
}

body.bmd-pro-shell-v8 .bmd-topbar .topbar__inner{
  max-width:1500px;
  min-height:68px;
  padding:10px clamp(10px,1.8vw,22px);
}

body.bmd-pro-shell-v8 .bmd-brand{
  gap:11px;
  padding:7px 10px;
  border:1px solid transparent;
}

body.bmd-pro-shell-v8 .bmd-brand:hover{
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.07);
}

body.bmd-pro-shell-v8 .bmd-brand__logo{
  width:40px;
  height:40px;
  border-radius:13px;
  box-shadow:0 12px 30px rgba(0,0,0,.38), 0 0 0 1px rgba(255,255,255,.08);
}

body.bmd-pro-shell-v8 .bmd-brand__name{
  color:#fff;
  font-size:13.5px;
  letter-spacing:-.02em;
}

body.bmd-pro-shell-v8 .bmd-brand__tag{
  color:var(--bmd-v8-muted);
}

body.bmd-pro-shell-v8 .bmd-burger,
body.bmd-pro-shell-v8 .bmd-ic{
  background:rgba(255,255,255,.045);
  border-color:var(--bmd-v8-line);
  box-shadow:none;
}

body.bmd-pro-shell-v8 .bmd-burger:hover,
body.bmd-pro-shell-v8 .bmd-ic:hover{
  background:rgba(255,255,255,.085);
  border-color:var(--bmd-v8-line-2);
}

body.bmd-pro-shell-v8 .bmd-search{
  min-height:47px;
  background:rgba(255,255,255,.065);
  border-color:rgba(255,255,255,.115);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

body.bmd-pro-shell-v8 .bmd-search:hover{
  background:rgba(255,255,255,.082);
}

body.bmd-pro-shell-v8 .bmd-search:focus-within{
  border-color:rgba(30,215,96,.55);
  box-shadow:0 0 0 4px rgba(30,215,96,.10), inset 0 1px 0 rgba(255,255,255,.06);
}

body.bmd-pro-shell-v8 .bmd-search__input{
  font-size:14px;
  color:#fff;
}

body.bmd-pro-shell-v8 .bmd-search__kbd{
  background:rgba(0,0,0,.35);
  border-color:rgba(255,255,255,.12);
  color:rgba(255,255,255,.76);
}

body.bmd-pro-shell-v8 .bmd-pill{
  min-height:40px;
  background:rgba(255,255,255,.052);
  border-color:rgba(255,255,255,.10);
  color:#fff;
  font-size:12.5px;
  letter-spacing:-.01em;
}

body.bmd-pro-shell-v8 .bmd-pill:hover{
  background:rgba(255,255,255,.095);
  border-color:rgba(255,255,255,.18);
}

body.bmd-pro-shell-v8 .bmd-pill.is-active{
  background:rgba(255,255,255,.94);
  color:#050608;
  border-color:rgba(255,255,255,.94);
  box-shadow:0 12px 38px rgba(255,255,255,.07);
}

body.bmd-pro-shell-v8 .bmd-pill--prime{
  background:linear-gradient(135deg, rgba(30,215,96,.95), rgba(22,242,167,.78));
  color:#04120a;
  border-color:rgba(30,215,96,.50);
  box-shadow:0 16px 42px rgba(30,215,96,.16);
}

body.bmd-pro-shell-v8 .bmd-pill--prime:hover{
  background:linear-gradient(135deg, rgba(32,239,117,1), rgba(22,242,167,.92));
  color:#031007;
}

body.bmd-pro-shell-v8 .bmd-pill__dot{
  background:currentColor;
  opacity:.88;
  box-shadow:none;
}

body.bmd-pro-shell-v8 .bmd-top-profile__summary,
body.bmd-pro-shell-v8 .bmd-account__summary{
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.11);
}

body.bmd-pro-shell-v8 .bmd-top-profile__summary:hover,
body.bmd-pro-shell-v8 .bmd-account__summary:hover{
  background:rgba(255,255,255,.095);
  border-color:rgba(255,255,255,.18);
}

body.bmd-pro-shell-v8 .bmd-top-profile__avatar,
body.bmd-pro-shell-v8 .bmd-account__avatar{
  background:linear-gradient(135deg, var(--bmd-v8-green), var(--bmd-v8-purple));
  color:#051008;
}

body.bmd-pro-shell-v8 .bmd-top-profile__menu,
body.bmd-pro-shell-v8 .bmd-account__menu{
  background:rgba(13,15,20,.985);
  border-color:rgba(255,255,255,.11);
  box-shadow:var(--bmd-v8-shadow);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}

body.bmd-pro-shell-v8 .sidebar{
  background:
    radial-gradient(circle at 0% 0%, rgba(30,215,96,.115), transparent 26rem),
    linear-gradient(180deg, rgba(8,10,14,.985), rgba(9,11,15,.955));
  border-right:1px solid rgba(255,255,255,.10);
}

body.bmd-pro-shell-v8 .sidebar__header{
  background:linear-gradient(180deg, rgba(8,10,14,.98), rgba(8,10,14,.86));
  border-bottom-color:rgba(255,255,255,.095);
}

body.bmd-pro-shell-v8 .side-h{
  color:rgba(255,255,255,.55);
}

body.bmd-pro-shell-v8 .side-link{
  color:#fff;
  min-height:44px;
}

body.bmd-pro-shell-v8 .side-link:hover{
  background:rgba(255,255,255,.075);
}

body.bmd-pro-shell-v8 .side-link.is-active{
  background:rgba(255,255,255,.95);
  color:#050608;
  border-color:rgba(255,255,255,.9);
}

body.bmd-pro-shell-v8 .backdrop{
  background:rgba(0,0,0,.64);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
}

.bmd-cmdk{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:start center;
  padding:72px 14px 20px;
  background:rgba(0,0,0,.66);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

.bmd-cmdk[hidden]{
  display:none!important;
}

.bmd-cmdk__panel{
  width:min(720px, 100%);
  border:1px solid rgba(255,255,255,.13);
  border-radius:26px;
  background:rgba(13,15,20,.98);
  box-shadow:0 32px 110px rgba(0,0,0,.62);
  overflow:hidden;
}

.bmd-cmdk__top{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px;
  border-bottom:1px solid rgba(255,255,255,.09);
}

.bmd-cmdk__icon{
  width:42px;
  height:42px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(30,215,96,.92), rgba(22,242,167,.72));
  color:#04120a;
  font-weight:1000;
}

.bmd-cmdk__input{
  flex:1;
  min-width:0;
  height:44px;
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
  font-size:17px;
  font-weight:800;
}

.bmd-cmdk__input::placeholder{
  color:rgba(255,255,255,.48);
}

.bmd-cmdk__close{
  width:40px;
  height:40px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(255,255,255,.055);
  color:#fff;
  cursor:pointer;
}

.bmd-cmdk__body{
  padding:10px;
}

.bmd-cmdk__section{
  padding:8px;
}

.bmd-cmdk__label{
  margin:0 0 8px;
  color:rgba(255,255,255,.50);
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.bmd-cmdk__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.bmd-cmdk__item{
  min-height:58px;
  display:flex;
  align-items:center;
  gap:11px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:17px;
  background:rgba(255,255,255,.045);
  color:#fff;
  text-decoration:none;
  padding:10px;
}

.bmd-cmdk__item:hover,
.bmd-cmdk__item:focus{
  outline:0;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16);
}

.bmd-cmdk__item b{
  display:block;
  font-size:13px;
  font-weight:1000;
}

.bmd-cmdk__item span{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.58);
  font-size:11px;
  font-weight:750;
}

.bmd-cmdk__dot{
  width:34px;
  height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:rgba(30,215,96,.16);
  color:#baffd0;
  font-size:16px;
  font-weight:1000;
}

.bmd-cmdk__hint{
  border-top:1px solid rgba(255,255,255,.09);
  padding:11px 15px;
  color:rgba(255,255,255,.56);
  font-size:12px;
  font-weight:800;
}

body.bmd-pro-shell-v8 .bmd-navrail{
  scroll-snap-type:x proximity;
}

body.bmd-pro-shell-v8 .bmd-navrail .bmd-pill{
  scroll-snap-align:start;
}

@supports (animation-timeline: scroll()){
  body.bmd-pro-shell-v8 .bmd-topbar{
    animation:bmdHeaderShadow linear both;
    animation-timeline:scroll();
    animation-range:0 120px;
  }
  @keyframes bmdHeaderShadow{
    from{box-shadow:0 1px 0 rgba(255,255,255,.03)}
    to{box-shadow:0 18px 60px rgba(0,0,0,.34)}
  }
}

@media (max-width: 980px){
  body.bmd-pro-shell-v8 .bmd-topbar .topbar__inner{
    min-height:64px;
  }

  body.bmd-pro-shell-v8 .bmd-brand__logo{
    width:37px;
    height:37px;
  }
}

@media (max-width: 720px){
  body.bmd-pro-shell-v8 .bmd-topbar .topbar__inner{
    gap:8px;
    padding-left:9px;
    padding-right:9px;
  }

  body.bmd-pro-shell-v8 .bmd-left{
    max-width:44%;
    gap:7px;
  }

  body.bmd-pro-shell-v8 .bmd-brand{
    min-width:0;
    padding-left:4px;
    padding-right:4px;
  }

  body.bmd-pro-shell-v8 .bmd-brand__name{
    max-width:115px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  body.bmd-pro-shell-v8 .bmd-navrail{
    padding-inline:1px;
  }

  body.bmd-pro-shell-v8 .bmd-pill{
    min-height:38px;
    padding:9px 11px;
    font-size:12px;
  }

  body.bmd-pro-shell-v8 .bmd-actions{
    gap:6px;
  }

  body.bmd-pro-shell-v8 .bmd-ic,
  body.bmd-pro-shell-v8 .bmd-burger{
    width:42px;
    height:42px;
  }

  .bmd-cmdk{
    padding-top:54px;
  }

  .bmd-cmdk__panel{
    border-radius:22px;
  }

  .bmd-cmdk__grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 430px){
  body.bmd-pro-shell-v8 .bmd-brand__name{
    display:none;
  }

  body.bmd-pro-shell-v8 .bmd-left{
    max-width:none;
  }

  body.bmd-pro-shell-v8 .bmd-top-profile__summary{
    width:42px;
    height:42px;
  }
}

@media (prefers-reduced-motion: reduce){
  .bmd-cmdk,
  body.bmd-pro-shell-v8 *{
    transition:none!important;
    animation:none!important;
  }
}
