:root {
    --drawer-width: 500px;
    --drawer-speed: 0.45s;
    --drawer-ease: cubic-bezier(0.165, 0.84, 0.44, 1);
    --drawer-top-offset: 100px; 
}

.menu-btn {
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    margin: 25px 15px;
	transition: left 500ms 200ms, background 500ms 200ms;
	z-index: 50;
}

.menu-icon {
    position: absolute;
	margin: 24px 10px 24px 10px;
	background: #FFF;
	width: 30px;
	height: 2px;
	content: "";
	transition: transform 100ms 0ms, left 150ms 150ms;
	z-index: 35;
}

.menu-icon:before {
    position: absolute;
	top: -10px;
	background: #FFF;
	width: 30px;
	height: 2px;
	content: "";
	transition: top 200ms 700ms cubic-bezier(0.23, 1, 0.32, 1), transform 150ms 0ms cubic-bezier(0.23, 1, 0.32, 1), left 150ms 150ms;
	z-index: 35;
}

.menu-icon:after {
    position: absolute;
	top: 10px;
	background: #FFF;
	width: 30px;
	height: 2px;
	content: '';
	transition: top 200ms 700ms cubic-bezier(0.23, 1, 0.32, 1), transform 150ms 0ms cubic-bezier(0.23, 1, 0.32, 1), left 150ms 150ms;
	z-index: 35;
}

.drawer-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden; /* Hidden from interaction when closed */
    pointer-events: none;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 90vw;
    height: 100%;
    padding: 1.5rem;
    background: #000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: auto;
    overflow-y: auto; 
    z-index: 2;
}

/* Active State */
.drawer-container.is-open {
    visibility: visible;
}

.drawer-container.is-open .drawer-panel {
    transform: translateX(0);
}

.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.drawer-container.is-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}