/* 顶部导航栏样式 */
header {
    background-color: rgba(10, 10, 10, 0.85);
    padding: 15px 0;
    border-bottom: 2px solid #8B0000;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

/* 导航栏容器布局 */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 网站标题样式 */
.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    background: linear-gradient(to right, #8B0000, #B22222, #8B0000);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1.5px;
}

/* Logo图标样式 */
.logo-icon {
    color: #8B0000;
    font-size: 2rem;
}

/* 导航菜单列表 */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

/* 导航链接样式 */
nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

/* 导航链接悬停和激活状态 */
nav a:hover, nav a.active {
    color: #FF4500;
    background-color: rgba(139, 0, 0, 0.2);
}

/* VIP链接特殊样式 */
.vip-link {
    color: #FFD700 !important;
    background-color: rgba(218, 165, 32, 0.1);
    border: 1px solid rgba(218, 165, 32, 0.3);
}

/* VIP链接悬停效果 */
.vip-link:hover {
    color: #FFD700 !important;
    background-color: rgba(218, 165, 32, 0.2) !important;
    border-color: rgba(218, 165, 32, 0.5);
}

/* 商城按钮特殊样式 */
.store-link {
    color: #FFD700 !important;
    background-color: rgba(218, 165, 32, 0.1);
    border: 1px solid rgba(218, 165, 32, 0.3);
}

/* 商城按钮悬停效果 */
.store-link:hover {
    color: #FFD700 !important;
    background-color: rgba(218, 165, 32, 0.2) !important;
    border-color: rgba(218, 165, 32, 0.5);
}

/* 移除特殊链接的下划线动画 */
.vip-link::after, .store-link::after {
    display: none;
}

/* 导航链接底部下划线动画 */
nav a:not(.vip-link):not(.store-link)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 12px;
    width: 0;
    height: 2px;
    background-color: #FF4500;
    transition: width 0.3s ease;
}

/* 悬停时显示下划线 */
nav a:not(.vip-link):not(.store-link):hover::after {
    width: calc(100% - 24px);
}