@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(to right, #1d2344, #53547f);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    overflow: hidden;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400; /* Cambia el peso según necesites */
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.player-container {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    padding: 30px;
    width: 350px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 655px;
}



h1 {
    margin-bottom: 20px;
    font-size: 2em;
}

.img-container {
    width: 250px;
    height: 250px;
    position: relative;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h2 {
    font-size: 1.8em;
    margin-bottom: 5px;
    color: #f0f0f0;
}

h3 {
    font-size: 1.2em;
    margin-top: 0;
    color: #ccc;
}

.progress-container {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    cursor: pointer;
    margin: 40px 0;
    height: 8px;
    width: 100%;
    position: relative;
}

.progress {
    background: #00f2fe;
    border-radius: 5px;
    height: 100%;
    width: 0%; /* Se actualiza con JavaScript */
    transition: width 0.1s linear;
}

.duration-wrapper {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.9em;
    color: #eee;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

/* Estilos para los nuevos botones */
.control-btn {
    background: none;
    border: none;
    color: #fff; /* Color del texto del botón */
    font-size: 2em; /* Tamaño del icono */
    cursor: pointer;
    margin: 0 20px;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    padding: 10px; /* Eliminar padding por defecto del botón */
    line-height: 1; /* Asegurar que el tamaño del texto sea el que queremos */


  border-radius: 50%;      /* 👈 Hace el círculo */

  background: linear-gradient(135deg, #f0f2f7, #dbdeea); /* Degradado moderno */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.control-btn:hover {
    color: #00f2fe;
    transform: scale(1.1);
}

.aleatorio {
font-size: 1em; /* Tamaño del icono */
padding: 2px; /* Eliminar padding por defecto del botón */
}

.main-button {
    font-size: 3em; /* Tamaño más grande para el botón principal */
    color: #00f2fe;
}

.main-button:hover {
    color: #00e2ee;
}

.listado {
    display: flex;
    flex-direction: column;
    align-items: left;
    height: 650px;          /* Altura fija, puedes ajustarla */
    overflow-y: auto;       /* Habilita scroll vertical */
    padding: 10px;
}

@media (max-width: 600px) {
.listado {
    display: none;
}
}

.listado::-webkit-scrollbar {
  width: 8px; /* Grosor de la barra */
}

.listado::-webkit-scrollbar-thumb {
  background: #eeeeee56;
  border-radius: 20px;
}

.list-canciones {
    border-radius: 20px;
    cursor: pointer;
    padding: 5px 20px 5px 20px;
    margin: 0;
}

.list-canciones:hover {
    background-color: rgba(35, 28, 133, 0.548);
}

#song-list {
    list-style: none; /* Quitar los puntos de la lista */
    padding: 0;
    margin: 0;
}

#song-list > li {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* --- BOTÓN CIRCULAR --- */
.main-button {
  width: 65px;             /* Tamaño del botón */
  height: 65px;
  border-radius: 50%;      /* 👈 Hace el círculo */
  border: none;
  background: linear-gradient(135deg, #f0f2f7, #dbdeea); /* Degradado moderno */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Hover: un poco más brillante */
.main-button:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Click (active) */
.main-button:active {
  transform: scale(0.97);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Versión alternativa clara (si lo usas sobre fondo oscuro) */
.control-btn {
  background: rgba(255, 255, 255, 0.2);
}