/* ===============================
   MelodyStream — Spotify Login (compatible con header/footer)
   =============================== */


main#spotifyLoginContainer {
  flex: 1; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}


#spotifyLoginContainer h1 {
  font-size: 2.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: --color-blanco;
}


#spotifyLogin {
  background-color: #1db954;
  color: #000;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  box-shadow: 0 0 20px rgba(29, 185, 84, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}


#spotifyLogin img {
  width: 30px;
  height: 30px;
}


#spotifyLogin:hover {
  background-color: #1ed760;
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(29, 185, 84, 0.5);
}


#spotifyLogin:active {
  transform: scale(0.97);
  box-shadow: 0 0 15px rgba(29, 185, 84, 0.3);
}

#headerProfileIm img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

#headerProfileIm {
    display: flex;           
    align-items: center;    
    margin-right: 20px;
}

#musicLibrary {
  background-color: var(--color-azul1);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px; 
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;

  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              background-color 0.25s ease;

  box-shadow: 0 0 20px rgba(62, 154, 222, 0.45);
}

#musicLibrary img {
  width: 28px;
  height: 28px;
}

/* Hover */
#musicLibrary:hover {
  background-color: var(--color-azul2);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(62, 154, 222, 0.7);
}

/* Click */
#musicLibrary:active {
  transform: scale(0.97);
  box-shadow: 0 0 15px rgba(62, 154, 222, 0.4);
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsivo */
@media (max-width: 600px) {
  #spotifyLoginContainer h1 {
    font-size: 1.8rem;
  }

  #spotifyLogin {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }

  #spotifyLogin img {
    width: 24px;
    height: 24px;
  }
}
