:root {
    --nav-height: 100px;
    --hover-line-color: #ff6700;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", sans-serif;
    /* 禁止水平滚动 */
    overflow-x: hidden;
    /* 设置最小宽度，确保只适配电脑浏览器 */
    min-width: 1200px;
}

.导航容器 {
    width: 100%;
}

.导航总容器 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav {
    height: var(--nav-height);
    line-height: var(--nav-height);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.logo {
    text-decoration: none;
    margin-right: 100px;
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: calc(var(--nav-height) * 0.8);
    width: auto;
    object-fit: contain;
    transform: scale(1.2) !important;
    transform-origin: left center !important;
    align-self: center !important;
}

.nav-item {
    margin: 0 15px;
    font-size: 16px;
}

.nav-item a {
    display: block;
    padding: 0 15px;
    color: #fff;
    font-size: 16px;
    line-height: var(--nav-height);
    text-align: center;
    transition: color 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 风格6：游戏风（深色背景） */
.游戏风深色 {
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid #666;
}

.游戏风深色 .nav-item a:hover,
.游戏风深色 .nav-item.active a {
    color: var(--hover-line-color);
}