/* =========================
   LANDERO ENTERTAINMENT GROUP
   Modern CSS (single clean file)
========================= */

:root{
  /* Colors */
  --bg:#0b0f19;
  --text:#eef2ff;
  --muted:#a7b2cc;

  --border: rgba(255,255,255,.10);
  --border-strong: rgba(255,255,255,.14);

  --surface: rgba(18,26,43,.55);
  --surface-2: rgba(18,26,43,.35);

  --accentA: rgba(76,125,255,.95);
  --accentB: rgba(0,212,255,.70);

  /* Layout */
  --shell-width: min(1120px, calc(100% - 24px));
  --topbar-offset: 116px;   /* reserved space so bar never covers content */
  --player-offset: 200px;   /* reserved space so player never covers content */

  /* Radius + Shadow */
  --r-sm: 12px;
  --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);

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
  --dur: 180ms;
}

*{ 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);
}

/* Better focus for keyboard users */
:focus-visible{
  outline: 2px solid rgba(0,212,255,.75);
  outline-offset: 3px;
}

/* =========================
   Floating Topbar (ALL PAGES)
========================= */
.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: 14px;

  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;
  pointer-events: auto;
}

.leg-brand{
  font-weight: 950;
  letter-spacing: .2px;
  white-space: nowrap;
  line-height: 1;
}

.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;
  background: transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.leg-nav a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.08);
}

.leg-nav a.active{
  color: var(--text);
  background: rgba(76,125,255,.18);
  border-color: rgba(255,255,255,.10);
}

@media (max-width: 720px){
  .leg-brand{ font-size: 14px; }
  .leg-nav a{ padding: 7px 10px; }
}

/* Language dropdown */
.leg-lang{ position: relative; }
.leg-lang-icon{ margin-right: 6px; }
.leg-caret{ margin-left: 6px; opacity:.8; }

.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;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.leg-menu-item:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.10);
}

/* =========================
   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;
  letter-spacing: .2px;

  cursor:pointer;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  user-select:none;
}

.leg-btn:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  filter: brightness(1.05);
}
.leg-btn:active{ transform: scale(.98); }

.leg-btn-primary{
  border: none;
  background: linear-gradient(135deg, var(--accentA), var(--accentB));
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.leg-btn-primary:hover{ filter: brightness(1.08); }

.leg-btn-ghost{
  background: transparent;
}

/* =========================
   Main Layout (no overlap)
========================= */
.leg-view{
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--topbar-offset) 18px 24px;
}

.leg-view-with-player{
  padding-bottom: var(--player-offset);
}

.leg-section{
  max-width: 1120px;
  margin: 22px auto 0;
  padding: 0 18px;
}

.leg-footer{
  padding: 18px;
  text-align:center;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 26px;
}

/* Cards + inputs */
.leg-card{
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.leg-muted{ opacity:.82; }
.tiny-muted{ opacity:.7; font-size:12px; margin-top:10px; }

.leg-input{
  width:100%;
  padding:12px 12px;
  border-radius: var(--r-md);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: inherit;
  outline:none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.leg-input:focus{
  border-color: rgba(0,212,255,.45);
  background: rgba(255,255,255,.07);
}

/* =========================
   Full Bleed + Hero Carousel
========================= */
.fullbleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* hero sits below header */
.home-hero{ margin-top: calc(var(--topbar-offset) - 14px); }

.hero-carousel{
  position: relative;
  height: min(72vh, 780px);
  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%;
  position: relative;
}

.hero-media{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.05);
}

/* fallback text slides */
.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;
}

/* fallback backgrounds */
.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); }

/* arrows */
.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);

  color: inherit;
  font-size:26px;
  font-weight: 980;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  z-index: 6;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease), background var(--dur) var(--ease);
}
.hero-nav:hover{ filter: brightness(1.08); }
.hero-nav:active{ transform: translateY(-50%) scale(.96); }
.hero-prev{ left: 14px; }
.hero-next{ right: 14px; }

/* dots */
.hero-dots{
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom:18px;
  display:flex;
  gap:8px;
  z-index: 7;
}
.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;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.hero-dot.active{
  background: rgba(255,255,255,.85);
  transform: scale(1.12);
}

/* fade layer */
.hero-fade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(76,125,255,.22), transparent 60%),
    linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  pointer-events:none;
  z-index: 1;
}

/* caption under slide */
.hero-caption{
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom:16px;

  width: min(980px, calc(100% - 36px));
  padding:12px 14px;
  border-radius: var(--r-md);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(11,15,25,.58);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);

  z-index: 8;
}
.hero-caption[hidden]{ display:none; }
.hero-caption-title{ font-weight: 950; font-size: 14px; }
.hero-caption-sub{ opacity:.82; margin-top:2px; font-size:13px; }

/* Ensure removed hero overlay never shows */
.hero-overlay{ display:none; }

/* =========================
   Home Sections
========================= */
.home-strip{ display:grid; grid-template-columns: 1fr; gap:12px; }

.strip-item{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--r-lg);
  padding: 14px;
}
.strip-title{ font-weight: 950; margin-bottom: 8px; }
.strip-value{ font-weight: 950; }
.strip-muted{ opacity:.78; font-weight: 750; margin-top: 6px; }

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin: 0 0 10px;
}
.section-head h2{
  margin:0;
  font-weight: 980;
  letter-spacing:.2px;
}

.section-link{
  opacity:.9;
  text-decoration:none;
  color: inherit;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 8px 10px;
  border-radius: 999px;
}
.section-link:hover{
  opacity:1;
  background: rgba(255,255,255,.06);
}

.card-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@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: var(--r-lg);
  padding:14px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mini-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
.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; }

.release-row{
  display:grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap:12px;
  overflow-x:auto;
  padding-bottom:6px;
  scroll-snap-type: x mandatory;
}
.release-card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--r-lg);
  padding:14px;
  scroll-snap-align:start;
  transition: transform var(--dur) var(--ease);
}
.release-card:hover{ transform: translateY(-2px); }
.release-badge{ display:inline-block; font-size:11px; font-weight:950; opacity:.75; margin-bottom:10px; }
.release-title{ font-weight: 950; }
.release-sub{ opacity:.75; margin-top:6px; font-size:13px; }

.events-list{ display:grid; gap:10px; }
.event-item{
  display:flex;
  gap:12px;
  align-items:center;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--r-lg);
  padding:12px 14px;
}
.event-date{ min-width:70px; font-weight: 950; opacity:.85; }
.event-title{ font-weight: 950; }
.event-sub{ opacity:.75; font-size:13px; margin-top:2px; }

.grid-2{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:14px; }
@media (max-width:900px){ .grid-2{ grid-template-columns: 1fr; } }

.newsletter{ display:grid; gap:10px; margin-top:10px; }

.social-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.social-pill{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  text-decoration:none;
  color: inherit;
  opacity:.9;
}
.social-pill:hover{ opacity:1; background: rgba(255,255,255,.07); }

.cta-block{
  margin-top:16px;
  border-radius: var(--r-lg);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(76,125,255,.10);
  padding:14px;
}
.cta-title{ font-weight: 950; }
.cta-sub{ opacity:.8; margin-top:4px; margin-bottom:12px; }

/* =========================
   Artists Page Essentials
========================= */
.artists-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
@media (max-width:980px){ .artists-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width:560px){ .artists-grid{ grid-template-columns: 1fr; } }

.artist-card{
  border-radius: var(--r-xl);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  overflow:hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.artist-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

.artist-card-banner{
  display:block;
  height:140px;
  background-size: cover;
  background-position: center;
  position: relative;
  text-decoration:none;
}
.artist-banner-fallback{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(76,125,255,.35), transparent 60%),
    radial-gradient(900px 420px at 80% 40%, rgba(0,212,255,.22), transparent 60%),
    rgba(11,15,25,.55);
}
.artist-banner-shade{
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,0) 65%);
}
.artist-card-body{ padding:14px; }
.artist-card-top{
  display:flex;
  align-items:center;
  gap:12px;
  position: relative;
  margin-top: -30px;
}
.artist-avatar-wrap{
  width:64px; height:64px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.15);
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}
.artist-avatar{ width:100%; height:100%; object-fit:cover; }
.artist-meta{ min-width:0; }
.artist-name{ font-weight:950; font-size:18px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.artist-role{ opacity:.75; font-size:13px; margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.artist-bio{ margin-top:10px; opacity:.82; line-height:1.45; }
.artist-actions{ margin-top:12px; display:flex; gap:10px; }

/* =========================
   Floating Player (CENTERED)
========================= */
.leg-playerbar{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  width: var(--shell-width);

  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: rgba(11,15,25,.84);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);

  z-index: 20000;
  padding: 10px 12px;

  display:grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  align-items:center;
  gap: 12px;
}

.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-time{ display:flex; gap:6px; align-items:center; opacity:.85; font-weight:900; }
.leg-time-sep{ opacity:.6; }

.leg-progress-wrap{ grid-column: 1 / -1; margin-top: 8px; }
.leg-seek{ width:100%; height: 6px; border-radius: 999px; }

#prevBtn, #nextBtn{
  width:44px;
  height:44px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}
#playPauseBtn{ min-width:120px; }
.leg-vol{ width:160px; }

@media (max-width:720px){
  :root{ --player-offset: 220px; }
  .leg-playerbar{ grid-template-columns: 1fr; gap: 10px; }
  .leg-player-right{ justify-content: space-between; }
  .leg-vol{ width: 55vw; }
}

/* Queue drawer */
.leg-drawer{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: var(--shell-width);
  bottom: calc(14px + 96px);
  max-height: 55vh;

  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(11,15,25,.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  z-index: 19999;
  overflow: hidden;
}
.leg-drawer[hidden]{ display:none; }
.leg-drawer-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.leg-drawer-title{ font-weight: 950; }
.leg-queue-list{
  padding:10px;
  display:grid;
  gap:8px;
  overflow:auto;
  max-height: calc(55vh - 52px);
}
.leg-queue-item{
  text-align:left;
  padding:12px;
  border-radius: var(--r-md);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color:inherit;
  cursor:pointer;
}
.leg-queue-item:hover{ background: rgba(255,255,255,.07); }
.leg-queue-item.active{
  border-color: rgba(76,125,255,.55);
  background: rgba(76,125,255,.12);
}
.q-title{ font-weight: 950; }
.q-sub{ opacity:.75; font-size:13px; margin-top:4px; }

/* =========================
   Audio Gate Overlay
========================= */
.leg-overlay{
  position: fixed;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(10px);
  z-index: 30000;
}
.leg-overlay-card{
  width: min(520px, 92vw);
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(18,26,43,.86);
  text-align:center;
}
.leg-overlay-title{ font-size: 20px; font-weight: 980; margin-bottom: 6px; }
.leg-overlay-subtitle{ color: var(--muted); margin-bottom: 12px; }
.leg-overlay-note{ color: var(--muted); font-size: 13px; margin-top: 12px; }

/* Safety */
.hero-fade{ pointer-events:none; }
