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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #fff;
    overflow: hidden;
}

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

/* Sidebar */
.sidebar {
    width: 280px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-right: 1px solid rgba(255, 165, 0, 0.3);
    overflow-y: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 165, 0, 0.5);
}

.logo i {
    font-size: 32px;
    color: #ff6b00;
}

.logo h1 {
    font-size: 24px;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    list-style: none;
    margin-bottom: 40px;
}

.nav-menu li {
    padding: 12px 15px;
    margin: 5px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    position: relative;
}

.nav-menu li:hover {
    background: rgba(255, 107, 0, 0.1);
    color: #ff8c00;
}

.nav-menu li.active {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(255, 140, 0, 0.1));
    color: #ff8c00;
    border-left: 3px solid #ff6b00;
}

.badge {
    margin-left: auto;
    background: #ff6b00;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.playlist-section {
    margin-top: 30px;
}

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

.stats {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 107, 0, 0.3);
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 24px;
    color: #ff6b00;
    margin-bottom: 8px;
}

.stat-item span {
    font-size: 28px;
    font-weight: bold;
    display: block;
    color: #ff8c00;
}

.stat-item p {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Main Content */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: linear-gradient(180deg, rgba(255, 107, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}

.welcome-banner {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(255, 140, 0, 0.1));
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.welcome-banner h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.welcome-banner p {
    color: #ccc;
}

.search-bar {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.search-bar i {
    color: #ff8c00;
    font-size: 18px;
}

.search-bar input {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    flex: 1;
    outline: none;
}

.search-bar input::placeholder {
    color: #666;
}

.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #ff8c00;
}

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

.music-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 0, 0.2);
    animation: fadeInUp 0.5s ease;
    position: relative;
}

.music-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b00;
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
    background: rgba(0, 0, 0, 0.8);
}

.music-card.active {
    border-color: #ff6b00;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(255, 140, 0, 0.1));
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.favorite-btn i {
    font-size: 18px;
    color: #fff;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.8);
}

.favorite-btn.favorited i {
    color: #ff6b00;
}

.favorite-btn:not(.favorited):hover i {
    color: #ff6b00;
}

.music-icon {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
}

.music-icon i {
    font-size: 60px;
    color: #fff;
}

.music-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 30px;
}

.music-info p {
    font-size: 12px;
    color: #ff8c00;
}

.loading {
    text-align: center;
    padding: 40px;
}

.loading i {
    font-size: 48px;
    color: #ff6b00;
    animation: spin 1s linear infinite;
}

.loading p {
    margin-top: 20px;
    color: #ff8c00;
}

/* Player Bar */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 107, 0, 0.3);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
}

.now-playing {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
}

.now-playing-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.now-playing-icon i {
    font-size: 24px;
}

.track-info h4 {
    font-size: 14px;
    margin-bottom: 3px;
}

.track-info p {
    font-size: 11px;
    color: #ff8c00;
}

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

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

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

.control-btn:hover {
    color: #ff8c00;
    transform: scale(1.1);
}

.play-btn {
    background: #ff6b00;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.progress {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b00, #ff8c00);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

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

.volume-slider {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-fill {
    height: 100%;
    background: #ff6b00;
    border-radius: 2px;
    width: 100%;
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

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

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

/* Animações */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid #ff6b00;
    z-index: 2000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .sidebar {
        width: 80px;
        padding: 20px 10px;
    }
    
    .sidebar .logo h1,
    .sidebar .nav-menu span,
    .sidebar .playlist-section h3,
    .sidebar .stats p {
        display: none;
    }
    
    .sidebar .logo i {
        font-size: 28px;
    }
    
    .sidebar .nav-menu li {
        justify-content: center;
    }
    
    .badge {
        position: absolute;
        top: -5px;
        right: -5px;
        padding: 2px 6px;
        font-size: 10px;
    }
    
    .player-bar {
        flex-wrap: wrap;
        padding: 10px;
    }
    
    .now-playing {
        min-width: 100%;
        order: 1;
    }
    
    .player-controls {
        order: 2;
    }
    
    .volume-control {
        order: 3;
    }
}