/* ============================================================
   Rose Music Platform — Web Player CSS (Mockup Realignment)
   ============================================================ */

:root {
  /* AuraFlow Neon Cyan & Purple/Magenta Design System Mapping */
  --rose-primary:      #00F5D4; /* Vibrant Cyan/Teal */
  --rose-primary-hsl:  172, 100%, 48%;
  --rose-secondary:    #D500F9; /* Neon Magenta */
  --rose-secondary-hsl: 291, 100%, 49%;
  --rose-glow:         rgba(0, 245, 212, 0.25);
  --rose-glow-strong:  rgba(0, 245, 212, 0.55);
  
  /* AuraFlow True Glassmorphism Backdrop & Panel Colors */
  --bg-base:           #080914; 
  --bg-gradient:       linear-gradient(180deg, #121324 0%, #080914 100%);
  --bg-sidebar:        rgba(13, 16, 36, 0.45); /* Frosted dark glass base */
  --bg-elevated:       rgba(13, 16, 36, 0.35); /* Card frosted glass base */
  --bg-highlight:      rgba(255, 255, 255, 0.05); /* Hover highlight state */
  --border:            rgba(255, 255, 255, 0.08); /* Thin luminous border */
  --border-light:      rgba(255, 255, 255, 0.16); /* Hover thin luminous border */
  
  /* Text */
  --text-1:            #ffffff; /* Crisp white */
  --text-2:            #9092B0; /* Muted lavender/cool gray */
  --text-3:            #676880; /* Dark muted */
  --success:           #10b981; 
  --danger:            #ef4444; 
  
  /* Layout Dimensions */
  --sidebar-w:         260px;
  --nowplaying-w:      340px; /* Now Playing Right Panel Width */
  --player-h:          96px; /* Increased slightly for visual layout spacing */
  --header-h:          76px;
  --border-radius:     20px; /* Frosted glass panel border radius */
  
  /* Glassmorphism filters */
  --glass-blur:        24px;
  --glass-saturation:  120%;
}/* ============================================================
   BASE RESET & TYPOGRAPHY
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(at 0% 100%, rgba(0, 245, 212, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(138, 43, 226, 0.15) 0px, transparent 50%),
    radial-gradient(at 80% 100%, rgba(213, 0, 249, 0.1) 0px, transparent 40%),
    linear-gradient(180deg, #121324 0%, #080914 100%);
  background-attachment: fixed;
  color: var(--text-1);
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: var(--sidebar-w) 1fr var(--nowplaying-w);
  grid-template-areas: "sidebar main nowplaying";
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-name, .hero-logo-text, .artist-name, .login-title, .page-title {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.16); }

/* ============================================================
   SIDEBAR (Purple-tinted & Glassmorphic)
   ============================================================ */
.web-sidebar {
  grid-area: sidebar;
  background: var(--bg-sidebar);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--border);
  position: relative;
  z-index: 20;
}

.sidebar-brand {
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.brand-icon {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-icon .rose-logo-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px rgba(255, 51, 102, 0.65));
}

.brand-icon .rose-logo-svg * {
  stroke: var(--rose-primary);
}

.brand-name {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.sidebar-nav-section {
  padding: 20px 0;
  flex-shrink: 0;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  background: none;
  width: calc(100% - 24px);
  margin: 0 12px 4px;
  text-align: left;
  position: relative;
  border-radius: 12px;
  border: 1px solid transparent;
}

.sidebar-nav-link i { 
  font-size: 20px; 
  width: 22px; 
  text-align: center;
  transition: transform 0.2s ease;
}

.sidebar-nav-link:hover {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.03);
}

.sidebar-nav-link.active {
  color: var(--text-1);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-nav-link.active i {
  color: var(--rose-primary);
  filter: drop-shadow(0 0 5px var(--rose-glow));
}

/* Library section */
.sidebar-library {
  flex: 1;
  overflow-y: auto;
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.library-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 12px;
}

.library-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.library-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.library-item:hover { 
  background: rgba(255, 255, 255, 0.03); 
}

.library-item-cover {
  width: 40px; height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-highlight);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.library-item-info { min-width: 0; }
.library-item-name { 
  font-size: 13.5px; 
  font-weight: 600; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}
.library-item-meta { 
  font-size: 11.5px; 
  color: var(--text-2); 
  margin-top: 2px; 
}

.sidebar-profile {
  margin-top: auto;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.sidebar-profile:hover {
  background: rgba(255, 255, 255, 0.05);
}
.sidebar-profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-primary) 0%, var(--rose-secondary) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.2);
}
.sidebar-profile-info {
  min-width: 0;
  flex: 1;
}
.sidebar-profile-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-profile-sub {
  font-size: 11px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* ============================================================
   MAIN CONTENT AREA & TOPBAR
   ============================================================ */
.web-main {
  grid-area: main;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: transparent;
  position: relative;
}

.web-topbar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 20px;
  flex-shrink: 0;
  background: transparent;
  position: relative;
  z-index: 10;
}

.topbar-nav-btns { display: flex; }

.topbar-nav-btn {
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.2s ease;
}

.topbar-nav-btn:hover { 
  color: var(--text-1);
}

.topbar-search {
  flex: 1;
  max-width: 320px;
  position: relative;
}

.topbar-search input {
  width: 100%;
  background: rgba(25, 20, 35, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-1);
  border-radius: 99px;
  padding: 10px 16px 10px 44px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.topbar-search input:focus {
  outline: none;
  border-color: rgba(255, 51, 102, 0.3);
  background: rgba(25, 20, 35, 0.6);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.1);
}

.topbar-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-2);
  font-size: 18px;
  pointer-events: none;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.btn-playlists-pill {
  background: rgba(25, 20, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-1);
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
}

.btn-playlists-pill:hover {
  background: rgba(25, 20, 35, 0.85);
  border-color: rgba(255, 51, 102, 0.25);
  transform: translateY(-1px);
}

.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-primary) 0%, var(--rose-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

/* ============================================================
   PAGE LAYOUT TRANSITIONS & DASHBOARD VIEW
   ============================================================ */
.web-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 32px 140px; /* Large bottom padding for floating player */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.web-content.loaded {
  opacity: 1;
  transform: translateY(0);
}

.dashboard-top-row {
  display: grid;
  grid-template-columns: 1.3fr 1.7fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* ============================================================
   HERO BANNER (Mockup centered outline logo)
   ============================================================ */
.hero-banner {
  height: 310px;
  border-radius: 20px;
  background: rgba(20, 15, 30, 0.35);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 51, 102, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-logo-large {
  width: 110px;
  height: 110px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 16px rgba(255, 51, 102, 0.8));
}

.hero-logo-large .rose-logo-svg {
  width: 100%; height: 100%;
}

.hero-logo-large .rose-logo-svg * {
  stroke: var(--rose-primary);
  stroke-width: 2.5px;
}

.hero-logo-text {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  text-transform: capitalize;
  text-shadow: 0 0 15px rgba(255, 51, 102, 0.85);
  position: relative;
  z-index: 1;
}

.top-songs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ============================================================
   SONG CARDS (Premium Mockup Styling)
   ============================================================ */
.song-card {
  background: var(--bg-elevated);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.song-card:hover {
  background: rgba(31, 34, 61, 0.4);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--rose-glow);
}

.song-card-cover {
  width: 100%;
  aspect-ratio: 1.8; /* Widescreen aspect for card covers in dashboard grid */
  border-radius: 12px;
  background: var(--bg-highlight);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* For non-widescreen grid items fallback */
.song-grid .song-card-cover {
  aspect-ratio: 1;
}

.song-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

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

.song-card-play-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 40px; height: 40px;
  background: var(--rose-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(255, 51, 102, 0.4);
  border: none;
  cursor: pointer;
  z-index: 11;
}

.song-card-add-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px; height: 32px;
  background: rgba(10, 10, 15, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  opacity: 0;
  transform: translateY(-8px) scale(0.9);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--border);
  cursor: pointer;
  backdrop-filter: blur(4px);
  z-index: 10;
}

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

.song-card-add-btn:hover {
  background: var(--rose-primary);
  border-color: var(--rose-primary);
}

.song-card-title {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.song-card-artist {
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   SONG LIST (Table Redesign with glowing active row)
   ============================================================ */
.song-list-header {
  display: grid;
  grid-template-columns: 60px 1.8fr 1.2fr 80px 100px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 850;
  color: var(--text-3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.song-list-row {
  display: grid;
  grid-template-columns: 60px 1.8fr 1.2fr 80px 100px;
  padding: 10px 24px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: transparent;
  border: 1.5px solid transparent;
  margin-bottom: 6px;
}

.song-list-row:hover { 
  background: rgba(255, 255, 255, 0.025); 
}

/* Mockup Highlighted currently playing active row */
.song-list-row.playing { 
  background: rgba(25, 20, 35, 0.4); 
  border-color: var(--rose-primary);
  box-shadow: 0 0 12px rgba(255, 51, 102, 0.4);
}

.song-list-row .track-num {
  font-size: 14px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.song-list-row.playing .track-num { 
  color: var(--rose-primary); 
  font-weight: 800;
  text-shadow: 0 0 5px var(--rose-glow);
}

.song-list-info { display: flex; align-items: center; gap: 16px; min-width: 0; }

.song-list-cover {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-highlight);
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.song-list-title { 
  font-size: 14px; 
  font-weight: 650; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  color: var(--text-1);
}
.song-list-artist { 
  font-size: 12px; 
  color: var(--text-2); 
  margin-top: 3px; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}
.song-list-album { 
  font-size: 13.5px; 
  color: var(--text-2); 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}
.song-list-duration { 
  font-size: 13.5px; 
  color: var(--text-2); 
  font-variant-numeric: tabular-nums;
}

.like-btn {
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.like-btn:hover { color: var(--rose-primary); }
.like-btn.liked  { color: var(--rose-primary); }
.like-btn:active { transform: scale(1.2); }

/* ============================================================
   FLOATING PLAYER BAR (Mockup absolute floating card)
   ============================================================ */
.web-player {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  height: var(--player-h);
  background: rgba(14, 10, 20, 0.72);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255,255,255,0.06);
  display: grid;
  grid-template-columns: 1.3fr 2fr 1.3fr;
  align-items: center;
  padding: 0 24px;
  z-index: 100;
}

/* Now Playing left side with spinning record */
.player-now-playing {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.player-vinyl-container {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-cover {
  width: 100%; height: 100%;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-elevated);
  z-index: 2;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* Vinyl Disc sticking out and spinning */
.player-vinyl-disc {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #2d2d2d 30%, #000 60%, #1f1f1f 70%, #000 90%);
  z-index: 1;
  right: -18px; /* Sticks out slightly to the right */
  top: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

/* Inner groove styling for the vinyl disc */
.player-vinyl-disc::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.05);
}

.player-vinyl-disc.playing {
  animation: spinVinyl 6s linear infinite;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.player-track-info { min-width: 0; margin-left: 20px; } /* Push info slightly to clear vinyl disc overlap */
.player-track-name { 
  font-size: 14px; 
  font-weight: 700; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  color: var(--text-1);
}
.player-track-artist { 
  font-size: 12px; 
  color: var(--text-2); 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  margin-top: 2px; 
}

.player-like {
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 6px;
}
.player-like:hover { color: var(--rose-primary); }
.player-like.liked { color: var(--rose-primary); }

/* Center player controls */
.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.player-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ctrl-btn {
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 20px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  padding: 4px;
}
.ctrl-btn:hover { color: var(--text-1); transform: scale(1.08); }
.ctrl-btn.active { color: var(--rose-primary); filter: drop-shadow(0 0 4px var(--rose-glow)); }

.play-pause-btn {
  width: 46px; height: 46px;
  background: var(--text-1);
  border: none;
  border-radius: 50%;
  color: var(--bg-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.play-pause-btn:hover {
  transform: scale(1.08);
  background: var(--text-1);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4), 0 0 10px var(--rose-glow);
}
.play-pause-btn i {
  color: var(--bg-base);
  font-size: 24px;
}

/* Progress Slider */
.player-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.time-label { 
  font-size: 11px; 
  color: var(--text-2); 
  min-width: 32px; 
  font-variant-numeric: tabular-nums; 
}
.time-label.right { text-align: right; }

.progress-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.progress-track:hover { height: 6px; }

.progress-fill {
  height: 100%;
  background: var(--rose-primary);
  box-shadow: 0 0 8px var(--rose-glow);
  border-radius: 99px;
  position: relative;
  pointer-events: none;
}

.progress-thumb {
  width: 10px; height: 10px;
  background: var(--text-1);
  border-radius: 50%;
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) scale(1);
  box-shadow: 0 0 6px var(--rose-glow);
  transition: transform 0.15s ease;
}
.progress-track:hover .progress-thumb { 
  transform: translateY(-50%) scale(1.25);
  background: #ffffff;
}

/* Right Controls (Volume, Queue) */
.player-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

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

.volume-btn {
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 18px;
  transition: color 0.2s;
}
.volume-btn:hover { color: var(--rose-primary); }

.volume-slider {
  -webkit-appearance: none;
  width: 84px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  outline: none;
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-1);
  cursor: pointer;
  box-shadow: 0 0 6px var(--rose-glow);
  transition: transform 0.15s ease;
}
.volume-slider:hover::-webkit-slider-thumb {
  background: var(--text-1);
  transform: scale(1.25);
}

/* ============================================================
   ARTIST & ALBUM PAGE styling
   ============================================================ */
.artist-hero {
  height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  margin: 0 -32px 32px;
  background: linear-gradient(135deg, #120921 0%, #07070a 100%);
}
.artist-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.artist-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-base) 0%, transparent 100%);
}

.artist-info { position: relative; z-index: 1; }
.artist-verified { 
  font-size: 12px; 
  font-weight: 700; 
  color: var(--rose-primary); 
  letter-spacing: 1.5px; 
  text-transform: uppercase; 
  margin-bottom: 10px; 
  display: flex; 
  align-items: center; 
  gap: 8px; 
}
.artist-name { 
  font-size: 56px; 
  font-weight: 900; 
  line-height: 1; 
  margin-bottom: 16px; 
  letter-spacing: -2px;
}
.artist-followers { font-size: 14.5px; color: var(--text-2); }

.btn-rose {
  background: linear-gradient(135deg, var(--rose-primary), var(--rose-secondary));
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px var(--rose-glow);
}
.btn-rose:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--rose-glow-strong);
}

.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text-1);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
}

/* ============================================================
   PREMIUM LOGIN PAGE (Full Glassmorphic Card)
   ============================================================ */
.web-login-page {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050508;
  position: relative;
  overflow: hidden;
}

.web-login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 51, 102, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
}

.web-login-card {
  background: rgba(16, 16, 23, 0.6);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px 44px;
  width: 400px;
  position: relative;
  z-index: 10;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}

.login-header { text-align: center; margin-bottom: 32px; }
.login-logo-container {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  filter: drop-shadow(0 0 8px rgba(255, 51, 102, 0.75));
}
.login-logo-container .rose-logo-svg * {
  stroke: var(--rose-primary);
  stroke-width: 2.5px;
}
.login-title {
  font-size: 30px;
  font-weight: 950;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.login-subtitle { color: var(--text-2); font-size: 14px; }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 850;
  color: var(--text-2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14.5px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: rgba(255, 51, 102, 0.4);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.15);
}

.login-error-msg { color: var(--danger); font-size: 13.5px; margin-bottom: 16px; text-align: center; }

.btn-login-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--rose-primary) 0%, var(--rose-secondary) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 13px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 20px rgba(255, 51, 102, 0.3);
}
.btn-login-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.5);
}

.login-footer-text { text-align: center; margin-top: 24px; color: var(--text-3); font-size: 13px; }

/* ============================================================
   LOADING SCREEN & SPINNER
   ============================================================ */
.loading-spinner { display: flex; align-items: center; justify-content: center; padding: 80px; }
.spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(255,255,255,0.06);
  border-top-color: var(--rose-primary);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   QUEUE PANEL (Glassmorphism Sidebar Overlay)
   ============================================================ */
.queue-panel {
  position: fixed;
  right: 0; top: 0; bottom: 0; /* Fully overlay top to bottom */
  width: 320px;
  background: rgba(16, 12, 24, 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid var(--border);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0,0,0,0.5);
}

.queue-panel.open { transform: translateX(0); }
.queue-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.queue-title { font-size: 18px; font-weight: 850; font-family: 'Outfit', sans-serif; }
.queue-list { flex: 1; overflow-y: auto; padding: 12px 8px; }
.queue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 10px;
  margin-bottom: 4px;
}
.queue-item:hover { background: rgba(255, 255, 255, 0.04); }
.queue-item.active { 
  background: rgba(255, 51, 102, 0.08); 
  border: 1.5px solid rgba(255, 51, 102, 0.25);
}
.queue-item-cover { 
  width: 40px; height: 40px; 
  border-radius: 6px; 
  object-fit: cover; 
  background: var(--bg-highlight); 
  flex-shrink: 0; 
}
.queue-item-title { 
  font-size: 13.5px; 
  font-weight: 600; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}
.queue-item-artist { font-size: 11.5px; color: var(--text-2); margin-top: 2px; }
.queue-item-close { 
  background: none; border: none; color: var(--text-3); cursor: pointer; 
  font-size: 18px; margin-left: auto; flex-shrink: 0; padding: 4px;
}
.queue-item-close:hover { color: var(--danger); }

/* ============================================================
   TOAST (Premium Glassmorphic Alerts)
   ============================================================ */
.web-toast-container { position: fixed; bottom: calc(var(--player-h) + 40px); right: 24px; z-index: 9999; }
.web-toast {
  background: rgba(16, 16, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  color: var(--text-1);
  font-size: 13.5px;
  font-weight: 600;
  min-width: 240px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
@keyframes slideUp {
  from { transform: translateY(30px) scale(0.9); opacity: 0; }
  to   { transform: translateY(0) scale(1);    opacity: 1; }
}
.web-toast.success { border-color: rgba(16, 185, 129, 0.35); color: #a7f3d0; }
.web-toast.success i { color: var(--success); }
.web-toast.error   { border-color: rgba(239, 68, 68, 0.35); color: #fecaca; }
.web-toast.error i { color: var(--danger); }

/* ============================================================
   RESPONSIVE LAYOUTS
   ============================================================ */
@media (max-width: 900px) {
  body { grid-template-columns: 0 1fr; }
  .web-sidebar { display: none; }
  .dashboard-top-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .top-songs-grid { grid-template-columns: 1fr; }
  .player-now-playing { max-width: 120px; }
  .player-right { display: none; }
  .song-list-header, .song-list-row { grid-template-columns: 40px 1fr 100px; }
  .song-list-album, .song-list-duration { display: none; }
  .web-topbar { padding: 0 16px; }
  .web-content { padding: 0 16px 140px; }
}

/* ============================================================
   PLAYLIST ACTIONS & DROPDOWNS
   ============================================================ */
.song-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.playlist-row-action {
  background: none; border: none; color: var(--text-3); cursor: pointer;
  font-size: 18px; transition: all 0.15s ease; display: flex; align-items: center; justify-content: center; padding: 4px;
}
.playlist-row-action:hover { color: var(--text-1); }
.playlist-row-action.danger:hover { color: var(--danger); }

.playlist-dropdown-menu {
  background: rgba(20, 20, 28, 0.85);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  min-width: 210px;
  overflow: hidden;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.playlist-dropdown-menu .dropdown-header {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.playlist-dropdown-menu .dropdown-item {
  background: none; border: none; color: var(--text-2); width: 100%; padding: 10px 16px;
  text-align: left; font-size: 13.5px; cursor: pointer; display: flex; align-items: center; gap: 10px;
  transition: all 0.2s ease; font-family: 'Inter', sans-serif; font-weight: 500;
}
.playlist-dropdown-menu .dropdown-item:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-1); }

/* User Dropdown */
#user-dropdown {
  box-shadow: 0 15px 40px rgba(0,0,0,0.6) !important;
  background: rgba(20, 20, 28, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--border) !important;
}
#user-dropdown button { transition: all 0.2s ease; font-weight: 500; }
#user-dropdown button:hover { background: rgba(255,255,255,0.05) !important; }

/* ============================================================
   NOW PLAYING SIDE PANEL (AuraFlow Frosted Glass Card)
   ============================================================ */
.web-now-playing {
  grid-area: nowplaying;
  background: var(--bg-sidebar);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.now-playing-header {
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.now-playing-title {
  font-size: 16px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--text-1);
}

.btn-icon-dots {
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: color 0.2s;
}
.btn-icon-dots:hover {
  color: var(--text-1);
}

.now-playing-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  padding-bottom: 140px; /* space for bottom player */
}

.now-playing-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.now-playing-scrollable {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.now-playing-cover-wrapper {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 15px rgba(138, 43, 226, 0.1);
  border: 1px solid var(--border);
}

.now-playing-large-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.now-playing-meta {
  text-align: left;
}

.now-playing-song-title {
  font-size: 22px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-1);
  line-height: 1.2;
}

.now-playing-song-artist {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 4px;
}

.now-playing-details-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.detail-label {
  color: var(--text-2);
  font-weight: 500;
}

.detail-value {
  color: var(--text-1);
  font-weight: 600;
  text-align: right;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing-lyrics-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.lyrics-header-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lyrics-content-preview {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 12px;
  padding: 16px;
  border: 1px dashed var(--border);
  max-height: 180px;
  overflow-y: auto;
}
.lyrics-placeholder {
  font-style: italic;
  color: var(--text-3);
}

.now-playing-footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.now-playing-link-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-1);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
}
.now-playing-link-btn:hover {
  background: var(--bg-highlight);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}
.now-playing-link-btn i {
  font-size: 18px;
  color: var(--text-2);
}

/* ============================================================
   WAVEFORM VISUALIZER
   ============================================================ */
.player-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
  margin-left: 20px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.player-waveform.animating {
  opacity: 1;
}
.waveform-bar {
  width: 3px;
  border-radius: 1.5px;
  background: linear-gradient(180deg, var(--rose-primary) 0%, var(--rose-secondary) 100%);
  height: 10px;
  transition: height 0.15s ease;
}
.player-waveform.animating .waveform-bar {
  animation: bounceBar 1s ease-in-out infinite alternate;
}
.player-waveform.animating .waveform-bar:nth-child(2n) { animation-delay: 0.1s; animation-duration: 0.8s; }
.player-waveform.animating .waveform-bar:nth-child(3n) { animation-delay: 0.2s; animation-duration: 1.2s; }
.player-waveform.animating .waveform-bar:nth-child(4n) { animation-delay: 0.3s; animation-duration: 0.9s; }
.player-waveform.animating .waveform-bar:nth-child(5n) { animation-delay: 0.4s; animation-duration: 1.1s; }

@keyframes bounceBar {
  0% { height: 6px; }
  100% { height: 32px; }
}

/* Responsive grid overrides */
@media (max-width: 1150px) {
  body {
    grid-template-columns: var(--sidebar-w) 1fr 0px;
  }
  .web-now-playing {
    display: none;
  }
}
@media (max-width: 900px) {
  body {
    grid-template-columns: 0px 1fr 0px;
  }
  .web-sidebar {
    display: none;
  }
}

/* ============================================================
   MINI PLAYER (Floating Draggable Widget)
   ============================================================ */
.mini-player {
  position: fixed;
  top: 100px;
  right: 40px;
  width: 280px;
  background: rgba(13, 10, 25, 0.85);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 245, 212, 0.1);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.mini-player:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 245, 212, 0.2);
}

.mini-player-header {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: grab;
  user-select: none;
}

.mini-player-drag-indicator {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mini-player-drag-indicator i {
  font-size: 13px;
  color: var(--rose-primary);
}

.mini-player-close, .mini-player-add {
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mini-player-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.mini-player-add:hover {
  background: rgba(0, 245, 212, 0.15);
  color: var(--rose-primary);
}

.mini-player-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mini-player-cover-container {
  width: 90px;
  height: 90px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.mini-player-cover {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  animation: spinVinyl 12s linear infinite paused;
  transition: transform 0.3s ease;
}

.mini-player-cover.playing {
  animation-play-state: running;
}

.mini-player-info {
  text-align: center;
  width: 100%;
}

.mini-player-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
  font-family: 'Outfit', sans-serif;
}

.mini-player-artist {
  font-size: 11px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.mini-time-label {
  font-size: 9px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  min-width: 24px;
}

.mini-time-label.right {
  text-align: right;
}

.mini-progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  cursor: pointer;
  position: relative;
  transition: height 0.15s ease;
}

.mini-progress-track:hover {
  height: 5px;
}

.mini-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-primary) 0%, var(--rose-secondary) 100%);
  border-radius: 99px;
  position: relative;
  pointer-events: none;
}

.mini-progress-thumb {
  width: 8px;
  height: 8px;
  background: var(--text-1);
  border-radius: 50%;
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  box-shadow: 0 0 4px var(--rose-primary);
  transition: transform 0.15s ease;
}

.mini-progress-track:hover .mini-progress-thumb {
  transform: translateY(-50%) scale(1.25);
}

.mini-player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.mini-ctrl-btn {
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  padding: 4px;
}

.mini-ctrl-btn:hover {
  color: var(--text-1);
  transform: scale(1.1);
}

.mini-play-btn {
  width: 36px;
  height: 36px;
  background: var(--text-1);
  border: none;
  border-radius: 50%;
  color: var(--bg-base);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mini-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 14px rgba(255, 255, 255, 0.3), 0 0 8px var(--rose-glow);
}

.mini-play-btn i {
  color: var(--bg-base);
  font-size: 18px;
}

.mini-player-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: 2px;
  justify-content: center;
}

.mini-volume-btn {
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 14px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.mini-volume-btn:hover {
  color: var(--rose-primary);
}

.mini-volume-slider {
  -webkit-appearance: none;
  width: 60px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  outline: none;
}

.mini-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-1);
  cursor: pointer;
  box-shadow: 0 0 4px var(--rose-primary);
  transition: transform 0.15s ease;
}

.mini-volume-slider:hover::-webkit-slider-thumb {
  transform: scale(1.25);
}

