/* ===== 顶部导航（index / news / article 三个页面统一） ===== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(20, 8, 40, 0.98) 0%, rgba(18, 6, 34, 0.92) 40%, rgba(12, 3, 24, 0.7) 70%, transparent 100%);
}

.nav-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-left, .nav-right {
    flex: 1;
    display: flex;
    gap: 40px;
    align-items: center;
    min-width: 0;
}

.nav-left {
    justify-content: flex-end;
    padding-right: 90px;
}

.nav-right {
    justify-content: flex-start;
    padding-left: 90px;
}

.nav-left a, .nav-right a {
    font-size: 18px;
    color: #d8c6ff;
    transition: color 0.3s;
    text-shadow: 0 0 8px rgba(180, 140, 255, 0.5);
}

.nav-left a:hover, .nav-right a:hover,
.nav-left a.active, .nav-right a.active {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 200, 100, 0.8);
}

.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.logo img {
    width: 66px;
    height: 66px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.tag-notice{background:#e74c3c;color:#fff;}/*公告 红色*/
.tag-event{background:#f39c12;color:#fff;}/*活动 橙色*/
.tag-update{background:#27ae60;color:#fff;}/*更新 绿色*/
.tag-guide{background:#3498db;color:#fff;}/*攻略 蓝色*/

