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

body {
    font-family: 'Circular Std', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

.app {
    display: flex;
    height: 100vh;
    position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: #fff;
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: linear-gradient(180deg, #121212 0%, #000 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #282828;
    transition: transform 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 24px;
    font-weight: bold;
    color: #1DB954;
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    margin-bottom: 32px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    color: #b3b3b3;
}

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

.nav-item.active {
    background: rgba(29, 185, 84, 0.2);
    color: #1DB954;
}

.nav-item i {
    font-size: 20px;
    width: 20px;
}

.playlist-section h3 {
    margin-bottom: 16px;
    color: #b3b3b3;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.playlist-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.playlist-item {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #b3b3b3;
    font-size: 14px;
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.create-playlist-btn {
    background: none;
    border: 1px solid #535353;
    color: #b3b3b3;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.create-playlist-btn:hover {
    border-color: #fff;
    color: #fff;
}

/* Main Content */
.main-content {
    flex: 1;
    background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
    overflow-y: auto;
    padding: 24px;
    padding-bottom: 120px;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.section-header {
    margin-bottom: 32px;
}

.section-header h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
}

.section-header p {
    color: #b3b3b3;
    font-size: 16px;
}

/* Quick Picks */
.quick-picks {
    margin-bottom: 48px;
}

.quick-picks h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.quick-picks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.quick-pick-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.quick-pick-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.quick-pick-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.quick-pick-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.quick-pick-info p {
    color: #b3b3b3;
    font-size: 14px;
}

/* Song Grid */
.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.song-card {
    background: #181818;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.song-card:hover {
    background: #282828;
    transform: translateY(-4px);
}

.song-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    margin-bottom: 16px;
    object-fit: cover;
}

.song-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-card p {
    color: #b3b3b3;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.play-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: #1DB954;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

.play-overlay i {
    color: #000;
    font-size: 16px;
    margin-left: 2px;
}

/* Song List */
.song-list {
    margin-bottom: 48px;
}

.song-list h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

.song-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.song-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.song-item.playing {
    background: rgba(29, 185, 84, 0.2);
}

.song-number {
    width: 20px;
    text-align: center;
    color: #b3b3b3;
    font-size: 14px;
    margin-right: 16px;
}

.song-item:hover .song-number {
    display: none;
}

.song-item .play-btn {
    display: none;
    width: 20px;
    text-align: center;
    margin-right: 16px;
    color: #fff;
    cursor: pointer;
}

.song-item:hover .play-btn {
    display: block;
}

.song-item img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    margin-right: 16px;
    object-fit: cover;
}

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

.song-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-info p {
    color: #b3b3b3;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-duration {
    color: #b3b3b3;
    font-size: 14px;
    margin-left: 16px;
}

.song-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.song-item:hover .song-actions {
    opacity: 1;
}

.action-btn {
    background: none;
    border: none;
    color: #b3b3b3;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.action-btn.liked {
    color: #1DB954;
}

/* Search */
.search-container {
    margin-bottom: 32px;
}

.search-bar {
    position: relative;
    max-width: 400px;
}

.search-bar i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #b3b3b3;
}

.search-bar input {
    width: 100%;
    padding: 12px 16px 12px 48px;
    background: #242424;
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    background: #2a2a2a;
    box-shadow: 0 0 0 2px #1DB954;
}

.browse-categories h2 {
    font-size: 24px;
    margin-bottom: 16px;
}

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

.category-card {
    aspect-ratio: 1;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-card span {
    font-size: 18px;
    font-weight: bold;
    z-index: 1;
}

/* Library */
.library-filters {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.filter-btn {
    background: #242424;
    border: none;
    color: #b3b3b3;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover {
    background: #2a2a2a;
    color: #fff;
}

.filter-btn.active {
    background: #1DB954;
    color: #000;
}

/* Playlist Header */
.playlist-header {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
    padding: 32px 0;
}

.playlist-cover {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.liked-cover {
    background: linear-gradient(135deg, #450af5, #c93aab, #f54c47);
}

.playlist-info {
    flex: 1;
}

.playlist-type {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b3b3b3;
    margin-bottom: 8px;
}

.playlist-info h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 16px;
}

.playlist-info p {
    color: #b3b3b3;
    font-size: 14px;
}

.playlist-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.play-all-btn {
    width: 56px;
    height: 56px;
    background: #1DB954;
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-all-btn:hover {
    transform: scale(1.05);
    background: #1ed760;
}

.shuffle-btn {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 20px;
    cursor: pointer;
    padding: 16px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

/* Bottom Player */
.bottom-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(90deg, #181818 0%, #282828 100%);
    border-top: 1px solid #282828;
    display: flex;
    align-items: center;
    padding: 0 16px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.player-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

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

.song-info img {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
}

.song-details {
    min-width: 0;
}

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

.song-artist {
    font-size: 12px;
    color: #b3b3b3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.like-btn {
    background: none;
    border: none;
    color: #b3b3b3;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.like-btn.liked {
    color: #1DB954;
}

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

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

.control-btn {
    background: none;
    border: none;
    color: #b3b3b3;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.control-btn.active {
    color: #1DB954;
}

.play-pause-btn {
    width: 32px;
    height: 32px;
    background: #fff;
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.progress-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 500px;
}

.time-current,
.time-total {
    font-size: 12px;
    color: #b3b3b3;
    min-width: 40px;
    text-align: center;
}

.progress-container {
    flex: 1;
    height: 4px;
    background: #535353;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress {
    height: 100%;
    background: #1DB954;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.progress-container:hover .progress-handle {
    opacity: 1;
}

.player-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: flex-end;
}

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

.volume-slider {
    width: 80px;
    height: 4px;
    background: #535353;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.volume-progress {
    height: 100%;
    background: #1DB954;
    border-radius: 2px;
    width: 70%;
}

.volume-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    right: 30%;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.volume-slider:hover .volume-handle {
    opacity: 1;
}

.expand-btn {
    font-size: 14px;
}

/* Expanded Player */
.expanded-player {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.expanded-player.active {
    transform: translateY(0);
}

.expanded-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #282828;
}

.close-expanded {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-expanded:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.expanded-header h3 {
    font-size: 16px;
    font-weight: 500;
}

.more-options {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.more-options:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.expanded-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    text-align: center;
}

.expanded-artwork {
    position: relative;
    margin-bottom: 32px;
}

.expanded-artwork img {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.visualizer {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

.visualizer .bar {
    width: 4px;
    background: #1DB954;
    border-radius: 2px;
    animation: visualize 1s ease-in-out infinite alternate;
}

.visualizer .bar:nth-child(1) { animation-delay: 0s; }
.visualizer .bar:nth-child(2) { animation-delay: 0.1s; }
.visualizer .bar:nth-child(3) { animation-delay: 0.2s; }
.visualizer .bar:nth-child(4) { animation-delay: 0.3s; }
.visualizer .bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes visualize {
    0% { height: 10px; }
    100% { height: 30px; }
}

.expanded-info {
    margin-bottom: 48px;
}

.expanded-info h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.expanded-info p {
    color: #b3b3b3;
    font-size: 16px;
}

.expanded-controls {
    width: 100%;
    max-width: 500px;
}

.expanded-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.expanded-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.expanded-control-btn {
    background: none;
    border: none;
    color: #b3b3b3;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 20px;
}

.expanded-control-btn:hover {
    color: #fff;
}

.expanded-control-btn.active {
    color: #1DB954;
}

.expanded-play-btn {
    width: 64px;
    height: 64px;
    background: #1DB954;
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 24px;
}

.expanded-play-btn:hover {
    transform: scale(1.05);
    background: #1ed760;
}

.expanded-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* Queue Panel */
.queue-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    background: #121212;
    border-left: 1px solid #282828;
    z-index: 1500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.queue-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #282828;
}

.queue-header h3 {
    font-size: 16px;
    font-weight: 500;
}

.close-queue {
    background: none;
    border: none;
    color: #b3b3b3;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-queue:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.queue-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.now-playing-section,
.next-up-section {
    margin-bottom: 24px;
}

.now-playing-section h4,
.next-up-section h4 {
    font-size: 14px;
    color: #b3b3b3;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.queue-song {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.queue-song:hover {
    background: rgba(255, 255, 255, 0.1);
}

.queue-song.current {
    background: rgba(29, 185, 84, 0.2);
}

.queue-song img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
}

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

.queue-song-info h5 {
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.queue-song-info p {
    font-size: 12px;
    color: #b3b3b3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.mobile-overlay.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 1000;
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        padding: 80px 16px 120px;
    }

    .section-header h1 {
        font-size: 24px;
    }

    .quick-picks-grid {
        grid-template-columns: 1fr;
    }

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

    .playlist-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .playlist-cover {
        width: 150px;
        height: 150px;
        font-size: 48px;
    }

    .playlist-info h1 {
        font-size: 32px;
    }

    .player-left {
        flex: 0 0 auto;
    }

    .player-center {
        flex: 1;
    }

    .player-right {
        flex: 0 0 auto;
    }

    .volume-control {
        display: none;
    }

    .expanded-artwork img {
        width: 250px;
        height: 250px;
    }

    .expanded-info h2 {
        font-size: 24px;
    }

    .queue-panel {
        width: 100%;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 80px 12px 120px;
    }

    .song-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    .song-card {
        padding: 12px;
    }

    .song-card h3 {
        font-size: 14px;
    }

    .song-card p {
        font-size: 12px;
    }

    .bottom-player {
        padding: 0 12px;
    }

    .song-info {
        gap: 8px;
    }

    .song-info img {
        width: 48px;
        height: 48px;
    }

    .song-title {
        font-size: 13px;
    }

    .song-artist {
        font-size: 11px;
    }

    .player-controls {
        gap: 12px;
    }

    .progress-bar {
        gap: 8px;
    }

    .expanded-content {
        padding: 24px 16px;
    }

    .expanded-artwork img {
        width: 200px;
        height: 200px;
    }

    .expanded-info h2 {
        font-size: 20px;
    }

    .expanded-buttons {
        gap: 16px;
    }

    .expanded-play-btn {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #121212;
}

::-webkit-scrollbar-thumb {
    background: #535353;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #727272;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

/* Focus States for Accessibility */
button:focus,
input:focus {
    outline: 2px solid #1DB954;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .nav-item {
        border: 1px solid transparent;
    }
    
    .nav-item:hover,
    .nav-item.active {
        border-color: #1DB954;
    }
    
    .song-item:hover {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .visualizer .bar {
        animation: none;
        height: 20px;
    }
}