#hamburger-menu {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

#hamburger-menu:hover {
    border-color: rgba(255, 59, 59, 0.55);
    background: rgba(255, 59, 59, 0.1);
    transform: translateY(-1px);
}

#side-drawer {
    position: fixed;
    top: 40px;
    left: 0;
    width: min(86vw, 360px);
    height: calc(100vh - 40px);
    padding: 1.25rem 1.2rem 1.5rem;
    background: linear-gradient(165deg, rgba(20, 20, 20, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 24px 0 50px rgba(0, 0, 0, 0.5);
    transform: translateX(-108%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 1, 0.22, 1), opacity 0.25s ease, visibility 0.25s ease;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

#side-drawer.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

#close-drawer {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    align-self: flex-end;
    transition: all 0.2s ease;
}

#close-drawer:hover {
    background: rgba(255, 59, 59, 0.15);
    border-color: rgba(255, 59, 59, 0.5);
    color: #ff7a7a;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.drawer-link {
    display: block;
    color: #f0f0f0;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.82rem 0.95rem;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.18s ease;
}

.drawer-link:hover {
    border-color: rgba(255, 59, 59, 0.55);
    background: rgba(255, 59, 59, 0.08);
    color: #fff;
    transform: translateX(3px);
}

#drawer-overlay {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 40px);
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 2050;
}

#drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

body.drawer-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    #side-drawer {
        width: min(90vw, 320px);
    }

    .drawer-link {
        font-size: 0.95rem;
    }
}

/* --- Accordion Items --- */
.drawer-accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease;
}

.drawer-accordion-item.open {
    border-color: rgba(255, 59, 59, 0.5);
    background: rgba(255, 59, 59, 0.04);
}

.drawer-accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.82rem 0.95rem;
    background: transparent;
    border: none;
    color: #f0f0f0;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    text-align: left;
    transition: color 0.18s ease;
}

.drawer-accordion-trigger:hover {
    color: #fff;
}

.drawer-accordion-icon {
    font-size: 1.3rem;
    font-weight: 300;
    color: #ff3b3b;
    line-height: 1;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.drawer-accordion-item.open .drawer-accordion-icon {
    transform: rotate(45deg);
}

.drawer-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.2, 1, 0.22, 1), padding 0.22s ease;
    padding: 0 0.95rem;
}

.drawer-accordion-body p {
    color: #aaa;
    font-size: 0.88rem;
    line-height: 1.6;
    padding-bottom: 0.9rem;
}

.drawer-accordion-item.open .drawer-accordion-body {
    max-height: 400px;
    padding: 0 0.95rem;
}
