:root {
  --bg: #0f1115;
  --card: #1b1f2a;
  --text: #eef2ff;
  --muted: #a5b0c4;
  --accent: #1DB954
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--text)
}

header {
  padding: 12px 16px 2px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 700;
  color: var(--text);
}

header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.container {
  max-width: 1000px;
  margin: 8px auto 40px;
  padding: 0 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px
}

.card {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease
}

.badge {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  background: rgba(15, 17, 21, 0.15);
  backdrop-filter: blur(4px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.2px;
  z-index: 2;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45)
}

.card[data-open-app],
.card[data-open-track] {
  cursor: pointer;
}

.description {
  text-align: center;
  margin: 14px 10px 14px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.thumb {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: calc(100% - 24px);
  max-width: 260px;
  margin: 0 auto 12px;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.skeleton {
  width: 100%;
  padding-top: 100%;
  background: linear-gradient(90deg, #222 25%, #2a2a2a 37%, #222 63%);
  background-size: 400% 100%;
  animation: sh 1.2s ease-in-out infinite
}

@keyframes sh {
  0% {
    background-position: 100% 0
  }

  100% {
    background-position: 0 0
  }
}

.body {
  display: none;
}

.title {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3
}

.btn {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 84%;
  display: block;
  text-align: center;
  text-decoration: none;
  background: rgba(29, 185, 84, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: background-color .15s ease, opacity .15s ease;
  z-index: 2;
}

.btn:hover,
.card:hover .btn {
  background: rgba(30, 215, 96, 0.98);
}

@media (min-width: 768px) {
  header h1 {
    margin-bottom: 20px;
  }
}
