/* ===== Boomclaw 通用导航栏样式 ===== */

#navbar, nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
    transition: all 0.3s;
}

#navbar.scrolled, nav.scrolled {
    background: rgba(12, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    image-rendering: pixelated;
}

.nav-logo span {
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    background: var(--gradient-fire, linear-gradient(135deg, #E63946, #FF8C42, #FFB347));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light, #C8CCD8);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--fire-orange, #FF8C42);
    background: rgba(255, 140, 66, 0.1);
}

.nav-links a.active {
    color: var(--fire-orange, #FF8C42);
    background: rgba(255, 140, 66, 0.15);
}

.nav-cta {
    background: var(--gradient-fire, linear-gradient(135deg, #E63946, #FF8C42, #FFB347)) !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 8px 20px !important;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white, #F5F5F5);
    font-size: 24px;
    cursor: pointer;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(12, 14, 26, 0.98);
        padding: 16px;
        border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
    }
    .nav-inner {
        padding: 0 16px;
    }
}
