
/* 手机端菜单 */
.gundambf-menu {
    position: fixed;
    top: 10px;
    right: 30px;
    height: auto;
    z-index: 999;
    display: none;
    align-items: flex-start;
    justify-content: flex-end;
    transform: translateX(100%); /* 初始状态隐藏在右侧 */
    transition: transform 0.3s ease; /* 添加滑动动画 */
}

.gundambf-menu.active {
    display: flex;
    transform: translateX(0); /* 激活时滑入 */
}
.menu-bg-container {
    position: fixed;
    top: 10px;
    right: 60px;
    width: 350px;
    height: 350px;
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    z-index: 998;
}

.menu-bg-container img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    z-index: 1;
}

.gundambf-menu-content {
    position: relative;
    z-index: 10000; /* 确保菜单内容显示在背景图片上方 */
    display: flex;
    align-items: center;
    right: 110px;
    justify-content: center;
}

.gundambf-nav {
    width: 220px; /* 稍微小于容器宽度 */
    display: flex;
    flex-direction: column;
    background: transparent; /* 移除原有背景，使用外层背景图 */
    padding: 30px 45px 20px 40px;
}

.gundambf-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 1px dashed rgba(255, 255, 255);
}

.gundambf-nav-item:last-child {
    border-bottom: none;
}

.gundambf-nav-item span {
    font-size: 20px;
    font-family: SHanSanM;
    color: #ffffff;
    line-height: 50px;
    display: block;
}

.gundambf-arrow {
    height: 16px;
    opacity: 1;
    transition: all 0.3s ease;
}

.gundambf-nav-item:hover .gundambf-arrow {
    opacity: 1;
    transform: translateX(5px);
}

@media screen and (max-width: 1200px) {
    .gundambf-nav{
        padding: 15px 45px 20px 40px;
    }
    .gundambf-menu-btn {
        display: flex !important;
        width: 50px;
        height: 50px;
    }
    .gundambf-menu-content{
        padding: 20px 0 20px 20px;
    }
}
@media screen and (max-width: 768px) {
    .gundambf-menu{
        right: 15px;
    }

    .gundambf-menu-btn{
        width: 35px;
        height: 35px;
    }
    .menu-bg-container{
        right: -40px;
    }
    .gundambf-menu-content{
        right: 10px;
        padding: 20px 0 20px 20px;
    }
    .gundambf-nav {
        padding: 15px 45px 20px 40px;
    }

    .gundambf-menu-btn {
        display: flex; /* 显示手机端菜单按钮 */
    }
    .gundambf-nav-item span{
        font-size: 16px;
    }
}

