.burger-button {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.burger-button:hover {
    background: rgba(157, 78, 221, 0.6);
    transform: translateY(-50%) scale(1.05);
    border-color: #9d4edd;
    box-shadow: 0 4px 30px rgba(157, 78, 221, 0.3);
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    background: rgba(10, 10, 20, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1999;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 24px 20px 30px;
    box-sizing: border-box;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-title {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #9d4edd, #c77dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-sidebar {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 0;
    line-height: 1;
}

.close-sidebar:hover {
    transform: rotate(90deg);
    color: #9d4edd;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    margin-top: 4px;
}

.sidebar-link {
    color: #d0d0e0;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 12px;
    transition: all 0.25s ease;
    background: transparent;
    border: none;
    text-align: left;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.sidebar-link:hover {
    background: rgba(157, 78, 221, 0.15);
    color: #fff;
    transform: translateX(6px);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.08);
}

.sidebar-link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #9d4edd;
    transition: height 0.3s ease;
    border-radius: 0 2px 2px 0;
}

.sidebar-link:hover::after {
    height: 60%;
}

.search-container {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.search-input:focus {
    border-color: #9d4edd;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.12);
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: #1a1a2e;
    border: 1px solid #9d4edd;
    border-radius: 16px;
    margin-top: 0;
    z-index: 1000;
    display: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.search-dropdown.show {
    display: block;
}

.search-item {
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 1px solid rgba(157, 78, 221, 0.15);
    transition: background 0.2s ease;
    color: #e0e0f0;
}

.search-item:hover {
    background: rgba(157, 78, 221, 0.25);
}

.search-item:last-child {
    border-bottom: none;
}

.search-category {
    background: #25253a;
    color: #ffaa66;
    font-weight: 700;
    padding: 8px 16px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-music {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.music-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.music-row span {
    color: #b0b0c0;
    font-size: 0.9rem;
    font-weight: 400;
}

.music-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #e0e0f0;
    transition: transform 0.2s ease, text-shadow 0.2s ease;
    padding: 0 5px;
}

.music-btn:hover {
    text-shadow: 0 0 30px #9d4edd;
}

.volume-slider {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #9d4edd;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
}

.volume-slider::-webkit-slider-thumb:hover {
    background: #c77dff;
    transform: scale(1.1);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #9d4edd;
    cursor: pointer;
    border: none;
}

@media (max-width: 480px) {
    .sidebar {
        width: 80vw;
        padding: 20px 16px 24px;
    }
    .sidebar-title {
        font-size: 1.3rem;
    }
    .sidebar-link {
        font-size: 1rem;
        padding: 10px 14px;
    }
}

.sidebar-profile-link {
    color: #c77dff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(157, 78, 221, 0.15);
    transition: background 0.2s;
}
.sidebar-profile-link:hover {
    background: rgba(157, 78, 221, 0.3);
}

.sidebar-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}
.sidebar-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #9d4edd;
    background: #1a1a2e;
    margin-bottom: 4px;
}
.sidebar-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-username {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}