body h1, body h2, body h3, body h4, body h5, body h6 {
  font-family: "Young Serif", serif;
  margin: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #111;
  color: #fff;
  margin: 0;
  padding: 0;
}

header, footer {
  text-align: center;
  padding: 10px;
  background: #222;
}

.tile-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}

.tile {
  width: 200px;          /* fast bredde */
  min-height: 250px;  /* sørger for ensartet baseline height */
  background: rgba(255, 255, 255, 0.05); /* svag baggrund */
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, height 0.3s ease;  
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden; /* så tracklist ikke overskrider card */
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tile img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.tile h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

#release-detail {
  padding: 20px;
}

#persistent-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 10px;
  z-index: 1000;
}


.tracklist {
  margin-top: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  animation: expand 0.3s ease;
}

.tracklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tracklist li {
  margin: 0.5rem 0;
}

.tracklist button {
  width: 100%;
  padding: 0.5rem;
  background: none;
  border: none;
  text-align: left;
  color: inherit;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.tracklist button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #1db954; /* Spotify-grøn feedback */
}

@keyframes expand {
  from { opacity: 0; transform: scaleY(0.9); }
  to { opacity: 1; transform: scaleY(1); }
}
