/* 探索圈主生态页面专用样式 */
.ecosystem-container {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

    .ecosystem-header h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: #333;
    }

.section-desc {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* 筛选区域样式优化 */
.ecosystem-filter {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-group {
    margin: 10px 0;
}

    .filter-group label {
        font-weight: 600;
        margin-right: 10px;
        color: #555;
    }

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-btn:hover {
        background-color: #f0f0f0;
    }

    .filter-btn.active {
        background-color: #4e6ef2;
        color: white;
        border-color: #4e6ef2;
    }

.filter-select {
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background-color: white;
    min-width: 150px;
}

/* 圈主卡片样式优化 */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.ecosystem-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .ecosystem-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }

.ecosystem-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.host-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.host-info {
    margin-left: 15px;
    flex: 1;
}

    .host-info h3 {
        margin: 0 0 5px;
        font-size: 1.2rem;
    }

.host-title {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.host-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #777;
}

    .host-stats span {
        display: flex;
        align-items: center;
    }

    .host-stats i {
        margin-right: 5px;
        color: #4e6ef2;
    }

.ecosystem-card-body {
    padding: 20px;
    flex: 1;
}

    .ecosystem-card-body p {
        margin: 0 0 15px;
        color: #555;
        line-height: 1.5;
    }

.agent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #f0f4ff;
    color: #4e6ef2;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.ecosystem-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
}

    .ecosystem-card-footer .btn {
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.9rem;
        flex: 1;
        text-align: center;
        margin: 0 5px;
    }

.btn-secondary {
    background-color: #f0f0f0;
    color: #555;
}

.btn-primary {
    background-color: #4e6ef2;
    color: white;
}

/* 分页样式优化 */
.ecosystem-pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 8px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .pagination-btn:hover {
        background-color: #e0e0e0;
    }

    .pagination-btn.active {
        background-color: #4e6ef2;
        color: white;
    }

/* CTA区域样式优化 */
.cta-container {
    background: linear-gradient(135deg, #4e6ef2, #6e8ff2);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    color: white;
    margin: 40px 0;
}

    .cta-container h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .cta-container p {
        margin-bottom: 25px;
        font-size: 1.1rem;
        opacity: 0.9;
    }

.btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    background-color: white;
    color: #4e6ef2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .btn-large:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .btn-large i {
        margin-left: 8px;
    }

/* 响应式设计 */
@media (max-width: 768px) {
    .ecosystem-container {
        padding: 80px 15px 20px;
    }

    .ecosystem-header h1 {
        font-size: 2rem;
    }

    .ecosystem-filter {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group {
        width: 100%;
        margin-bottom: 15px;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .cta-container {
        padding: 30px 20px;
    }
}
