/* Musica Poncho v6.5 — Nube (Supabase) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,500;0,600;1,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #120D0A;
  --bg-panel: #1E1610;
  --bg-panel-2: #281D14;
  --gold: #C89355;
  --magenta: #2FB6A8;
  --rust: #B5442E;
  --cream: #F2E9DD;
  --muted: #A6957E;
  --line: rgba(242, 233, 221, 0.1);
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  margin: 0;
}

a { color: inherit; }

button {
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
button:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--magenta), #56D6C6);
  color: #0E1614;
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(47, 182, 168, 0.3);
}
.btn-primary:disabled {
  opacity: 0.4;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-icon {
  background: var(--bg-panel-2);
  color: var(--cream);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(200, 147, 85, 0.14);
  color: var(--gold);
}

.pill.live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 0 rgba(181, 68, 46, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(181, 68, 46, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(181, 68, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(181, 68, 46, 0); }
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.muted { color: var(--muted); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--bg-panel-2); border-radius: 8px; }

/* v6.5 — versión visible y pie de contacto */
.app-version { opacity: 0.6; font-size: 0.7em; margin-left: 4px; }
.support-footer {
  text-align: center; color: var(--muted); font-size: 0.75rem;
  margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line);
}
.support-footer a { color: var(--gold); text-decoration: none; }
