/* Estilos específicos da página de cantos */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-title .logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0.3px;
}
.tagline {
  width: 100%;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  background: #0c0f14;
  border: 1px solid #1f2430;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 0 0 2px transparent;
  transition: box-shadow 0.2s ease;
}
.search:focus-within {
  box-shadow: 0 0 0 3px var(--ring);
}
.search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.card {
  position: relative;
  background: linear-gradient(180deg, #161a22 0%, #10141b 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}
.thumb {
  height: 400px;
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
  background: #0e1218;
  border-bottom: 1px solid #1f2430;
}
.body {
  padding: 14px;
  display: grid;
  gap: 10px;
}
.title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
}
.meta {
  color: var(--muted);
  font-size: 13px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.05s, box-shadow 0.15s, background 0.15s;
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.25);
  letter-spacing: 0.2px;
}
.btn:hover {
  background: #5cd3ff;
}
.btn:active {
  transform: translateY(1px);
}
.btn.secondary {
  background: #1b2330;
  color: var(--text);
  box-shadow: none;
  border: 1px solid #2a3242;
}
.playing-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  gap: 4px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.85);
  color: #001016;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 18px rgba(8, 145, 178, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s;
}
.card.is-playing .playing-badge {
  opacity: 1;
  transform: translateY(0);
}
.bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
}
.bar {
  width: 3px;
  height: 8px;
  background: #001016;
  opacity: 0.8;
  animation: bounce 0.9s infinite ease-in-out;
}
.bar:nth-child(2) {
  animation-delay: 0.15s;
}
.bar:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes bounce {
  0%,
  100% {
    height: 6px;
  }
  50% {
    height: 14px;
  }
}
.legal {
  margin-top: 8px;
  color: #cfe6da;
}
