@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.section {
  padding:50px;
}

.section h2 {
  font-size: clamp(38px, 4vw, 76px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.04;
  margin-bottom: 55px
}

.grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.card {
  cursor:pointer;
  transition:0.3s;
}
.card:hover {
  transform:scale(1.05);
}
.card img {
  width:100%;
  border-radius:20px;
}
.card p {
  margin-top:8px;
}
.tracklist{
  max-height:0;
  overflow:hidden;
  transition:0.4s ease;
  background:#cfd39a;
  border-radius:5px;
  margin-top:8px;
}
.tracklist.active{
  max-height:500px;
  padding:10px 0;
}
.track{
  padding:12px 22px;
  cursor:pointer;
  transition:0.2s;
}
.track:hover{
    background:#b7b58e;
}

.listen {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.box {
  height:200px;
  border-radius:25px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
  font-size:20px;
  cursor:pointer;
  transition:0.3s;
}
.box:hover{
  transform:scale(1.05);
}
.spotify {
  background:black;
  color:#1DB954;
}
.apple {
  background:#ff4b5c;
  color:white;
}
.yandex {
  background:black;
  color:#ffc400;
}
.vk {
  background:#c77bd4;
  color:white;
}

.player {
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  background:black;
  padding:10px;
  z-index: 9999;
}

.player audio {
  width:100%;
}

footer {
  text-align:center;
  padding:30px;
  color:#444;
}

@media (max-width:768px) {
  .grid { grid-template-columns:1fr; }
  .box { text-align:center; font-size:16px; }
}

/* Reserve room for the fixed audio player. */
body { padding-bottom: 76px; }
