/* ----------------------------------------------------------
   SIDEBAR WRAPPER
---------------------------------------------------------- */
.sidebar {
    position: fixed;
    top: 18px;
    left: 16px;
    bottom: 18px;
    width: 250px;
    z-index: 9999;
    background: linear-gradient(180deg, rgba(7,10,12,0.96), rgba(14,19,22,0.92));
    border-radius: 22px;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 0 24px rgba(0,0,0,0.45), inset 0 0 14px rgba(255,255,255,0.04), inset 0 0 28px rgba(0,0,0,0.55);
}

.sidebar-inner {
    position: relative;
    min-height: 100%;
    padding: 18px 10px 24px;
}

.sidebar::before,
.sidebar::after {
    content: "";
    position: absolute;
    top: 0;
    width: 5px;
    height: 100%;
    border-radius: 6px;
    filter: blur(2px);
    opacity: .9;
}

.sidebar::before {
    left: 0;
    background: #00cfff;
    box-shadow: 0 0 14px #00cfff, 0 0 28px #00cfff;
}

.sidebar::after {
    right: 0;
    background: #ff8a00;
    box-shadow: 0 0 14px #ff8a00, 0 0 28px #ff8a00;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    margin: 6px 0;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    transition: background .2s ease, transform .2s ease;
}

.sidebar-item:hover,
.sidebar-item:focus {
    background: rgba(255,255,255,0.08);
    transform: translateX(4px);
}

.sidebar-label {
    opacity: 1;
    transform: none;
    transition: opacity .2s ease;
    white-space: normal;
    line-height: 1.25;
}

.sidebar-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 5px currentColor);
}

.icon-home       { background-image: url('../assets/icons/home.svg'); }
.icon-info       { background-image: url('../assets/icons/info.svg'); }
.icon-newspaper  { background-image: url('../assets/icons/newspaper.svg'); }
.icon-chart      { background-image: url('../assets/icons/chart.svg'); }
.icon-calendar   { background-image: url('../assets/icons/calendar.svg'); }
.icon-request    { background-image: url('../assets/icons/envelope.svg'); }
.icon-dj         { background-image: url('../assets/icons/headphones.svg'); }
.icon-show       { background-image: url('../assets/icons/tv screen.svg'); }
.icon-heart      { background-image: url('../assets/icons/heart.svg'); }
.icon-contact    { background-image: url('../assets/icons/phone.svg'); }
.icon-team       { background-image: url('../assets/icons/team.svg'); }
.icon-admin      { background-image: url('../assets/icons/shield.svg'); }

.sidebar-item[data-neon="orange"] { color: #ff9a1f; }
.sidebar-item[data-neon="yellow"] { color: #ffe600; }
.sidebar-item[data-neon="blue"]   { color: #00cfff; }
.sidebar-item[data-neon="red"]    { color: #ff4d6d; }
.sidebar-item[data-neon="green"]  { color: #00ff88; }
.sidebar-item[data-neon="pink"]   { color: #ff66cc; }
.sidebar-item[data-neon="purple"] { color: #b266ff; }
.sidebar-item[data-neon="cyan"]   { color: #00ffee; }

.sidebar-badge {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #000;
}

.sidebar-divider {
    height: 1px;
    margin: 12px 12px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
    opacity: .7;
}

.music-notes {
    position: absolute;
    right: 12px;
    opacity: 0;
    pointer-events: none;
}

.sidebar-item:hover .music-notes { opacity: 1; }

.note {
    position: absolute;
    font-size: 12px;
    animation: drift 1.5s ease-out forwards;
    opacity: .8;
}

.n1 { left: 0; animation-delay: 0s; }
.n2 { left: 8px; animation-delay: .2s; }
.n3 { left: 16px; animation-delay: .4s; }

@keyframes drift {
    0% { transform: translateY(0) rotate(0deg); opacity: .8; }
    100% { transform: translateY(-25px) rotate(20deg); opacity: 0; }
}

.sidebar-button,
#sidebar-toggle {
    display: none;
}

@media (max-width: 980px) {
    .sidebar {
        transform: translateX(-110%);
        transition: transform .28s ease;
        width: min(84vw, 290px);
        top: 12px;
        bottom: 12px;
    }

    #sidebar-toggle:checked ~ .sidebar,
    body.sidebar-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-button {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 16px;
        left: 16px;
        width: 52px;
        height: 52px;
        background: rgba(15,15,15,.92);
        border-radius: 14px;
        box-shadow: 0 0 10px rgba(255,138,0,.45);
        z-index: 10000;
        color: #fff;
        font-size: 22px;
    }
}
