body {
  position: relative;
}

.discover-wave-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* margin-top: 2.5rem; */
  min-height: 500px;
  overflow: hidden;
}

/* Canvas на весь блок */
.discover-wave-shell canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Карточка поверх */
.discover-wave-shell #discover-wave-card-container {
  position: relative;
  z-index: 2;
}


/* Остальные стили карточки без изменений */
#discover-wave-card {
  width: clamp(200px, 25vw, 280px);
  max-width: 100%;
}

#discover-wave-card .card {
  background: transparent;
  box-shadow: none;
  border: none;
}

#discover-wave-card .card-footer,
#discover-wave-card .card-footer-item {
  border: none;
}

#discover-wave-card .track-cover-wrap {
  width: 100%;
  max-width: 100%;
  height: auto;
  /* margin: 0 auto 1rem; */
}

#discover-wave-card .track-cover-img {
  width: 100%;
  padding-top: 100%;
  border-radius: 4px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#discover-wave-card .track-cover-wrap::before,
#discover-wave-card .track-cover-wrap::after {
  content: none !important;
}

#discover-wave-card .play-overlay-btn {
  opacity: 1 !important;
  background: none !important;
  box-shadow: none !important;
}

#discover-wave-card .play-overlay-btn img.icon {
  width: 52px;
  height: 52px;
  filter: brightness(0) invert(1);
}

/* Полноэкранный фон-анимация на Discover */
#discover-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1; /* ниже всего содержимого */
}

/* Контент над анимацией */
#swup {
  position: relative;
  z-index: 1;
}

/* Карточка волны поверх канваса */
.discover-wave-shell {
  position: relative;
}

#discover-wave-card-container {
  position: relative;
  z-index: 2;
}
