.global-menu-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.global-menu-button:hover,
.global-menu-button:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
}

.global-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

.global-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.global-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.global-menu-panel {
    position: fixed;
    top: 0;
    right: -260px;
    z-index: 999;
    width: 260px;
    height: 100vh;
    padding: 80px 30px 30px;
    box-sizing: border-box;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    opacity: 0;
    visibility: hidden;
    transition: right 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

.global-menu-panel.open {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.global-menu-link {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
}

.global-menu-link:hover,
.global-menu-link:focus-visible {
    color: #00bfff;
    transform: translateX(6px);
}

.global-menu-link[aria-current="page"] {
    background: linear-gradient(90deg, #00ff88, #00bfff, #ff6b9d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 700px) {
    .global-menu-button {
        top: 15px;
        right: 15px;
    }

    .global-menu-panel {
        width: 190px;
        right: -190px;
        padding: 76px 22px 22px;
    }

    .global-menu-link {
        font-size: 1.15rem;
    }
}
