:root {
  --bg: #000000;
  --card: #111111;
  --text: #ffffff;
  --muted: #cccccc;
  --primary: #ff5722;   /* naranja vibrante */
  --secondary: #ff4081; /* rosado */
  --primary-ink: #ffffff;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--primary);
}

.titles h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--text);
}

.titles p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.player-card {
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  flex: 1;
}

.now-playing .label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.now-playing h2 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.now-playing p {
  margin: 0;
  font-size: 1rem;
  color: var(--secondary);
}

.controls {
  display: flex;
  flex-direction: column;
  align-items: center;   /* <--- centra en horizontal */
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}


.btn {
  padding: 14px;
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.btn.primary {
  background: var(--primary);
  color: var(--primary-ink);
  width: 100%;
  text-align: center;
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--muted);
  color: var(--text);
  width: 100%;
}

.btn:active {
  transform: scale(0.96);
}

.volume {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.volume input[type="range"] {
  flex: 1;
  accent-color: var(--primary);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
}

.footer {
  margin-top: auto;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 12px 0;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
/* Botón cuadrado minimal */
/* Botón del player: CUADRADO, sin heredar .btn */
.player-btn {
  position: relative;
  width: 56px;
  height: 56px;
  background: var(--primary);
  border: none;
  border-radius: 8px; /* poné 0 si lo querés recto */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Icono PLAY: triángulo */
.player-btn::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid var(--primary-ink);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  transform: translateX(2px);
}

/* Barras de PAUSE ocultas por defecto */
.player-btn .bar {
  display: none;
  width: 4px;
  height: 20px;
  background: var(--primary-ink);
  border-radius: 1px;
}
.player-btn .bar.left { margin-right: 6px; }
.player-btn .bar.right { margin-left: 6px; }

/* Estado PAUSED: oculta triángulo y muestra barras */
.player-btn.paused::before { display: none; }
.player-btn.paused .bar { display: block; }
