/* Dingaan Media Store - clean dark store aesthetic */
:root{
  --bg:#0b0b0f;
  --text:#ffffff;
  --muted:#a3a3b2;
  --line:rgba(255,255,255,.08);
  --accent:#ffcc00;
  --radius:14px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% -10%, rgba(255,204,0,.18), transparent 60%),
              radial-gradient(1000px 600px at 90% 10%, rgba(255,255,255,.08), transparent 55%),
              var(--bg);
  color:var(--text);
}
.header{border-bottom:1px solid var(--line); padding:34px 18px 26px;}
.brand{max-width:1120px; margin:0 auto; text-align:center;}
.brand h1{margin:0; letter-spacing:.5px; font-size:clamp(28px,4vw,42px);}
.brand p{margin:10px 0 0; color:var(--muted); font-size:14px;}
.container{max-width:1120px; margin:0 auto; padding:26px 18px 44px;}
.toolbar{display:flex; justify-content:center; margin-bottom:18px;}
#search{
  flex:1; max-width:520px; padding:12px 14px; border-radius:999px;
  border:1px solid var(--line); outline:none;
  background:rgba(255,255,255,.04); color:var(--text);
}
#search::placeholder{color:rgba(255,255,255,.45)}
#search:focus{border-color:rgba(255,204,0,.5)}
.grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:18px;}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border:1px solid var(--line); border-radius:var(--radius);
  padding:14px; overflow:hidden;
  transition:transform .18s ease,border-color .18s ease;
}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cover{
  width:100%; aspect-ratio:1/1; object-fit:cover;
  border-radius:12px; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.06);
}
.details{
  display: flex;
  flex-direction: column;
  flex: 1;
}
.meta{
  margin-top: 12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.title{margin:0; font-size:15px; line-height:1.2;}
.artist{margin:6px 0 0; color:var(--muted); font-size:12px;}
.price{font-weight:800; letter-spacing:.2px; white-space:nowrap; margin-top:2px;}
.badge{
  display:inline-block; margin-top:10px; padding:6px 10px; border-radius:999px;
  border:1px solid var(--line); background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.9); font-size:12px;
}
audio{width:100%; margin-top:12px;}
.actions{
  display:flex;
  gap:10px;
  margin-top: auto;
  padding-top: 12px;
}
.buy{
  flex:1; text-align:center; padding:10px 12px; border-radius:999px;
  background:#fff; color:#000; text-decoration:none; font-weight:800;
  transition:transform .14s ease, background .14s ease;
}
.buy:hover{background:var(--accent); transform:translateY(-1px);}
.footer{
  padding:26px 18px 34px; border-top:1px solid var(--line);
  text-align:center; color:rgba(255,255,255,.55); font-size:12px;
}
