/* 导航栏部分 */
/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 导航栏基础样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


/* 导航栏滚动状态 */
.navbar.scrolled {
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 导航容器 */
.nav-container {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo样式 */
.nav-logo .logo-placeholder {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    transition: color 0.2s;
}

/* 导航链接容器 */
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

/* 导航链接样式 */
.nav-links a {
    text-decoration: none;
    color: #4a4a4a;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FF625B;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: #FF625B;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
        padding: 6px 10px;
    }

    .navbar.scrolled {
        top: 10px;
        left: 10px;
        width: calc(100% - 20px);
        border-radius: 8px;
    }
}

/* 兼容性处理 */
@supports not (backdrop-filter: blur(10px)) {
    .navbar {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 导航栏基础样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.2s cubic-bezier(0.33, 1, 0.68, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

/* 导航栏滚动状态 */
.navbar.scrolled {
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 导航容器 */
.nav-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 主内容区间距 */
main {
    position: relative;
    z-index: 500;
    padding-top: 84px; /* 64px + 20px */
    transition: padding-top 0.2s ease;
}

.navbar.scrolled + main {
    padding-top: 76px; /* 56px + 20px */
}

/* 响应式调整 */
@media (max-width: 1024px) {
    main {
        padding-top: 80px;
    }
    .navbar.scrolled + main {
        padding-top: 72px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 56px;
        padding: 0 16px;
    }
    .navbar.scrolled {
        top: 8px;
        left: 8px;
        width: calc(100% - 16px);
        height: 50px;
        border-radius: 8px;
    }
    main {
        padding-top: 76px;
    }
    .navbar.scrolled + main {
        padding-top: 66px;
    }
}

/* 合作伙伴标题对齐 */
.friends-container h1 {
    text-align: left;
    padding-left: 24px;
    margin-bottom: 2rem;
    position: relative;
}

.friends-container h1::after {
    content: "";
    position: absolute;
    left: 24px;
    bottom: -0.8rem;
    width: 60px;
    height: 3px;
    background: #2196F3;
}

@media (max-width: 768px) {
    .friends-container h1 {
        padding-left: 16px;
    }
    .friends-container h1::after {
        left: 16px;
        width: 40px;
    }
}

/* 加载进度条 */
.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: #FF625B;
    width: 0%;
    z-index: 9999;
    transition: width 0.3s ease;
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.2);
}