/* ==========================================================
   MINSIGHT MUSIC - PREMIUM AURA & GLASSMORPHISM STYLESHEET
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --bg-base: #07090e;
  --bg-surface: rgba(18, 22, 34, 0.65);
  --bg-surface-elevated: rgba(28, 35, 54, 0.75);
  --bg-glass-card: rgba(255, 255, 255, 0.035);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(139, 92, 246, 0.3);
  
  --primary-accent: #8b5cf6;
  --secondary-accent: #06b6d4;
  --accent-glow: rgba(139, 92, 246, 0.45);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --font-main: 'Plus Jakarta Sans', 'Kantumruy Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --dock-height: 94px;
}

html, body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ==========================================================
   LIGHT MODE (NIGHT MODE: OFF) - ផ្ទៃខាងក្រោយពណ៌ស អក្សរខ្មៅ
   ========================================================== */
html.night-mode-off {
  --bg-base: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-glass-card: #ffffff;
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glass-glow: rgba(124, 58, 237, 0.2);
  
  --primary-accent: #7c3aed;
  --secondary-accent: #0284c7;
  --accent-glow: rgba(124, 58, 237, 0.25);
  
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  background-color: #ffffff !important;
}

html.night-mode-off body {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

/* Aura & Mesh in Light Mode - ផ្ទៃខាងក្រោយបង្អស់ពណ៌ស ១០០% */
html.night-mode-off .aura-container {
  background: #ffffff !important;
}

html.night-mode-off .grid-mesh {
  display: none !important;
}

html.night-mode-off .aura-orb {
  display: none !important;
}

html.night-mode-off .hero-glow-bg {
  display: none !important;
}

/* Glass Panels & Top Island */
html.night-mode-off .glass-panel {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.08), 0 6px 16px -3px rgba(15, 23, 42, 0.04) !important;
}

html.night-mode-off .top-island {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  border-radius: 9999px !important;
  box-shadow: 0 14px 34px -8px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.05) !important;
}

/* Brand Name in Light Mode - Crisp Solid Black with No Shadow/Blur */
html.night-mode-off .brand-name-minsight,
html.night-mode-off .brand-name-music {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background: none !important;
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

html.night-mode-off .brand-section:hover .brand-name-minsight,
html.night-mode-off .brand-section:hover .brand-name-music {
  text-shadow: none !important;
  filter: none !important;
}

html.night-mode-off .brand-logo-img {
  filter: invert(1) brightness(0.15) !important;
}

/* Top Island Nav Pills */
html.night-mode-off .nav-pill-btn {
  color: #475569;
}
html.night-mode-off .nav-pill-btn:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.05);
}
html.night-mode-off .nav-pill-btn.active {
  background: #7c3aed;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

/* Search Input - Seamless Rounded Pill */
html.night-mode-off .search-pill-wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
html.night-mode-off .search-input {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  border-radius: 9999px !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}
html.night-mode-off .search-input::placeholder {
  color: #94a3b8;
}
html.night-mode-off .search-input:focus {
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
}
html.night-mode-off .search-icon-inside {
  color: #0f172a !important;
}

html.night-mode-off .search-clear-btn {
  background: rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
}
html.night-mode-off .search-clear-btn:hover {
  background: rgba(15, 23, 42, 0.18) !important;
  color: #000000 !important;
}

/* Search History Dropdown in Light Mode */
html.night-mode-off .search-history-dropdown {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14) !important;
}
html.night-mode-off .search-history-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}
html.night-mode-off .search-history-title {
  color: #64748b !important;
}
html.night-mode-off .btn-clear-all-history {
  color: #64748b !important;
}
html.night-mode-off .btn-clear-all-history:hover {
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
}
html.night-mode-off .search-history-item:hover {
  background: #f1f5f9 !important;
}
html.night-mode-off .search-history-text {
  color: #0f172a !important;
}
html.night-mode-off .btn-delete-history-item {
  color: #94a3b8 !important;
}
html.night-mode-off .btn-delete-history-item:hover {
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
}
html.night-mode-off .search-history-empty {
  color: #64748b !important;
}

/* Action Buttons */
html.night-mode-off .glass-action-btn {
  background: rgba(0, 0, 0, 0.03);
  border: 2px solid #0f172a !important;
  border-radius: 9999px !important;
  color: #0f172a;
}
html.night-mode-off .glass-action-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: #7c3aed !important;
}
html.night-mode-off .user-auth-btn.avatar-only {
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
}
html.night-mode-off .night-mode-btn {
  border: 2px solid #0f172a !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  background: rgba(0, 0, 0, 0.04);
  color: #0f172a;
}
html.night-mode-off .night-mode-btn:hover {
  background: rgba(0, 0, 0, 0.09);
  border-color: #7c3aed !important;
  box-shadow: 0 0 12px rgba(15, 23, 42, 0.12);
}

/* Hero Spotlight */
html.night-mode-off .hero-spotlight {
  background: #ffffff !important;
  border: 2.5px solid #0f172a !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 56px -12px rgba(15, 23, 42, 0.11), 0 10px 24px -5px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03) !important;
}
html.night-mode-off .hero-title {
  color: #0f172a !important;
}
html.night-mode-off .hero-artist-info {
  color: #334155;
}
html.night-mode-off .hero-artist-info strong {
  color: #0f172a !important;
}
html.night-mode-off .hero-lyrics-preview {
  color: #475569 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px 0 !important;
}
html.night-mode-off .hero-btn-play {
  background: #7c3aed;
  color: #ffffff;
}

/* Mood & Section Headers in Light Mode */
html.night-mode-off .section-title {
  color: #0f172a !important;
}
html.night-mode-off .section-subtitle {
  color: #64748b !important;
}

html.night-mode-off .mood-chip-btn {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  border-radius: 9999px !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}
html.night-mode-off .mood-chip-btn:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #7c3aed !important;
}
html.night-mode-off .mood-chip-btn.active {
  background: #7c3aed !important;
  color: #ffffff !important;
  border: 2px solid #0f172a !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3) !important;
}

/* Song Cards */
html.night-mode-off .song-card {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.07), 0 4px 10px -2px rgba(15, 23, 42, 0.04) !important;
}
html.night-mode-off .song-card:hover {
  background: #ffffff !important;
  border-color: #7c3aed !important;
  box-shadow: 0 20px 42px -10px rgba(15, 23, 42, 0.12), 0 8px 18px -4px rgba(15, 23, 42, 0.06) !important;
}
html.night-mode-off .song-card.now-playing {
  background: #fbf5ff !important;
  border: 2.5px solid #7c3aed !important;
  box-shadow: 0 14px 32px -6px rgba(124, 58, 237, 0.22), 0 6px 14px -3px rgba(124, 58, 237, 0.12) !important;
}
html.night-mode-off .card-title {
  color: #0f172a !important;
}
html.night-mode-off .card-artist {
  color: #475569 !important;
}
html.night-mode-off .card-footer {
  color: #64748b;
  border-top-color: rgba(15, 23, 42, 0.12);
}

/* Floating Player Bar */
html.night-mode-off .floating-player-bar {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 2px solid #0f172a !important;
  border-radius: 9999px !important;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.15), 0 10px 24px -5px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}
html.night-mode-off .player-track-title {
  color: #0f172a !important;
}
html.night-mode-off .player-track-artist {
  color: #475569 !important;
}
html.night-mode-off .player-ctrl-btn {
  color: #475569;
}
html.night-mode-off .player-ctrl-btn:hover {
  color: #0f172a;
}
/* Player Sliders: Volume & Timeline in Light Mode */
html.night-mode-off #volumeIcon {
  color: #0f172a !important;
  stroke: #0f172a !important;
}

html.night-mode-off .volume-slider-track {
  background: rgba(15, 23, 42, 0.12) !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
  height: 6px !important;
  border-radius: 9999px !important;
}

html.night-mode-off .volume-wrapper:hover .volume-slider-track,
html.night-mode-off .volume-slider-track:active {
  background: rgba(15, 23, 42, 0.18) !important;
  height: 8px !important;
}

html.night-mode-off .volume-slider-fill {
  background: #0f172a !important;
  border-radius: 9999px !important;
}

html.night-mode-off .custom-slider-track {
  background: rgba(15, 23, 42, 0.12) !important;
  border: 1px solid rgba(15, 23, 42, 0.15) !important;
  height: 6px !important;
  border-radius: 9999px !important;
}

html.night-mode-off .custom-slider-track:hover {
  height: 8px !important;
}

html.night-mode-off .slider-thumb {
  background: #0f172a !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3) !important;
}

html.night-mode-off .time-stamp {
  color: #475569 !important;
}

/* Modals & Lyrics Drawer */
html.night-mode-off .modal-content,
html.night-mode-off .lyrics-drawer,
html.night-mode-off .profile-modal-card,
html.night-mode-off .notification-dropdown {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  color: #0f172a;
}
html.night-mode-off .drawer-title,
html.night-mode-off .modal-title,
html.night-mode-off .auth-modal-title,
html.night-mode-off .text-notif-title {
  color: #0f172a !important;
}
html.night-mode-off .lyrics-line {
  color: #64748b;
}
html.night-mode-off .lyrics-line.active {
  color: #7c3aed !important;
  background: rgba(124, 58, 237, 0.08);
}
html.night-mode-off .notif-item {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
html.night-mode-off .notif-title {
  color: #0f172a !important;
}

/* User Profile & Auth Modal Form Controls in Light Mode */
html.night-mode-off .profile-modal-card,
html.night-mode-off .auth-modal-card,
html.night-mode-off .modal-card {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  color: #0f172a !important;
}

html.night-mode-off .profile-name {
  color: #0f172a !important;
}

html.night-mode-off .profile-phone-text {
  color: #475569 !important;
}

html.night-mode-off .profile-stat-box {
  background: #f8fafc !important;
  border: 1.5px solid #0f172a !important;
}

html.night-mode-off .stat-num {
  color: #0f172a !important;
}

html.night-mode-off .stat-lbl {
  color: #64748b !important;
}

html.night-mode-off .form-group-custom label {
  color: #0f172a !important;
}

html.night-mode-off .input-with-icon input,
html.night-mode-off .form-group-custom input,
html.night-mode-off .form-select-custom,
html.night-mode-off .form-group-custom textarea {
  background: #ffffff !important;
  border: 1.5px solid #0f172a !important;
  color: #0f172a !important;
}

html.night-mode-off .input-with-icon input:focus,
html.night-mode-off .form-group-custom input:focus,
html.night-mode-off .form-select-custom:focus {
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

html.night-mode-off .form-select-custom option {
  background: #ffffff !important;
  color: #0f172a !important;
}

html.night-mode-off .profile-accordion-box {
  background: #f8fafc !important;
  border: 1.5px solid #0f172a !important;
}

html.night-mode-off .btn-profile-accordion {
  color: #0f172a !important;
}

html.night-mode-off .profile-modal-body,
html.night-mode-off .auth-modal-body {
  color: #0f172a !important;
}

html.night-mode-off .auth-tab-btn {
  color: #64748b !important;
  border-bottom-color: rgba(15, 23, 42, 0.1) !important;
}

html.night-mode-off .auth-tab-btn.active {
  color: #7c3aed !important;
  border-bottom-color: #7c3aed !important;
}

/* Admin Dashboard in Light Mode */
html.night-mode-off .admin-sidebar {
  background: rgba(255, 255, 255, 0.94);
  border-right: 2px solid #0f172a !important;
}
html.night-mode-off .admin-nav-item {
  color: #475569;
}
html.night-mode-off .admin-nav-item:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.04);
}
html.night-mode-off .admin-nav-item.active {
  background: #7c3aed;
  color: #ffffff;
}
html.night-mode-off .admin-page-title {
  color: #0f172a !important;
}
html.night-mode-off .admin-page-desc {
  color: #475569;
}
html.night-mode-off .stat-card {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
html.night-mode-off .stat-val {
  color: #0f172a !important;
}
html.night-mode-off .stat-label {
  color: #64748b;
}
html.night-mode-off .data-table-container {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
html.night-mode-off .admin-table th {
  background: #f8fafc;
  color: #475569;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
html.night-mode-off .admin-table td {
  color: #0f172a;
  border-bottom-color: rgba(0, 0, 0, 0.05);
}
html.night-mode-off .admin-table tr:hover td {
  background: #f8fafc;
}
html.night-mode-off .admin-search-input {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  border-radius: 9999px !important;
  color: #0f172a;
}
html.night-mode-off .admin-form-group input,
html.night-mode-off .admin-form-group select,
html.night-mode-off .admin-form-group textarea {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  border-radius: 12px !important;
  color: #0f172a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  user-select: none;
}

/* ==========================================================
   DYNAMIC AURA GLOW BACKGROUND
   ========================================================== */
.aura-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #111424 0%, #07090e 75%);
}

.aura-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  transition: all 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.aura-orb-1 {
  width: 650px;
  height: 650px;
  top: -150px;
  left: 15%;
  background: var(--primary-accent);
}

.aura-orb-2 {
  width: 550px;
  height: 550px;
  top: 35%;
  right: -100px;
  background: var(--secondary-accent);
  animation-duration: 22s;
  animation-delay: -5s;
}

.aura-orb-3 {
  width: 480px;
  height: 480px;
  bottom: 50px;
  left: 20%;
  background: #ec4899;
  opacity: 0.25;
  animation-duration: 26s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.12); }
  100% { transform: translate(-40px, 70px) scale(0.95); }
}

/* Subtle Grid Pattern Overlay */
.grid-mesh {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================
   APP SHELL LAYOUT
   ========================================================== */
.app-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: calc(var(--dock-height) + 30px);
}

/* Glassmorphism utility */
.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
}

/* ==========================================================
   FLOATING TOP NAVIGATION ISLAND
   ========================================================== */
.top-island {
  position: sticky;
  top: 14px;
  margin: 0 auto;
  width: calc(100% - 48px);
  max-width: 1320px;
  padding: 0 22px;
  height: 64px;
  min-height: 64px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 50;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px var(--accent-glow)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brand-section:hover .brand-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 22px var(--primary-accent)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.8));
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  white-space: nowrap;
  padding-bottom: 2px;
  overflow: visible;
}

.brand-name-minsight {
  color: #ffffff;
  display: inline-block;
  line-height: 1.25;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
  overflow: visible;
}

.brand-name-music {
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1.25;
  padding-bottom: 2px;
  font-weight: 700;
  filter: drop-shadow(0 0 8px var(--accent-glow));
  transition: all 0.3s ease;
  overflow: visible;
}

.brand-section:hover .brand-name-minsight {
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.brand-section:hover .brand-name-music {
  filter: drop-shadow(0 0 14px var(--primary-accent));
}

.brand-logo-gem {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--accent-glow);
  position: relative;
  overflow: hidden;
}

.brand-logo-gem svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.18);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
  letter-spacing: 0.5px;
}

/* Nav Pills */
.nav-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 40px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.nav-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.nav-pill-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.nav-pill-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.nav-pill-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-accent), rgba(139, 92, 246, 0.75));
  box-shadow: 0 2px 12px var(--accent-glow);
}

/* Search Bar */
.search-pill-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 290px;
  height: 40px;
  box-sizing: border-box;
}

.search-input {
  width: 100%;
  height: 40px;
  padding: 0 34px 0 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--primary-accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.search-icon-inside {
  position: absolute;
  left: 14px;
  width: 15px;
  height: 15px;
  stroke: var(--text-dim);
  pointer-events: none;
}

/* Clear Button (✕) */
.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
  z-index: 3;
}
.search-clear-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

/* Search History Dropdown */
.search-history-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(15, 20, 32, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  padding: 8px 0;
  z-index: 100;
  overflow: hidden;
  animation: fadeInDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.search-history-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.btn-clear-all-history {
  background: transparent;
  border: none;
  font-size: 0.72rem;
  color: var(--text-dim);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.btn-clear-all-history:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
}

.search-history-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 4px 0;
}

.search-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.search-history-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.search-history-query-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.search-history-icon {
  font-size: 0.85rem;
  opacity: 0.6;
  flex-shrink: 0;
}

.search-history-text {
  font-size: 0.86rem;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.btn-delete-history-item {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.75rem;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  opacity: 0.7;
}
.btn-delete-history-item:hover {
  color: #f87171;
  opacity: 1;
  background: rgba(239, 68, 68, 0.15);
}

.search-history-empty {
  padding: 16px 14px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.glass-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.glass-action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Compact Language Toggle Button (Senghour Store Style) */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  box-sizing: border-box;
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
  transform: translateY(-1px);
}

.lang-globe-icon {
  width: 15px;
  height: 15px;
  stroke: #38bdf8;
  flex-shrink: 0;
  display: inline-block;
}

/* Night Mode Toggle Button (ON = Normal Colors, OFF = Black & White) */
.night-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.12);
  color: #fff;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  box-sizing: border-box;
}

.night-mode-text {
  display: none !important;
}

.night-mode-icon {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.night-mode-btn:hover {
  background: rgba(139, 92, 246, 0.22);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.3);
  transform: translateY(-1px);
}

.night-mode-btn.is-off {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.night-mode-btn.is-off:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.15);
}

.night-mode-icon {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.night-mode-btn:hover .night-mode-icon {
  transform: rotate(15deg) scale(1.1);
}

.lang-btn-text {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.01em;
  display: inline-block;
  line-height: 1;
}

.btn-upload-accent {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(139, 92, 246, 0.25));
  border-color: rgba(6, 182, 212, 0.4);
  color: #38bdf8;
}

.btn-upload-accent:hover {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.35), rgba(139, 92, 246, 0.4));
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

/* ==========================================================
   MAIN CONTENT AREA
   ========================================================== */
.main-wrapper {
  max-width: 1320px;
  width: calc(100% - 48px);
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

/* ==========================================================
   HERO SPOTLIGHT & VINYL DISC SECTION
   ========================================================== */
.hero-spotlight {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-glow-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.6;
  transition: background 1s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-pill-tag {
  display: none !important;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseBlink 2s infinite;
}

@keyframes pulseBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}

.hero-artist-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-artist-info strong {
  color: #fff;
}

.hero-lyrics-preview {
  font-size: 1rem;
  color: #cbd5e1;
  font-style: italic;
  padding: 4px 0;
  background: transparent;
  border: none;
  max-width: 560px;
  line-height: 1.6;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-hero-play {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-accent), #7c3aed);
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px var(--accent-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-play:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 14px 36px var(--accent-glow);
}

.btn-hero-like {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-hero-like:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
}

.btn-hero-like.liked {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.15);
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.35);
}

/* Vinyl Player Interactive Widget */
.hero-vinyl-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.vinyl-composition {
  position: relative;
  width: 320px;
  height: 320px;
}

.vinyl-album-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 260px;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.4s ease;
}

.vinyl-album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vinyl-disc {
  position: absolute;
  right: 0;
  top: 15px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, #222 15%, #050505 45%, #181818 70%, #000 100%);
  border: 2px solid #333;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateX(45px);
}

.vinyl-disc::before {
  content: '';
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.vinyl-disc-center {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 4px solid #111;
  position: relative;
}

.vinyl-disc-center::after {
  content: '';
  position: absolute;
  inset: calc(50% - 6px);
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%;
  border: 1px solid #444;
}

/* Vinyl Spinning when playing */
.hero-vinyl-wrapper.is-playing .vinyl-disc {
  transform: translateX(75px) rotate(360deg);
  animation: spinVinyl 6s linear infinite;
}

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

/* Canvas Visualizer Overlay in Hero */
.hero-visualizer-box {
  position: absolute;
  bottom: 15px;
  left: 40px;
  right: 40px;
  height: 55px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 12%, rgba(0, 0, 0, 1) 88%, transparent 100%);
}

.hero-visualizer-box canvas {
  width: 100%;
  height: 100%;
}

/* ==========================================================
   MOOD & GENRE CHIPS BAR
   ========================================================== */
.mood-bar-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  padding-bottom: 4px;
}

.section-subtitle {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.mood-chips-row {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px 2px;
  scrollbar-width: none;
}

.mood-chips-row::-webkit-scrollbar {
  display: none;
}

.mood-chip-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.mood-chip-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-2px);
}

.mood-chip-btn.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(6, 182, 212, 0.2));
  border-color: var(--primary-accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* ==========================================================
   MUSIC CARDS GRID
   ========================================================== */
.songs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.song-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 16px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  overflow: hidden;
}

.song-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.song-card.now-playing {
  border-color: var(--primary-accent);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.15) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.card-cover-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.card-cover-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.song-card:hover .card-play-overlay,
.song-card.now-playing .card-play-overlay {
  opacity: 1;
}

.btn-card-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-accent);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: scale(0.85);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.song-card:hover .btn-card-play {
  transform: scale(1);
}

.btn-card-play:hover {
  transform: scale(1.12);
  background: #9333ea;
}

.card-genre-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-artist {
  font-size: 0.88rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.card-like-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.card-like-btn:hover {
  color: #f43f5e;
  transform: scale(1.15);
}

.card-like-btn.liked {
  color: #f43f5e;
}

/* ==========================================================
   MINSIGHT FLOATING PLAYER BAR (BOTTOM DOCK)
   ========================================================== */
.floating-player-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1280px;
  height: var(--dock-height);
  border-radius: var(--radius-lg);
  background: rgba(13, 17, 28, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  z-index: 100;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  align-items: center;
  padding: 0 24px;
  gap: 20px;
  transition: all 0.3s ease;
}

/* Player Left: Track Details */
.player-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.player-thumb-box {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.player-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-track-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.player-track-title {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-track-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-heart-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.player-heart-btn:hover {
  color: #f43f5e;
  transform: scale(1.15);
}

.player-heart-btn.liked {
  color: #f43f5e;
}

/* Player Center: Controls & Timeline */
.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.player-button-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.player-ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 6px;
  border-radius: 50%;
}

.player-ctrl-btn:hover {
  color: #fff;
  transform: scale(1.12);
}

.player-ctrl-btn.active {
  color: var(--primary-accent);
  position: relative;
}

.player-ctrl-btn.active:not(#repeatBtn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-accent);
}

/* ==========================================================
   DISTINCT 3-STAGE REPEAT BUTTON INDICATORS
   ========================================================== */
#repeatBtn {
  position: relative;
}

.repeat-badge-one {
  display: none;
  position: absolute;
  top: 1px;
  right: -1px;
  font-size: 0.58rem;
  font-weight: 800;
  font-family: inherit;
  line-height: 1;
  background: #38bdf8;
  color: #07090e;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.9);
  pointer-events: none;
}

/* Stage 1: Repeat All (Purple Accent + Glowing Dot) */
#repeatBtn.repeat-all {
  color: #a78bfa;
}

#repeatBtn.repeat-all::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 8px #a78bfa;
}

/* Stage 2: Repeat One (Cyan Accent + Distinct Badge '1') */
#repeatBtn.repeat-one {
  color: #38bdf8;
}

#repeatBtn.repeat-one .repeat-badge-one {
  display: flex;
}

#repeatBtn.repeat-one::after {
  display: none !important;
}

.btn-main-play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #07090e;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-main-play:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.5);
}

/* Progress Slider */
.timeline-row {
  width: 100%;
  max-width: 580px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.time-stamp {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  min-width: 38px;
  text-align: center;
}

.custom-slider-track {
  position: relative;
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.custom-slider-track:hover {
  height: 7px;
}

.slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
  border-radius: var(--radius-full);
  pointer-events: none;
  box-shadow: 0 0 10px var(--accent-glow);
}

.slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.custom-slider-track:hover .slider-thumb {
  opacity: 1;
}

/* Player Right: Visualizer mode, Lyrics, Volume */
.player-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.volume-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 125px;
  user-select: none;
}

#volumeIcon {
  cursor: pointer;
  color: var(--text-dim);
  transition: transform 0.15s ease, color 0.2s ease;
  flex-shrink: 0;
}

#volumeIcon:hover {
  transform: scale(1.15);
  color: #fff;
}

.volume-slider-track {
  position: relative;
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  cursor: pointer;
  touch-action: none;
  user-select: none;
  transition: height 0.15s ease, background 0.2s ease;
}

.volume-slider-track::before {
  content: '';
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: 0;
  right: 0;
}

.volume-wrapper:hover .volume-slider-track,
.volume-slider-track:active {
  height: 6px;
  background: rgba(255, 255, 255, 0.32);
}

.volume-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 80%;
  background: #ffffff;
  border-radius: var(--radius-full);
  pointer-events: none;
}

/* ==========================================================
   LYRICS & KARAOKE FLOATING MODAL
   ========================================================== */
.lyrics-drawer {
  position: fixed;
  right: 24px;
  bottom: calc(var(--dock-height) + 32px);
  width: 360px;
  height: 480px;
  border-radius: var(--radius-lg);
  background: rgba(14, 18, 30, 0.92);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  z-index: 90;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lyrics-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-title {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
}

.drawer-close-btn:hover {
  color: #fff;
}

.lyrics-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-behavior: smooth;
}

.lyrics-line {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.5;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.lyrics-line:hover {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.lyrics-line.active {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  text-shadow: 0 0 16px var(--accent-glow);
  background: rgba(139, 92, 246, 0.15);
  border-left: 3px solid var(--primary-accent);
}

/* ==========================================================
   IMPORT / UPLOAD MODAL
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 90%;
  max-width: 460px;
  background: var(--bg-surface-elevated);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drop-zone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.02);
}

.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--primary-accent);
  background: rgba(139, 92, 246, 0.1);
}

/* ==========================================================
   LIVE REAL-TIME SYNC TOAST
   ========================================================== */
.live-sync-toast {
  position: fixed;
  top: 96px;
  right: 28px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.live-sync-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ==========================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================== */
@media (max-width: 980px) {
  .top-island {
    width: calc(100% - 24px);
    padding: 8px 16px;
    min-height: 64px;
  }
  .brand-logo-img {
    height: 48px;
    max-width: 120px;
  }
  .brand-name {
    font-size: 1.15rem;
  }
  .nav-pills {
    display: none; /* Collapsed on mobile */
  }
  .search-pill-wrapper {
    flex: 1;
  }
  .hero-spotlight {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-lyrics-preview {
    border: none;
    text-align: center;
  }
  .hero-controls {
    justify-content: center;
  }
  .hero-vinyl-wrapper {
    margin-top: 10px;
  }
  .floating-player-bar {
    grid-template-columns: 1fr auto;
    height: 80px;
    padding: 0 16px;
    bottom: 8px;
    width: calc(100% - 16px);
  }
  .player-center {
    display: none;
  }
  .player-right .volume-wrapper {
    display: none;
  }
  .lyrics-drawer {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 96px;
  }
}

@media (max-width: 600px) {
  .brand-name {
    display: none; /* Keep just the logo on ultra small screens for clean layout */
  }
}

/* ====================================================
   USER PLAYLISTS & CURATION STYLES
   ==================================================== */
.card-playlist-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.card-playlist-btn:hover {
  color: var(--primary-accent);
  background: rgba(139, 92, 246, 0.15);
  transform: scale(1.15);
}

.playlists-section {
  display: none;
  margin-top: 20px;
}
.playlists-section.active {
  display: block;
}

.playlists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

.user-playlist-card {
  background: var(--bg-surface);
  backdrop-filter: blur(var(--blur-strong));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.user-playlist-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 16px 36px var(--accent-glow);
}

.user-playlist-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.user-playlist-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.user-playlist-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-playlist-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.user-playlist-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.user-playlist-create-card {
  border: 2px dashed rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  cursor: pointer;
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-smooth);
}
.user-playlist-create-card:hover {
  border-color: var(--primary-accent);
  background: rgba(139, 92, 246, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px var(--accent-glow);
}
.playlist-create-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-accent);
  margin-bottom: 12px;
  transition: all var(--transition-fast);
}
.user-playlist-create-card:hover .playlist-create-icon {
  transform: scale(1.1) rotate(90deg);
  background: var(--primary-accent);
  color: #fff;
}

/* Playlist Detail Banner */
.playlist-banner {
  display: flex;
  gap: 26px;
  align-items: flex-end;
  padding: 28px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(6, 182, 212, 0.08));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.playlist-banner-cover {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}
.playlist-banner-meta {
  flex: 1;
}
.playlist-banner-tag {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.playlist-banner-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
  line-height: 1.2;
}
.playlist-banner-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 650px;
}
.playlist-banner-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-playlist-play {
  background: linear-gradient(135deg, var(--primary-accent), #a855f7);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px var(--accent-glow);
}
.btn-playlist-play:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn-playlist-delete {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.btn-playlist-delete:hover {
  background: rgba(244, 63, 94, 0.25);
  border-color: #f43f5e;
}

.btn-playlist-back {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  margin-bottom: 16px;
}
.btn-playlist-back:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Checklist in Add to Playlist Modal */
.playlist-picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  margin-bottom: 10px;
  transition: all var(--transition-fast);
}
.playlist-picker-item:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.4);
}
.playlist-picker-item.in-playlist {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--primary-accent);
}

.playlist-picker-thumb {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  margin-right: 12px;
}

@media (max-width: 768px) {
  .playlist-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .playlist-banner-actions {
    justify-content: center;
  }
}

/* ==========================================================
   USER AUTH & PROFILE SYSTEM (SENGHOUR STORE PROTOCOL)
   ========================================================== */

/* Header User Auth Button */
.user-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}
.user-auth-btn.avatar-only {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
  gap: 0;
}
.user-auth-btn.avatar-only .text-user-auth-btn {
  display: none !important;
}
.user-auth-btn.avatar-only .user-avatar-mini {
  width: 30px;
  height: 30px;
  font-size: 0.9rem;
  font-weight: 700;
}
.user-auth-btn * {
  pointer-events: none;
}
.user-auth-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}
.user-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.user-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.verified-icon-badge {
  font-size: 0.9rem;
  line-height: 1;
  filter: drop-shadow(0 0 4px #10b981);
}

/* Auth Modal Card */
.auth-modal-card {
  max-width: 440px;
  width: 100%;
  background: rgba(15, 20, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(139, 92, 246, 0.2);
  overflow: hidden;
  padding: 0;
  backdrop-filter: blur(25px);
}
.auth-modal-header {
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.8), rgba(15, 23, 42, 0.9));
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-icon-gem {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Auth Segmented Tabs (Sign In / Register / Forgot Password) */
.auth-tabs-segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  margin: 16px 22px 0 22px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}
.auth-tab-btn {
  padding: 9px 8px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: #a1a1aa;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.auth-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.auth-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-accent), #7c3aed);
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
}

/* Prominent Forgot Password Link Button */
.link-forgot-btn {
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: #c4b5fd !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
}
.link-forgot-btn:hover {
  background: rgba(139, 92, 246, 0.32);
  border-color: #a78bfa;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.auth-modal-body {
  padding: 20px 22px 24px 22px;
}
.auth-form-pane {
  display: flex;
  flex-direction: column;
}

/* Form Groups & Inputs */
.form-group-custom {
  margin-bottom: 14px;
}
.form-group-custom label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.input-prefix-icon {
  position: absolute;
  left: 12px;
  font-size: 1rem;
  pointer-events: none;
  opacity: 0.8;
}
.input-with-icon input,
.form-group-custom input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}
.input-with-icon input:focus,
.form-group-custom input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-accent);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}
.btn-password-peek {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all var(--transition-fast);
}
.btn-password-peek:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* SIM Operator Live Badge (Senghour Store Protocol) */
.sim-carrier-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  transition: all var(--transition-fast);
}
.sim-carrier-badge.sim-smart {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}
.sim-carrier-badge.sim-cellcard {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}
.sim-carrier-badge.sim-metfone {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.register-security-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  font-size: 0.78rem;
  color: #a5f3fc;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* Buttons */
.btn-auth-submit {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-accent), #7c3aed);
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
  margin-top: 4px;
}
.btn-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5);
}
.btn-demo-fill {
  margin-top: 12px;
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.btn-demo-fill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--primary-accent);
}
.link-btn-text {
  background: transparent;
  border: none;
  color: var(--primary-accent);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}
.link-btn-text:hover {
  text-decoration: underline;
  color: #c4b5fd;
}
.btn-secondary-custom {
  padding: 11px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}
.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-accent);
}

/* ==================== USER PROFILE MODAL ==================== */
.profile-modal-card {
  max-width: 540px;
  width: 100%;
  background: rgba(15, 20, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(139, 92, 246, 0.25);
  overflow: hidden;
  padding: 0;
  backdrop-filter: blur(25px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.profile-cover-banner {
  position: relative;
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
  overflow: hidden;
  flex-shrink: 0;
}
.profile-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 20, 32, 0.9) 0%, transparent 60%);
}
.btn-cover-change {
  position: absolute;
  bottom: 12px;
  right: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}
.btn-cover-change:hover {
  background: rgba(0, 0, 0, 0.75);
  border-color: var(--primary-accent);
}
.profile-close-floating {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
}

.profile-header-meta {
  position: relative;
  padding: 0 24px;
  margin-top: -46px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.profile-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}
.profile-avatar-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  border: 3px solid rgba(15, 20, 32, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 25px rgba(139, 92, 246, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  overflow: hidden;
  color: #fff;
}
.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.btn-avatar-camera {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-accent);
  border: 2px solid #0f1420;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transition: all var(--transition-fast);
}
.btn-avatar-camera:hover {
  transform: scale(1.1);
  background: #7c3aed;
}

.profile-title-block {
  padding-bottom: 8px;
}
.profile-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}
.profile-phone-text {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-family: monospace;
}
.profile-badge-verified {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.profile-badge-verified.unverified {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}
.profile-badge-verified.unverified:hover {
  background: rgba(245, 158, 11, 0.25);
  transform: scale(1.03);
}

.profile-modal-body {
  padding: 0 24px 24px 24px;
  overflow-y: auto;
}
.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.profile-stat-box {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}
.stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-select-custom {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}
.form-select-custom option {
  background: #0f1420;
  color: #fff;
}

.profile-accordion-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 18px;
}
.btn-profile-accordion {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.btn-profile-accordion:hover {
  color: #fff;
}

.profile-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}
.btn-profile-logout {
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.btn-profile-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
}
.btn-profile-save {
  padding: 11px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-accent), #7c3aed);
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.35);
  transition: all var(--transition-fast);
}
.btn-profile-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* ==================== TELEGRAM / SMS OTP VERIFY MODAL ==================== */
.verify-modal-card {
  max-width: 440px;
  width: 100%;
  background: rgba(15, 20, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(6, 182, 212, 0.25);
  overflow: hidden;
  padding: 0;
  backdrop-filter: blur(25px);
}
.verify-modal-header {
  padding: 18px 22px;
  background: linear-gradient(135deg, #0369a1, #0284c7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.verify-icon-gem {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.verify-modal-body {
  padding: 20px 22px 24px 22px;
}

.verify-account-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  margin-bottom: 14px;
}
.verify-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.2);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.sim-carrier-badge-mini {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 5px;
}

.verify-instruct-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.btn-telegram-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
  transition: all var(--transition-fast);
  margin-bottom: 14px;
}
.btn-telegram-open:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.5);
}

.live-otp-simulator-box {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 16px;
}
.btn-copy-code {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-copy-code:hover {
  background: rgba(16, 185, 129, 0.35);
}
.otp-code-highlight {
  font-family: monospace;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 6px;
  color: #10b981;
  text-align: center;
  margin: 6px 0;
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.otp-input-large {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-glass);
  color: #fff;
  font-family: monospace;
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 12px;
  transition: all var(--transition-fast);
}
.otp-input-large:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.verify-timer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 18px 0;
  font-size: 0.8rem;
}
.verify-timer-text {
  color: var(--text-dim);
  font-family: monospace;
}
.btn-resend-link {
  background: transparent;
  border: none;
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-resend-link:disabled {
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-verify-submit {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #059669, #10b981);
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
  transition: all var(--transition-fast);
}
.btn-verify-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5);
}

/* ==========================================================
   NOTIFICATION CENTER & REAL-TIME NEW SONG TOAST
   ========================================================== */
.notification-box {
  position: relative;
}

.notification-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0b0f19;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.7);
  animation: notifPulse 2s infinite ease-in-out;
}

@keyframes notifPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.9);
  }
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 330px;
  max-height: 420px;
  background: rgba(14, 18, 30, 0.96);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(139, 92, 246, 0.15);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: dropdownFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification-dropdown.open {
  display: flex;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  gap: 8px;
}

.notif-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  white-space: nowrap;
}

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

/* Toggle Pill for Enable / Disable Notifications */
.notif-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 3px 8px 3px 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.notif-toggle-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.notif-toggle-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  user-select: none;
}

.notif-toggle-track {
  width: 26px;
  height: 14px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  position: relative;
  display: inline-block;
  transition: background 0.25s ease;
}

.notif-toggle-thumb {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.notif-toggle-pill.on .notif-toggle-track {
  background: #10b981;
}

.notif-toggle-pill.on .notif-toggle-thumb {
  transform: translateX(12px);
}

.notif-toggle-pill.on .notif-toggle-label {
  color: #10b981;
}

.notif-toggle-pill.off .notif-toggle-track {
  background: rgba(255, 255, 255, 0.16);
}

.notif-toggle-pill.off .notif-toggle-thumb {
  transform: translateX(0);
}

.notif-toggle-pill.off .notif-toggle-label {
  color: var(--text-dim);
}

.notification-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.notification-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.notification-btn.muted svg {
  color: var(--text-dim);
  opacity: 0.65;
}

.notification-btn.muted {
  border-color: rgba(255, 255, 255, 0.08);
}

.notification-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s;
}

.notification-clear-btn:hover {
  color: #ef4444;
}

.notification-list {
  padding: 8px;
  overflow-y: auto;
  max-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notification-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.notification-item:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateX(3px);
}

.notification-item.unread {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
}

.notification-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.notification-item-info {
  flex: 1;
  min-width: 0;
}

.notification-item-title {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.notification-item-artist {
  color: var(--text-dim);
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-item-time {
  font-size: 0.7rem;
  color: #a78bfa;
  margin-top: 3px;
  display: block;
}

.btn-notif-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

.notification-item:hover .btn-notif-play {
  background: var(--primary-accent);
  color: #fff;
  transform: scale(1.1);
}

/* Floating Real-Time New Song Toast */
.new-song-toast {
  position: fixed;
  top: 90px;
  right: 24px;
  width: 360px;
  background: rgba(15, 20, 35, 0.95);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(139, 92, 246, 0.25);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateX(130%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.new-song-toast.show {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.new-song-toast-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.15s;
}

.new-song-toast-close:hover {
  color: #fff;
}

.new-song-toast-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #a78bfa;
}

.notif-pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7;
  animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

.new-song-toast-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.new-song-toast-cover {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.new-song-toast-info {
  flex: 1;
  min-width: 0;
}

.new-song-toast-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.new-song-toast-artist {
  color: var(--text-dim);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.new-song-toast-genre {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.68rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.new-song-toast-actions {
  display: flex;
}

.btn-toast-play {
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
  transition: all 0.2s;
}

.btn-toast-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(139, 92, 246, 0.6);
}
