/* 字体设置 */
@font-face {
    font-family: 'futurarenner';
    src: url('../fonts/notosans-regular.woff2') format('woff2'),
    url('../fonts/notosans-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans', Arial, system-ui, sans-serif;
}

/* 导航整体样式 */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    transition:
            background 0.3s ease-in-out,
            box-shadow 0.3s ease-in-out;
}
.main-header:hover {
    background: rgba(0, 0, 0, 0.5);
    box-shadow: none;
}
.header-container {
    /*max-width: 1280px;*/
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    height: 80px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

/* Logo -  */
.logo {
    text-align: center;
    display: inline-block;
    order: 2;
    width: 150px;
    height: 50px;
    overflow: hidden;
    position: relative;
}
/* Logo */
.logo img {
    height: auto;
    width: 100%;
}
/* 默认状态的 Logo */
.logo .default-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}


.logo .hover-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.main-header:hover .logo .default-logo {
    opacity: 0;
}
.main-header:hover .logo .hover-logo {
    opacity: 1;
}
/* 主菜单 */
.main-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    order: 1;
    margin: 0;
    flex-shrink: 0;
    width: 45%;
    /*justify-content: flex-end;*/
    /*padding-right: 20px;*/
}

.menu-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}
.menu-link:hover {
    color: #fff;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FC5000;
    transition: width 0.3s ease;
}

.menu-link:hover {
    color: #FC5000;
}

.menu-link:hover::after {
    width: 100%;
}

/* 移动端菜单按钮（默认隐藏） */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 1rem;
    order: 0;
    flex-shrink: 0;
    z-index: 1001;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 150px;
    z-index: 1;
}

.dropdown-menu li {
    padding: 0.5rem 1rem;
}

.dropdown-menu li a {
    color: #fff;
    text-decoration: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}



/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        padding: 0 0.5rem;
        height: 60px;
    }

    .mobile-menu-btn {
        display: block;
        transition: transform 0.2s ease;
    }

    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, box-shadow 0.3s ease;
        order: initial;
        padding-left: 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    .main-menu.active {
        max-height: 500px;
        padding: 1rem 0;
    }

    .main-menu li {
        padding: 1rem 0.5rem;
        border-bottom: 1px solid #2d2d2d;
    }

    .main-menu li:last-child {
        border-bottom: none;
    }
    .dropdown {
        position: static;
    }

    .dropdown-menu {
        display: block;
        position: static;
        background: transparent;
        padding: 0.5rem 0 0.5rem 1.5rem;
        min-width: auto;
    }


    .dropdown-menu li {
        padding: 0.5rem 0;
        border-bottom: none;
    }

    .dropdown > .menu-link::after {
        margin-left: 0.5rem;
    }
    .menu-link {
        font-size: 1rem;
        letter-spacing: 0.3px;

    .user-actions {
        gap: 1rem;

}




