:root {
  --ui-primary: #7f5af0;
  --ui-secondary: #2cb67d;
  --ui-tertiary: #ff8906;
  --ui-pink: #1DB954;
  --ui-info: #3a86ff;
  --ui-yellow: #f9dc5c;
  --ui-red: #ff4d6d;
  --ui-bg: #181822;
  --ui-bg-secondary: #20202a;
  --ui-bg-playlist: #222233;
  --ui-bg-playlist-inner: #181822;
  --ui-bg-player: #15151c;
  --ui-sidebar: #171720;
  --ui-light: #fafafd;
  --ui-dark: #111114;
  --text-main: #f7f7f8;
  --text-secondary: #a2a7c4;
  --text-heading: #ff8906;
  --text-playlist: #f9dc5c;
  --text-active: #7f5af0;
  --font-main: 'Inter', sans-serif;
  --font-logo: 'Montserrat', sans-serif;
  --shadow-card: 0 2px 16px #0005;
  --border-radius: 18px;
}

body, html {
  background: var(--ui-bg);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font-main);
}
.app-container {
  display: flex;
  min-height: 100vh;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  background: var(--ui-sidebar);
  padding: 2rem 1.5rem;
  width: 230px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 100vh;
  box-shadow: 2px 0 16px #0002;
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  z-index: 2;
  position: relative;
}

.logo {
  font-family: var(--font-logo);
  font-size: 2.1rem;
  color: var(--ui-primary);
  letter-spacing: 2px;
  margin-bottom: 2rem;
  text-shadow: 0 4px 30px #7f5af099;
  animation: logoPop 1.2s cubic-bezier(.5,2,.5,1);
}
@keyframes logoPop {
  from {transform: scale(0.85) rotate(-8deg); opacity: 0;}
  to {transform: scale(1) rotate(0); opacity: 1;}
}

nav {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.22s, color 0.22s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1.08em;
}
nav a.active, nav a:hover {
  background: var(--ui-primary);
  color: var(--ui-light);
  transform: translateX(6px) scale(1.06);
  box-shadow: 0 6px 18px #7f5af055;
}
nav a i {
  width: 20px;
  height: 20px;
  color: var(--ui-pink);
}

/* Main Content */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 2rem 3vw 2rem 3vw; /* default bottom padding */
  box-sizing: border-box;
  z-index: 1;
  transition: padding-bottom 0.3s;
}

/* Add this class dynamically when player is shown */
main.player-active {
  padding-bottom: 120px; /* must be at least the player height+shadow */
}

.player {
  display: none;
  position: fixed;
  left: 230px;
  bottom: 0;
  right: 0;
  height: 94px;
  background: var(--ui-bg-player);
  border-top: 3px solid var(--ui-primary);
  align-items: center;
  justify-content: space-between;
  z-index: 20;
  box-shadow: 0 -2px 20px #7f5af033;
  animation: playerBounceIn 1s cubic-bezier(.5,2,.5,1);
  padding: 0 2em;
  transition: background 0.45s;
}
.player.show {
  display: flex;
}

/* Responsive: player bar covers full width on mobile */
@media (max-width: 900px) {
  .player {
    left: 0;
    right: 0;
  }
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  width: 100%;
  flex-shrink: 0;
}

.search {
  width: 60%;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  border: none;
  background: var(--ui-bg-playlist);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, background 0.2s;
}
.search:focus {
  box-shadow: 0 0 0 2px var(--ui-primary);
  background: var(--ui-bg-secondary);
}

#theme-toggle {
  background: var(--ui-tertiary);
  color: var(--ui-bg);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px #ff890644;
}
#theme-toggle:hover {
  background: var(--ui-pink);
  transform: rotate(-9deg) scale(1.1);
}

/* Album & Playlist Section Layout */
.albums-section,
.playlists-section,
.search-results-section {
  width: 100%;
  margin-bottom: 2.5rem;
  flex-shrink: 0;
}

.albums-section h2 {
  background: linear-gradient(90deg, var(--ui-primary) 0%, var(--ui-tertiary) 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 12px #ff890655, 0 1px 0 #0004;
  margin-bottom: 1em;
  letter-spacing: 1.5px;
  font-size: 2.1em;
  font-weight: 800;
  animation: headingFadeIn 1.1s cubic-bezier(.5,2,.5,1);
}

.playlists-section h2 {
  background: linear-gradient(90deg, var(--ui-yellow) 0%, var(--ui-info) 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 12px #f9dc5c55, 0 1px 0 #0004;
  margin-bottom: 1em;
  letter-spacing: 1.5px;
  font-size: 2.1em;
  font-weight: 800;
  animation: headingFadeIn 1.1s cubic-bezier(.5,2,.5,1);
}

@keyframes headingFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96) skewX(-6deg);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) skewX(0);
    filter: blur(0);
  }
}

.albums-grid,
.playlists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.4em;
  width: 100%;
  align-items: start;
}

/* Album Card */
.album-card {
  background: var(--ui-bg-secondary);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s, background 0.18s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 260px;
  max-width: 220px;
  width: 100%;
  padding-bottom: 0.7em;
  position: relative;
  border: 2.5px solid transparent;
  animation: popIn 0.7s cubic-bezier(.5,2,.5,1);
}
@keyframes popIn {
  from {transform: scale(0.92) translateY(15px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}
.album-card:hover {
  transform: translateY(-10px) scale(1.04) rotate(-1deg);
  background: var(--ui-primary);
  box-shadow: 0 10px 32px #2cb67d44;
  border-color: var(--ui-pink);
}
.album-cover {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  margin-bottom: 0.7em;
  box-shadow: 0 2px 12px #0002;
  border-bottom: 2px solid var(--ui-secondary);
}
.album-title {
  font-size: 1.14em;
  font-weight: bold;
  margin: 0.5em 0 0.1em;
  text-align: center;
  color: var(--ui-pink);
  letter-spacing: 0.7px;
}
.album-artist {
  font-size: 0.94em;
  color: var(--text-secondary);
  margin-bottom: 0.45em;
  text-align: center;
}
.album-card .play-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ui-secondary);
  border: none;
  border-radius: 50%;
  padding: 10px;
  color: var(--ui-bg);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  z-index: 2;
  box-shadow: 0 0 0 4px #2cb67d33;
}
.album-card:hover .play-btn {
  opacity: 1;
  transform: scale(1.13);
  background: var(--ui-pink);
}
.play-btn i {
  width: 20px;
  height: 20px;
}

/* Playlist Card Fix: contrast, text visibility */
.playlist-card {
  min-height: 260px;
  max-width: 220px;
  width: 100%;
  background: var(--ui-bg-playlist);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0.7em;
  position: relative;
  border: 2px solid var(--ui-yellow);
}
.playlist-card:hover {
  transform: translateY(-10px) scale(1.04) rotate(1deg);
  background: var(--ui-bg-secondary);
}
.playlist-cover {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  margin-bottom: 0.7em;
  box-shadow: 0 2px 12px #0002;
  border-bottom: 2px solid var(--ui-yellow);
  background: var(--ui-bg-secondary);
}
.playlist-title {
  color: var(--ui-yellow);
  text-shadow: 0 1px 6px #000c;
  font-size: 1.13em;
  font-weight: bold;
  margin: 0.5em 0 0.1em;
  text-align: center;
}
.playlist-meta {
  color: var(--ui-light);
  text-shadow: 0 1px 6px #000c;
  font-size: 0.91em;
  margin-bottom: 0.45em;
  text-align: center;
}
.playlist-card .play-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ui-pink);
  border: none;
  border-radius: 50%;
  padding: 10px;
  color: var(--ui-bg);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
}
.playlist-card:hover .play-btn {
  opacity: 1;
  transform: scale(1.17) rotate(5deg);
  background: var(--ui-info);
}
.playlist-card .play-btn i {
  color: var(--ui-light);
}

/* Playlist Songs Box: constrain width, dark background, visible text */
.search-results-section {
  background: var(--ui-bg-playlist-inner);
  border-radius: 18px;
  box-shadow: 0 6px 20px #7f5af055;
  margin-bottom: 2em;
  animation: fadeInUp 0.7s cubic-bezier(.5,2,.5,1);
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 2em 1em 2em 1.5em;
  overflow-x: auto;
  min-width: 320px;
}
@keyframes fadeInUp {
  from {transform: translateY(30px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.search-results-section h2 {
  color: var(--ui-primary);
  margin-bottom: 1.3em;
  font-size: 1.35em;
  font-weight: bold;
  letter-spacing: 1px;
}
.songs-list {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 1em;
  width: 100%;
  max-width: 900px;
}
.song-row {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.8em 1em;
  border-radius: 12px;
  background: var(--ui-bg-player);
  transition: background 0.2s, transform 0.17s;
  cursor: pointer;
  position: relative;
  border-left: 4px solid var(--ui-secondary);
  box-shadow: 0 2px 8px #23294633;
  width: 100%;
}
.song-row:hover {
  background: var(--ui-primary);
  color: var(--ui-dark);
  transform: scale(1.015);
  border-left: 6px solid var(--ui-primary);
}
.song-cover {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 12px #2cb67d33;
  background: var(--ui-bg-secondary);
}
.song-info {
  flex: 1;
  min-width: 0;
}
.song-title {
  font-weight: 600;
  color: var(--ui-info);
  text-shadow: 0 1px 2px #000d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-artist {
  font-size: 0.93em;
  color: var(--ui-yellow);
  text-shadow: 0 1px 2px #000d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-row .fav-btn {
  background: none;
  border: none;
  color: var(--ui-yellow);
  cursor: pointer;
  font-size: 1.2em;
  margin-left: 0.7em;
  transition: color 0.2s, transform 0.15s;
}
.song-row .fav-btn.faved {
  color: var(--ui-red);
  transform: scale(1.18) rotate(-8deg);
}
.song-row .play-btn {
  background: var(--ui-secondary);
  border: none;
  border-radius: 50%;
  color: var(--ui-bg);
  padding: 0.4em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.song-row .play-btn:hover {
  background: var(--ui-pink);
  transform: scale(1.15);
}

/* Back Button (web/desktop only) */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--ui-primary);
  background: transparent;
  border: none;
  font-size: 1.08em;
  font-weight: 600;
  margin-bottom: 1.8em;
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  padding: 0.25em 0.7em;
}
.back-btn:hover {
  color: var(--ui-pink);
  transform: translateX(-3px) scale(1.1);
}
.back-btn i {
  width: 20px;
  height: 20px;
}

/* Hide back button on home */
.albums-section .back-btn,
.playlists-section .back-btn {
  display: none !important;
}

/* Mobile: always show back button in playlist/song list */
@media (max-width: 800px) {
  .sidebar { display: none; }
  .player { left: 0; right: 0; }
  main { padding-left: 3vw; }
  .back-btn { margin-top: 0.7em; margin-bottom: 1.3em; }
}

.player {
  display: none;
  position: fixed;
  left: 230px;
  bottom: 0;
  right: 0;
  height: 94px;
  background: var(--ui-bg-player);
  border-top: 3px solid var(--ui-primary);
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  box-shadow: 0 -2px 20px #7f5af033;
  animation: playerBounceIn 1s cubic-bezier(.5,2,.5,1);
  padding: 0 2em;
  transition: background 0.45s;
}
.player.show {
  display: flex;
}
@keyframes playerBounceIn {
  from {transform: translateY(120px) scale(0.96); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}
.player .player-controls button {
  background: var(--ui-tertiary);
  border: none;
  color: var(--ui-bg);
  font-size: 2em;
  margin: 0 0.6em;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
  box-shadow: 0 0 0 3px #ff890644;
}
.player .player-controls button:hover {
  background: var(--ui-pink);
  color: var(--ui-light);
  transform: scale(1.1);
}
.player .track-info {
  display: flex;
  align-items: center;
  gap: 1em;
}
.player .cover {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px #7f5af055;
  border: 2px solid var(--ui-primary);
}
.player .track-meta {
  display: flex;
  flex-direction: column;
}
.player .title {
  font-weight: 600;
  color: var(--ui-info);
}
.player .artist {
  font-size: 0.98em;
  color: var(--ui-yellow);
}
.player input[type="range"] {
  margin: 0 1em;
  accent-color: var(--ui-secondary);
  width: 170px;
}
.player .fav-btn {
  background: none;
  border: none;
  color: var(--ui-yellow);
  cursor: pointer;
  font-size: 1.5em;
  margin-left: 0.7em;
  transition: color 0.2s;
}
.player .fav-btn.faved {
  color: var(--ui-red);
}

/* Buttons animation */
.play-btn, .fav-btn {
  animation: btnPop 0.8s cubic-bezier(.5,2,.5,1);
}
@keyframes btnPop {
  from {transform: scale(0.7); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.sidebar-animated-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.note {
  position: absolute;
  color: #7f5af0;
  opacity: 0.12;
  font-size: 2.2em;
  animation: noteFloat 6s linear infinite;
  filter: blur(0.5px);
  font-family: 'Arial', 'Segoe UI', sans-serif;
  will-change: transform, opacity;
}
.note2 { color: #ff8906; font-size: 1.7em; left: 70%; animation-delay: 1.5s;}
.note3 { color: #1DB954; font-size: 2.8em; left: 15%; animation-delay: 3s;}
.note4 { color: #2cb67d; font-size: 1.3em; left: 50%; animation-delay: 2.2s;}
.note5 { color: #f9dc5c; font-size: 2em; left: 80%; animation-delay: 4s;}

@keyframes noteFloat {
  0% {
    transform: translateY(120%);
    opacity: 0.14;
  }
  10% {
    opacity: 0.18;
  }
  70% {
    opacity: 0.15;
    filter: blur(0.7px);
  }
  100% {
    transform: translateY(-60%);
    opacity: 0.08;
  }
}

/* Playlist animated effect styles */
.playlist-animated-effect {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 2em auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  min-height: 120px;
}
.pulse-ring,
.pulse-ring2 {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #7f5af0 30%, transparent 70%);
  opacity: 0.23;
  animation: pulse 2.3s infinite cubic-bezier(.4,0,.2,1);
}
.pulse-ring2 {
  background: radial-gradient(circle, #ff8906 40%, transparent 80%);
  opacity: 0.16;
  animation-delay: 1.15s;
}
@keyframes pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.28;
  }
  70% {
    opacity: 0.13;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}
.playlist-music-icon {
  position: relative;
  z-index: 2;
  font-size: 3.6em;
  color: #7f5af0;
  text-shadow: 0 0 16px #7f5af044, 0 0 8px #ff890633;
  animation: iconFloat 2.2s infinite alternate cubic-bezier(.4,0,.2,1);
}
@keyframes iconFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-14px); }
}
/* Place with your other animation styles */

/* Animated background for playlists section */
.playlist-animated-bg {
  position: relative;
  width: 100%;
  height: 120px;
  margin-bottom: 1.5em;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.playlist-note {
  position: absolute;
  color: #7f5af0;
  opacity: 0.18;
  font-size: 3em;
  animation: playlistNoteFloat 7s linear infinite;
  filter: blur(1px);
  will-change: transform, opacity;
}
.big-note2 { color: #ff8906; font-size: 4.1em; animation-delay: 2.3s; }
.big-note3 { color: #1DB954; font-size: 3.4em; animation-delay: 3.2s; }
.big-note4 { color: #2cb67d; font-size: 3em; animation-delay: 4.7s; }

@keyframes playlistNoteFloat {
  0% {
    transform: translateY(100%);
    opacity: 0.15;
  }
  12% {
    opacity: 0.22;
  }
  60% {
    opacity: 0.18;
    filter: blur(1.2px);
  }
  100% {
    transform: translateY(-80%);
    opacity: 0.08;
  }
} 
.your-playlists-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 3em;
  margin-bottom: 2.5em;
  width: 100%;
}

.playlist-card-area {
  flex: 0 0 auto;
  min-width: 248px;
  max-width: 320px;
}

.playlists-grid {
  width: 100%;
}

.playlist-highlight-info {
  flex: 1 1 340px;
  min-width: 280px;
  max-width: 420px;
  margin: 0;
  align-self: flex-start;
}
.playlist-highlight-info {
  margin-top: 10px;
  margin-bottom: 10px;
  min-width: 260px;
  max-width: 420px;
  min-height: 110px;
  padding: 22px 28px 18px 24px;
  background: linear-gradient(120deg, #181834 65%, #7f5af033 100%);
  border-radius: 18px;
  box-shadow: 0 6px 24px #1db95425;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 2px solid #3a86ff33;
}

.ph-row {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 1.09em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5em;
  letter-spacing: 0.7px;
}

.ph-made {
  color: #7f5af0;
  animation: phFadeInLeft 1.1s cubic-bezier(.47,1.64,.41,.8);
  gap: 0.3em;
}
.ph-heart {
  color: #ff4d6d;
  font-size: 1.3em;
  animation: phHeartBeat 1.9s infinite cubic-bezier(.4,0,.2,1);
  margin: 0 0.1em;
}
.ph-sparkle {
  color: #f9dc5c;
  font-size: 1.15em;
  animation: phSparkle 2.7s infinite linear;
  font-weight: 500;
}
.ph-groove {
  color: #2cb67d;
  font-size: 1.08em;
  animation: phGrooveWiggle 1.7s infinite cubic-bezier(.86,-0.03,.18,1.24);
}

.ph-copyright {
  color: #ff8906;
  font-size: 1.1em;
  gap: 0.3em;
  animation: phFadeIn 1.7s 0.4s both cubic-bezier(.65,.02,.44,1.12);
}
.ph-c-icon {
  font-size: 1.18em;
  color: #7f5af0;
  animation: phSpin 3.2s infinite linear;
}
.ph-mk {
  color: #1db954;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.12em;
  letter-spacing: 1.1px;
  animation: phGlow 2.3s infinite alternate;
}

.ph-powered {
  color: #f9dc5c;
  font-size: 1.06em;
  animation: phFadeInRight 1.1s 0.7s both cubic-bezier(.54,2.14,.25,.8);
  gap: 0.4em;
}
.ph-mandar {
  color: #3a86ff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1.3px;
  animation: phNameSlide 3.1s infinite alternate cubic-bezier(.33,1.53,.55,1.1);
  background: linear-gradient(90deg,#1db954 22%,#7f5af0 54%,#ff8906 93%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
@keyframes phHeartBeat {
  0%,100% { transform: scale(1);}
  18% { transform: scale(1.22);}
  38% { transform: scale(0.93);}
  60% { transform: scale(1.15);}
}
@keyframes phSparkle {
  0%,100% { opacity: 0.8; transform: rotate(-10deg);}
  18% { opacity: 1; transform: rotate(7deg);}
  52% { opacity: 0.6;}
  78% { opacity: 1; transform: rotate(-5deg);}
}
@keyframes phGrooveWiggle {
  0%,100% { transform: rotate(-7deg) scale(1);}
  22% { transform: rotate(7deg) scale(1.1);}
  39% { transform: rotate(-4deg) scale(0.95);}
  61% { transform: rotate(5deg) scale(1.09);}
}
@keyframes phSpin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}
@keyframes phGlow {
  0% { text-shadow: 0 0 0 #1db95444,0 0 0 #7f5af033;}
  60% { text-shadow: 0 0 12px #1db95488,0 0 16px #7f5af055;}
  100% { text-shadow: 0 0 7px #7f5af055,0 0 14px #ff890666;}
}
@keyframes phFadeInLeft {
  from {opacity: 0; transform: translateX(-24px);}
  to {opacity: 1; transform: translateX(0);}
}
@keyframes phFadeIn {
  from {opacity: 0; transform: scale(0.85);}
  to {opacity: 1; transform: scale(1);}
}
@keyframes phFadeInRight {
  from {opacity: 0; transform: translateX(44px);}
  to {opacity: 1; transform: translateX(0);}
}
@keyframes phNameSlide {
  0% { letter-spacing: 0.06em; }
  50% { letter-spacing: 0.23em; }
  100% { letter-spacing: 0.06em; }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .playlist-highlight-info {
    min-width: 0;
    max-width: 94vw;
    padding: 12px 10vw 12px 8vw;
    font-size: 0.96em;
  }
}
@media (max-width: 600px) {
  .playlist-highlight-info {
    padding: 10px 2vw;
    font-size: 0.93em;
    border-radius: 12px;
    min-height: 80px;
  }
  .ph-row { font-size: 0.99em; }
}
.your-playlists-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5em;
  margin-bottom: 2.5em;
}

.playlist-card-area {
  flex: 0 0 auto;
}
@media (max-width: 800px) {
  .your-playlists-flex {
    flex-direction: column;
    gap: 1.2em;
  }
  .playlist-highlight-info {
    max-width: 100%;
    min-width: 0;
  }
}
@media (max-width: 900px) {
  .your-playlists-flex {
    flex-direction: column;
    gap: 1.4em;
  }
  .playlist-highlight-info {
    max-width: 100%;
    min-width: 0;
    margin: 0;
  }
}