/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f7;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #1d1d1f;
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #6e6e73;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #0071e3;
    color: white;
    text-decoration: none;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn:hover {
    background-color: #0077ed;
}

.join-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #0071e3;
    color: white;
    text-decoration: none;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.join-btn:hover {
    background-color: #0077ed;
    transform: translateY(-2px);
}

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* 导航栏样式 */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    text-decoration: none;
}

.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.desktop-nav ul li a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.desktop-nav ul li a:hover {
    color: #0071e3;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-menu ul li a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 英雄区样式 */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fbfbfd;
    position: relative;
}

.hero-content {
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #6e6e73;
    margin-bottom: 60px;
    max-width: 800px;
    margin: 0 auto 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #6e6e73;
}

.scroll-down-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #1d1d1f;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* 群友展示区样式 */
.members-section {
    padding: 120px 0;
    background-color: white;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.member-card {
    background-color: #fbfbfd;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.member-avatar {
    height: 280px;
    overflow: hidden;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.member-card:hover .avatar-image {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 5px;
}

.member-title {
    font-size: 1rem;
    color: #6e6e73;
    margin-bottom: 10px;
}

.member-bio {
    font-size: 0.9rem;
    color: #86868b;
    line-height: 1.4;
    margin-bottom: 15px;
}

.member-category {
    font-size: 0.9rem;
    color: #0071e3;
    margin-bottom: 10px;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 980px;
    background-color: rgba(0, 113, 227, 0.1);
}

.hobby-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.hobby-tags span {
    font-size: 0.8rem;
    color: #6e6e73;
    padding: 3px 8px;
    border-radius: 980px;
    background-color: #f5f5f7;
}

/* 特色成员区样式 */
.featured-section {
    padding: 120px 0;
    background-color: #f5f5f7;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.featured-image {
    height: 200px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 25px;
}

.featured-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.featured-title {
    font-size: 1.1rem;
    color: #6e6e73;
    margin-bottom: 15px;
}

.featured-bio {
    font-size: 0.95rem;
    color: #86868b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.featured-cta {
    display: inline-block;
    padding: 8px 20px;
    background-color: #0071e3;
    color: white;
    text-decoration: none;
    border-radius: 980px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.featured-cta:hover {
    background-color: #0077ed;
}

/* 加入我们区域样式 */
.join-section {
    padding: 120px 0;
    background-color: #fbfbfd;
    text-align: center;
}

.join-content {
    max-width: 800px;
    margin: 0 auto;
}

.join-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.join-desc {
    font-size: 1.25rem;
    color: #6e6e73;
    margin-bottom: 40px;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #d2d2d7;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-label {
    position: absolute;
    top: 16px;
    left: 20px;
    color: #6e6e73;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s ease;
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label {
    top: -8px;
    left: 15px;
    font-size: 0.8rem;
    background-color: white;
    padding: 0 5px;
    color: #0071e3;
}

.submit-btn {
    padding: 15px 20px;
    background-color: #0071e3;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background-color: #0077ed;
}

/* 页脚样式 */
.main-footer {
    background-color: #1d1d1f;
    color: #f5f5f7;
    padding: 80px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: #a1a1a6;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-column ul li a:hover {
    color: #f5f5f7;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #2d2d2f;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-copyright {
    color: #a1a1a6;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: #a1a1a6;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    color: #f5f5f7;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 骨架屏加载动画 */
.skeleton-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.skeleton-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.skeleton-card {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.skeleton-header {
    height: 220px;
    background-color: #e0e0e0;
}

.skeleton-content {
    padding: 20px;
}

.skeleton-title {
    height: 28px;
    width: 70%;
    background-color: #e0e0e0;
    margin-bottom: 12px;
    border-radius: 4px;
}

.skeleton-text {
    height: 16px;
    width: 90%;
    background-color: #e0e0e0;
    margin-bottom: 8px;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }
}

/* 群介绍区域样式 */
.group-intro {
    padding: 120px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.group-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0,113,227,0.03) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1d1d1f;
    position: relative;
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0071e3;
    border-radius: 3px;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 25px;
    text-align: justify;
    /* opacity: 0; */
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

/* 触发动画的类 */
.group-intro.visible .intro-content p {
    opacity: 1;
    transform: translateY(0);
}

/* 交错动画效果 */
.group-intro.visible .intro-content p:nth-child(1) { transition-delay: 0.1s; }
.group-intro.visible .intro-content p:nth-child(2) { transition-delay: 0.2s; }
.group-intro.visible .intro-content p:nth-child(3) { transition-delay: 0.3s; }
.group-intro.visible .intro-content p:nth-child(4) { transition-delay: 0.4s; }
.group-intro.visible .intro-content p:nth-child(5) { transition-delay: 0.5s; }
.group-intro.visible .intro-content p:nth-child(6) { transition-delay: 0.6s; }

/* 移动端适配 */
@media (max-width: 768px) {
    .group-intro {
        padding: 80px 0;
    }
    
    .intro-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .intro-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
}    
.logo {
    display: inline-flex;
    align-items: center;
}
.logo img {
    height: 1.2em;
    vertical-align: middle;
    margin-left: 0.5em;
    margin-right: 0.5em;
}
