@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #1a1215;
  --bg-warm: #241a1d;
  --bg-card: #2d2124;
  --bg-elevated: #382b2f;
  --bg-hover: rgba(244, 162, 97, 0.08);
  --accent: #e9a875;
  --accent-warm: #f4a261;
  --accent-coral: #e07a5f;
  --accent-rose: #d4726a;
  --accent-green: #6b9d78;
  --gradient-sunset: linear-gradient(135deg, #e9a875 0%, #e07a5f 50%, #c65d52 100%);
  --gradient-warm: linear-gradient(180deg, rgba(244, 162, 97, 0.15) 0%, transparent 60%);
  --text-cream: #faf3e8;
  --text-warm: rgba(250, 243, 232, 0.85);
  --text-muted: rgba(250, 243, 232, 0.45);
  --border: rgba(250, 243, 232, 0.08);
  --border-warm: rgba(244, 162, 97, 0.25);
  --shadow-warm: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 4px 24px rgba(233, 168, 117, 0.15);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-cream);
  font-size: 14px;
  font-weight: 400;
}

/* Warm ambient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 80% 0%, rgba(233, 168, 117, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 0% 100%, rgba(224, 122, 95, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(198, 93, 82, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle grain texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.app {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: 1fr 110px;
  height: 100vh;
  position: relative;
  z-index: 1;
}

/* Sidebar */
.sidebar {
  background: var(--bg-warm);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  overflow: hidden;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 8px 40px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.logo-wave {
  width: 4px;
  height: 18px;
  background: var(--gradient-sunset);
  border-radius: 3px;
  animation: wave 1.2s ease-in-out infinite;
}

.logo-wave:nth-child(2) {
  animation-delay: 0.15s;
  height: 28px;
}

.logo-wave:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes wave {
  0%, 100% { transform: scaleY(0.6); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--text-cream);
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 40px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-warm);
}

.nav-item:hover svg {
  transform: scale(1.1);
}

.nav-item.active {
  background: var(--bg-card);
  color: var(--accent);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 32px;
  background: var(--gradient-sunset);
  border-radius: 0 4px 4px 0;
}

/* Nav Badge */
.nav-badge {
  margin-left: auto;
  background: var(--accent-coral);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  min-width: 20px;
  text-align: center;
}

.playlists-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 20px;
}

.section-header h3 {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  font-weight: 600;
}

.playlist-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.playlist-list::-webkit-scrollbar {
  width: 4px;
}

.playlist-list::-webkit-scrollbar-thumb {
  background: var(--border-warm);
  border-radius: 4px;
}

.sidebar-playlist {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
}

.sidebar-playlist:hover {
  background: var(--bg-hover);
}

.sidebar-playlist.active {
  background: var(--bg-card);
}

.sidebar-playlist-cover {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.sidebar-playlist-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.sidebar-playlist-cover svg {
  width: 20px;
  height: 20px;
  fill: white;
  opacity: 0.9;
}

.sidebar-playlist-name {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-cream);
}

.sidebar-playlist-count {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Smart Playlist Section */
.smart-playlists-section {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.sidebar-smart-playlist {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
}

.sidebar-smart-playlist:hover {
  background: var(--bg-hover);
}

.sidebar-smart-playlist svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.sidebar-smart-playlist span {
  font-size: 14px;
  color: var(--text-cream);
}

/* Main Content */
.main-content {
  background: transparent;
  overflow-y: auto;
  padding: 48px 56px;
}

.main-content::-webkit-scrollbar {
  width: 6px;
}

.main-content::-webkit-scrollbar-thumb {
  background: var(--border-warm);
  border-radius: 6px;
}

.view {
  display: none;
  animation: fadeIn 0.5s ease;
}

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

.view.active {
  display: block;
}

.view-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.view-title-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.view-label {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 600;
}

.view-header h1 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--text-cream);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 14px 24px;
  width: 300px;
  transition: all 0.3s ease;
}

.search-box:focus-within {
  border-color: var(--border-warm);
  box-shadow: var(--shadow-glow);
}

.search-box svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-cream);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

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

/* Stats Cards */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--border-warm);
  transform: translateY(-4px);
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Tracks Grid */
.tracks-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.track-item {
  display: grid;
  grid-template-columns: 64px 1fr 200px 100px 80px;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  cursor: pointer;
}

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

.track-item:hover .track-index { opacity: 0; }
.track-item:hover .track-play-btn { opacity: 1; transform: scale(1); }

.track-item.playing {
  background: var(--bg-card);
}

.track-item.playing .track-title {
  color: var(--accent);
}

.track-index-cell {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-index {
  font-family: var(--font-display);
  color: var(--text-muted);
  font-size: 18px;
  font-style: italic;
  transition: opacity 0.2s;
}

.track-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-sunset);
  border-radius: 14px;
  color: white;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
}

.track-play-btn svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  margin-left: 3px;
}

.track-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.track-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

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

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

.track-format {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(233, 168, 117, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  text-align: center;
}

.track-duration {
  font-family: var(--font-display);
  color: var(--text-muted);
  font-size: 15px;
  font-style: italic;
  text-align: right;
}

/* Track Favorite Button */
.track-favorite-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.track-favorite-btn:hover {
  color: var(--accent-coral);
}

.track-favorite-btn.active {
  color: var(--accent-coral);
}

.track-favorite-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Playlists Grid */
.playlists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}

.playlist-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.playlist-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-warm);
  opacity: 0;
  transition: opacity 0.35s;
}

.playlist-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-warm);
  box-shadow: var(--shadow-warm), var(--shadow-glow);
}

.playlist-card:hover::before { opacity: 1; }

.playlist-card-cover {
  aspect-ratio: 1;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.playlist-card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.playlist-card-cover svg {
  width: 56px;
  height: 56px;
  fill: white;
  opacity: 0.7;
  z-index: 1;
}

.playlist-card-play {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  background: var(--gradient-sunset);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-glow);
  border: none;
  cursor: pointer;
  z-index: 10;
}

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

.playlist-card-play svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 3px;
}

.playlist-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 1;
}

.playlist-card-meta {
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

/* Playlist Detail */
.playlist-header {
  display: flex;
  gap: 48px;
  padding: 48px 0;
  margin-bottom: 40px;
}

.playlist-cover {
  width: 260px;
  height: 260px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: var(--shadow-warm);
  overflow: hidden;
}

.playlist-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
}

.playlist-cover svg {
  width: 90px;
  height: 90px;
  fill: white;
  opacity: 0.6;
}

.playlist-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 12px;
}

.playlist-type {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.playlist-name {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1;
  letter-spacing: -2px;
}

.playlist-description {
  color: var(--text-warm);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.playlist-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.playlist-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.btn-play-large {
  width: 68px;
  height: 68px;
  background: var(--gradient-sunset);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-glow);
}

.btn-play-large:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 40px rgba(233, 168, 117, 0.35);
}

.btn-play-large svg {
  width: 30px;
  height: 30px;
  fill: white;
  margin-left: 4px;
}

/* Upload */
.upload-area {
  border: 2px dashed var(--border-warm);
  border-radius: var(--radius-xl);
  padding: 120px 80px;
  text-align: center;
  cursor: pointer;
  transition: all 0.35s ease;
  background: var(--bg-card);
  position: relative;
}

.upload-area:hover, .upload-area.dragover {
  border-color: var(--accent);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-glow);
}

.upload-icon {
  width: 120px;
  height: 120px;
  background: var(--gradient-sunset);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
  box-shadow: var(--shadow-glow);
  position: relative;
}

.upload-icon::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.25;
  animation: breathe 2.5s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(1.08); opacity: 0.1; }
}

.upload-icon svg {
  width: 52px;
  height: 52px;
  fill: white;
}

.upload-area h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 16px;
}

.upload-area p {
  color: var(--text-warm);
  font-size: 15px;
}

.upload-area .formats {
  color: var(--accent);
  font-size: 12px;
  margin-top: 28px;
  letter-spacing: 3px;
  font-weight: 600;
}

.upload-progress {
  margin-top: 48px;
}

.upload-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

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

.upload-item-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 12px;
}

.upload-item-bar {
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  overflow: hidden;
}

.upload-item-progress {
  height: 100%;
  background: var(--gradient-sunset);
  border-radius: 3px;
  transition: width 0.3s;
}

.upload-item.complete .upload-item-progress {
  background: var(--accent-green);
}

.upload-item-status {
  color: var(--text-muted);
  font-size: 13px;
}

/* Settings View */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.settings-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.settings-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.settings-card-header svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

.settings-card-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.setting-row:last-child {
  border-bottom: none;
}

.setting-label {
  font-size: 14px;
  color: var(--text-cream);
}

.setting-description {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.setting-value {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--bg-elevated);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-switch.active {
  background: var(--accent);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--text-cream);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.toggle-switch.active::after {
  transform: translateX(24px);
}

/* Equalizer Widget */
.equalizer-widget {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eq-bands {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.eq-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.eq-band-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.eq-slider {
  width: 100%;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.eq-slider input[type="range"] {
  writing-mode: bt-lr;
  -webkit-appearance: slider-vertical;
  appearance: slider-vertical;
  width: 8px;
  height: 100px;
  background: var(--bg-elevated);
  border-radius: 4px;
}

.eq-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(233, 168, 117, 0.4);
}

.eq-band-value {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.eq-presets {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.eq-preset {
  padding: 10px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-cream);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.eq-preset:hover {
  background: var(--bg-card);
  border-color: var(--border-warm);
}

.eq-preset.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-deep);
}

/* Speed Control */
.speed-control {
  display: flex;
  align-items: center;
  gap: 16px;
}

.speed-slider {
  flex: 1;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.speed-slider-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.1s ease;
}

.speed-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  min-width: 50px;
  text-align: right;
}

/* Sleep Timer */
.sleep-timer-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.sleep-timer-btn {
  padding: 12px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-cream);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sleep-timer-btn:hover {
  background: var(--bg-card);
  border-color: var(--border-warm);
}

.sleep-timer-btn.active {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
}

.sleep-countdown {
  margin-top: 16px;
  font-size: 24px;
  font-family: var(--font-display);
  color: var(--accent-coral);
  font-weight: 600;
  display: none;
}

.sleep-countdown.active {
  display: block;
}

/* Shortcuts List */
.shortcuts-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.shortcut-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
}

.shortcut-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 10px;
  background: var(--bg-deep);
  border: 1px solid var(--border-warm);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.shortcut-action {
  font-size: 13px;
  color: var(--text-muted);
}

/* Schedules View */
.schedules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.schedule-item:hover {
  border-color: var(--border-warm);
}

.schedule-item.disabled {
  opacity: 0.5;
}

.schedule-time {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--accent);
  min-width: 100px;
}

.schedule-info {
  flex: 1;
}

.schedule-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}

.schedule-days {
  display: flex;
  gap: 6px;
}

.schedule-day {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.schedule-day.active {
  background: var(--accent);
  color: var(--bg-deep);
}

.schedule-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Day Picker */
.day-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.day-picker-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.day-picker-btn:hover {
  background: var(--bg-card);
  border-color: var(--border-warm);
}

.day-picker-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-deep);
}

/* History View */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
}

.history-item:hover {
  background: var(--bg-elevated);
}

.history-time {
  font-size: 12px;
  color: var(--text-muted);
  min-width: 80px;
}

.history-track-info {
  flex: 1;
}

.history-track-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
}

.history-track-artist {
  font-size: 13px;
  color: var(--text-muted);
}

/* Smart Playlist Builder */
.smart-playlist-rules {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.rule-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
}

.rule-select {
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-cream);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.rule-select:focus {
  outline: none;
  border-color: var(--border-warm);
}

.rule-input {
  flex: 1;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-cream);
  font-family: inherit;
  font-size: 14px;
}

.rule-input:focus {
  outline: none;
  border-color: var(--border-warm);
}

.rule-remove {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--accent-coral);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.rule-remove:hover {
  background: rgba(224, 122, 95, 0.1);
}

.rule-remove svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.add-rule-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: transparent;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.add-rule-btn:hover {
  border-color: var(--border-warm);
  color: var(--accent);
}

.add-rule-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Tags */
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-elevated);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-cream);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

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

.tag-remove {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 50%;
}

.tag-remove:hover {
  color: var(--accent-coral);
}

.tag-remove svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Player */
.player {
  grid-column: 1 / -1;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  align-items: center;
  padding: 0 32px;
  position: relative;
}

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

.track-cover {
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.track-cover svg {
  width: 28px;
  height: 28px;
  fill: var(--text-muted);
}

.player .track-info {
  gap: 6px;
}

.player .track-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.player .track-artist {
  font-size: 13px;
  color: var(--text-muted);
}

/* Player Favorite Button */
.btn-favorite {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-muted);
  transition: all 0.2s ease;
  margin-left: 8px;
}

.btn-favorite:hover {
  color: var(--accent-coral);
}

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

.btn-favorite svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.heart-filled { display: none; }
.btn-favorite.active .heart-filled { display: block; }
.btn-favorite.active .heart-outline { display: none; }

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.control-buttons {
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.btn-icon:hover {
  color: var(--text-cream);
  background: rgba(255, 255, 255, 0.05);
}

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

.btn-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.btn-play {
  width: 60px;
  height: 60px;
  background: var(--gradient-sunset);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-glow);
}

.btn-play:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 40px rgba(233, 168, 117, 0.35);
}

.btn-play svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 520px;
}

.time {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  min-width: 44px;
}

.time:last-child {
  text-align: right;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: height 0.2s;
}

.progress-bar:hover {
  height: 8px;
}

.progress {
  height: 100%;
  background: var(--gradient-sunset);
  border-radius: 3px;
  width: 0%;
  position: relative;
  pointer-events: none;
}

.progress-handle {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(233, 168, 117, 0.4);
  pointer-events: none;
}

.progress-bar:hover .progress-handle,
.progress-bar.dragging .progress-handle {
  opacity: 1;
}

.player-extra {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Speed Indicator */
.speed-indicator {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 10px;
  background: rgba(233, 168, 117, 0.12);
  border-radius: 100px;
  display: none;
}

.speed-indicator.active {
  display: block;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-slider {
  width: 110px;
}

.volume-bar {
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.volume-level {
  height: 100%;
  background: var(--text-cream);
  border-radius: 3px;
  width: 100%;
  transition: background 0.2s;
  position: relative;
  pointer-events: none;
}

.volume-bar:hover .volume-level {
  background: var(--accent);
}

/* Volume handle */
.volume-handle {
  width: 14px;
  height: 14px;
  background: var(--text-cream);
  border-radius: 50%;
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.volume-bar:hover .volume-handle,
.volume-bar.dragging .volume-handle {
  opacity: 1;
}

.volume-bar.dragging .volume-level {
  background: var(--accent);
}

/* Slider tooltip */
.slider-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated);
  color: var(--text-cream);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--border-warm);
  z-index: 100;
}

.slider-tooltip.visible {
  opacity: 1;
}

/* Progress bar improvements */
.progress-bar.dragging {
  height: 8px;
}

.progress-bar.dragging .progress-handle {
  opacity: 1;
}

/* Connection Status */
.connection-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  padding: 6px 12px;
  background: var(--bg-elevated);
  border-radius: 100px;
}

.connection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.connection-status.connected .connection-dot {
  background: var(--accent-green);
}

.connection-status.disconnected .connection-dot {
  background: var(--accent-coral);
}

/* Audio Output Selector */
.audio-output-control {
  position: relative;
}

.audio-output-dropdown {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: var(--bg-warm);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  min-width: 260px;
  box-shadow: var(--shadow-warm);
  z-index: 200;
  display: none;
  overflow: hidden;
}

.audio-output-dropdown.open {
  display: block;
  animation: fadeIn 0.2s ease;
}

.audio-output-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--border);
}

.audio-output-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
}

.audio-output-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-cream);
  font-size: 14px;
}

.audio-output-item:hover {
  background: var(--bg-card);
}

.audio-output-item.active {
  background: var(--bg-card);
  color: var(--accent);
}

.audio-output-item.active::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.audio-output-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.audio-output-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Queue Panel */
.queue-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 110px;
  width: 400px;
  background: var(--bg-warm);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.queue-panel.open {
  transform: translateX(0);
}

.queue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  border-bottom: 1px solid var(--border);
}

.queue-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  font-style: italic;
}

.queue-now-playing {
  padding: 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.queue-next {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.queue-next h4 {
  padding: 24px 28px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
}

.queue-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 20px 20px;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
}

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

.queue-item-cover {
  width: 52px;
  height: 52px;
  background: var(--bg-card);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.queue-item-cover svg {
  width: 22px;
  height: 22px;
  fill: var(--text-muted);
}

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

.queue-item-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.queue-item-artist {
  font-size: 12px;
  color: var(--text-muted);
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(26, 18, 21, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-warm);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.95) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-warm);
}

.modal-content.large {
  max-width: 700px;
}

.modal.open .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  font-style: italic;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  max-height: 60vh;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  padding: 24px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.form-group {
  margin-bottom: 28px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--text-cream);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--border-warm);
  box-shadow: var(--shadow-glow);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.color-picker {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.color-option {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.color-option:hover {
  transform: scale(1.15);
}

.color-option.active {
  border-color: var(--text-cream);
  box-shadow: 0 4px 16px currentColor;
}

.add-playlist-list {
  max-height: 380px;
  overflow-y: auto;
}

.add-playlist-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
}

.add-playlist-item:hover {
  background: var(--bg-card);
}

.add-playlist-item-cover {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.add-playlist-item-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.add-playlist-item-cover svg {
  width: 24px;
  height: 24px;
  fill: white;
  opacity: 0.8;
}

.add-playlist-item-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
}

/* Time Picker */
.time-picker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-picker input {
  width: 80px;
  text-align: center;
  font-size: 24px;
  font-family: var(--font-display);
  font-weight: 600;
}

.time-picker-separator {
  font-size: 24px;
  color: var(--text-muted);
}

/* Buttons */
.btn-primary {
  background: var(--gradient-sunset);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(233, 168, 117, 0.35);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-secondary {
  background: transparent;
  color: var(--text-cream);
  border: 1px solid var(--border);
  padding: 16px 32px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--border-warm);
}

.btn-small {
  padding: 10px 20px;
  font-size: 12px;
}

/* Context Menu */
.context-menu {
  position: fixed;
  background: var(--bg-warm);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 220px;
  box-shadow: var(--shadow-warm);
  z-index: 1000;
  display: none;
}

.context-menu.open {
  display: block;
  animation: fadeIn 0.2s ease;
}

.context-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  color: var(--text-cream);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.2s;
  text-align: left;
}

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

.context-item svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
}

.context-item.danger {
  color: var(--accent-coral);
}

.context-item.danger svg {
  fill: var(--accent-coral);
}

.context-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-warm);
  border: 1px solid var(--border-warm);
  border-radius: 100px;
  padding: 16px 32px;
  color: var(--text-cream);
  font-size: 14px;
  box-shadow: var(--shadow-warm);
  animation: fadeIn 0.35s ease;
}

.toast.success {
  border-color: var(--accent-green);
  box-shadow: 0 8px 24px rgba(107, 157, 120, 0.2);
}

.toast.error {
  border-color: var(--accent-coral);
  box-shadow: 0 8px 24px rgba(224, 122, 95, 0.2);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 120px 80px;
}

.empty-state svg {
  width: 90px;
  height: 90px;
  fill: var(--accent);
  margin-bottom: 32px;
  opacity: 0.25;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-style: italic;
  margin-bottom: 16px;
  font-weight: 500;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Responsive */
@media (max-width: 1200px) {
  .app {
    grid-template-columns: 240px 1fr;
  }

  .track-item {
    grid-template-columns: 64px 1fr 80px;
  }

  .track-album, .track-format {
    display: none;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }
}

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

  .sidebar {
    display: none;
  }

  .player {
    grid-template-columns: 1fr 1fr;
  }

  .player-extra {
    display: none;
  }
}

