@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --purple:      #7C3AED;
  --purple-mid:  #9F67F5;
  --purple-pale: #EDE9FE;
  --purple-xp:   #F5F3FF;
  --pink:        #EC4899;
  --pink-pale:   #FDF2F8;
  --gradient:    linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --grad-soft:   linear-gradient(135deg, #F5F3FF 0%, #FDF2F8 100%);
  --grad-hero:   linear-gradient(160deg, #ffffff 0%, #F0EAFF 50%, #FCF0FB 100%);
  --white:       #FFFFFF;
  --bg:          #FAFAFA;
  --bg-alt:      #F8F4FF;
  --text:        #1A0E2E;
  --text-body:   #4B5563;
  --text-muted:  #9CA3AF;
  --border:      #E5E7EB;
  --border-lt:   #F3F4F6;
  --sh-xs:       0 1px 4px rgba(124,58,237,.06);
  --sh-sm:       0 2px 12px rgba(124,58,237,.09);
  --sh:          0 4px 24px rgba(124,58,237,.13);
  --sh-lg:       0 8px 40px rgba(124,58,237,.18);
  --sh-xl:       0 16px 64px rgba(124,58,237,.22);
  --r:           20px;
  --r-sm:        12px;
  --r-xs:        8px;
  --t:           0.24s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior:smooth; font-size:16px; }
body { font-family:'Inter',system-ui,sans-serif; background:var(--bg); color:var(--text-body); line-height:1.65; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
h1,h2,h3,h4,h5 { font-family:'Poppins',sans-serif; color:var(--text); line-height:1.2; }
a { color:var(--purple); text-decoration:none; transition:color var(--t); }
a:hover { color:var(--pink); }
img { max-width:100%; display:block; }

.container { max-width:1200px; margin:0 auto; padding:0 28px; }

.gradient-text {
  background:var(--gradient);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}

/* ── SCROLL REVEAL ───────────────────────── */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1); }
.reveal.revealed { opacity:1; transform:none; }

/* ── ANIMATED ICONS ──────────────────────── */
@keyframes iconBounce   { 0%{transform:scale(1)} 30%{transform:scale(.85)} 65%{transform:scale(1.12)} 85%{transform:scale(.97)} 100%{transform:scale(1)} }
@keyframes iconSpin     { to{transform:rotate(360deg)} }
@keyframes iconPulse    { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.18);opacity:.8} }
@keyframes iconFloat    { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-5px) rotate(-6deg)} }
@keyframes rippleOut    { 0%{transform:scale(0);opacity:.45} 100%{transform:scale(2.8);opacity:0} }

.icon-click { animation: iconBounce .42s cubic-bezier(.4,0,.2,1) both !important; }
.icon-spin  { animation: iconSpin   .55s linear both; }

/* Feature card icons */
.feat-icon {
  transition: transform .32s cubic-bezier(.34,1.56,.64,1), background .22s, color .22s,
              box-shadow .22s;
}
.feat-card:hover .feat-icon {
  transform: translateY(-5px) scale(1.14) rotate(-5deg);
  background: var(--gradient) !important;
  color: white !important;
  box-shadow: 0 8px 28px rgba(124,58,237,.35);
}

/* Ripple effect */
.ripple-host { position:relative; overflow:hidden; }
.ripple-wave {
  position:absolute; border-radius:50%;
  background: rgba(255,255,255,.38);
  pointer-events:none; transform:scale(0);
  animation: rippleOut .55s ease-out forwards;
}

/* Nav toggle icon animated */
.nav-icon-wrap {
  display:inline-flex; align-items:center; justify-content:center;
  width:22px; height:18px; position:relative; cursor:pointer;
}
.nav-icon-bar {
  position:absolute; width:22px; height:2.5px; border-radius:2px;
  background:currentColor; transition:all .3s cubic-bezier(.4,0,.2,1);
}
.nav-icon-bar:nth-child(1){ top:0; }
.nav-icon-bar:nth-child(2){ top:50%; transform:translateY(-50%); }
.nav-icon-bar:nth-child(3){ bottom:0; }
.nav-icon-bar.open-1 { top:50%; transform:translateY(-50%) rotate(45deg); }
.nav-icon-bar.open-2 { opacity:0; transform:translateY(-50%) scaleX(0); }
.nav-icon-bar.open-3 { bottom:50%; transform:translateY(50%) rotate(-45deg); }

/* ── NAV ─────────────────────────────────── */
.nav {
  position:sticky; top:0; z-index:200;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(22px) saturate(180%);
  -webkit-backdrop-filter:blur(22px) saturate(180%);
  border-bottom:1px solid rgba(229,231,235,0.7);
  transition: transform 0.38s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
}
.nav.nav-hidden { transform: translateY(-110%); }
.nav.nav-scrolled { box-shadow: 0 4px 24px rgba(124,58,237,.10); }
.nav-inner {
  max-width:1200px; margin:0 auto; padding:0 28px;
  display:flex; align-items:center; justify-content:space-between;
  height:68px; gap:16px; position:relative;
}
.nav-brand {
  display:flex; align-items:center; gap:10px; flex-shrink:0;
  font-family:'Poppins',sans-serif; font-weight:700; font-size:1.15rem; color:var(--text);
}
.nav-brand img { width:36px; height:36px; border-radius:50%; object-fit:cover; border:2px solid var(--purple-pale); }
.nav-links { display:flex; align-items:center; gap:2px; }
.nav-links a {
  padding:7px 14px; border-radius:var(--r-xs);
  font-size:0.875rem; font-weight:500; color:var(--text-body); transition:var(--t);
}
.nav-links a:hover, .nav-links a.active { color:var(--purple); background:var(--purple-xp); }
.btn-login {
  display:inline-flex; align-items:center; gap:7px;
  padding:8px 16px; border-radius:100px;
  background:linear-gradient(135deg,#5865F2,#7C3AED);
  color:#fff; font-size:.8rem; font-weight:700; letter-spacing:.02em;
  text-decoration:none; transition:all .2s; white-space:nowrap;
  box-shadow:0 2px 12px rgba(88,101,242,.35);
}
.btn-login:hover { transform:translateY(-1px); box-shadow:0 5px 20px rgba(88,101,242,.48); color:#fff; }
.nav-cta {
  padding:9px 20px; background:var(--gradient); color:white !important;
  border-radius:100px; font-weight:600; font-size:0.84rem; font-family:'Poppins',sans-serif;
  box-shadow:0 3px 14px rgba(124,58,237,.3); transition:var(--t); flex-shrink:0;
  display:inline-flex; align-items:center; gap:7px;
}
.nav-cta:hover { transform:translateY(-1px); box-shadow:0 5px 20px rgba(124,58,237,.42); }
.nav-toggle { display:none; background:none; border:none; cursor:pointer; color:var(--text-body); font-size:1.2rem; padding:6px 8px; border-radius:8px; transition:background .15s; }
.nav-toggle:hover { background: var(--purple-xp); }
.nav-right { display:flex; align-items:center; gap:10px; flex-shrink:0; }

/* ── NAV AVATAR (shown when logged in) ──────────────────────────── */
.nav-avatar-btn {
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%; flex-shrink:0;
  border:2px solid transparent; transition:border-color .2s, box-shadow .2s;
  background:var(--purple-xp);
}
.nav-avatar-btn img {
  width:32px; height:32px; border-radius:50%; object-fit:cover; display:block;
}
.nav-avatar-btn:hover { border-color:var(--purple); box-shadow:0 0 0 3px rgba(124,58,237,.18); }

@media (max-width:768px) {
  .nav-links {
    display:flex; flex-direction:column; align-items:stretch;
    position:absolute; top:68px; left:0; right:0;
    background:rgba(255,255,255,.97); backdrop-filter:blur(20px);
    border-bottom:1px solid var(--border-lt);
    padding:0 28px; gap:2px;
    overflow:hidden; max-height:0; opacity:0;
    transition:max-height .38s cubic-bezier(.4,0,.2,1), opacity .25s ease, padding .32s ease;
    z-index: 200;
  }
  .nav-links.open { max-height:380px; opacity:1; padding:14px 28px 20px; box-shadow:0 8px 24px rgba(0,0,0,.06); }
  .nav-toggle { display:block; }
  .nav-cta-hide-mobile { display:none !important; }
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:9px; cursor:pointer;
  padding:13px 26px; border-radius:100px; font-weight:600;
  font-size:0.93rem; font-family:'Poppins',sans-serif;
  transition:var(--t); border:none; line-height:1;
}
.btn-primary { background:var(--gradient); color:white; box-shadow:0 4px 20px rgba(124,58,237,.35); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 6px 28px rgba(124,58,237,.48); color:white; }
.btn-outline { background:white; color:var(--purple); border:2px solid var(--border); }
.btn-outline:hover { border-color:var(--purple-mid); background:var(--purple-xp); color:var(--purple); }
.btn-discord { background:#5865F2; color:white; box-shadow:0 4px 16px rgba(88,101,242,.3); }
.btn-discord:hover { background:#4752C4; transform:translateY(-2px); color:white; }
.btn-sm { padding:9px 20px; font-size:0.84rem; }

/* ── HERO ────────────────────────────────── */
.hero { padding:88px 0 72px; background:var(--grad-hero); text-align:center; position:relative; overflow:hidden; }
.hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(ellipse 55% 55% at 78% 30%, rgba(236,72,153,.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 22% 70%, rgba(124,58,237,.10) 0%, transparent 65%);
}
.hero-inner { position:relative; z-index:1; max-width:820px; margin:0 auto; padding:0 28px; }
.hero-logo {
  width:120px; height:120px; border-radius:50%; object-fit:cover;
  margin:0 auto 22px; border:4px solid white;
  box-shadow:0 8px 48px rgba(124,58,237,.28), 0 0 0 10px rgba(124,58,237,.06);
  animation:float 5s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-11px)} }
.hero-badge {
  display:inline-flex; align-items:center; gap:7px;
  padding:7px 20px; background:var(--gradient); color:white;
  border-radius:100px; font-size:0.78rem; font-weight:600; letter-spacing:.02em;
  margin-bottom:22px; box-shadow:0 3px 14px rgba(124,58,237,.28); font-family:'Poppins',sans-serif;
}
.hero h1 { font-size:clamp(2.8rem,5.5vw,4rem); font-weight:900; margin-bottom:20px; }
.hero p  { font-size:1.08rem; color:var(--text-body); max-width:560px; margin:0 auto 38px; line-height:1.72; }
.hero-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ── MUSIC CARD ──────────────────────────── */
.music-card {
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:0;
  max-width:520px; margin:46px auto 0;
  background:rgba(255,255,255,0.12);
  backdrop-filter:blur(40px) saturate(200%);
  -webkit-backdrop-filter:blur(40px) saturate(200%);
  border:1.5px solid rgba(255,255,255,.5);
  border-radius:28px; padding:0; overflow:hidden;
  box-shadow:0 24px 64px rgba(124,58,237,.22), 0 0 0 1px rgba(124,58,237,.06), inset 0 1px 0 rgba(255,255,255,.6);
  position:relative;
  transition:box-shadow .3s ease, transform .3s ease;
}
.music-card:hover { transform:translateY(-3px); box-shadow:0 32px 80px rgba(124,58,237,.3); }
.music-card.mc-playing { box-shadow:0 0 0 2px var(--purple), 0 24px 64px rgba(124,58,237,.28); }

/* Blurred album art background */
.mc-bg-blur {
  position:absolute; inset:0; z-index:0;
  background-size:cover; background-position:center;
  filter:blur(28px) saturate(220%) brightness(.35);
  transition:background-image .5s ease;
  border-radius:28px;
}

/* Left — cover art */
.mc-left { position:relative; z-index:1; padding:18px 0 18px 18px; }
.mc-cover-wrap { position:relative; border-radius:16px; overflow:hidden; width:88px; height:88px; flex-shrink:0; }
.mc-cover {
  width:88px; height:88px; object-fit:cover; display:block;
  box-shadow:0 6px 24px rgba(0,0,0,.45);
  transition:transform .4s ease, opacity .3s ease;
}
.mc-cover-wrap:hover .mc-cover { transform:scale(1.06); }
.mc-cover-overlay {
  position:absolute; inset:0;
  background:rgba(0,0,0,.38);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .22s ease;
}
.mc-cover-wrap:hover .mc-cover-overlay { opacity:1; }
.mc-play-big {
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.92); border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; color:var(--purple);
  box-shadow:0 4px 14px rgba(0,0,0,.3);
  transition:transform .15s ease, background .15s ease;
}
.mc-play-big:hover { transform:scale(1.1); background:white; }

/* Body */
.mc-body { position:relative; z-index:1; padding:16px 18px; min-width:0; }
.mc-status { display:flex; align-items:center; gap:7px; margin-bottom:6px; }
.mc-dot {
  width:7px; height:7px; border-radius:50%; background:#22c55e; flex-shrink:0;
  animation:pulse-dot 1.8s ease-in-out infinite;
  box-shadow:0 0 6px rgba(34,197,94,.6);
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.35)} }
.mc-status-txt { font-size:.68rem; font-weight:700; color:rgba(255,255,255,.75); text-transform:uppercase; letter-spacing:.08em; font-family:'Poppins',sans-serif; }
.mc-title { font-family:'Poppins',sans-serif; font-weight:800; font-size:.97rem; color:white; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-shadow:0 1px 4px rgba(0,0,0,.4); margin-bottom:2px; }
.mc-artist { font-size:.78rem; color:rgba(255,255,255,.65); margin-bottom:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mc-prog-bar {
  height:4px; background:rgba(255,255,255,.2); border-radius:4px; overflow:visible;
  margin-bottom:5px; cursor:pointer; position:relative;
}
.mc-prog-bar:hover { height:6px; }
.mc-prog-fill {
  height:100%; width:0%; background:var(--gradient); border-radius:4px; position:relative;
  transition:width .35s linear;
}
.mc-prog-fill::after {
  content:''; position:absolute; right:-5px; top:50%; transform:translateY(-50%);
  width:10px; height:10px; border-radius:50%; background:white;
  box-shadow:0 0 8px rgba(124,58,237,.5);
}
.mc-times { display:flex; justify-content:space-between; font-size:.66rem; color:rgba(255,255,255,.5); }
.mc-ctrl { display:flex; align-items:center; gap:8px; margin-top:9px; }
.mc-btn {
  background:rgba(255,255,255,.1); border:none; cursor:pointer;
  color:rgba(255,255,255,.7); font-size:.88rem; padding:7px 8px; border-radius:8px;
  transition:var(--t); line-height:1;
}
.mc-btn:hover { color:white; background:rgba(255,255,255,.22); transform:scale(1.1); }
.mc-play-sm {
  background:var(--gradient) !important; color:white !important;
  width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:.8rem !important; padding:0 !important;
  box-shadow:0 3px 12px rgba(124,58,237,.5);
}
.mc-play-sm:hover { transform:scale(1.15) !important; box-shadow:0 4px 16px rgba(124,58,237,.6) !important; }
.mc-vol-wrap { display:flex; align-items:center; gap:6px; margin-left:auto; }
.mc-vol-icon { font-size:.72rem; color:rgba(255,255,255,.6); cursor:pointer; transition:color .2s; }
.mc-vol-icon:hover { color:white; }
.mc-vol-slider {
  -webkit-appearance:none; appearance:none; width:54px; height:3px;
  border-radius:2px; background:rgba(255,255,255,.2); cursor:pointer; outline:none;
}
.mc-vol-slider::-webkit-slider-thumb { -webkit-appearance:none; width:12px; height:12px; border-radius:50%; background:white; cursor:pointer; box-shadow:0 0 4px rgba(124,58,237,.4); }

/* Waves */
.mc-waves { position:relative; z-index:1; display:flex; align-items:flex-end; gap:2.5px; height:30px; flex-shrink:0; padding:16px 18px 16px 4px; }
.mc-waves span { display:inline-block; width:3px; border-radius:2px; background:rgba(255,255,255,.55); animation:soundbar 1.1s ease-in-out infinite; transform-origin:bottom; }
.mc-waves.paused span { animation-play-state:paused; }
.mc-waves span:nth-child(1)  { height:8px;  animation-delay:0s; }
.mc-waves span:nth-child(2)  { height:18px; animation-delay:.1s; }
.mc-waves span:nth-child(3)  { height:14px; animation-delay:.22s; }
.mc-waves span:nth-child(4)  { height:22px; animation-delay:.08s; }
.mc-waves span:nth-child(5)  { height:10px; animation-delay:.3s; }
.mc-waves span:nth-child(6)  { height:20px; animation-delay:.15s; }
.mc-waves span:nth-child(7)  { height:7px;  animation-delay:.35s; }
.mc-waves span:nth-child(8)  { height:16px; animation-delay:.05s; }
.mc-waves span:nth-child(9)  { height:12px; animation-delay:.25s; }
.mc-waves span:nth-child(10) { height:19px; animation-delay:.18s; }
@keyframes soundbar { 0%,100%{transform:scaleY(.3)} 50%{transform:scaleY(1)} }

/* ── MUSIC CARD TOP ROW ──────────────────── */
.mc-top-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:4px; }
.mc-track-counter { font-size:.65rem; font-weight:700; color:rgba(255,255,255,.4); font-family:'Poppins',sans-serif; letter-spacing:.04em; }

/* ── SONG LIBRARY SECTION ────────────────── */
.sl-teaser {
  display:flex; align-items:center; gap:24px; flex-wrap:wrap;
  background:white; border:1.5px solid var(--border-lt); border-radius:var(--r);
  padding:28px 32px; box-shadow:var(--sh-xs);
  transition:box-shadow .25s ease, border-color .2s ease;
}
.sl-teaser:hover { box-shadow:var(--sh-sm); border-color:var(--purple-pale); }
.sl-teaser-icon {
  width:56px; height:56px; border-radius:var(--r-sm); background:var(--grad-soft);
  display:flex; align-items:center; justify-content:center; font-size:1.5rem; color:var(--purple);
  flex-shrink:0;
}
@keyframes spin-slow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.fa-spin-slow { animation:spin-slow 8s linear infinite; }
.sl-teaser-text { flex:1; min-width:200px; }
.sl-teaser-text h3 { font-size:1.05rem; margin-bottom:5px; color:var(--text); }
.sl-teaser-text p  { font-size:.83rem; color:var(--text-muted); line-height:1.55; }
.sl-open-btn { flex-shrink:0; }

.sl-expanded {
  max-height:0; overflow:hidden;
  transition:max-height .5s cubic-bezier(.4,0,.2,1);
}
.sl-expanded.open { max-height:4000px; }
.sl-expanded-header {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:10px; padding:28px 0 4px;
}
.songs-filter-row { display:flex; flex-wrap:wrap; gap:9px; }
.song-filter-btn {
  padding:8px 20px; border-radius:100px; border:2px solid var(--border);
  background:white; color:var(--text-body); font-size:.83rem; font-weight:500;
  cursor:pointer; transition:var(--t); font-family:'Inter',sans-serif;
}
.song-filter-btn:hover { border-color:var(--purple-pale); color:var(--purple); background:var(--purple-xp); }
.song-filter-btn.active { background:var(--gradient); color:white; border-color:transparent; box-shadow:0 3px 12px rgba(124,58,237,.3); }
.sl-close-btn {
  display:flex; align-items:center; gap:7px; padding:9px 18px; border-radius:100px;
  background:var(--bg-alt); border:1.5px solid var(--border); color:var(--text-muted);
  font-size:.83rem; font-weight:500; cursor:pointer; transition:var(--t); font-family:'Inter',sans-serif;
}
.sl-close-btn:hover { color:var(--purple); border-color:var(--purple-pale); background:var(--purple-xp); }

.songs-grid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(162px,1fr));
  gap:16px; padding-top:20px; padding-bottom:8px;
}
.song-card {
  background:white; border-radius:var(--r-sm); overflow:hidden;
  border:1.5px solid var(--border-lt); cursor:pointer;
  transition:transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s ease, border-color .2s ease;
  box-shadow:var(--sh-xs);
}
.song-card:hover { transform:translateY(-6px) scale(1.02); box-shadow:0 16px 40px rgba(124,58,237,.18); border-color:var(--purple-pale); }
.song-card.playing { border-color:var(--purple); box-shadow:0 0 0 2px var(--purple-pale), 0 8px 28px rgba(124,58,237,.22); }
.sc-thumb-wrap { position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; background:var(--bg-alt); }
.sc-thumb-wrap img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.song-card:hover .sc-thumb-wrap img,
.song-card.playing .sc-thumb-wrap img { transform:scale(1.09); }
.sc-play-overlay {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,rgba(124,58,237,.55),rgba(236,72,153,.45));
  opacity:0; transition:opacity .22s ease;
}
.song-card:hover .sc-play-overlay, .song-card.playing .sc-play-overlay { opacity:1; }
.sc-play-overlay i { color:white; font-size:1.5rem; filter:drop-shadow(0 2px 6px rgba(0,0,0,.4)); transform:scale(.8); transition:transform .22s ease; }
.song-card:hover .sc-play-overlay i { transform:scale(1); }
.sc-info { padding:10px 12px 13px; }
.sc-title { font-family:'Poppins',sans-serif; font-weight:700; font-size:.82rem; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:2px; }
.sc-artist { font-size:.73rem; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:3px; }
.sc-dur { font-size:.68rem; color:var(--purple); font-weight:600; font-family:'Poppins',sans-serif; }
.song-card.playing .sc-title { color:var(--purple); }
.sc-num { position:absolute; top:6px; left:8px; font-family:'Poppins',sans-serif; font-weight:700; font-size:.68rem; background:rgba(0,0,0,.6); color:white; padding:2px 7px; border-radius:100px; backdrop-filter:blur(4px); letter-spacing:.02em; }

/* ── LYRICS PANEL ────────────────────────── */
.mc-lyrics {
  display:none; flex-direction:column;
  max-height:0; overflow:hidden;
  transition:max-height .4s cubic-bezier(.4,0,.2,1);
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:10px;
}
.mc-lyrics.open { display:flex; max-height:220px; }
.mc-lyrics-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:8px 0 6px; flex-shrink:0;
}
.mc-lyrics-header span { font-size:.72rem; font-weight:700; color:rgba(255,255,255,.55); text-transform:uppercase; letter-spacing:.06em; font-family:'Poppins',sans-serif; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mc-lyrics-close { background:none; border:none; color:rgba(255,255,255,.5); cursor:pointer; font-size:.8rem; padding:2px 4px; transition:color .2s; flex-shrink:0; }
.mc-lyrics-close:hover { color:white; }
.mc-lyrics-body { overflow-y:auto; flex:1; padding-right:4px; }
.mc-lyrics-body::-webkit-scrollbar { width:3px; }
.mc-lyrics-body::-webkit-scrollbar-track { background:transparent; }
.mc-lyrics-body::-webkit-scrollbar-thumb { background:rgba(255,255,255,.25); border-radius:2px; }
.mc-lyrics-text { font-size:.78rem; color:rgba(255,255,255,.82); line-height:1.9; font-family:'Inter',sans-serif; }
.mc-lyrics-loading, .mc-lyrics-notfound, .mc-lyrics-placeholder {
  display:flex; align-items:center; gap:8px;
  color:rgba(255,255,255,.45); font-size:.78rem; padding:12px 0; font-style:italic;
}
.mc-lyrics-loading i, .mc-lyrics-notfound i, .mc-lyrics-placeholder i { font-size:1rem; color:rgba(255,255,255,.35); }
.mc-btn.active { color:white !important; background:rgba(124,58,237,.5) !important; }

/* ── BOT STATUS SECTION ──────────────────── */
.bot-status-section { background:var(--bg-alt); }
.bs-overview {
  display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-bottom:36px;
}
.bs-ov-card {
  display:flex; align-items:center; gap:14px;
  background:white; border:1.5px solid var(--border-lt); border-radius:var(--r-sm);
  padding:16px 24px; flex:1; min-width:160px; max-width:220px;
  box-shadow:var(--sh-xs); transition:var(--t);
}
.bs-ov-card:hover { box-shadow:var(--sh-sm); border-color:var(--purple-pale); }
.bs-ov-card > i { font-size:1.3rem; color:var(--purple); flex-shrink:0; }
.bs-ov-val { font-family:'Poppins',sans-serif; font-weight:800; font-size:1.1rem; color:var(--text); }
.bs-ov-lbl { font-size:.72rem; color:var(--text-muted); margin-top:2px; text-transform:uppercase; letter-spacing:.05em; font-weight:600; }

.bs-loading { display:contents; }
.bs-loading span {
  display:block; height:74px; border-radius:var(--r-sm);
  background:linear-gradient(90deg,#f0eaff 25%,#e8dfff 50%,#f0eaff 75%);
  background-size:200% 100%; animation:shimmer 1.4s infinite;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.bs-grid { display:flex; flex-direction:column; gap:10px; }
.bs-card {
  display:flex; align-items:center; gap:16px;
  background:white; border:1.5px solid var(--border-lt); border-radius:var(--r-sm);
  padding:14px 20px; box-shadow:var(--sh-xs);
  transition:transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.bs-card:hover { transform:translateX(4px); box-shadow:var(--sh-sm); border-color:var(--purple-pale); }
.bs-card-avatar {
  width:44px; height:44px; border-radius:var(--r-xs); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  color:white; font-family:'Poppins',sans-serif; font-weight:800; font-size:.9rem;
  box-shadow:0 3px 10px rgba(0,0,0,.15);
}
.bs-card-info { flex:1; min-width:0; }
.bs-card-name { font-family:'Poppins',sans-serif; font-weight:700; font-size:.92rem; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:4px; }
.bs-card-meta { display:flex; gap:18px; flex-wrap:wrap; }
.bs-card-meta span { font-size:.76rem; color:var(--text-muted); display:flex; align-items:center; gap:5px; }
.bs-card-meta i { color:var(--purple); font-size:.68rem; }
.bs-card-badge { display:flex; align-items:center; gap:6px; font-size:.74rem; font-weight:600; color:#22c55e; font-family:'Poppins',sans-serif; flex-shrink:0; }
.bs-badge-dot { width:7px; height:7px; border-radius:50%; background:#22c55e; animation:pulse-dot 1.8s ease-in-out infinite; box-shadow:0 0 6px rgba(34,197,94,.5); }

/* ── STATS ───────────────────────────────── */
.stats-bar { background:white; border-bottom:1px solid var(--border-lt); }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.stat-item { text-align:center; padding:28px 20px; border-right:1px solid var(--border-lt); }
.stat-item:last-child { border-right:none; }
.stat-num {
  font-family:'Poppins',sans-serif; font-size:2.1rem; font-weight:800; line-height:1;
  background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.stat-lbl { font-size:.72rem; font-weight:600; color:var(--text-muted); margin-top:6px; text-transform:uppercase; letter-spacing:.05em; }

/* ── SECTION ─────────────────────────────── */
.section { padding:90px 0; }
.section-alt { background:var(--bg-alt); }
.section-header { text-align:center; margin-bottom:60px; }
.section-header h2 { font-size:clamp(1.9rem,3.5vw,2.7rem); font-weight:700; margin-bottom:12px; }
.section-header p  { color:var(--text-muted); font-size:.97rem; max-width:500px; margin:0 auto; }

/* ── FEATURE CARDS (Hover Reveal) ─────────── */
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feat-card {
  background:white; border-radius:var(--r); padding:34px 28px 28px;
  border:1.5px solid var(--border-lt); box-shadow:var(--sh-xs);
  transition:transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s ease, border-color .2s ease;
  position:relative; overflow:hidden; cursor:default;
}
.feat-card:hover { transform:translateY(-8px); box-shadow:var(--sh-lg); border-color:var(--purple-pale); }
.feat-icon {
  width:54px; height:54px; border-radius:var(--r-sm);
  background:var(--grad-soft); display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; color:var(--purple); margin-bottom:18px; flex-shrink:0;
  transition:var(--t);
}
.feat-card:hover .feat-icon { background:var(--gradient); color:white; box-shadow:0 4px 14px rgba(124,58,237,.3); }
.feat-card h3 { font-size:1rem; margin-bottom:7px; }
.feat-card > p { font-size:.85rem; color:var(--text-body); line-height:1.6; }
.feat-reveal {
  position:absolute; bottom:0; left:0; right:0;
  padding:22px 28px;
  background:linear-gradient(160deg, rgba(124,58,237,.97) 0%, rgba(236,72,153,.95) 100%);
  color:rgba(255,255,255,.9);
  font-size:.83rem; line-height:1.65;
  transform:translateY(105%);
  transition:transform .32s cubic-bezier(.4,0,.2,1);
  border-radius:0 0 var(--r) var(--r);
}
.feat-reveal strong { color:white; display:block; font-size:.88rem; margin-bottom:5px; font-family:'Poppins',sans-serif; }
.feat-reveal code { background:rgba(255,255,255,.15); padding:1px 6px; border-radius:4px; font-size:.82rem; }
.feat-card:hover .feat-reveal { transform:translateY(0); }

/* ── SOURCE PLATFORM PILLS ───────────────── */
.sources-row { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.src-pill {
  display:flex; align-items:center; gap:10px; padding:13px 22px;
  background:white; border-radius:var(--r); border:1.5px solid var(--border-lt);
  font-weight:600; font-size:.88rem; transition:var(--t); box-shadow:var(--sh-xs);
  color:var(--text);
}
.src-pill:hover { border-color:var(--purple-pale); box-shadow:var(--sh-sm); transform:translateY(-4px); }
.src-pill .src-icon { width:26px; height:26px; display:flex; align-items:center; justify-content:center; }

/* ── COMMANDS PAGE ───────────────────────── */
.page-hero {
  padding:64px 0 48px; background:var(--grad-hero); text-align:center; position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse 60% 60% at 60% 40%, rgba(236,72,153,.09) 0%, transparent 60%);
}
.page-hero > .container { position:relative; z-index:1; }
.page-hero h1 { font-size:clamp(2.2rem,4vw,3rem); font-weight:800; margin-bottom:10px; }
.page-hero p  { color:var(--text-body); max-width:520px; margin:0 auto; }

.cat-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:38px; justify-content:center; }
.cat-tab {
  display:flex; align-items:center; gap:7px;
  padding:9px 18px; border-radius:100px; border:2px solid var(--border);
  background:white; color:var(--text-body); font-size:.84rem; font-weight:500;
  cursor:pointer; transition:var(--t); font-family:'Inter',sans-serif;
}
.cat-tab i { font-size:.8rem; color:var(--text-muted); transition:var(--t); }
.cat-tab:hover  { border-color:var(--purple-pale); color:var(--purple); background:var(--purple-xp); }
.cat-tab:hover i { color:var(--purple); }
.cat-tab.active { background:var(--gradient); color:white; border-color:transparent; box-shadow:0 3px 14px rgba(124,58,237,.3); }
.cat-tab.active i { color:white; }
.cat-section { display:none; }
.cat-section.active { display:block; animation:fadeUp .22s cubic-bezier(.4,0,.2,1); }
@keyframes fadeUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }

.cmds-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.cmd-card {
  background:white; border-radius:var(--r-sm); padding:14px 18px;
  border:1.5px solid var(--border-lt); display:flex; gap:12px;
  align-items:flex-start; transition:var(--t); position:relative; overflow:hidden;
}
.cmd-card::after {
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--gradient); transform:scaleY(0); transform-origin:bottom; transition:var(--t);
}
.cmd-card:hover { border-color:var(--purple-pale); box-shadow:var(--sh-xs); }
.cmd-card:hover::after { transform:scaleY(1); }
.cmd-slot { min-width:0; }
.cmd-name {
  font-family:'Poppins',sans-serif; font-weight:700; font-size:.875rem;
  background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.cmd-desc { font-size:.81rem; color:var(--text-body); margin-top:3px; line-height:1.5; }
.cmd-badge {
  display:inline-block; padding:2px 8px;
  background:linear-gradient(135deg,#F59E0B,#EF4444); color:white;
  border-radius:100px; font-size:.67rem; font-weight:700; margin-left:6px; vertical-align:middle;
  font-family:'Poppins',sans-serif; -webkit-text-fill-color:white;
}
.cmd-badge-owner {
  display:inline-block; padding:2px 8px;
  background:linear-gradient(135deg,#1D4ED8,#7C3AED); color:white;
  border-radius:100px; font-size:.67rem; font-weight:700; margin-left:6px; vertical-align:middle;
  font-family:'Poppins',sans-serif; -webkit-text-fill-color:white;
}
.cat-count { font-size:.8rem; color:var(--text-muted); margin-bottom:16px; font-weight:500; }

/* ── PREMIUM PAGE ────────────────────────── */
.pricing-wrap { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; max-width:860px; margin:0 auto; }
.pricing-card {
  background:white; border-radius:var(--r); padding:42px 36px;
  border:2px solid var(--border); position:relative;
}
.pricing-card.featured {
  border-color:var(--purple); box-shadow:var(--sh-lg);
  background:linear-gradient(160deg,#fff 0%,var(--purple-xp) 100%);
}
.pricing-ribbon {
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  background:var(--gradient); color:white; padding:5px 24px;
  border-radius:100px; font-size:.74rem; font-weight:700;
  white-space:nowrap; box-shadow:0 3px 12px rgba(124,58,237,.3); font-family:'Poppins',sans-serif;
}
.pricing-tier { font-size:.78rem; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
.pricing-name { font-size:1.7rem; font-weight:800; margin-bottom:6px; }
.pricing-price { font-size:2.6rem; font-weight:900; margin:18px 0 6px; }
.pricing-price span { font-size:1rem; color:var(--text-muted); font-weight:400; }
.pricing-sub { font-size:.81rem; color:var(--text-muted); margin-bottom:30px; }
.pricing-list { display:flex; flex-direction:column; gap:11px; margin-bottom:34px; }
.pricing-list li { display:flex; align-items:center; gap:10px; font-size:.875rem; }
.check { color:var(--purple); font-weight:700; font-size:.88rem; flex-shrink:0; }
.pricing-list li.off { color:var(--text-muted); }
.pricing-list li.off .check { color:var(--border); }
.perks-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:980px; margin:0 auto; }
.perk-card {
  background:white; border-radius:var(--r-sm); padding:28px 22px;
  border:1.5px solid var(--border-lt); text-align:center; box-shadow:var(--sh-xs); transition:var(--t);
}
.perk-card:hover { transform:translateY(-5px); box-shadow:var(--sh-sm); border-color:var(--purple-pale); }
.perk-icon {
  width:52px; height:52px; border-radius:var(--r-sm); background:var(--grad-soft);
  display:flex; align-items:center; justify-content:center; font-size:1.35rem; color:var(--purple);
  margin:0 auto 14px; transition:var(--t);
}
.perk-card:hover .perk-icon { background:var(--gradient); color:white; box-shadow:0 4px 14px rgba(124,58,237,.25); }
.perk-card h4 { font-size:.97rem; margin-bottom:7px; }
.perk-card p  { font-size:.82rem; color:var(--text-body); line-height:1.6; }

/* ── LEGAL ───────────────────────────────── */
.legal-body { max-width:800px; margin:0 auto; padding:60px 28px 96px; }
.legal-date { display:inline-block; padding:6px 16px; background:var(--purple-pale); color:var(--purple); border-radius:var(--r-xs); font-size:.79rem; font-weight:600; margin-bottom:38px; }
.legal-body h2 { font-size:1.3rem; color:var(--purple); margin:42px 0 13px; padding-bottom:9px; border-bottom:2px solid var(--purple-pale); }
.legal-body h2:first-of-type { margin-top:0; }
.legal-body p  { font-size:.92rem; color:var(--text-body); margin-bottom:13px; line-height:1.78; }
.legal-body ul { padding-left:22px; margin-bottom:16px; }
.legal-body ul li { font-size:.92rem; color:var(--text-body); margin-bottom:8px; list-style:disc; line-height:1.7; }
.legal-body a  { color:var(--purple); font-weight:500; }
.data-table { width:100%; border-collapse:collapse; margin:20px 0; font-size:.86rem; }
.data-table th { background:var(--bg-alt); color:var(--text); font-weight:600; padding:12px 15px; text-align:left; border:1px solid var(--border); }
.data-table td { padding:11px 15px; border:1px solid var(--border); color:var(--text-body); vertical-align:top; }
.data-table tr:nth-child(even) td { background:#FAFAFA; }
.security-badge { display:inline-flex; align-items:center; gap:6px; padding:4px 12px; background:var(--purple-pale); color:var(--purple); border-radius:100px; font-size:.77rem; font-weight:600; margin:4px 4px 4px 0; }

/* ── CTA BOX ─────────────────────────────── */
.cta-box {
  background:var(--grad-soft); border:1.5px solid var(--purple-pale);
  border-radius:var(--r); padding:52px 40px; text-align:center;
  position:relative; overflow:hidden;
}
.cta-box::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse 60% 60% at 50% 0%, rgba(124,58,237,.07) 0%, transparent 60%);
}
.cta-box > * { position:relative; z-index:1; }
.cta-box img { width:72px; height:72px; border-radius:50%; object-fit:cover; margin:0 auto 20px; border:3px solid white; box-shadow:0 4px 20px rgba(124,58,237,.2); }
.cta-box h3 { font-size:1.55rem; margin-bottom:9px; }
.cta-box p  { color:var(--text-muted); margin-bottom:26px; max-width:440px; margin-left:auto; margin-right:auto; }
.cta-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ── FOOTER ──────────────────────────────── */
.footer { background:white; border-top:1px solid var(--border-lt); padding:64px 0 34px; }
.footer-grid { display:grid; grid-template-columns:2.4fr 1fr 1fr 1fr; gap:50px; margin-bottom:52px; }
.footer-brand .logo-row { display:flex; align-items:center; gap:10px; margin-bottom:13px; font-family:'Poppins',sans-serif; font-weight:700; font-size:1.1rem; color:var(--text); }
.footer-brand .logo-row img { width:34px; height:34px; border-radius:50%; object-fit:cover; }
.footer-brand p { font-size:.87rem; color:var(--text-muted); max-width:260px; line-height:1.68; margin-bottom:20px; }
.footer-social { display:flex; gap:9px; }
.footer-social a {
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%; background:var(--bg-alt); color:var(--text-muted);
  font-size:.9rem; transition:var(--t); text-decoration:none;
}
.footer-social a:hover { background:var(--purple-pale); color:var(--purple); }
.footer-col h5 { font-weight:700; font-size:.73rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text); margin-bottom:16px; }
.footer-col a { display:block; font-size:.87rem; color:var(--text-muted); margin-bottom:11px; transition:var(--t); }
.footer-col a:hover { color:var(--purple); padding-left:3px; }
.footer-bottom {
  border-top:1px solid var(--border-lt); padding-top:22px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
}
.footer-bottom p { font-size:.79rem; color:var(--text-muted); }
.footer-links { display:flex; gap:18px; }
.footer-links a { font-size:.79rem; color:var(--text-muted); }
.footer-links a:hover { color:var(--purple); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width:1024px) {
  .features-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid   { grid-template-columns:1fr 1fr; gap:32px; }
  .perks-grid    { grid-template-columns:repeat(2,1fr); }
  .songs-grid    { grid-template-columns:repeat(auto-fill, minmax(145px, 1fr)); }
}
@media (max-width:768px) {
  .stats-grid    { grid-template-columns:repeat(2,1fr); }
  .features-grid { grid-template-columns:1fr; }
  .pricing-wrap  { grid-template-columns:1fr; }
  .perks-grid    { grid-template-columns:1fr; }
  .cmds-grid     { grid-template-columns:1fr; }
  .footer-grid   { grid-template-columns:1fr; gap:26px; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .section       { padding:62px 0; }
  .music-card    { max-width:400px; }
  .songs-grid    { grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:12px; }
}
@media (max-width:540px) {
  .music-card { grid-template-columns:1fr; max-width:320px; }
  .mc-left    { padding:16px 16px 0; }
  .mc-cover-wrap, .mc-cover { width:72px; height:72px; }
  .mc-waves   { display:none; }
  .mc-body    { padding:12px 16px 16px; }
}
@media (max-width:480px) {
  .hero          { padding:62px 0 52px; }
  .hero h1       { font-size:2.4rem; }
  .hero-logo     { width:92px; height:92px; }
  .hero-btns     { flex-direction:column; align-items:center; }
  .cta-box       { padding:38px 24px; }
  .cta-btns      { flex-direction:column; align-items:stretch; }
  .pricing-price { font-size:2rem; }
  .stats-grid    { grid-template-columns:repeat(2,1fr); }
  .songs-grid    { grid-template-columns:repeat(2, 1fr); gap:10px; }
}

/* ── SIMPLE MUSIC CARD (Home page) ──────── */
.music-card-simple {
  display:flex; align-items:center; gap:14px;
  max-width:480px; margin:42px auto 0;
  background:white;
  border:1.5px solid var(--border-lt);
  border-radius:20px; padding:16px 20px;
  box-shadow:var(--sh);
  transition:box-shadow .3s ease;
}
.music-card-simple:hover { box-shadow:var(--sh-lg); }
.mcs-cover {
  width:68px; height:68px; border-radius:12px; object-fit:cover; flex-shrink:0;
  box-shadow:0 4px 14px rgba(0,0,0,.14);
}
.mcs-info { flex:1; min-width:0; }
.mcs-now { display:flex; align-items:center; gap:6px; margin-bottom:4px; }
.mcs-dot {
  width:7px; height:7px; border-radius:50%; background:#22c55e; flex-shrink:0;
  animation:pulse-dot 1.8s ease-in-out infinite;
  box-shadow:0 0 5px rgba(34,197,94,.55);
}
.mcs-now { font-size:.63rem; font-weight:700; color:var(--purple); text-transform:uppercase; letter-spacing:.07em; font-family:'Poppins',sans-serif; }
.mcs-title { font-family:'Poppins',sans-serif; font-weight:700; font-size:.9rem; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:2px; }
.mcs-artist { font-size:.75rem; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:8px; }
.mcs-prog-bar {
  height:4px; background:var(--border-lt); border-radius:4px; cursor:pointer; position:relative; overflow:visible;
  margin-bottom:4px;
}
.mcs-prog-bar:hover { height:6px; }
.mcs-prog-fill { height:100%; width:0%; background:var(--gradient); border-radius:4px; transition:width .35s linear; position:relative; }
.mcs-prog-fill::after { content:''; position:absolute; right:-5px; top:50%; transform:translateY(-50%); width:10px; height:10px; border-radius:50%; background:var(--purple); box-shadow:0 0 6px rgba(124,58,237,.4); }
.mcs-times { display:flex; justify-content:space-between; font-size:.64rem; color:var(--text-muted); }
.mcs-controls { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.mcs-btn {
  width:36px; height:36px; border-radius:50%; border:none; cursor:pointer; background:var(--bg-alt);
  color:var(--text-body); font-size:.85rem; display:flex; align-items:center; justify-content:center;
  transition:var(--t);
}
.mcs-btn:hover { background:var(--purple-pale); color:var(--purple); transform:scale(1.08); }
.mcs-play { background:var(--gradient) !important; color:white !important; box-shadow:0 3px 12px rgba(124,58,237,.35); }
.mcs-play:hover { box-shadow:0 5px 18px rgba(124,58,237,.5) !important; transform:scale(1.1) !important; }

/* ── SONGS PAGE PLAYER BAR ──────────────── */
.songs-player-bar {
  position:sticky; top:68px; z-index:100;
  background:white; border-bottom:1.5px solid var(--border-lt);
  box-shadow:0 4px 20px rgba(124,58,237,.1);
  transform:translateY(-110%); opacity:0;
  transition:transform .35s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.songs-player-bar.visible { transform:translateY(0); opacity:1; }
.spb-inner {
  max-width:1200px; margin:0 auto; padding:10px 28px;
  display:flex; align-items:center; gap:16px; flex-wrap:wrap;
}
.spb-cover { width:52px; height:52px; border-radius:10px; object-fit:cover; flex-shrink:0; box-shadow:0 3px 10px rgba(0,0,0,.12); }
.spb-info { flex-shrink:0; min-width:140px; }
.spb-now { display:flex; align-items:center; gap:5px; margin-bottom:2px; font-size:.6rem; font-weight:700; color:var(--purple); text-transform:uppercase; letter-spacing:.07em; font-family:'Poppins',sans-serif; }
.spb-dot { width:6px; height:6px; border-radius:50%; background:#22c55e; animation:pulse-dot 1.8s ease-in-out infinite; box-shadow:0 0 5px rgba(34,197,94,.5); }
.spb-title { font-family:'Poppins',sans-serif; font-weight:700; font-size:.88rem; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:200px; }
.spb-artist { font-size:.73rem; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:200px; }
.spb-prog-wrap { flex:1; min-width:120px; }
.spb-prog-bar { height:4px; background:var(--border-lt); border-radius:4px; cursor:pointer; margin-bottom:4px; }
.spb-prog-bar:hover { height:6px; }
.spb-prog-fill { height:100%; width:0%; background:var(--gradient); border-radius:4px; transition:width .35s linear; }
.spb-times { display:flex; justify-content:space-between; font-size:.63rem; color:var(--text-muted); }
.spb-controls { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.spb-btn {
  width:36px; height:36px; border-radius:50%; border:none; cursor:pointer;
  background:var(--bg-alt); color:var(--text-body); font-size:.82rem;
  display:flex; align-items:center; justify-content:center; transition:var(--t);
}
.spb-btn:hover { background:var(--purple-pale); color:var(--purple); transform:scale(1.08); }
.spb-play { background:var(--gradient) !important; color:white !important; box-shadow:0 3px 12px rgba(124,58,237,.35); }
.spb-play:hover { box-shadow:0 5px 18px rgba(124,58,237,.5) !important; transform:scale(1.1) !important; }

@media (max-width:600px) {
  .music-card-simple { flex-direction:column; text-align:center; padding:20px 16px; }
  .mcs-info { width:100%; }
  .spb-prog-wrap { display:none; }
}

/* ── SONGS PAGE HERO ─────────────────────── */
.songs-hero {
  background:var(--grad-hero); padding:52px 0 40px; position:relative; overflow:hidden;
}
.songs-hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(ellipse 55% 55% at 78% 30%, rgba(236,72,153,.08) 0%, transparent 65%),
             radial-gradient(ellipse 50% 50% at 22% 70%, rgba(124,58,237,.08) 0%, transparent 65%);
}
.songs-hero-inner {
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
  position:relative; z-index:1;
}
.sh-left { flex:1; min-width:220px; }
.sh-card {
  display:flex; flex-direction:column; gap:0;
  background:white; border-radius:20px; overflow:hidden;
  border:1.5px solid var(--border-lt); box-shadow:var(--sh-lg);
  max-width:340px; flex-shrink:0; width:100%;
  transition:box-shadow .3s ease;
}
.sh-card:hover { box-shadow:var(--sh-xl); }
.sh-card-cover-wrap { position:relative; width:100%; aspect-ratio:16/9; overflow:hidden; background:var(--bg-alt); }
.sh-card-cover { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.sh-card-cover-wrap:hover .sh-card-cover { transform:scale(1.04); }
.sh-card-overlay {
  position:absolute; inset:0; background:linear-gradient(135deg,rgba(124,58,237,.45),rgba(236,72,153,.38));
  display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .22s;
}
.sh-card-cover-wrap:hover .sh-card-overlay { opacity:1; }
.sh-big-play {
  width:56px; height:56px; border-radius:50%; background:white; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center; font-size:1.1rem; color:var(--purple);
  box-shadow:0 4px 16px rgba(0,0,0,.3); transition:transform .15s;
}
.sh-big-play:hover { transform:scale(1.1); }
.sh-card-body { padding:16px 18px 18px; }
.sh-now { display:flex; align-items:center; gap:6px; margin-bottom:5px; font-size:.62rem; font-weight:700; color:var(--purple); text-transform:uppercase; letter-spacing:.08em; font-family:'Poppins',sans-serif; }
.sh-dot { width:7px; height:7px; border-radius:50%; background:#22c55e; animation:pulse-dot 1.8s ease-in-out infinite; box-shadow:0 0 5px rgba(34,197,94,.5); }
.sh-title { font-family:'Poppins',sans-serif; font-weight:800; font-size:1rem; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:2px; }
.sh-artist { font-size:.78rem; color:var(--text-muted); margin-bottom:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sh-prog-bar { height:4px; background:var(--border-lt); border-radius:4px; cursor:pointer; margin-bottom:5px; transition:height .15s; }
.sh-prog-bar:hover { height:6px; }
.sh-prog-fill { height:100%; width:0%; background:var(--gradient); border-radius:4px; transition:width .35s linear; position:relative; }
.sh-prog-fill::after { content:''; position:absolute; right:-5px; top:50%; transform:translateY(-50%); width:10px; height:10px; border-radius:50%; background:var(--purple); box-shadow:0 0 6px rgba(124,58,237,.4); }
.sh-times { display:flex; justify-content:space-between; font-size:.64rem; color:var(--text-muted); margin-bottom:12px; }
.sh-controls { display:flex; align-items:center; gap:8px; justify-content:center; }
.sh-btn {
  width:38px; height:38px; border-radius:50%; border:none; cursor:pointer;
  background:var(--bg-alt); color:var(--text-body); font-size:.85rem;
  display:flex; align-items:center; justify-content:center; transition:var(--t);
}
.sh-btn:hover { background:var(--purple-pale); color:var(--purple); transform:scale(1.08); }
.sh-play { background:var(--gradient) !important; color:white !important; box-shadow:0 3px 14px rgba(124,58,237,.4); }
.sh-play:hover { box-shadow:0 5px 20px rgba(124,58,237,.55) !important; transform:scale(1.1) !important; }

/* ── SONGS TOOLBAR (search + filters) ───── */
.songs-toolbar { background:white; border-bottom:1.5px solid var(--border-lt); position:sticky; top:68px; z-index:90; box-shadow:0 2px 12px rgba(0,0,0,.04); }
.songs-toolbar-inner { padding:14px 0; display:flex; flex-direction:column; gap:14px; }
.songs-search-wrap { position:relative; }
.songs-search-icon { position:absolute; left:16px; top:50%; transform:translateY(-50%); color:var(--text-muted); font-size:.9rem; }
.songs-search {
  width:100%; padding:12px 44px; border-radius:12px; border:2px solid var(--border);
  font-size:.93rem; font-family:'Inter',sans-serif; outline:none; background:var(--bg-alt);
  color:var(--text); transition:border-color .2s, background .2s;
}
.songs-search:focus { border-color:var(--purple); background:white; }
.songs-search::placeholder { color:var(--text-muted); }
.songs-search-clear { position:absolute; right:14px; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; color:var(--text-muted); font-size:.9rem; transition:color .2s; }
.songs-search-clear:hover { color:var(--purple); }

/* ── SEARCH STATUS BAR ───────────────────── */
.search-status {
  display:flex; align-items:center; gap:10px; padding:12px 18px;
  background:var(--purple-xp); border:1.5px solid var(--purple-pale); border-radius:12px;
  font-size:.85rem; color:var(--text-body); margin-bottom:20px;
}
.ss-badge { display:inline-block; padding:2px 10px; border-radius:100px; background:var(--gradient); color:white; font-size:.68rem; font-weight:700; margin-left:6px; }

/* ── YT BADGE on search results ─────────── */
.sc-yt-badge {
  position:absolute; top:6px; right:7px; background:rgba(255,0,0,.85); color:white;
  font-size:.65rem; padding:2px 6px; border-radius:6px; backdrop-filter:blur(4px);
}

/* ── CLUSTER BANNER (appears after 5 min) ── */
.cluster-banner {
  background:linear-gradient(135deg,#1a0e2e 0%,#2d1a4e 50%,#1a0e2e 100%);
  border-bottom:1px solid rgba(124,58,237,.3);
  padding:20px 0;
  animation:none;
}
.cluster-slide-in { animation:clusterSlide .6s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes clusterSlide { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:none} }
.cb-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.cb-left { display:flex; align-items:center; gap:16px; }
.cb-icon {
  width:46px; height:46px; border-radius:12px; flex-shrink:0;
  background:linear-gradient(135deg,#7C3AED,#EC4899);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem; color:white;
  box-shadow:0 4px 14px rgba(124,58,237,.4);
}
.cb-title { font-family:'Poppins',sans-serif; font-weight:700; font-size:.95rem; color:white; margin-bottom:2px; }
.cb-sub { font-size:.76rem; color:rgba(255,255,255,.5); }
.cb-stats { display:flex; gap:20px; flex-wrap:wrap; }
.cb-stat { text-align:center; }
.cb-val { font-family:'Poppins',sans-serif; font-weight:800; font-size:1rem; color:white; }
.cb-lbl { font-size:.62rem; color:rgba(255,255,255,.45); text-transform:uppercase; letter-spacing:.06em; margin-top:2px; }

@media (max-width:768px) {
  .songs-hero-inner { flex-direction:column; }
  .sh-card { max-width:100%; }
  .cb-inner { flex-direction:column; align-items:flex-start; gap:14px; }
  .cb-stats { gap:14px; }
}

/* ── MINI PLAYER BAR (persistent across pages) ───────────────────── */
.mini-player {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: rgba(15,5,30,.95); backdrop-filter: blur(20px);
  border-top: 1px solid rgba(124,58,237,.25);
  display: flex; align-items: center; gap: 14px;
  padding: 10px 24px; transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.mini-player.hidden { transform: translateY(100%); }
.mp-art {
  width: 42px; height: 42px; border-radius: 8px; object-fit: cover;
  flex-shrink: 0; background: linear-gradient(135deg,#7c3aed,#ec4899);
}
.mp-pulse { width: 8px; height: 8px; border-radius: 50%; background: #7c3aed; flex-shrink: 0; animation: mp-blink 1.2s ease-in-out infinite; }
@keyframes mp-blink { 0%,100%{opacity:1} 50%{opacity:.25} }
.mp-info { flex: 1; min-width: 0; }
.mp-title  { font-size: .83rem; font-weight: 700; color: #e8e0ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-artist { font-size: .7rem;  color: rgba(232,224,255,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-go {
  font-size: .78rem; color: #a78bfa; text-decoration: none; flex-shrink: 0;
  font-weight: 700; display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; background: rgba(124,58,237,.15); border-radius: 100px;
  border: 1px solid rgba(124,58,237,.3); transition: all .15s;
}
.mp-go:hover { background: rgba(124,58,237,.25); color: #c4b5fd; }
.mp-close {
  background: none; border: none; cursor: pointer;
  color: rgba(232,224,255,.3); font-size: .9rem; flex-shrink: 0; padding: 4px;
}
.mp-close:hover { color: rgba(232,224,255,.7); }

/* ═══════════════════════════════════════════════════════════
   ENHANCED HOVER & FADE ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

/* Feature card tilt + glow on hover */
.feature-card {
  transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s ease, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(124,58,237,.15), 0 4px 16px rgba(0,0,0,.08);
  border-color: var(--purple-pale);
}

/* Stagger reveal for grids */
.feature-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.feature-grid .feature-card:nth-child(2) { transition-delay: .05s; }
.feature-grid .feature-card:nth-child(3) { transition-delay: .10s; }
.feature-grid .feature-card:nth-child(4) { transition-delay: .15s; }
.feature-grid .feature-card:nth-child(5) { transition-delay: .20s; }
.feature-grid .feature-card:nth-child(6) { transition-delay: .25s; }

/* CTA button pulse glow */
.hero-cta-primary:hover, .btn-primary:hover {
  animation: cta-glow .6s ease forwards;
}
@keyframes cta-glow {
  0%   { box-shadow: 0 4px 18px rgba(124,58,237,.35); }
  50%  { box-shadow: 0 8px 36px rgba(124,58,237,.65), 0 0 60px rgba(236,72,153,.25); }
  100% { box-shadow: 0 6px 24px rgba(124,58,237,.5); }
}

/* Page fade-in */
body { animation: bodyFade .4s ease; }
@keyframes bodyFade { from{opacity:0} to{opacity:1} }

/* Shimmer loading animation */
@keyframes shimmer { to{background-position:-200% 0} }

/* Smooth image loading */
img { transition: opacity .3s ease; }
img[src=""] { opacity: 0; }

/* Section reveal: push-up with fade */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.reveal.revealed { opacity: 1; transform: none; }

/* Floating badge animation */
.hero-badge { animation: badgeFloat .5s ease; }
@keyframes badgeFloat { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }

/* Subtle nav link underline slide */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 2px;
  background: var(--gradient); border-radius: 2px;
  transition: left .2s ease, right .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { left: 0; right: 0; }

/* ══════════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR (shared — index + status)
══════════════════════════════════════════════════════════════════ */
.ann-bar {
  display: none; align-items: center; justify-content: center;
  gap: 10px; padding: 11px 20px;
  font-size: .83rem; font-family: 'Poppins', sans-serif; font-weight: 600;
  position: relative; z-index: 9999; width: 100%;
  animation: annSlide .35s cubic-bezier(.4,0,.2,1);
}
@keyframes annSlide { from{opacity:0;transform:translateY(-100%)} to{opacity:1;transform:none} }
.ann-bar.show { display: flex; }
.ann-bar.info    { background:linear-gradient(90deg,#ede9fe,#fdf4ff); color:#5b21b6; border-bottom:1.5px solid rgba(124,58,237,.2); }
.ann-bar.warning { background:linear-gradient(90deg,#fef9c3,#fef3c7); color:#92400e; border-bottom:1.5px solid rgba(251,191,36,.3); }
.ann-bar.success { background:linear-gradient(90deg,#dcfce7,#d1fae5); color:#14532d; border-bottom:1.5px solid rgba(34,197,94,.3); }
.ann-bar.error   { background:linear-gradient(90deg,#fee2e2,#fce7f3); color:#7f1d1d; border-bottom:1.5px solid rgba(239,68,68,.2); }
.ann-icon { font-size:1rem; flex-shrink:0; }
.ann-title { font-weight:800; margin-right:3px; }
.ann-body { flex:1; }
.ann-close {
  position:absolute; right:16px; top:50%; transform:translateY(-50%);
  background:none; border:none; cursor:pointer; color:inherit; opacity:.55;
  font-size:1.1rem; line-height:1; padding:4px 7px; border-radius:8px;
  transition:opacity .15s,background .15s;
}
.ann-close:hover { opacity:1; background:rgba(0,0,0,.1); }
