/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Body Styling */
body {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #ffffff;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

/* Links */
a {
  color: #00f7ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #ff007a;
  text-shadow: 0 0 5px #ff007a;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #ffffff;
}

/* Buttons */
button {
  background: #ff007a;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 0, 122, 0.3);
}

/* Input Fields */
input, textarea {
  background-color: #1e1e2f;
  border: 1px solid #444;
  color: #eee;
  padding: 0.6rem;
  border-radius: 8px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus {
  border-color: #00f7ff;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}






body {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); /* Premium gradient */
  color: #ffffff;
  height: 100vh;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

/* Main Layout */
.app-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: 1fr 80px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Optional: For left sidebar and main content */
.sidebar {
  background: #1c1c1c;
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.main-content {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  overflow-y: auto;
}

/* Footer Area (if needed) */
.footer {
  grid-column: 1 / span 2;
  background: #181818;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}



/* Hamburger Menu Styles */
.hamburger {
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  z-index: 20;
  display: none;
}

/* Sidebar Responsive */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -240px;
    top: 0;
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 15;
  }

  .sidebar.open {
    left: 0;
  }

  .hamburger {
    display: block;
  }
}


/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #04ff26;
  cursor: pointer;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo i {
  margin-right: 10px;
  font-size: 28px;
  color: #1db954;
  transition: transform 0.3s ease;
}

/* Playlists Section */
.playlists-section {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.playlists-section h4 {
  color: #b3b3b3;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  padding-left: 15px;
}

#user-playlists {
  list-style: none;
  padding: 0;
  margin: 0;
}

#user-playlists li {
  padding: 8px 15px;
  margin: 2px 0;
  cursor: pointer;
  border-radius: 4px;
  color: #b3b3b3;
  font-size: 14px;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#user-playlists li:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}



/* Navigation Styles */
nav ul {
  list-style: none;
  padding-left: 0;
}

nav li {
  padding: 12px 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: 8px;
  color: #ccc;
  transition: all 0.3s ease;
  position: relative;
  font-size: 15px;
}

nav li:hover {
  background-color: rgba(0, 247, 255, 0.1);
  color: #ffffff;
  transform: translateX(5px);
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.2);
}




/* Main Content Styles */
.main-content {
  background: linear-gradient(to bottom, #1a1a1a 0%, #121212 100%);
  overflow-y: auto;
  padding-bottom: 80px;
  scroll-behavior: smooth;
  color: #f0f0f0;
  padding-left: 20px;
  padding-right: 20px;
}

/* Scrollbar Styling */
.main-content::-webkit-scrollbar {
  width: 8px;
}

.main-content::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.main-content::-webkit-scrollbar-thumb {
  background-color: #00f7ff88;
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: linear-gradient(180deg, #1a1a1a 0%, rgba(26, 26, 26, 0.6) 100%);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 247, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Optional: Header Text and Icons */
header h1 {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 8px #00f7ff;
  letter-spacing: 1px;
}

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

header .header-actions i {
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

header .header-actions i:hover {
  color: #00f7ff;
  transform: scale(1.1);
}


/* Enhanced Search Bar Styles */
.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 500px;
  width: 100%;
  max-width: 400px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  backdrop-filter: blur(8px);
}

.search-bar:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.search-bar.active {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(0, 247, 255, 0.3);
}

.search-bar i {
  margin-right: 12px;
  color: #b3b3b3;
  font-size: 16px;
  transition: all 0.3s ease;
}

.search-bar input {
  background: transparent;
  border: none;
  color: white;
  width: 100%;
  outline: none;
  font-size: 14px;
  padding: 6px 0;
  font-family: inherit;
  caret-color: #00f7ff;
}

.search-bar input::placeholder {
  color: #b3b3b3;
  opacity: 0.7;
  font-weight: 400;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #282828;
  border-radius: 8px;
  margin-top: 8px;
  padding: 8px 0;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
}

.search-results.visible {
  display: block;
}

.search-result-item {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-result-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.search-result-item img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  margin-right: 12px;
  object-fit: cover;
}

.search-result-info {
  flex: 1;
}

.search-result-info h4 {
  font-size: 14px;
  margin: 0 0 4px 0;
  color: white;
}

.search-result-info p {
  font-size: 12px;
  margin: 0;
  color: #b3b3b3;
}

.search-result-type {
  font-size: 10px;
  text-transform: uppercase;
  color: #00f7ff;
  margin-left: 12px;
  opacity: 0.8;
}

/* Search bar focus effects */
.search-bar:focus-within {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(0, 247, 255, 0.3);
}

.search-bar:focus-within i {
  color: #00f7ff;
}

/* Clear search button */
.clear-search {
  color: #b3b3b3;
  cursor: pointer;
  padding: 4px;
  margin-left: 8px;
  opacity: 0;
  transition: all 0.2s ease;
}

.clear-search.visible {
  opacity: 1;
}

.clear-search:hover {
  color: white;
}


/* User Profile Image */
.user-profile img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  border: 3px solid #00f7ff;
  object-fit: cover;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.2);
}

.user-profile img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
}

/* Content Styling */
.content {
  padding: 20px 30px;
  background: rgba(26, 26, 26, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 247, 255, 0.2);
  margin-top: 20px;
  transition: all 0.3s ease;
}

.content:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 247, 255, 0.3);
}

/* Heading Styles */
h2 {
  margin: 20px 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 247, 255, 0.4);
  letter-spacing: 1px;
  text-align: center;
}


/* Categories Grid */
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  padding: 0 20px;
}

@media (max-width: 1024px) {
  .categories {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .categories {
    grid-template-columns: 1fr;
  }
}

/* Category Card Styling */
.category-card {
  height: 120px;
  background: linear-gradient(145deg, rgba(0, 247, 255, 0.1), rgba(0, 247, 255, 0.2));
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 247, 255, 0.1);
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 247, 255, 0.2);
}

.category-card i {
  font-size: 30px;
  color: #ffffff;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.category-card:hover i {
  color: #00f7ff;
}


/* Song List Grid */
.song-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  padding: 0 20px;
}

/* Song Card Styling */
.song-card {
  background-color: #181818;
  padding: 15px;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.song-card:hover {
  background-color: #282828;
  transform: translateY(-5px);
}

.song-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.song-card:hover img {
  transform: scale(1.05);
}

.song-card h3 {
  font-size: 16px;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  transition: color 0.3s ease;
}

.song-card:hover h3 {
  color: #00f7ff; /* Neon effect on hover */
}

.song-card p {
  font-size: 14px;
  color: #b3b3b3;
  text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .song-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}


/* Playlist Container */
.playlist-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  padding: 0 20px;
  margin-bottom: 30px;
}

/* Playlist Card Styling */
.playlist-card {
  background-color: #181818;
  padding: 15px;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hover Effects */
.playlist-card:hover {
  background-color: #282828;
  transform: translateY(-5px); /* Slight pop effect on hover */
}

/* Playlist Image Styling */
.playlist-image {
  margin-bottom: 15px;
}

.playlist-image img {
  width: 100%;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

/* Hover effect for images */
.playlist-card:hover .playlist-image img {
  transform: scale(1.05); /* Slight zoom effect */
}

/* Playlist Title Styling */
.playlist-card h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

/* Neon effect for playlist title on hover */
.playlist-card:hover h3 {
  color: #00f7ff;
}

/* Playlist Description */
.playlist-card p {
  font-size: 14px;
  color: #b3b3b3;
  text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .playlist-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}


/* Player Bar Styles */
.player-bar {
  grid-column: 1 / -1;
  background-color: #181818;
  border-top: 1px solid #282828;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

/* Enhanced Song Info Styles */
.song-info {
  display: flex;
  align-items: center;
  width: 300px;
  min-width: 300px;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.song-info:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.song-info img {
  width: 56px;
  height: 56px;
  margin-right: 15px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.song-info:hover img {
  transform: scale(1.03);
}

.song-text {
  flex: 1;
  min-width: 0; /* Prevent text overflow */
}

.song-info h4 {
  font-size: 14px;
  margin: 0 0 4px 0;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.song-info p {
  font-size: 12px;
  margin: 0;
  color: #b3b3b3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Like Button Styles */
#like-button {
  margin-left: 15px;
  font-size: 16px;
  color: #b3b3b3;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 20px;
  text-align: center;
}

#like-button:hover {
  transform: scale(1.2);
}

#like-button.liked {
  color: #1db954;
  font-weight: 900; /* Makes the heart solid */
  animation: heartBeat 0.5s;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(0.9); }
  75% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Song info responsive */
@media (max-width: 768px) {
  .song-info {
    width: auto;
    min-width: auto;
    max-width: 200px;
  }
  
  .song-text {
    display: none;
  }
  
  #like-button {
    margin-left: 10px;
  }
}

/* Player Bar - Glass Morphism */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

/* Song Info Section */
.song-info {
  display: flex;
  align-items: center;
  width: 25%;
  min-width: 250px;
}

.song-info img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.song-info:hover img {
  transform: scale(1.05);
}

.song-text {
  flex: 1;
  min-width: 0;
}

.song-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-info p {
  font-size: 12px;
  margin: 0;
  color: #aaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#like-button {
  margin-left: 15px;
  font-size: 16px;
  color: #aaa;
  cursor: pointer;
  transition: all 0.3s ease;
}

#like-button:hover {
  color: #1db954;
  transform: scale(1.1);
}

#like-button.liked {
  color: #1db954;
  font-weight: 900;
}

/* Player Controls */
.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
}

.main-controls {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.control-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 16px;
  width: 40px;
  height: 40px;
  margin: 0 10px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: scale(1.1);
}

.play-btn {
  background: white;
  color: black;
  width: 45px;
  height: 45px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.play-btn:hover {
  background: #1db954;
  color: white;
  transform: scale(1.1);
}

#shuffle.active, #repeat.active {
  color: #1db954;
}

/* Progress Bar */
.progress-container {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.progress-container span {
  font-size: 12px;
  color: #aaa;
  font-family: monospace;
}

#progress {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  transition: height 0.2s ease;
}

#progress:hover {
  height: 6px;
}

#progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
}

#progress:hover::-webkit-slider-thumb {
  opacity: 1;
  transform: scale(1.2);
}

/* Volume Control */
.volume-control {
  display: flex;
  align-items: center;
  width: 15%;
  min-width: 150px;
  gap: 10px;
}

#volume-icon {
  color: #ccc;
  font-size: 16px;
}

#volume {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
  transition: height 0.2s ease;
}

#volume:hover {
  height: 6px;
}

#volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
}

#volume:hover::-webkit-slider-thumb {
  opacity: 1;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .player-bar {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }
  
  .song-info, .player-controls, .volume-control {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .song-info {
    min-width: 0;
  }
  
  .volume-control {
    min-width: 0;
    justify-content: center;
  }
  
  .main-controls {
    justify-content: center;
  }
}




.song-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
  padding: 10px;
  backdrop-filter: blur(8px);
}

/* Future-style song card */
.song {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.08), rgba(255, 0, 122, 0.08));
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.1), 0 0 25px rgba(255, 0, 122, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 370px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

/* Hover glow and lift */
.song:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), 0 0 35px rgba(255, 0, 122, 0.2);
}

/* Image glow and hover */
.song img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.song:hover img {
  transform: scale(1.05);
}

/* Song title */
.song h3 {
  margin: 8px 0 5px;
  font-size: 20px;
  color: #00f7ff;
  font-weight: 600;
  text-shadow: 0 0 3px #00f7ff;
}

/* Song details */
.song p {
  margin: 2px 0;
  color: #ccc;
  font-size: 14px;
  font-weight: 400;
  text-shadow: 0 0 1px #fff;
}

@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 10px #00f7ff, 0 0 20px #f53b95;
  }
  50% {
    box-shadow: 0 0 20px #00f7ff, 0 0 40px #ff057e;
  }
}

body {
  background: linear-gradient(135deg, #121212 0%, #1E1E1E 50%, #2A2A2A 100%);
}

.song, .playlist-card, .player-bar {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Add these new styles */

/* Enhanced player bar */
.player-bar {
  background: rgba(18, 18, 18, 0.8) !important;
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Better progress bar */
#progress {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #1db954, #1ed760);
}

#progress::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

/* Animated play button */
#play-pause {
  transition: all 0.3s ease;
  transform: scale(1);
}

#play-pause.playing {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(29, 185, 84, 0.5);
}

/* Floating sidebar */
.sidebar {
  transition: transform 0.3s ease;
}

.sidebar:hover {
  transform: translateX(0);
}

/* Better song cards */
.song:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Add a now playing indicator */
.now-playing {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: #1db954;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}


 /* Like button styles */
#like-button {
  font-size: 20px;
  color: #b3b3b3;
  cursor: pointer;
  margin-left: 20px;
  transition: all 0.3s ease;
  position: relative;
}

#like-button:hover {
  color: #ffffff;
  transform: scale(1.1);
}

#like-button.liked {
  color: #1db954;
  font-weight: 900; /* Makes the heart solid */
  animation: heartBeat 0.5s;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1); }
  75% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Optional: Tooltip for like button */
#like-button::after {
  content: "Save to Liked Songs";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(249, 4, 4, 0.8);
  color: rgb(190, 64, 64);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

#like-button:hover::after {
  opacity: 1;
}

 



















  

 
 



  