:root{
  --bg:#0b0d10;
  --card:#11151b;
  --text:#e9eef5;
  --muted:#9aa7b6;
  --ring: rgba(233,238,245,.25);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);

  background-image:
    linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.72)),
    url("../img/bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
  
.wrap{max-width:980px; margin:0 auto; padding:28px 18px}
h1{margin:0 0 6px; font-weight:700; letter-spacing:.5px}
.sub{margin:0; color:var(--muted)}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap:14px;
  margin-top:18px;
}

.card{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  background:var(--card);
  border:1px solid rgba(233,238,245,.08);
  cursor:pointer;
  min-height:160px;
  outline:none;
}

.card:focus{box-shadow:0 0 0 4px var(--ring)}
.card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}

.card .label{
  position:absolute;
  left:10px; right:10px; bottom:10px;
  padding:10px 12px;
  border-radius:12px;
  color: #fff;
  font-weight: 600;
  letter-spacing: .2px;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.75));
  backdrop-filter: blur(8px);
  font-size:14px;
}

.card .label{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.overlay{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  opacity:0;
  transition: opacity .15s ease;
  background: radial-gradient(260px 260px at 50% 50%, rgba(0,0,0,.35), rgba(0,0,0,.05));
}

.card:hover .overlay{opacity:1}
.card.playing .overlay{opacity:1}

.playIcon{
  width:54px; height:54px;
  border-radius:999px;
  background: rgba(0,0,0,.55);
  display:grid;
  place-items:center;
  border:1px solid rgba(233,238,245,.18);
}

.playIcon svg{width:22px; height:22px}

.player{
  margin-top:18px;
  padding:14px;
  border-radius:16px;
  background: rgba(17,21,27,.6);
  border:1px solid rgba(233,238,245,.08);
}

.nowTitle{color:var(--muted); font-size:14px}
audio{width:100%; margin-top:10px}

/* Footer (Impressum-Link) */
.footer{
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 999;
}

.footerLink{
  display: inline-block;
  font-size: 12px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}

.footerLink:hover{
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
