.drawer-container {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.drawer-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(2, 5, 12, 0.60) 0%, #02050C 100%);
    opacity: 0 !important;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none;
    z-index: 1 !important;
}

@media (hover: hover) and (pointer: fine) {
    .drawer-container:hover::after {
        opacity: 1 !important;
    }
    
    .drawer-container:hover .drawer-content {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .drawer-container:hover .drawer-bottom {
        margin-top: 0 !important;
        transform: translateY(0) !important;
    }
}

.drawer-container.mobile-active::after {
    opacity: 1 !important;
}

.drawer-content {
    position: relative;
    z-index: 10 !important;
    opacity: 0 !important;
    transform: translateY(100%) !important;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.drawer-container.mobile-active .drawer-content {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.drawer-bottom {
    position: relative;
    z-index: 10 !important;
    margin-top: auto !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-container.mobile-active .drawer-bottom {
    margin-top: 0 !important;
    transform: translateY(0) !important;
}
