/* ==========================================================================
   VEGARIX SOUND — SPOTIFY-GRADE LUXURY STYLESHEET
   Supports 5 Dynamic Color Themes, Real SPA Views, Responsive Mobile & Tablet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Default: Spotify Iconic Green */
  --accent-color: #1ed760;
  --accent-hover: #1fdf64;
  --accent-glow: rgba(30, 215, 96, 0.35);
  --accent-dim: rgba(30, 215, 96, 0.12);

  --bg-main: #121212;
  --bg-sidebar: #000000;
  --bg-card: #181818;
  --bg-card-hover: #282828;
  --bg-elevated: #242424;
  --bg-player: rgba(18, 18, 18, 0.95);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(30, 215, 96, 0.3);

  --text-main: #ffffff;
  --text-muted: #b3b3b3;
  --text-dim: #727272;

  --sidebar-w: 260px;
  --player-h: 90px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 4px;
}

/* Theme 1: Neon Amethyst */
[data-theme="neon"] {
  --accent-color: #a855f7;
  --accent-hover: #c084fc;
  --accent-glow: rgba(168, 85, 247, 0.4);
  --accent-dim: rgba(168, 85, 247, 0.15);
  --border-glow: rgba(168, 85, 247, 0.35);
}

/* Theme 2: Electric Cyan */
[data-theme="cyan"] {
  --accent-color: #00f2fe;
  --accent-hover: #38bdf8;
  --accent-glow: rgba(0, 242, 254, 0.4);
  --accent-dim: rgba(0, 242, 254, 0.15);
  --border-glow: rgba(0, 242, 254, 0.35);
}

/* Theme 3: Velvet Rose */
[data-theme="rose"] {
  --accent-color: #f43f5e;
  --accent-hover: #fb7185;
  --accent-glow: rgba(244, 63, 94, 0.4);
  --accent-dim: rgba(244, 63, 94, 0.15);
  --border-glow: rgba(244, 63, 94, 0.35);
}

/* Theme 4: 24K Champagne Gold */
[data-theme="gold"] {
  --accent-color: #ffd700;
  --accent-hover: #ffe58f;
  --accent-glow: rgba(255, 215, 0, 0.4);
  --accent-dim: rgba(255, 215, 0, 0.15);
  --border-glow: rgba(255, 215, 0, 0.35);
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  user-select: none;
}

/* Background Ambient Glow */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 60% 10%, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.25;
  transition: background 0.8s ease;
}

.app-layout {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* ==========================================================================
   Sidebar Navigation
   ========================================================================== */
.sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  gap: 18px;
  flex-shrink: 0;
  z-index: 20;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  display: block;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-color);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px 0;
}

.nav-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  padding: 0 12px 6px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.nav-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
  color: #fff;
  background: #282828;
}

.nav-btn.active svg {
  color: var(--accent-color);
  stroke: var(--accent-color);
}

.liked-badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(135deg, #450af5, #c4efd9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.liked-count-badge {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 12px;
}

.sidebar-footer {
  margin-top: auto;
}

.card-pro {
  background: linear-gradient(180deg, #242424 0%, #181818 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pro-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: 1px;
}

.pro-quality {
  font-size: 10px;
  font-weight: 700;
  background: var(--accent-color);
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
}

.pro-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Main Content Container
   ========================================================================== */
.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  position: relative;
  padding-bottom: var(--player-h);
  background: var(--bg-main);
}

/* Top App Bar */
.top-nav-bar {
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border-subtle);
  gap: 20px;
}

.top-search-box {
  flex: 1;
  max-width: 440px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.top-search-box input {
  width: 100%;
  height: 40px;
  background: #242424;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 0 40px;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.top-search-box input:focus {
  outline: none;
  border-color: #fff;
  background: #2a2a2a;
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 14px;
}

.search-results-dropdown {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  background: #242424;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 32px rgba(0,0,0,0.6);
  max-height: 280px;
  overflow-y: auto;
  z-index: 50;
  border: 1px solid var(--border-subtle);
}

.search-drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-drop-item:hover {
  background: #333333;
}

.search-drop-thumb {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
}

/* Theme Pills Bar */
.top-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-pills-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #242424;
  padding: 4px;
  border-radius: 24px;
  border: 1px solid var(--border-subtle);
}

.theme-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-pill:hover {
  color: #fff;
}

.theme-pill.active {
  background: #333333;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.btn-icon-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  background: #242424;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon-pill:hover, .btn-icon-pill.active {
  color: #000;
  background: var(--accent-color);
  border-color: transparent;
}

/* Scroll Viewport */
.scroll-viewport {
  flex: 1;
  overflow-y: auto;
  padding: 28px 32px 60px;
  scroll-behavior: smooth;
}

.scroll-viewport::-webkit-scrollbar {
  width: 8px;
}
.scroll-viewport::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* SPA Views */
.spa-view {
  display: none;
}
.spa-view.active {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Home View Components
   ========================================================================== */
.greeting-header {
  margin-bottom: 20px;
}
.greeting-text {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* 6 Quick Pick Cards */
.quick-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.quick-pick-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.quick-pick-card:hover {
  background: rgba(255, 255, 255, 0.18);
}

.quick-pick-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}

.quick-pick-title {
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.quick-pick-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
}

.quick-pick-card:hover .quick-pick-play-btn {
  opacity: 1;
  transform: scale(1);
}

/* Hero Billboard */
.featured-hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 32px;
  margin-bottom: 36px;
  background: #181818;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--border-subtle);
}

.hero-bg-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) brightness(0.3);
  transform: scale(1.1);
  z-index: 0;
}

.hero-overlay-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-cover-art {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.hero-cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-meta-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-tag-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: 1.5px;
}

.hero-song-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-artist-name {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.btn-hero-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 28px;
  background: var(--accent-color);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-hero-play:hover {
  transform: scale(1.05);
}

.btn-hero-like {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

/* Station Chips */
.station-chips-row {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.station-chip {
  padding: 8px 18px;
  border-radius: 20px;
  background: #242424;
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.station-chip:hover {
  background: #2f2f2f;
}

.station-chip.active {
  background: #fff;
  color: #000;
}

/* Spotify Card Grid */
.section-row-header {
  margin-bottom: 16px;
}

.shelf-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.spotify-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.spotify-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
}

.spotify-card:hover {
  background: var(--bg-card-hover);
}

.card-art-box {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.card-art-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-play-hover {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

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

.card-play-hover:hover {
  transform: scale(1.08);
}

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

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

/* ==========================================================================
   Spotify Table / List View
   ========================================================================== */
.spotify-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.table-row {
  display: grid;
  grid-template-columns: 40px 48px 1fr 140px 80px 90px;
  align-items: center;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.table-row:hover {
  background: rgba(255, 255, 255, 0.1);
}

.table-row.active {
  background: rgba(255, 255, 255, 0.15);
}

.table-col-index {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 700;
}

.table-row.active .table-col-index {
  color: var(--accent-color);
}

/* Animated Soundwave for active song */
.soundwave-box {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.soundwave-box span {
  width: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  animation: bounce 0.8s infinite ease-in-out alternate;
}

.soundwave-box span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.soundwave-box span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.soundwave-box span:nth-child(3) { height: 10px; animation-delay: 0.2s; }

@keyframes bounce {
  from { height: 3px; }
  to { height: 14px; }
}

.table-col-thumb {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

.table-col-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  padding-right: 16px;
}

.table-title {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-row.active .table-title {
  color: var(--accent-color);
}

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

.table-album {
  font-size: 13px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-dur {
  font-size: 13px;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

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

.btn-table-icon:hover {
  color: #fff;
  transform: scale(1.1);
}

.btn-table-icon.liked {
  color: var(--accent-color);
}

/* ==========================================================================
   VIEW 2: Charts Header & Badges
   ========================================================================== */
.charts-header-banner {
  background: linear-gradient(180deg, #1e3264 0%, #121212 100%);
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.charts-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-color);
}

.charts-big-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.charts-sub-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.charts-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
}

.btn-big-green-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 32px;
  background: var(--accent-color);
  color: #000;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-big-green-play:hover {
  transform: scale(1.05);
}

.chart-lang-toggle {
  display: flex;
  gap: 8px;
}

.chip-sm {
  padding: 6px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.chip-sm.active {
  background: #fff;
  color: #000;
}

/* ==========================================
   VIEW 3: Search & Genre Tiles
   ========================================== */
.search-page-header {
  margin-bottom: 28px;
}
.search-page-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}
.search-page-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.genres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.genre-tile {
  height: 120px;
  border-radius: 8px;
  padding: 18px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.genre-tile:hover {
  transform: scale(1.04);
}

/* ==========================================
   VIEW 4: My Library
   ========================================== */
.library-header-box {
  margin-bottom: 28px;
}
.library-header-box h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
}
.library-header-box p {
  color: var(--text-muted);
  font-size: 14px;
}

.library-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.library-card {
  background: #181818;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.library-card:hover {
  background: #242424;
}

.liked-card {
  background: linear-gradient(135deg, #450af5 0%, #8e8ee5 100%);
}
.liked-card:hover {
  opacity: 0.95;
}

.liked-heart-symbol {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.new-playlist-card {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  background: transparent;
}
.new-playlist-card:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.plus-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #242424;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 300;
}

/* ==========================================
   VIEW 5: Liked Songs Dedicated View
   ========================================== */
.liked-hero-banner {
  background: linear-gradient(180deg, #5038a0 0%, #121212 100%);
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}

.liked-hero-art {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  background: linear-gradient(135deg, #450af5, #8e8ee5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  flex-shrink: 0;
}

.playlist-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.liked-main-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 4px 0 8px;
}

.liked-owner-info {
  font-size: 14px;
  color: var(--text-muted);
}

.liked-action-bar {
  margin-bottom: 24px;
}

/* ==========================================================================
   Spotify Bottom Player Bar
   ========================================================================== */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-h);
  background: var(--bg-player);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 99;
}

/* Left: Track Meta */
.player-left {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 280px;
  min-width: 200px;
}

.player-cover-box {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  flex-shrink: 0;
  cursor: pointer;
}

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

.player-meta-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.player-track-name {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-artist-name {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-player-heart {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  transition: all 0.2s ease;
}

.btn-player-heart:hover {
  color: #fff;
}

.btn-player-heart.liked {
  color: var(--accent-color);
}

/* Center Controls */
.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 580px;
}

.controls-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-ctrl {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}

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

.btn-ctrl.active {
  color: var(--accent-color);
}

.btn-master-play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--accent-glow);
  transition: transform 0.2s ease;
}

.btn-master-play:hover {
  transform: scale(1.08);
}

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

.time-text {
  font-size: 11px;
  color: var(--text-dim);
  min-width: 30px;
  font-variant-numeric: tabular-nums;
}

.slider-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
}

.progress-range, .volume-range {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
}

.progress-range:hover, .volume-range:hover {
  height: 6px;
}

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

.progress-range:hover::-webkit-slider-thumb, .volume-range:hover::-webkit-slider-thumb {
  opacity: 1;
  background: var(--accent-color);
}

/* Right Tools */
.player-right {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 280px;
  justify-content: flex-end;
}

.btn-tool {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.btn-tool:hover {
  color: #fff;
}

.volume-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 110px;
}

/* ==========================================================================
   Slide-out EQ Drawer
   ========================================================================== */
.eq-drawer {
  position: fixed;
  right: -360px;
  top: 0;
  bottom: 0;
  width: 340px;
  background: #181818;
  border-left: 1px solid var(--border-subtle);
  z-index: 120;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.7);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.eq-drawer.open {
  right: 0;
}

.drawer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-top-bar h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent-color);
}

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

.eq-sliders-container {
  display: flex;
  justify-content: space-between;
  height: 160px;
  padding: 10px 0;
}

.eq-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.eq-vert {
  -webkit-appearance: slider-vertical;
  writing-mode: bt-lr;
  width: 8px;
  flex: 1;
  accent-color: var(--accent-color);
  cursor: pointer;
}

.eq-band span {
  font-size: 11px;
  color: var(--text-dim);
  font-weight: 700;
}

.presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.preset-pill {
  padding: 6px 12px;
  border-radius: 16px;
  background: #242424;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-pill:hover, .preset-pill.active {
  background: var(--accent-color);
  color: #000;
}

/* ==========================================================================
   Fullscreen Karaoke Modal
   ========================================================================== */
.lyrics-fullscreen-modal {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 150;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.lyrics-modal-header {
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
}

.badge-lyrics {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 12px;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.lyrics-body-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 40px;
  align-items: center;
}

.disc-col {
  display: flex;
  justify-content: center;
}

.spinning-disc {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, #222 30%, #050505 70%);
  border: 6px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 50px rgba(0,0,0,0.8), 0 0 30px var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 16s linear infinite;
  animation-play-state: paused;
}

.spinning-disc.spin {
  animation-play-state: running;
}

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

.spinning-disc img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #111;
}

.lyrics-stream {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 440px;
  overflow-y: auto;
  mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
}

.lyrics-stream::-webkit-scrollbar {
  display: none;
}

.lyric-line-item {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dim);
  transition: all 0.3s ease;
}

.lyric-line-item.active {
  color: var(--accent-color);
  font-size: 34px;
  transform: translateX(12px);
  text-shadow: 0 0 20px var(--accent-glow);
}

/* ==========================================================================
   Mobile Bottom Navigation & Media Queries
   ========================================================================== */
.mobile-nav-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #121212;
  border-top: 1px solid var(--border-subtle);
  z-index: 90;
  justify-content: space-around;
  align-items: center;
}

.mob-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.mob-btn.active {
  color: var(--accent-color);
}

@media (max-width: 900px) {
  .sidebar {
    display: none;
  }
  .table-row {
    grid-template-columns: 36px 40px 1fr 60px 70px;
  }
  .table-album {
    display: none;
  }
  .quick-picks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lyrics-body-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .disc-col {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --player-h: 70px;
  }
  .main-container {
    padding-bottom: calc(var(--player-h) + 60px);
  }
  .top-nav-bar {
    padding: 0 16px;
  }
  .theme-pills-bar span:not(.color-dot) {
    display: none;
  }
  .scroll-viewport {
    padding: 16px;
  }
  .quick-picks-grid {
    grid-template-columns: 1fr;
  }
  .spotify-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .player-bar {
    bottom: 60px;
    padding: 0 14px;
  }
  .player-right {
    display: none;
  }
  .progress-bar-row {
    display: none;
  }
  .mobile-nav-bar {
    display: flex;
  }
}
