:root{
  --bg-blur: 6px;
  --card: rgba(18,18,18,.75);
  --text: #f2f2f2;
  --muted: #bdbdbd;
  --accent: #fff;        /* helder wit voor knoppen en outline */
  --gap: clamp(14px, 2.4vw, 24px);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{ box-sizing:border-box }
html,body{ height:100% }
body{
  margin:0;
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:#000;
}

.bg{
  position:fixed; inset:0; z-index:-1; overflow:hidden;
  filter: grayscale(1) contrast(1.1) brightness(.65);
}
.bg__video{
  width:100%; height:100%; object-fit:cover;
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bg__video{ display:none; }
  .bg{ background:#000 url('assets/img/album-cover.jpg') center/cover no-repeat; }
}

/* Corner logos */
.logo{
  position:fixed; top:14px; width:64px; height:64px; z-index:10;
  display:grid; place-items:center; border-radius:50%;
  background:rgba(0,0,0,.25); backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.logo img{ width:54px; height:54px; object-fit:contain; animation:spin 12s linear infinite; }
.logo--left{ left:14px; }
.logo--right{ right:14px; }
@keyframes spin { from{transform:rotate(0)} to{transform:rotate(360deg)} }

/* Page container */
.page{
  max-width:1100px; margin: clamp(80px, 8vh, 120px) auto 80px;
  padding: 0 var(--gap);
}

/* Header */
.hero{
  text-align:center; margin-bottom: clamp(24px, 5vh, 40px);
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
}
.hero__brand{
  margin:0; letter-spacing:.25em; font-weight:700;
  font-size: clamp(22px, 5vw, 40px);
}
.hero__album{
  margin:.25em 0 0; font-weight:900; font-size: clamp(28px, 7vw, 56px);
}

/* Album section: now centered */
.album {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
  margin-bottom: var(--gap);
}

.album__cover {
  background: var(--card);
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 50vw;
  min-width: 200px;
  max-width: 400px; /* upper limit on desktop */
}

.album__cover img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}

.album__cover figcaption {
  color: var(--muted);
  font-size: .85rem;
  margin-top: 8px;
  text-align: center;
}
.album__meta{
  background: var(--card); backdrop-filter: blur(var(--bg-blur));
  padding: clamp(14px, 2vw, 22px); border-radius: var(--radius); box-shadow: var(--shadow);
}
.intro{ margin:0 0 10px }
.quote{
  margin:6px 0 16px; padding-left:14px; border-left: 3px solid rgba(255,255,255,.35);
  color:#e6e6e6; font-style: italic;
}
.quote cite{ color:var(--muted); font-style: normal; }

/* CTA */
.cta{ display:flex; gap:10px; flex-wrap: wrap; align-items:center; }
.cta--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.7em 1.05em; border-radius: 999px; text-decoration:none; border:1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn--primary{ background:var(--accent); color:#111; border-color:transparent; font-weight:700; }
.btn--primary:hover{ filter:brightness(.92) }
.btn--ghost{ color:#fff; background:rgba(0,0,0,.2) }
.btn--ghost:hover{ background:rgba(0,0,0,.35) }
.donate{ display:flex; gap:8px; }

/* Snippets */
.snippets{
  display:grid; gap: var(--gap); margin-top: var(--gap);
  grid-template-columns: 1fr 1fr;
}
.snippets__col{
  background: var(--card); padding:16px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.snippets__col h3{ margin:0 0 10px }

.tracks{ list-style:none; padding:0; margin:0; display:grid; gap:8px }
.track{
  display:grid; grid-template-columns: 40px 1fr auto; gap:10px; align-items:center;
  padding:10px; border:1px solid rgba(255,255,255,.1); border-radius:12px; background: rgba(255,255,255,.02);
}

.play {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(0,0,0,.2);
  color: var(--text);
  cursor: pointer;
  display: flex;            /* NEW: flexbox centering */
  align-items: center;      /* NEW */
  justify-content: center;  /* NEW */
  font-size: 14px;          /* ensure the ▶ icon size is consistent */
  line-height: 1;           /* remove vertical misalignment */
  padding-left: 7.5px;
  padding-bottom: 2px;
}

.play.is-playing{ background:#fff; color:#111; }
.title{ font-weight:600 }
.len{ color:var(--muted); font-size:.9rem }

.note {
  margin: var(--gap) auto 0;
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #e9e9e9;
  max-width: 60%;           /* NEW: limit width */
  min-width: 300px;         /* avoid too narrow on mobile */
}

.donate {
  display: flex;
  justify-content: center; /* keep it centered */
}


/* Responsive */
@media (max-width: 880px){
  .album{ grid-template-columns: 1fr; }
  .logo{ width:52px; height:52px; }
  .logo img{ width:44px; height:44px }
}
@media (max-width: 640px){
  .snippets{ grid-template-columns: 1fr; }
  .hero__brand{ letter-spacing:.18em }
}
