* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #000;
  color: #fff;
  overflow: hidden;
}


.app {
  display: flex;
  height: calc(100vh - 90px);
  gap: 8px;
  padding: 8px;
}


.sidebar {
  width: 320px;
  background: #121212;
  border-radius: 8px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px 20px;
}

.brand i {
  font-size: 26px;
}

.brand h2 {
  font-size: 20px;
}


.nav {
  list-style: none;
}

.nav li {
  padding: 8px 12px;
  color: #b3b3b3;
  cursor: pointer;
  border-radius: 4px;
}

.nav li i {
  margin-right: 12px;
}

.nav li:hover,
.nav li.active {
  color: #fff;
}

.secondary {
  margin-top: 15px;
}

.sidebar hr {
  margin: 15px;
  border: 1px solid #282828;
}

.footer-links {
  margin-top: auto;
  list-style: none;
  padding: 0 15px;
}

.footer-links li {
  font-size: 11px;
  color: #b3b3b3;
  margin-bottom: 6px;
}


.main {
  flex: 1;
  background: linear-gradient(180deg, #1e1e1e 0%, #121212 20%);
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
}


.topbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.arrows button {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 8px;
}

.auth button {
  background: none;
  border: none;
  color: #b3b3b3;
  margin-right: 15px;
  font-weight: 600;
}

.auth .login {
  background: #fff;
  color: #000;
  padding: 8px 20px;
  border-radius: 20px;
}


h2 {
  font-size: 22px;
  margin-bottom: 16px;
}


.small-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.small-card {
  height: 80px;
  background: #2a2a2a;
  border-radius: 4px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.small-card img {
  width: 80px;
  height: 80px;
}

.small-card span {
  margin-left: 20px;
  font-weight: 600;
}

.small-card .play-btn {
  position: absolute;
  right: 20px;
  background: #1ed760;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  opacity: 0;
}

.small-card:hover .play-btn {
  opacity: 1;
}


.card .play-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #1ed760;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: black;
}

.card:hover .play-btn {
  opacity: 1;
  transform: translateY(0);
}

.cards {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.card {
  min-width: 190px;
  width: 190px;
  background: #181818;
  padding: 16px;
  border-radius: 8px;
  transition: 0.3s;
  position: relative;
}

.card:hover {
  background: #282828;
}

.card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.card h3 {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card p {
  font-size: 13px;
  color: #b3b3b3;
  line-height: 1.4;
}

.artist-img {
  border-radius: 50% !important;
  aspect-ratio: 1/1;
  object-fit: cover;
}


.player {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 90px;
  background: #000;
  border-top: 1px solid #181818;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

.song {
  display: flex;
  align-items: center;
  gap: 15px;
}

.song img {
  width: 50px;
  height: 50px;
}

.song-name {
  font-size: 14px;
}

.artist {
  font-size: 11px;
  color: #b3b3b3;
}


.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
}

.controls {
  display: flex;
  gap: 20px;
  margin-bottom: 5px;
}

.controls i {
  font-size: 20px;
  color: #b3b3b3;
}


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

.volume-slider {
  width: 100px;
  cursor: pointer;
  accent-color: #1ed760;
  height: 4px;
}

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

.playback-bar span {
  font-size: 11px;
  color: #b3b3b3;
  width: 35px;
  text-align: center;
}

.progress-bar {
  flex: 1;
  cursor: pointer;
  accent-color: #1ed760;
  height: 4px;
}


.volume i:hover {
  color: #fff;
}