/* ========== bing-theme.css — 全站公共样式 ========== */

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background: #0a0a0a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== 顶部导航栏 ========== */
.bing-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bing-header-inner {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
}

.bing-header-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bing-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bing-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.bing-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.bing-header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.bing-nav-item {
    position: relative;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.bing-nav-text {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.bing-nav-item:hover .bing-nav-text,
.bing-nav-item.active .bing-nav-text {
    color: #fff;
}

.bing-nav-line {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.bing-nav-item:hover .bing-nav-line,
.bing-nav-item.active .bing-nav-line {
    width: 100%;
}

/* ========== 主内容区域 ========== */
.bing-main-content {
    padding-top: 84px;
    min-height: 100vh;
}

/* ========== 通用 meta 标签 ========== */
.bing-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.bing-meta-item img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* ========== Footer ========== */
.bing-site-footer {
    position: relative;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bing-footer-content {
    max-width: 1800px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.bing-footer-links,
.bing-footer-copyright {
    display: flex;
    align-items: center;
}

.bing-footer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.bing-footer-text a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.bing-footer-text a:hover {
    color: #fff;
}

/* ========== 移动端公共适配 ========== */
@media screen and (max-width: 768px) {
    .bing-header-container {
        padding: 0 20px;
        height: 58px;
    }

    .bing-logo-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .bing-logo-text {
        font-size: 17px;
    }

    .bing-header-nav {
        gap: 24px;
    }

    .bing-nav-text {
        font-size: 14px;
    }

    .bing-main-content {
        padding-top: 74px;
    }

    .bing-footer-content {
        padding: 14px 20px;
    }

    .bing-footer-text {
        font-size: 12px;
    }
}
