:root {
  --bg: #0f1218;
  --surface: #181e28;
  --surface-soft: #1f2633;
  --ink: #f2dfcd;
  --muted: #bba892;
  --brand: #d59a73;
  --brand-2: #f0c6a5;
  --silver: #c1c7d2;
  --line: #313b4b;
  --radius: 18px;
  --shadow: 0 20px 42px rgba(3, 6, 13, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 8%, #1b2433 0%, transparent 42%),
    radial-gradient(circle at 82% 5%, #2e2020 0%, transparent 35%),
    linear-gradient(165deg, #0d1118 0%, #0f131c 45%, #0e1017 100%);
  min-height: 100vh;
}

h1,
h2,
h3 {
  font-family: "Prata", Georgia, serif;
  letter-spacing: 0.02em;
  margin: 0;
}

a {
  color: inherit;
}

.bg-glow {
  position: fixed;
  width: 35vw;
  height: 35vw;
  border-radius: 999px;
  filter: blur(50px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
}

.bg-glow-left {
  background: rgba(214, 157, 117, 0.4);
  left: -10vw;
  top: -8vw;
}

.bg-glow-right {
  background: rgba(193, 199, 210, 0.22);
  right: -12vw;
  bottom: -12vw;
}

.hero,
.section,
.footer {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.hero {
  padding-top: 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid rgba(86, 100, 128, 0.28);
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(21, 28, 40, 0.94), rgba(35, 27, 34, 0.88));
  box-shadow: 0 18px 34px rgba(5, 8, 15, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand-logo {
  width: clamp(72px, 8vw, 92px);
  height: auto;
  border-radius: 6px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
}

.brand-text {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #f5dfce;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}

.hero-content {
  max-width: 760px;
  padding: 26px 0 0px;
  animation: rise 700ms ease-out;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.1;
  white-space: nowrap;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .hero h1 {
    white-space: normal;
  }
}

.hero p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 18px 0 30px;
  max-width: 62ch;
}

.btn {
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #1b100c;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(213, 154, 115, 0.22);
}

.btn-outline {
  background: rgba(18, 24, 37, 0.36);
  border: 1px solid rgba(102, 117, 145, 0.34);
  color: #f2dfcd;
  padding-inline: 28px;
  min-height: 56px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.topbar .btn-outline:hover {
  background: rgba(34, 40, 56, 0.62);
  box-shadow: 0 12px 24px rgba(4, 8, 18, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.btn-small {
  font-size: 0.88rem;
  padding: 8px 14px;
}

.section {
  padding: 32px 0 44px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section h2 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
}

.section-subtitle {
  color: var(--muted);
  max-width: 42ch;
}

.filters {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

#busca {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  color: var(--ink);
  background: #121824;
}

#busca:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 55%, #ffffff);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.chip {
  border: 1px solid var(--line);
  background: #121825;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 150ms ease;
}

.chip[aria-pressed="true"] {
  background: linear-gradient(120deg, #d59a73, #f0c6a5);
  color: #1b100c;
  border-color: transparent;
}

.list-head {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#contador-musicas {
  color: var(--muted);
}

.repertorio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.card {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease,
    background 180ms ease;
  animation: fade-up 500ms ease both;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(240, 198, 165, 0.14), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.card[data-playing="true"] {
  border-color: rgba(240, 198, 165, 0.45);
  background: linear-gradient(180deg, rgba(35, 43, 58, 0.96), rgba(24, 30, 40, 0.96));
  box-shadow: 0 16px 34px rgba(8, 12, 20, 0.4), 0 0 0 1px rgba(240, 198, 165, 0.08);
  transform: translateY(-2px);
}

.card[data-playing="true"]::after {
  opacity: 1;
}

.card h3 {
  font-size: 1.2rem;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  width: fit-content;
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(213, 154, 115, 0.18);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--brand-2);
}

.player {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(213, 154, 115, 0.18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 19, 28, 0.88), rgba(24, 30, 40, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.player-toggle {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #1b100c;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.player-toggle:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 24px rgba(213, 154, 115, 0.22);
}

.player[data-playing="true"] .player-toggle {
  background: linear-gradient(135deg, var(--silver), #e9eef5);
  animation: pulse-player 1.8s ease-in-out infinite;
}

.player-icon {
  position: absolute;
  transition: opacity 140ms ease, transform 140ms ease;
}

.player-icon-play {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #1b100c;
  margin-left: 4px;
}

.player-icon-pause {
  width: 16px;
  height: 16px;
  background:
    linear-gradient(90deg, #1b100c 0 5px, transparent 5px 11px, #1b100c 11px 16px);
  opacity: 0;
  transform: scale(0.7);
}

.player-toggle[data-state="playing"] .player-icon-play {
  opacity: 0;
  transform: scale(0.7);
}

.player-toggle[data-state="playing"] .player-icon-pause {
  opacity: 1;
  transform: scale(1);
}

.player-toggle[data-state="paused"] .player-icon-play {
  opacity: 1;
  transform: scale(1);
}

.player-toggle[data-state="paused"] .player-icon-pause {
  opacity: 0;
  transform: scale(0.7);
}

.player-body {
  min-width: 0;
}

.player-progress {
  width: 100%;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.player-progress::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(213, 154, 115, 0.85), rgba(67, 78, 97, 0.65));
}

.player-progress::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #fff6eb;
  border-radius: 50%;
  background: var(--brand-2);
  margin-top: -5px;
  box-shadow: 0 0 0 4px rgba(213, 154, 115, 0.16);
}

.player-progress::-moz-range-track {
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(213, 154, 115, 0.85), rgba(67, 78, 97, 0.65));
}

.player-progress::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 2px solid #fff6eb;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(213, 154, 115, 0.16);
}

.player-times {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.card[data-playing="true"] .player-times {
  color: var(--ink);
}

.audio-player {
  display: none;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: var(--surface-soft);
}

.section-soft {
  background: color-mix(in srgb, var(--surface) 84%, #1b2230);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.pill-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: #141b27;
}

.footer {
  text-align: center;
  padding: 10px 0 42px;
}

.footer p {
  color: var(--muted);
}

.footer a {
  color: var(--silver);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-player {
  0% {
    box-shadow: 0 0 0 0 rgba(193, 199, 210, 0.3);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(193, 199, 210, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(193, 199, 210, 0);
  }
}

@media (max-width: 960px) {
  .repertorio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sobre-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 12px 14px;
    border-radius: 22px;
  }

  .brand-text {
    font-size: 1.6rem;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 54px;
  }

  .topbar .btn-outline {
    min-height: 46px;
    padding-inline: 18px;
  }

  .section-header,
  .list-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .repertorio-grid {
    grid-template-columns: 1fr;
  }

  .player {
    grid-template-columns: 1fr;
  }

  .player-toggle {
    width: 100%;
    height: 46px;
    border-radius: 999px;
  }
}
