#custom-menu {
    display: none;
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    z-index: 9999;
    min-width: 180px;
    overflow: hidden;
    transition: all 0.2s ease-out;
    transform-origin: top left;
    opacity: 0;
    transform: scale(0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    user-select: none;
}

#custom-menu.visible {
    opacity: 1;
    transform: scale(1);
}

#custom-menu.hiding {
    opacity: 0;
    transform: scale(0.95);
}
.navigation-arrows {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 9999;
}

.navigation-arrows button {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.navigation-arrows button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}
.menu-items {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #374151;
}
.menu-items:hover {
    background-color:rgba(43, 47, 255, 0.571) ;
    border-radius: 15px;
    color: #ffffff;
}

.menu-items i {
    width: 1.5rem;
    margin-right: 0.75rem;
    color: #6b7280;
}

.menu-divider {
    border-top: 1px solid #e5e7eb;
    margin: 0.25rem 0;
}

.menu-header {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 500;
}
/* 动画关键帧 */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scaleOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}
