:root{
  --bg:#0b0f19;
  --text:#eef2ff;
  --muted:#a7b2cc;
  --border: rgba(255,255,255,.10);

  --accentA: rgba(76,125,255,.95);
  --accentB: rgba(0,212,255,.70);

  --shell-width: min(1120px, calc(100% - 24px));
  --topbar-offset: 116px;

  /* SAFE AREAS (content/footer never under player) */
  --player-safe-pad: 190px;   /* desktop */
  --page-bottom-pad: 260px;   /* desktop content padding */

  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 26px;

  --shadow-lg: 0 24px 80px rgba(0,0,0,.55);
  --shadow-md: 0 18px 50px rgba(0,0,0,.40);
  --ease: cubic-bezier(.2,.8,.2,1);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(76,125,255,.22), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(0,212,255,.15), transparent 55%),
    var(--bg);
}

/* Main view */
.leg-view{
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--topbar-offset) 18px 24px;
}
.leg-view-with-player{ padding-bottom: var(--page-bottom-pad); }

/* =========================
   TOPBAR
========================= */
.leg-topbar{
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--shell-width);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgba(11,15,25,.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  z-index: 20000;
}

.leg-brandwrap{ display:flex; align-items:center; gap: 10px; min-width:0; }
.leg-brand{ font-weight: 950; white-space: nowrap; overflow:hidden; text-overflow: ellipsis; }
.leg-topbar-right{ display:flex; align-items:center; gap:10px; }

.leg-nav{ display:flex; gap:8px; flex-wrap:wrap; justify-content:center; }
.leg-nav a{
  color: var(--muted);
  text-decoration:none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.leg-nav a:hover{ background: rgba(255,255,255,.06); color: var(--text); }
.leg-nav a.active{ background: rgba(76,125,255,.18); border-color: rgba(255,255,255,.10); color: var(--text); }

/* Buttons */
.leg-btn{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: inherit;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 850;
  cursor:pointer;
}
.leg-btn-primary{
  border: none;
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
}
.leg-btn-ghost{ background: transparent; }
.leg-iconbtn{
  width: 46px;
  height: 46px;
  padding: 0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Language menu */
.leg-lang{ position: relative; }
.leg-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 190px;
  padding: 8px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(11,15,25,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  z-index: 20050;
}
.leg-menu[hidden]{ display:none; }
.leg-menu-item{
  width: 100%;
  text-align: left;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 850;
}
.leg-menu-item:hover{ background: rgba(255,255,255,.07); }

/* Mobile hamburger */
#navToggle{ display:none; }
@media (max-width: 820px){
  #navToggle{ display:inline-flex; }
  .leg-nav-desktop{ display:none; }
  :root{
    --topbar-offset: 132px;
    --player-safe-pad: 250px;
    --page-bottom-pad: 360px;
  }
  .leg-topbar{ width: calc(100% - 18px); padding: 10px 12px; }
}

/* Mobile drawer */
.leg-drawer-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 20010;
}
.leg-nav-drawer{
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--shell-width);
  max-width: 520px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,15,25,.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  z-index: 20020;
  overflow: hidden;
}
.leg-nav-drawer[hidden]{ display:none; }
.leg-nav-drawer-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.leg-nav-mobile{ display:grid; gap:8px; padding:12px; }
.leg-nav-mobile a{
  display:block;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: inherit;
  text-decoration:none;
  font-weight: 850;
}

/* =========================
   HERO SLIDESHOW
========================= */
.fullbleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.home-hero.fullbleed .hero-carousel{
  width: 100vw;
  max-width: none;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.hero-carousel{
  position: relative;
  height: min(72vh, 780px);
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  box-shadow: var(--shadow-lg);
}
.hero-track{
  display:flex;
  height:100%;
  width:100%;
  transition: transform 520ms var(--ease);
}
.hero-slide{ flex: 0 0 100%; height:100%; }
.hero-media{ width:100%; height:100%; object-fit: cover; display:block; }

.hero-fallback{ display:flex; align-items:center; justify-content:center; }
.hero-fallback-inner{ text-align:center; padding:20px; }
.hero-fallback-title{
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 980;
  letter-spacing: 1px;
  line-height:.9;
}
.hero-fallback-sub{
  margin-top: 10px;
  opacity:.86;
  font-weight: 850;
  letter-spacing:.3px;
}

.hero-a{ background: radial-gradient(900px 420px at 30% 20%, rgba(76,125,255,.55), transparent 60%), rgba(11,15,25,.85); }
.hero-b{ background: radial-gradient(900px 420px at 70% 30%, rgba(0,212,255,.40), transparent 60%), rgba(11,15,25,.85); }
.hero-c{ background: radial-gradient(900px 420px at 50% 30%, rgba(255,80,160,.35), transparent 60%), rgba(11,15,25,.85); }

.hero-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:48px; height:48px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(11,15,25,.45);
  backdrop-filter: blur(12px);
  font-size:26px;
  font-weight:980;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 10;
}
.hero-prev{ left: 18px; }
.hero-next{ right: 18px; }

.hero-dots{
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom:18px;
  display:flex;
  gap:8px;
  z-index: 10;
}
.hero-dot{
  width:10px; height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  cursor:pointer;
}
.hero-dot.active{ background: rgba(255,255,255,.85); }

.hero-fade{
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  pointer-events:none;
  z-index:1;
}

/* Mobile hero smaller */
@media (max-width: 520px){
  .hero-carousel{ min-height: 360px; height: 52vh; }
  .hero-fallback-title{ font-size: 48px; }
  .hero-fallback-sub{ font-size: 12px; }
  .hero-prev,.hero-next{ width: 42px; height: 42px; }
}

/* =========================
   HOME SECTIONS
========================= */
.home-section{ margin-top: 26px; }

.home-surface{
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  padding: 18px;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin: 0 0 12px;
}

.section-head h2{
  margin: 0;
  font-size: 22px;
  font-weight: 980;
  display:inline-flex;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(76,125,255,.10);
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
}

.section-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: inherit;
  text-decoration:none;
  opacity:.9;
  font-weight: 900;
}
.section-link:hover{ background: rgba(255,255,255,.07); opacity: 1; }

.leg-input{
  width:100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: inherit;
}

.card-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width:980px){ .card-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width:560px){ .card-grid{ grid-template-columns: 1fr; } }

.mini-card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 20px;
  padding: 14px;
}
.mini-card-top{ display:flex; gap:12px; align-items:center; }
.mini-avatar-wrap{
  width:58px; height:58px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.15);
}
.mini-avatar{ width:100%; height:100%; object-fit:cover; }
.mini-name{ font-weight: 950; }
.mini-role{ opacity:.75; font-size:13px; margin-top:2px; }
.mini-actions{ margin-top: 12px; }

/* Releases */
.release-row{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.release-card{
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 16px 45px rgba(0,0,0,.30);
}
.release-badge{ font-size: 11px; font-weight: 950; opacity:.78; margin-bottom: 10px; display:inline-block; }
.release-title{ font-weight: 950; }
.release-sub{ opacity:.75; margin-top: 6px; font-size: 13px; }

/* Events */
.events-list{ display:grid; gap:10px; }
.event-item{
  display:flex;
  align-items:center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 20px;
  padding: 12px 14px;
}
.event-date{ min-width: 68px; font-weight: 950; opacity: .85; }
.event-title{ font-weight: 950; }
.event-sub{ opacity:.75; font-size: 13px; margin-top: 2px; }

/* Empty placeholder grid */
.empty-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 980px){ .empty-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px){ .empty-grid{ grid-template-columns: 1fr; } }

.empty-card{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  padding: 14px;
  min-height: 92px;
}
.empty-title{ font-weight: 950; opacity: .95; }
.empty-sub{ opacity: .75; margin-top: 8px; font-size: 13px; }

/* Newsletter + Social */
.newsletter{ display:grid; gap:10px; margin-top:10px; }
.social-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }

.social-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: inherit;
  text-decoration:none;
  font-weight: 900;
  opacity: .92;
}
.social-pill:hover{ opacity: 1; background: rgba(255,255,255,.07); }

/* CTA */
.cta-block{
  margin-top:16px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(76,125,255,.10);
  padding:14px;
}
.cta-title{ font-weight: 980; }
.cta-sub{ opacity:.82; margin-top:4px; margin-bottom:12px; }

/* Featured Video + Trending */
.home-split{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}
@media (max-width: 980px){
  .home-split{ grid-template-columns: 1fr; }
}
.section-head-compact{ margin-bottom: 10px; }

.featured-video-shell{
  position: relative;
  height: 260px;
  border-radius: 20px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 16px 50px rgba(0,0,0,.30);
}
.featured-video-media{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.featured-video-placeholder{
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(76,125,255,.20), transparent 60%),
    radial-gradient(900px 420px at 80% 40%, rgba(0,212,255,.16), transparent 60%),
    rgba(11,15,25,.75);
}
.featured-video-overlay{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(11,15,25,.55);
  backdrop-filter: blur(12px);
}
.featured-video-title{ font-weight: 980; }
.featured-video-sub{ opacity:.78; font-size: 13px; margin-top: 4px; }

.trending-list{ display:grid; gap: 10px; }
.trend-item{
  display:grid;
  grid-template-columns: 26px 44px 1fr;
  gap: 10px;
  align-items:center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.trend-rank{ font-weight: 980; opacity: .85; }
.trend-cover{
  width: 44px; height: 44px;
  border-radius: 12px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
}
.trend-cover img{ width:100%; height:100%; object-fit: cover; display:block; }
.trend-cover-fallback{
  width:100%; height:100%;
  background: radial-gradient(200px 100px at 30% 30%, rgba(76,125,255,.35), transparent 60%), rgba(0,0,0,.25);
}
.trend-title{ font-weight: 950; white-space: nowrap; overflow:hidden; text-overflow: ellipsis; }
.trend-sub{ opacity: .75; font-size: 13px; white-space: nowrap; overflow:hidden; text-overflow: ellipsis; }

/* Mobile tightening */
@media (max-width: 520px){
  .leg-section{ padding: 0 12px; }
  .home-surface{ padding: 14px; border-radius: 20px; }
  .home-section{ margin-top: 18px; }
  .section-head h2{ padding: 8px 12px; font-size: 16px; }
  .section-link{ padding: 8px 12px; font-size: 13px; }

  .featured-video-shell{ height: 190px; border-radius: 18px; }
  .featured-video-overlay{ left: 10px; right: 10px; bottom: 10px; padding: 10px; border-radius: 14px; }

  .trend-item{ grid-template-columns: 18px 38px 1fr; padding: 10px; border-radius: 16px; }
  .trend-title{ font-size: 14px; }
  .trend-sub{ font-size: 12px; }
}

/* =========================
   PLAYER (modern + mobile)
========================= */
.leg-playerbar{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  width: var(--shell-width);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(11,15,25,.88);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  z-index: 20000;
  padding: 12px;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 12px;
  align-items:center;
}

.leg-player-left{ min-width:0; }
.leg-player-label{ opacity:.75; font-size:12px; font-weight:800; }
.leg-player-track{ font-weight:950; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.leg-player-center{ display:flex; justify-content:center; gap:10px; align-items:center; }
.leg-player-right{ display:flex; justify-content:flex-end; gap:10px; align-items:center; }

.leg-progress-wrap{
  grid-column: 1 / -1;
  margin-top: 8px;
  display:flex;
  gap: 12px;
  align-items:center;
}
.leg-seek{ flex: 1; height: 10px; border-radius: 999px; }
.leg-time{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-weight: 950;
  opacity:.9;
}

.leg-vol{ width: 200px; }

.leg-playerbar .leg-btn{
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 950;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}
#playPauseBtn.leg-btn-primary{
  border: none;
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  min-width: 120px;
}

@media (max-width: 820px){
  .leg-playerbar{
    width: calc(100% - 18px);
    grid-template-columns: 1fr;
    gap: 10px;
    bottom: 10px;
  }
  .leg-player-center{ justify-content: space-between; }
  .leg-player-right{ justify-content: space-between; }
  .leg-vol{ width: 60vw; }
}

@media (max-width: 520px){
  .leg-playerbar{ width: calc(100% - 14px); padding: 10px; }
  .leg-player-label{ font-size: 11px; }
  .leg-player-track{ font-size: 14px; }
  #playPauseBtn{ font-size: 14px; padding: 12px 14px; }
  .leg-vol{ width: 56vw; }
  .leg-seek{ height: 8px; }
  .leg-time{ font-size: 12px; padding: 6px 10px; }
}

/* =========================
   FOOTER MOUNT SAFETY
   footer never covered by player
========================= */
#siteFooterMount{
  padding-bottom: var(--player-safe-pad);
}

/* =========================
   PILL FOOTER
========================= */
.leg-footer-wrap{
  max-width: 1120px;
  margin: 12px auto 12px;
  padding: 0 18px;
}

.leg-footer-pill{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(11,15,25,.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 70px rgba(0,0,0,.55);
}

.leg-footer-left{ display:flex; align-items:center; gap: 12px; min-width:0; }
.leg-footer-logo{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
}

.leg-footer-brandname{
  font-weight: 950;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.leg-footer-tagline{ opacity: .75; font-size: 12px; margin-top: 2px; }

.leg-footer-links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:center;
}
.leg-footer-links a{
  color: inherit;
  text-decoration:none;
  opacity: .85;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  font-weight: 900;
}
.leg-footer-links a:hover{
  opacity: 1;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}

.leg-footer-right{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.leg-footer-social{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: inherit;
  text-decoration:none;
  font-weight: 900;
  opacity: .9;
}
.leg-footer-social:hover{
  opacity: 1;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}

.leg-footer-bottomline{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
  margin-top: 12px;
  opacity: .78;
  font-size: 13px;
}
.leg-footer-bottomlinks{ display:flex; align-items:center; gap: 10px; }
.leg-footer-bottomlinks a{ color: inherit; text-decoration:none; opacity: .85; }
.leg-footer-bottomlinks a:hover{ opacity: 1; text-decoration: underline; }
.leg-footer-dot{ opacity: .6; }

@media (max-width: 980px){
  .leg-footer-pill{ flex-direction: column; align-items: stretch; gap: 12px; }
  .leg-footer-links{ justify-content:flex-start; }
  .leg-footer-right{ justify-content:flex-start; }
  .leg-footer-bottomline{ flex-direction: column; align-items:flex-start; }
}
@media (max-width: 520px){
  .leg-footer-wrap{ padding: 0 12px; }
}

/* =========================
   INTRO (kept minimal — your app.js controls animation)
========================= */
.leg-intro{
  position: fixed;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(11,15,25,.92);
  backdrop-filter: blur(14px);
  z-index: 40000;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.leg-intro.show{ opacity: 1; }
.leg-intro.hide{ opacity: 0; }

.leg-intro-inner{
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align:center;
  will-change: transform;
}

.leg-intro-logo{
  width: min(280px, 64vw);
  height: auto;
  filter: drop-shadow(0 24px 70px rgba(0,0,0,.55));
  will-change: transform;
}

.leg-intro-title{
  font-weight: 980;
  letter-spacing: .2px;
  font-size: clamp(22px, 3vw, 34px);
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  will-change: opacity, transform;
}

.leg-intro-stage{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18vh;
  width: min(520px, 72vw);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  opacity: .55;
}

.leg-brand-logo{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
  opacity: 0;
  transition: opacity 180ms ease;
}
.leg-brand-logo.show{ opacity: 1; }
@media (max-width: 820px){
  .leg-brand-logo{ width: 24px; height: 24px; }
}
/* ===== Promo Carousel (small) ===== */
.promo-carousel{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 16px 50px rgba(0,0,0,.30);
  height: 220px;
}
.promo-track{
  display:flex;
  height:100%;
  width:100%;
  transition: transform 520ms var(--ease);
}
.promo-slide{
  flex: 0 0 100%;
  height:100%;
  display:block;
}
.promo-media{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.promo-nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(11,15,25,.45);
  backdrop-filter: blur(12px);
  font-size:24px;
  font-weight:980;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 6;
}
.promo-prev{ left: 12px; }
.promo-next{ right: 12px; transform: translateY(-50%) rotate(180deg); }

.promo-dots{
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom:12px;
  display:flex;
  gap:8px;
  z-index: 7;
}
.promo-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  cursor:pointer;
}
.promo-dot.active{ background: rgba(255,255,255,.85); }

/* Caption UNDER promo */
.promo-caption{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.promo-caption-title{ font-weight: 950; }
.promo-caption-sub{ opacity:.78; font-size: 13px; margin-top: 4px; }

@media (max-width: 520px){
  .promo-carousel{ height: 180px; border-radius: 18px; }
  .promo-nav{ width:38px; height:38px; }
}
/* Artists roster cards – clickable and modern */
.roster-link{
  text-decoration: none;
  color: inherit;
  display: block;
}

.roster-card{
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  overflow:hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.40);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.roster-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}

.roster-open{
  margin-top: 12px;
  opacity: .85;
  font-weight: 900;
}

/* Filter chips */
.artists-filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.chip{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: inherit;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  cursor:pointer;
}
.chip.active{
  background: rgba(76,125,255,.18);
  border-color: rgba(255,255,255,.22);
}
/* =========================
   ARTISTS PAGE FIX PACK (GRID + CARD LAYOUT)
========================= */

#artistsList{
  margin-top: 18px;
}

/* the grid is missing in your file */
.roster-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 980px){
  .roster-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .roster-grid{ grid-template-columns: 1fr; }
}

/* Make card feel like a real card, not a plain bar */
.roster-link{
  display:block;
  color: inherit;
  text-decoration:none;
}

.roster-banner{
  height: 170px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.roster-body{
  padding: 14px 14px 16px;
}

.roster-top{
  display:grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items:center;
}

.roster-avatar-wrap{
  width:64px;
  height:64px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.15);
}

.roster-avatar{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.roster-meta{ min-width:0; }

.roster-name{
  font-weight: 980;
  font-size: 18px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.roster-role{
  opacity:.78;
  font-size: 13px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.roster-badges{ display:flex; align-items:center; justify-content:flex-end; }
.badge-type{
  font-size: 11px;
  font-weight: 950;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(76,125,255,.14);
}

/* nicer little "Open profile" line */
.roster-open{
  margin-top: 12px;
  opacity: .85;
  font-weight: 900;
}

/* Fix the sort dropdown so it isn't a tiny white default control */
#artistsSort.leg-select{
  appearance: none;
  -webkit-appearance: none;
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 10px 40px 10px 14px;
  font-weight: 900;

  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.75) 50%),
    linear-gradient(135deg, rgba(255,255,255,.75) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
/* Artist name bubble on roster cards */
.roster-name{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(76,125,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  margin-bottom: 8px;
}
.roster-role{ margin-top: 2px; }

/* Make the badge look more premium */
.badge-type{
  background: rgba(0,212,255,.10);
  border-color: rgba(255,255,255,.14);
}
/* Catalog grid */
.catalog-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 980px){ .catalog-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px){ .catalog-grid{ grid-template-columns: 1fr; } }

.catalog-card{
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  overflow:hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.40);
  display:grid;
  grid-template-columns: 110px 1fr;
}

.catalog-cover{
  position: relative;
  background: rgba(0,0,0,.18);
  border-right: 1px solid rgba(255,255,255,.08);
}
.catalog-cover img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.catalog-cover-fallback{
  width:100%;
  height:100%;
  background:
    radial-gradient(220px 140px at 30% 20%, rgba(76,125,255,.25), transparent 60%),
    rgba(11,15,25,.65);
}

.catalog-meta{ padding: 14px; min-width:0; }
.catalog-title{
  font-weight: 980;
  font-size: 16px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.catalog-artist{
  opacity:.78;
  margin-top: 6px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.catalog-actions{ margin-top: 12px; }
