:root{
  --bg:#0b0e12; --surface:#12161d; --stroke:#1f2630;
  --text:#e8edf4; --muted:#93a0af; --accent:#ff6b2c;
  --radius:16px; --shadow:0 10px 30px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{margin:0}
body.mm-body{background:var(--bg);color:var(--text);font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
img{max-width:100%;display:block;border-radius:12px}
.container{width:min(1100px,100%);margin:auto;padding:0 16px}
.muted{color:var(--muted)}

/* Header */
.mm-header{position:sticky;top:0;background:rgba(11,14,18,.65);backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid var(--stroke);z-index:50}
.header-inner{display:flex;align-items:center;gap:16px;min-height:64px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}
.brand-badge{background:var(--accent);color:#000;padding:6px 10px;border-radius:10px;font-weight:800}
.brand-text{font-weight:800;letter-spacing:.5px}
.brand-accent{color:var(--accent)}
.nav-desktop{margin-left:auto;display:none;gap:18px}
.nav-desktop a{color:var(--text);opacity:.9;text-decoration:none}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:10px}
.btn-menu{width:42px;height:34px;border:1px solid var(--stroke);border-radius:12px;background:transparent;display:grid;place-content:center;gap:4px}
.btn-menu span{display:block;width:18px;height:2px;background:var(--text)}

.hero {
  padding:18px 0;
  display:flex;
  justify-content:center;
}

.hero-banner {
  display:block;
  width:100%;
  max-width:1100px;     /* limită pentru desktop */
  margin:0 auto;        /* centrează */
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);
}

.hero-banner img {
  display:block;
  width:100%;
  height:auto;
}

/* --- pentru ecrane mari (desktop) --- */
@media (min-width:900px){
  .hero-banner {
    max-width:900px;   /* imagine mai mică */
  }
}

/* --- pentru ecrane mici (telefon) --- */
@media (max-width:899px){
  .hero-banner {
    max-width:100%;    /* pe telefon rămâne full width */
    border-radius:0;   /* opțional: fără colțuri pe mobil */
  }
}

/* Sections */
.section{padding:22px 0}
.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.see-all{color:var(--muted);text-decoration:none}

/* Grids */
.tracks-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.albums-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}

/* Cards */
.track-card{display:grid;grid-template-columns:64px 1fr auto;gap:10px;align-items:center;background:var(--surface);border:1px solid var(--stroke);padding:10px;border-radius:14px;box-shadow:var(--shadow)}
.track-card .cover img{width:64px;height:64px;object-fit:cover;border-radius:10px}
.track-card .title{color:var(--text);font-weight:600;text-decoration:none}
.btn-play{width:42px;height:42px;border-radius:12px;border:1px solid var(--stroke);background:#0e1319;color:var(--text);font-weight:800}

.album-card{background:var(--surface);border:1px solid var(--stroke);border-radius:14px;padding:10px;display:grid;gap:8px}
.album-card .title{color:var(--text);text-decoration:none;font-weight:600}

/* Player full */
.player.big{background:var(--surface);border:1px solid var(--stroke);border-radius:16px;padding:12px;margin:12px 0}
.player.big audio{width:100%}

/* Footer */
.mm-footer{border-top:1px solid var(--stroke);margin-top:24px;padding:22px 0;background:#0c1015}
.footer-grid{display:grid;gap:16px;grid-template-columns:1fr}
.footer-grid h4{margin:0 0 8px 0}
.footer-grid a{color:var(--muted);text-decoration:none}
.copyright{border-top:1px solid var(--stroke);margin-top:10px;padding-top:10px;color:var(--muted);font-size:14px}

/* Desktop */
@media (min-width:900px){
  .nav-desktop{display:flex}
  .btn-menu{display:none}
  .drawer{display:none!important}
  .hero{grid-template-columns:1.1fr .9fr;padding:28px 0}
  .hero-title{font-size:64px}
  .tracks-grid{grid-template-columns:repeat(3,1fr)}
  .albums-grid{grid-template-columns:repeat(4,1fr)}
  .footer-grid{grid-template-columns:1.2fr .6fr .6fr}
}
.hero{padding:18px 0}
.hero-banner{display:block;border-radius:16px;overflow:hidden;border:1px solid var(--stroke);box-shadow:var(--shadow)}
.hero-banner img{display:block;width:100%;height:auto}
.shortstory .attachment,
.shortstory .attach,
.shortstory [class*="download"]{ display:none !important; }
/* --- Melodii noi (list-row) --- */
.tracks-list{display:grid;gap:12px}
.track-row{
  display:grid; grid-template-columns:64px 1fr auto; gap:12px; align-items:center;
  background:var(--surface); border:1px solid var(--stroke); border-radius:14px; padding:10px; box-shadow:var(--shadow);
}
.row-cover img{width:64px;height:64px;object-fit:cover;border-radius:10px;display:block}
.row-meta{min-width:0}
.row-title{color:var(--text); text-decoration:none; font-weight:700; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.row-sub{color:var(--muted); font-size:.95rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:2px}
.row-actions{display:flex; align-items:center; gap:10px}
.btn-play{width:42px;height:42px;border-radius:12px;border:1px solid var(--stroke);background:#0e1319;color:var(--text);font-weight:800}
.row-more{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--stroke);border-radius:12px;text-decoration:none;color:var(--text);font-size:22px;line-height:1}

//* --- Melodii noi (stil compact cu buton Play) --- */
.tracks-list {display:grid; gap:12px;}
@media (min-width:900px){
  .tracks-list {grid-template-columns:repeat(2,1fr);}
}

.track-row {
  display:grid;
  grid-template-columns:50px 1fr 40px;
  align-items:center;
  gap:12px;
  background:var(--surface);
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:10px;
  box-shadow:var(--shadow);
}

.btn-play {
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid var(--stroke);
  background:#0e1319;
  color:var(--text);
  font-weight:700;
  font-size:18px;
  display:grid;
  place-items:center;
  cursor:pointer;
}

.row-meta {min-width:0;}
.row-title {
  color:var(--text);
  font-weight:600;
  text-decoration:none;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.row-sub {
  color:var(--muted);
  font-size:.9rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.row-more {
  display:grid;
  place-items:center;
  width:36px; height:36px;
  border:1px solid var(--stroke);
  border-radius:10px;
  text-decoration:none;
  color:var(--text);
  font-size:20px;
}

 .track-title a, .track-artist a { cursor: pointer; }
:root{
  --bg:#0c0f13;
  --card:#141921;
  --card-2:#10161f;
  --text:#e9eef6;
  --muted:#9fb0c7;
  --accent:#7fb8ff;
  --ring:#2b89ff;
  --radius:14px;
  --shadow:0 8px 24px rgba(0,0,0,.32);
}

/* container listă */
.tracks-list{
  display:grid;
  gap:14px;
}

/* 2 coloane pe desktop */
.tracks-2col{
  grid-template-columns:repeat(2, minmax(0,1fr));
}
@media (max-width:980px){
  .tracks-2col{ grid-template-columns:1fr; }
}

/* cardul piesei */
.track-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  background:var(--card);
  border:1px solid rgba(255,255,255,.04);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:transform .12s ease, background .2s ease, border-color .2s ease;
}
.track-item:hover{
  transform:translateY(-1px);
  background:linear-gradient(0deg, rgba(255,255,255,.02), rgba(255,255,255,.02)), var(--card);
  border-color:rgba(127,184,255,.15);
}

/* buton Play */
.track-play{
  position:relative;
  z-index:2; /* peste overlay */
  width:44px; height:44px;
  border-radius:999px;
  border:0;
  background:var(--card-2);
  color:#fff;
  cursor:pointer;
  display:grid; place-items:center;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.06);
  transition:filter .15s ease, transform .08s ease;
}
.track-play::before{
  content:"▶"; /* schimbă din JS când e pause */
  font-weight:700;
}
.track-item.is-playing .track-play::before{ content:"⏸"; }
.track-play:hover{ filter:brightness(1.1); }
.track-play:active{ transform:scale(.97); }

/* titlu + artist */
.track-meta{ min-width:0; display:flex; flex-direction:column; gap:2px; }
.track-title a{
  color:var(--text);
  font-weight:800;
  text-decoration:none;
  line-height:1.2;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.track-artist a{
  color:var(--muted);
  font-weight:600;
  text-decoration:none;
  font-size:14px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.track-title a:hover{ color:#fff; }
.track-artist a:hover{ color:var(--accent); }

/* stare activă (piesa care cântă acum) */
.track-item.is-playing{
  background:linear-gradient(0deg, rgba(43,137,255,.08), rgba(43,137,255,.08)), var(--card);
  border-color:rgba(43,137,255,.35);
}
.track-item.is-playing .track-title a{ color:#fff; }
.track-item.is-paused{
  background:var(--card);
  border-color:rgba(127,184,255,.18);
}

/* focus accesibil */
.track-item:focus-within{
  outline:none;
  box-shadow:0 0 0 3px var(--ring);
}

/* overlay ca să fie tot cardul clickabil (mai puțin play) */
.stretched-link{
  position:absolute; inset:0; z-index:1;
}

/* spațiere compactă pe mobil */
@media (max-width:520px){
  .track-item{ padding:12px 12px; gap:10px; }
  .track-play{ width:40px; height:40px; }
}

/* listă—secțiune titlu & „Vezi toate” (opțional, pt header secțiune) */
.section-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:12px;
}
.section-head h2{ margin:0; color:#fff; }
.section-head .see-all{
  color:var(--muted); text-decoration:none; font-weight:700;
}
.section-head .see-all:hover{ color:#fff; }
.song-body {
  display: block; /* nu mai e nevoie de grid, doar Recomandate */
  margin-top: 20px;
}
.recom h2 {
  margin: 0 0 12px;
}
.recom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
