/* 移动端导航样式 */

/* 汉堡菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #E8E8F6;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端菜单覆盖层 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 14, 19, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-menu .nav-item a {
    font-size: 24px;
    font-weight: 300;
    color: #A0A0A0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu .nav-item a:hover,
.mobile-menu .nav-item a.active {
    color: #E8E8F6;
}

.mobile-language-switcher {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.mobile-language-switcher .lang-button,
.mobile-language-switcher .lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #A0A0A0;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
}

.mobile-language-switcher .lang-button:hover,
.mobile-language-switcher .lang-button.active,
.mobile-language-switcher .lang-btn:hover,
.mobile-language-switcher .lang-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #E8E8F6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }

    .language-switcher {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .mobile-menu-overlay {
        display: block !important;
    }
}